All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.network.kotlin.VpnSiteArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.network.kotlin

import com.pulumi.azurenative.network.VpnSiteArgs.builder
import com.pulumi.azurenative.network.kotlin.inputs.AddressSpaceArgs
import com.pulumi.azurenative.network.kotlin.inputs.AddressSpaceArgsBuilder
import com.pulumi.azurenative.network.kotlin.inputs.BgpSettingsArgs
import com.pulumi.azurenative.network.kotlin.inputs.BgpSettingsArgsBuilder
import com.pulumi.azurenative.network.kotlin.inputs.DevicePropertiesArgs
import com.pulumi.azurenative.network.kotlin.inputs.DevicePropertiesArgsBuilder
import com.pulumi.azurenative.network.kotlin.inputs.O365PolicyPropertiesArgs
import com.pulumi.azurenative.network.kotlin.inputs.O365PolicyPropertiesArgsBuilder
import com.pulumi.azurenative.network.kotlin.inputs.SubResourceArgs
import com.pulumi.azurenative.network.kotlin.inputs.SubResourceArgsBuilder
import com.pulumi.azurenative.network.kotlin.inputs.VpnSiteLinkArgs
import com.pulumi.azurenative.network.kotlin.inputs.VpnSiteLinkArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 * VpnSite Resource.
 * Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01.
 * Other available API versions: 2018-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01.
 * ## Example Usage
 * ### VpnSiteCreate
 * ```csharp
 * using System.Collections.Generic;
 * using System.Linq;
 * using Pulumi;
 * using AzureNative = Pulumi.AzureNative;
 * return await Deployment.RunAsync(() =>
 * {
 *     var vpnSite = new AzureNative.Network.VpnSite("vpnSite", new()
 *     {
 *         AddressSpace = new AzureNative.Network.Inputs.AddressSpaceArgs
 *         {
 *             AddressPrefixes = new[]
 *             {
 *                 "10.0.0.0/16",
 *             },
 *         },
 *         IsSecuritySite = false,
 *         Location = "West US",
 *         O365Policy = new AzureNative.Network.Inputs.O365PolicyPropertiesArgs
 *         {
 *             BreakOutCategories = new AzureNative.Network.Inputs.O365BreakOutCategoryPoliciesArgs
 *             {
 *                 Allow = true,
 *                 Default = false,
 *                 Optimize = true,
 *             },
 *         },
 *         ResourceGroupName = "rg1",
 *         Tags =
 *         {
 *             { "key1", "value1" },
 *         },
 *         VirtualWan = new AzureNative.Network.Inputs.SubResourceArgs
 *         {
 *             Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1",
 *         },
 *         VpnSiteLinks = new[]
 *         {
 *             new AzureNative.Network.Inputs.VpnSiteLinkArgs
 *             {
 *                 BgpProperties = new AzureNative.Network.Inputs.VpnLinkBgpSettingsArgs
 *                 {
 *                     Asn = 1234,
 *                     BgpPeeringAddress = "192.168.0.0",
 *                 },
 *                 Fqdn = "link1.vpnsite1.contoso.com",
 *                 IpAddress = "50.50.50.56",
 *                 LinkProperties = new AzureNative.Network.Inputs.VpnLinkProviderPropertiesArgs
 *                 {
 *                     LinkProviderName = "vendor1",
 *                     LinkSpeedInMbps = 0,
 *                 },
 *                 Name = "vpnSiteLink1",
 *             },
 *         },
 *         VpnSiteName = "vpnSite1",
 *     });
 * });
 * ```
 * ```go
 * package main
 * import (
 * 	network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
 * 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
 * )
 * func main() {
 * 	pulumi.Run(func(ctx *pulumi.Context) error {
 * 		_, err := network.NewVpnSite(ctx, "vpnSite", &network.VpnSiteArgs{
 * 			AddressSpace: &network.AddressSpaceArgs{
 * 				AddressPrefixes: pulumi.StringArray{
 * 					pulumi.String("10.0.0.0/16"),
 * 				},
 * 			},
 * 			IsSecuritySite: pulumi.Bool(false),
 * 			Location:       pulumi.String("West US"),
 * 			O365Policy: &network.O365PolicyPropertiesArgs{
 * 				BreakOutCategories: &network.O365BreakOutCategoryPoliciesArgs{
 * 					Allow:    pulumi.Bool(true),
 * 					Default:  pulumi.Bool(false),
 * 					Optimize: pulumi.Bool(true),
 * 				},
 * 			},
 * 			ResourceGroupName: pulumi.String("rg1"),
 * 			Tags: pulumi.StringMap{
 * 				"key1": pulumi.String("value1"),
 * 			},
 * 			VirtualWan: &network.SubResourceArgs{
 * 				Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1"),
 * 			},
 * 			VpnSiteLinks: network.VpnSiteLinkArray{
 * 				&network.VpnSiteLinkArgs{
 * 					BgpProperties: &network.VpnLinkBgpSettingsArgs{
 * 						Asn:               pulumi.Float64(1234),
 * 						BgpPeeringAddress: pulumi.String("192.168.0.0"),
 * 					},
 * 					Fqdn:      pulumi.String("link1.vpnsite1.contoso.com"),
 * 					IpAddress: pulumi.String("50.50.50.56"),
 * 					LinkProperties: &network.VpnLinkProviderPropertiesArgs{
 * 						LinkProviderName: pulumi.String("vendor1"),
 * 						LinkSpeedInMbps:  pulumi.Int(0),
 * 					},
 * 					Name: pulumi.String("vpnSiteLink1"),
 * 				},
 * 			},
 * 			VpnSiteName: pulumi.String("vpnSite1"),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		return nil
 * 	})
 * }
 * ```
 * ```java
 * package generated_program;
 * import com.pulumi.Context;
 * import com.pulumi.Pulumi;
 * import com.pulumi.core.Output;
 * import com.pulumi.azurenative.network.VpnSite;
 * import com.pulumi.azurenative.network.VpnSiteArgs;
 * import com.pulumi.azurenative.network.inputs.AddressSpaceArgs;
 * import com.pulumi.azurenative.network.inputs.O365PolicyPropertiesArgs;
 * import com.pulumi.azurenative.network.inputs.O365BreakOutCategoryPoliciesArgs;
 * import com.pulumi.azurenative.network.inputs.SubResourceArgs;
 * import com.pulumi.azurenative.network.inputs.VpnSiteLinkArgs;
 * import com.pulumi.azurenative.network.inputs.VpnLinkBgpSettingsArgs;
 * import com.pulumi.azurenative.network.inputs.VpnLinkProviderPropertiesArgs;
 * import java.util.List;
 * import java.util.ArrayList;
 * import java.util.Map;
 * import java.io.File;
 * import java.nio.file.Files;
 * import java.nio.file.Paths;
 * public class App {
 *     public static void main(String[] args) {
 *         Pulumi.run(App::stack);
 *     }
 *     public static void stack(Context ctx) {
 *         var vpnSite = new VpnSite("vpnSite", VpnSiteArgs.builder()
 *             .addressSpace(AddressSpaceArgs.builder()
 *                 .addressPrefixes("10.0.0.0/16")
 *                 .build())
 *             .isSecuritySite(false)
 *             .location("West US")
 *             .o365Policy(O365PolicyPropertiesArgs.builder()
 *                 .breakOutCategories(O365BreakOutCategoryPoliciesArgs.builder()
 *                     .allow(true)
 *                     .default_(false)
 *                     .optimize(true)
 *                     .build())
 *                 .build())
 *             .resourceGroupName("rg1")
 *             .tags(Map.of("key1", "value1"))
 *             .virtualWan(SubResourceArgs.builder()
 *                 .id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1")
 *                 .build())
 *             .vpnSiteLinks(VpnSiteLinkArgs.builder()
 *                 .bgpProperties(VpnLinkBgpSettingsArgs.builder()
 *                     .asn(1234)
 *                     .bgpPeeringAddress("192.168.0.0")
 *                     .build())
 *                 .fqdn("link1.vpnsite1.contoso.com")
 *                 .ipAddress("50.50.50.56")
 *                 .linkProperties(VpnLinkProviderPropertiesArgs.builder()
 *                     .linkProviderName("vendor1")
 *                     .linkSpeedInMbps(0)
 *                     .build())
 *                 .name("vpnSiteLink1")
 *                 .build())
 *             .vpnSiteName("vpnSite1")
 *             .build());
 *     }
 * }
 * ```
 * ## Import
 * An existing resource can be imported using its type token, name, and identifier, e.g.
 * ```sh
 * $ pulumi import azure-native:network:VpnSite vpnSite1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}
 * ```
 * @property addressSpace The AddressSpace that contains an array of IP address ranges.
 * @property bgpProperties The set of bgp properties.
 * @property deviceProperties The device properties.
 * @property id Resource ID.
 * @property ipAddress The ip-address for the vpn-site.
 * @property isSecuritySite IsSecuritySite flag.
 * @property location Resource location.
 * @property o365Policy Office365 Policy.
 * @property resourceGroupName The resource group name of the VpnSite.
 * @property siteKey The key for vpn-site that can be used for connections.
 * @property tags Resource tags.
 * @property virtualWan The VirtualWAN to which the vpnSite belongs.
 * @property vpnSiteLinks List of all vpn site links.
 * @property vpnSiteName The name of the VpnSite being created or updated.
 */
public data class VpnSiteArgs(
    public val addressSpace: Output? = null,
    public val bgpProperties: Output? = null,
    public val deviceProperties: Output? = null,
    public val id: Output? = null,
    public val ipAddress: Output? = null,
    public val isSecuritySite: Output? = null,
    public val location: Output? = null,
    public val o365Policy: Output? = null,
    public val resourceGroupName: Output? = null,
    public val siteKey: Output? = null,
    public val tags: Output>? = null,
    public val virtualWan: Output? = null,
    public val vpnSiteLinks: Output>? = null,
    public val vpnSiteName: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.network.VpnSiteArgs =
        com.pulumi.azurenative.network.VpnSiteArgs.builder()
            .addressSpace(addressSpace?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .bgpProperties(bgpProperties?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .deviceProperties(deviceProperties?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .id(id?.applyValue({ args0 -> args0 }))
            .ipAddress(ipAddress?.applyValue({ args0 -> args0 }))
            .isSecuritySite(isSecuritySite?.applyValue({ args0 -> args0 }))
            .location(location?.applyValue({ args0 -> args0 }))
            .o365Policy(o365Policy?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .resourceGroupName(resourceGroupName?.applyValue({ args0 -> args0 }))
            .siteKey(siteKey?.applyValue({ args0 -> args0 }))
            .tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.key.to(args0.value) }).toMap() }))
            .virtualWan(virtualWan?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .vpnSiteLinks(
                vpnSiteLinks?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .vpnSiteName(vpnSiteName?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [VpnSiteArgs].
 */
@PulumiTagMarker
public class VpnSiteArgsBuilder internal constructor() {
    private var addressSpace: Output? = null

    private var bgpProperties: Output? = null

    private var deviceProperties: Output? = null

    private var id: Output? = null

    private var ipAddress: Output? = null

    private var isSecuritySite: Output? = null

    private var location: Output? = null

    private var o365Policy: Output? = null

    private var resourceGroupName: Output? = null

    private var siteKey: Output? = null

    private var tags: Output>? = null

    private var virtualWan: Output? = null

    private var vpnSiteLinks: Output>? = null

    private var vpnSiteName: Output? = null

    /**
     * @param value The AddressSpace that contains an array of IP address ranges.
     */
    @JvmName("fyvgalbskltxtgku")
    public suspend fun addressSpace(`value`: Output) {
        this.addressSpace = value
    }

    /**
     * @param value The set of bgp properties.
     */
    @JvmName("ysrqukxjumrhffxk")
    public suspend fun bgpProperties(`value`: Output) {
        this.bgpProperties = value
    }

    /**
     * @param value The device properties.
     */
    @JvmName("vbxhurqdpdjcwcgh")
    public suspend fun deviceProperties(`value`: Output) {
        this.deviceProperties = value
    }

    /**
     * @param value Resource ID.
     */
    @JvmName("njbnxfjcswinhilu")
    public suspend fun id(`value`: Output) {
        this.id = value
    }

    /**
     * @param value The ip-address for the vpn-site.
     */
    @JvmName("lwvsemuvekahbprq")
    public suspend fun ipAddress(`value`: Output) {
        this.ipAddress = value
    }

    /**
     * @param value IsSecuritySite flag.
     */
    @JvmName("sjsojlrrjbyisjpv")
    public suspend fun isSecuritySite(`value`: Output) {
        this.isSecuritySite = value
    }

    /**
     * @param value Resource location.
     */
    @JvmName("gyprblortqqiqrco")
    public suspend fun location(`value`: Output) {
        this.location = value
    }

    /**
     * @param value Office365 Policy.
     */
    @JvmName("nhalvbfexahhvthw")
    public suspend fun o365Policy(`value`: Output) {
        this.o365Policy = value
    }

    /**
     * @param value The resource group name of the VpnSite.
     */
    @JvmName("ghcgbtpgtsirjruq")
    public suspend fun resourceGroupName(`value`: Output) {
        this.resourceGroupName = value
    }

    /**
     * @param value The key for vpn-site that can be used for connections.
     */
    @JvmName("pmnsaapjvhkhqqkw")
    public suspend fun siteKey(`value`: Output) {
        this.siteKey = value
    }

    /**
     * @param value Resource tags.
     */
    @JvmName("takdftubgpagxwia")
    public suspend fun tags(`value`: Output>) {
        this.tags = value
    }

    /**
     * @param value The VirtualWAN to which the vpnSite belongs.
     */
    @JvmName("efutxvrjptbforsf")
    public suspend fun virtualWan(`value`: Output) {
        this.virtualWan = value
    }

    /**
     * @param value List of all vpn site links.
     */
    @JvmName("umdnnymstlphljto")
    public suspend fun vpnSiteLinks(`value`: Output>) {
        this.vpnSiteLinks = value
    }

    @JvmName("nalpegepwppcypqp")
    public suspend fun vpnSiteLinks(vararg values: Output) {
        this.vpnSiteLinks = Output.all(values.asList())
    }

    /**
     * @param values List of all vpn site links.
     */
    @JvmName("obxlgmhepfnmagup")
    public suspend fun vpnSiteLinks(values: List>) {
        this.vpnSiteLinks = Output.all(values)
    }

    /**
     * @param value The name of the VpnSite being created or updated.
     */
    @JvmName("ityxmpphkkxpheka")
    public suspend fun vpnSiteName(`value`: Output) {
        this.vpnSiteName = value
    }

    /**
     * @param value The AddressSpace that contains an array of IP address ranges.
     */
    @JvmName("nrfiudvdputlbmle")
    public suspend fun addressSpace(`value`: AddressSpaceArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.addressSpace = mapped
    }

    /**
     * @param argument The AddressSpace that contains an array of IP address ranges.
     */
    @JvmName("cfjmpuaaryfynoou")
    public suspend fun addressSpace(argument: suspend AddressSpaceArgsBuilder.() -> Unit) {
        val toBeMapped = AddressSpaceArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.addressSpace = mapped
    }

    /**
     * @param value The set of bgp properties.
     */
    @JvmName("hwicxnpwkdqjbxky")
    public suspend fun bgpProperties(`value`: BgpSettingsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.bgpProperties = mapped
    }

    /**
     * @param argument The set of bgp properties.
     */
    @JvmName("pisxgtbqeiaiaayf")
    public suspend fun bgpProperties(argument: suspend BgpSettingsArgsBuilder.() -> Unit) {
        val toBeMapped = BgpSettingsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.bgpProperties = mapped
    }

    /**
     * @param value The device properties.
     */
    @JvmName("ejlyupjdosrmtwva")
    public suspend fun deviceProperties(`value`: DevicePropertiesArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.deviceProperties = mapped
    }

    /**
     * @param argument The device properties.
     */
    @JvmName("jeksbtopiuvcivfu")
    public suspend fun deviceProperties(argument: suspend DevicePropertiesArgsBuilder.() -> Unit) {
        val toBeMapped = DevicePropertiesArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.deviceProperties = mapped
    }

    /**
     * @param value Resource ID.
     */
    @JvmName("byitaamcpirsdmaw")
    public suspend fun id(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.id = mapped
    }

    /**
     * @param value The ip-address for the vpn-site.
     */
    @JvmName("pnvethxvnulujbsn")
    public suspend fun ipAddress(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.ipAddress = mapped
    }

    /**
     * @param value IsSecuritySite flag.
     */
    @JvmName("rmlwfocjqvaedwvd")
    public suspend fun isSecuritySite(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.isSecuritySite = mapped
    }

    /**
     * @param value Resource location.
     */
    @JvmName("ymummbkexcfltcmi")
    public suspend fun location(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.location = mapped
    }

    /**
     * @param value Office365 Policy.
     */
    @JvmName("whbmufdnqiernkqs")
    public suspend fun o365Policy(`value`: O365PolicyPropertiesArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.o365Policy = mapped
    }

    /**
     * @param argument Office365 Policy.
     */
    @JvmName("ovrlogqgasiaypjk")
    public suspend fun o365Policy(argument: suspend O365PolicyPropertiesArgsBuilder.() -> Unit) {
        val toBeMapped = O365PolicyPropertiesArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.o365Policy = mapped
    }

    /**
     * @param value The resource group name of the VpnSite.
     */
    @JvmName("wrlyrojxvkbfssdt")
    public suspend fun resourceGroupName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.resourceGroupName = mapped
    }

    /**
     * @param value The key for vpn-site that can be used for connections.
     */
    @JvmName("bkasnyocbyfgwwfa")
    public suspend fun siteKey(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.siteKey = mapped
    }

    /**
     * @param value Resource tags.
     */
    @JvmName("irfowbdohomivxyk")
    public suspend fun tags(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param values Resource tags.
     */
    @JvmName("ttyhcvmfmlylxxyg")
    public fun tags(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param value The VirtualWAN to which the vpnSite belongs.
     */
    @JvmName("rsxiarpsqbveeydi")
    public suspend fun virtualWan(`value`: SubResourceArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.virtualWan = mapped
    }

    /**
     * @param argument The VirtualWAN to which the vpnSite belongs.
     */
    @JvmName("owfqetmdqfgbuyll")
    public suspend fun virtualWan(argument: suspend SubResourceArgsBuilder.() -> Unit) {
        val toBeMapped = SubResourceArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.virtualWan = mapped
    }

    /**
     * @param value List of all vpn site links.
     */
    @JvmName("dxihkhautmnchbmy")
    public suspend fun vpnSiteLinks(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.vpnSiteLinks = mapped
    }

    /**
     * @param argument List of all vpn site links.
     */
    @JvmName("lfsspfpvtlobmial")
    public suspend fun vpnSiteLinks(argument: List Unit>) {
        val toBeMapped = argument.toList().map { VpnSiteLinkArgsBuilder().applySuspend { it() }.build() }
        val mapped = of(toBeMapped)
        this.vpnSiteLinks = mapped
    }

    /**
     * @param argument List of all vpn site links.
     */
    @JvmName("nvywlorvjddbpkic")
    public suspend fun vpnSiteLinks(vararg argument: suspend VpnSiteLinkArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map { VpnSiteLinkArgsBuilder().applySuspend { it() }.build() }
        val mapped = of(toBeMapped)
        this.vpnSiteLinks = mapped
    }

    /**
     * @param argument List of all vpn site links.
     */
    @JvmName("ypxrvmgvvcnlrlqk")
    public suspend fun vpnSiteLinks(argument: suspend VpnSiteLinkArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(VpnSiteLinkArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.vpnSiteLinks = mapped
    }

    /**
     * @param values List of all vpn site links.
     */
    @JvmName("hrkjwcbwgpgwdarq")
    public suspend fun vpnSiteLinks(vararg values: VpnSiteLinkArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.vpnSiteLinks = mapped
    }

    /**
     * @param value The name of the VpnSite being created or updated.
     */
    @JvmName("cwerhxaxewgqdnue")
    public suspend fun vpnSiteName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.vpnSiteName = mapped
    }

    internal fun build(): VpnSiteArgs = VpnSiteArgs(
        addressSpace = addressSpace,
        bgpProperties = bgpProperties,
        deviceProperties = deviceProperties,
        id = id,
        ipAddress = ipAddress,
        isSecuritySite = isSecuritySite,
        location = location,
        o365Policy = o365Policy,
        resourceGroupName = resourceGroupName,
        siteKey = siteKey,
        tags = tags,
        virtualWan = virtualWan,
        vpnSiteLinks = vpnSiteLinks,
        vpnSiteName = vpnSiteName,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy