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

com.pulumi.azure.network.kotlin.VirtualNetworkGatewayArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.network.kotlin

import com.pulumi.azure.network.VirtualNetworkGatewayArgs.builder
import com.pulumi.azure.network.kotlin.inputs.VirtualNetworkGatewayBgpSettingsArgs
import com.pulumi.azure.network.kotlin.inputs.VirtualNetworkGatewayBgpSettingsArgsBuilder
import com.pulumi.azure.network.kotlin.inputs.VirtualNetworkGatewayCustomRouteArgs
import com.pulumi.azure.network.kotlin.inputs.VirtualNetworkGatewayCustomRouteArgsBuilder
import com.pulumi.azure.network.kotlin.inputs.VirtualNetworkGatewayIpConfigurationArgs
import com.pulumi.azure.network.kotlin.inputs.VirtualNetworkGatewayIpConfigurationArgsBuilder
import com.pulumi.azure.network.kotlin.inputs.VirtualNetworkGatewayPolicyGroupArgs
import com.pulumi.azure.network.kotlin.inputs.VirtualNetworkGatewayPolicyGroupArgsBuilder
import com.pulumi.azure.network.kotlin.inputs.VirtualNetworkGatewayVpnClientConfigurationArgs
import com.pulumi.azure.network.kotlin.inputs.VirtualNetworkGatewayVpnClientConfigurationArgsBuilder
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

/**
 * Manages a Virtual Network Gateway to establish secure, cross-premises connectivity.
 * > **Note:** Please be aware that provisioning a Virtual Network Gateway takes a long time (between 30 minutes and 1 hour)
 * ## Example Usage
 * 
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 * const example = new azure.core.ResourceGroup("example", {
 *     name: "test",
 *     location: "West Europe",
 * });
 * const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
 *     name: "test",
 *     location: example.location,
 *     resourceGroupName: example.name,
 *     addressSpaces: ["10.0.0.0/16"],
 * });
 * const exampleSubnet = new azure.network.Subnet("example", {
 *     name: "GatewaySubnet",
 *     resourceGroupName: example.name,
 *     virtualNetworkName: exampleVirtualNetwork.name,
 *     addressPrefixes: ["10.0.1.0/24"],
 * });
 * const examplePublicIp = new azure.network.PublicIp("example", {
 *     name: "test",
 *     location: example.location,
 *     resourceGroupName: example.name,
 *     allocationMethod: "Dynamic",
 * });
 * const exampleVirtualNetworkGateway = new azure.network.VirtualNetworkGateway("example", {
 *     name: "test",
 *     location: example.location,
 *     resourceGroupName: example.name,
 *     type: "Vpn",
 *     vpnType: "RouteBased",
 *     activeActive: false,
 *     enableBgp: false,
 *     sku: "Basic",
 *     ipConfigurations: [{
 *         name: "vnetGatewayConfig",
 *         publicIpAddressId: examplePublicIp.id,
 *         privateIpAddressAllocation: "Dynamic",
 *         subnetId: exampleSubnet.id,
 *     }],
 *     vpnClientConfiguration: {
 *         addressSpaces: ["10.2.0.0/24"],
 *         rootCertificates: [{
 *             name: "DigiCert-Federated-ID-Root-CA",
 *             publicCertData: `MIIDuzCCAqOgAwIBAgIQCHTZWCM+IlfFIRXIvyKSrjANBgkqhkiG9w0BAQsFADBn
 * MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
 * d3cuZGlnaWNlcnQuY29tMSYwJAYDVQQDEx1EaWdpQ2VydCBGZWRlcmF0ZWQgSUQg
 * Um9vdCBDQTAeFw0xMzAxMTUxMjAwMDBaFw0zMzAxMTUxMjAwMDBaMGcxCzAJBgNV
 * BAYTAlVTMRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdp
 * Y2VydC5jb20xJjAkBgNVBAMTHURpZ2lDZXJ0IEZlZGVyYXRlZCBJRCBSb290IENB
 * MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvAEB4pcCqnNNOWE6Ur5j
 * QPUH+1y1F9KdHTRSza6k5iDlXq1kGS1qAkuKtw9JsiNRrjltmFnzMZRBbX8Tlfl8
 * zAhBmb6dDduDGED01kBsTkgywYPxXVTKec0WxYEEF0oMn4wSYNl0lt2eJAKHXjNf
 * GTwiibdP8CUR2ghSM2sUTI8Nt1Omfc4SMHhGhYD64uJMbX98THQ/4LMGuYegou+d
 * GTiahfHtjn7AboSEknwAMJHCh5RlYZZ6B1O4QbKJ+34Q0eKgnI3X6Vc9u0zf6DH8
 * Dk+4zQDYRRTqTnVO3VT8jzqDlCRuNtq6YvryOWN74/dq8LQhUnXHvFyrsdMaE1X2
 * DwIDAQABo2MwYTAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBhjAdBgNV
 * HQ4EFgQUGRdkFnbGt1EWjKwbUne+5OaZvRYwHwYDVR0jBBgwFoAUGRdkFnbGt1EW
 * jKwbUne+5OaZvRYwDQYJKoZIhvcNAQELBQADggEBAHcqsHkrjpESqfuVTRiptJfP
 * 9JbdtWqRTmOf6uJi2c8YVqI6XlKXsD8C1dUUaaHKLUJzvKiazibVuBwMIT84AyqR
 * QELn3e0BtgEymEygMU569b01ZPxoFSnNXc7qDZBDef8WfqAV/sxkTi8L9BkmFYfL
 * uGLOhRJOFprPdoDIUBB+tmCl3oDcBy3vnUeOEioz8zAkprcb3GHwHAK+vHmmfgcn
 * WsfMLH4JCLa/tRYL+Rw/N3ybCkDp00s0WUZ+AoDywSl0Q/ZEnNY0MsFiw6LyIdbq
 * M/s/1JRtO3bDSzD9TazRVzn2oBqzSa8VgIo5C1nOnoAKJTlsClJKvIhnRlaLQqk=
 * `,
 *         }],
 *         revokedCertificates: [{
 *             name: "Verizon-Global-Root-CA",
 *             thumbprint: "912198EEF23DCAC40939312FEE97DD560BAE49B1",
 *         }],
 *     },
 * });
 * ```
 * ```python
 * import pulumi
 * import pulumi_azure as azure
 * example = azure.core.ResourceGroup("example",
 *     name="test",
 *     location="West Europe")
 * example_virtual_network = azure.network.VirtualNetwork("example",
 *     name="test",
 *     location=example.location,
 *     resource_group_name=example.name,
 *     address_spaces=["10.0.0.0/16"])
 * example_subnet = azure.network.Subnet("example",
 *     name="GatewaySubnet",
 *     resource_group_name=example.name,
 *     virtual_network_name=example_virtual_network.name,
 *     address_prefixes=["10.0.1.0/24"])
 * example_public_ip = azure.network.PublicIp("example",
 *     name="test",
 *     location=example.location,
 *     resource_group_name=example.name,
 *     allocation_method="Dynamic")
 * example_virtual_network_gateway = azure.network.VirtualNetworkGateway("example",
 *     name="test",
 *     location=example.location,
 *     resource_group_name=example.name,
 *     type="Vpn",
 *     vpn_type="RouteBased",
 *     active_active=False,
 *     enable_bgp=False,
 *     sku="Basic",
 *     ip_configurations=[azure.network.VirtualNetworkGatewayIpConfigurationArgs(
 *         name="vnetGatewayConfig",
 *         public_ip_address_id=example_public_ip.id,
 *         private_ip_address_allocation="Dynamic",
 *         subnet_id=example_subnet.id,
 *     )],
 *     vpn_client_configuration=azure.network.VirtualNetworkGatewayVpnClientConfigurationArgs(
 *         address_spaces=["10.2.0.0/24"],
 *         root_certificates=[azure.network.VirtualNetworkGatewayVpnClientConfigurationRootCertificateArgs(
 *             name="DigiCert-Federated-ID-Root-CA",
 *             public_cert_data="""MIIDuzCCAqOgAwIBAgIQCHTZWCM+IlfFIRXIvyKSrjANBgkqhkiG9w0BAQsFADBn
 * MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
 * d3cuZGlnaWNlcnQuY29tMSYwJAYDVQQDEx1EaWdpQ2VydCBGZWRlcmF0ZWQgSUQg
 * Um9vdCBDQTAeFw0xMzAxMTUxMjAwMDBaFw0zMzAxMTUxMjAwMDBaMGcxCzAJBgNV
 * BAYTAlVTMRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdp
 * Y2VydC5jb20xJjAkBgNVBAMTHURpZ2lDZXJ0IEZlZGVyYXRlZCBJRCBSb290IENB
 * MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvAEB4pcCqnNNOWE6Ur5j
 * QPUH+1y1F9KdHTRSza6k5iDlXq1kGS1qAkuKtw9JsiNRrjltmFnzMZRBbX8Tlfl8
 * zAhBmb6dDduDGED01kBsTkgywYPxXVTKec0WxYEEF0oMn4wSYNl0lt2eJAKHXjNf
 * GTwiibdP8CUR2ghSM2sUTI8Nt1Omfc4SMHhGhYD64uJMbX98THQ/4LMGuYegou+d
 * GTiahfHtjn7AboSEknwAMJHCh5RlYZZ6B1O4QbKJ+34Q0eKgnI3X6Vc9u0zf6DH8
 * Dk+4zQDYRRTqTnVO3VT8jzqDlCRuNtq6YvryOWN74/dq8LQhUnXHvFyrsdMaE1X2
 * DwIDAQABo2MwYTAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBhjAdBgNV
 * HQ4EFgQUGRdkFnbGt1EWjKwbUne+5OaZvRYwHwYDVR0jBBgwFoAUGRdkFnbGt1EW
 * jKwbUne+5OaZvRYwDQYJKoZIhvcNAQELBQADggEBAHcqsHkrjpESqfuVTRiptJfP
 * 9JbdtWqRTmOf6uJi2c8YVqI6XlKXsD8C1dUUaaHKLUJzvKiazibVuBwMIT84AyqR
 * QELn3e0BtgEymEygMU569b01ZPxoFSnNXc7qDZBDef8WfqAV/sxkTi8L9BkmFYfL
 * uGLOhRJOFprPdoDIUBB+tmCl3oDcBy3vnUeOEioz8zAkprcb3GHwHAK+vHmmfgcn
 * WsfMLH4JCLa/tRYL+Rw/N3ybCkDp00s0WUZ+AoDywSl0Q/ZEnNY0MsFiw6LyIdbq
 * M/s/1JRtO3bDSzD9TazRVzn2oBqzSa8VgIo5C1nOnoAKJTlsClJKvIhnRlaLQqk=
 * """,
 *         )],
 *         revoked_certificates=[azure.network.VirtualNetworkGatewayVpnClientConfigurationRevokedCertificateArgs(
 *             name="Verizon-Global-Root-CA",
 *             thumbprint="912198EEF23DCAC40939312FEE97DD560BAE49B1",
 *         )],
 *     ))
 * ```
 * ```csharp
 * using System.Collections.Generic;
 * using System.Linq;
 * using Pulumi;
 * using Azure = Pulumi.Azure;
 * return await Deployment.RunAsync(() =>
 * {
 *     var example = new Azure.Core.ResourceGroup("example", new()
 *     {
 *         Name = "test",
 *         Location = "West Europe",
 *     });
 *     var exampleVirtualNetwork = new Azure.Network.VirtualNetwork("example", new()
 *     {
 *         Name = "test",
 *         Location = example.Location,
 *         ResourceGroupName = example.Name,
 *         AddressSpaces = new[]
 *         {
 *             "10.0.0.0/16",
 *         },
 *     });
 *     var exampleSubnet = new Azure.Network.Subnet("example", new()
 *     {
 *         Name = "GatewaySubnet",
 *         ResourceGroupName = example.Name,
 *         VirtualNetworkName = exampleVirtualNetwork.Name,
 *         AddressPrefixes = new[]
 *         {
 *             "10.0.1.0/24",
 *         },
 *     });
 *     var examplePublicIp = new Azure.Network.PublicIp("example", new()
 *     {
 *         Name = "test",
 *         Location = example.Location,
 *         ResourceGroupName = example.Name,
 *         AllocationMethod = "Dynamic",
 *     });
 *     var exampleVirtualNetworkGateway = new Azure.Network.VirtualNetworkGateway("example", new()
 *     {
 *         Name = "test",
 *         Location = example.Location,
 *         ResourceGroupName = example.Name,
 *         Type = "Vpn",
 *         VpnType = "RouteBased",
 *         ActiveActive = false,
 *         EnableBgp = false,
 *         Sku = "Basic",
 *         IpConfigurations = new[]
 *         {
 *             new Azure.Network.Inputs.VirtualNetworkGatewayIpConfigurationArgs
 *             {
 *                 Name = "vnetGatewayConfig",
 *                 PublicIpAddressId = examplePublicIp.Id,
 *                 PrivateIpAddressAllocation = "Dynamic",
 *                 SubnetId = exampleSubnet.Id,
 *             },
 *         },
 *         VpnClientConfiguration = new Azure.Network.Inputs.VirtualNetworkGatewayVpnClientConfigurationArgs
 *         {
 *             AddressSpaces = new[]
 *             {
 *                 "10.2.0.0/24",
 *             },
 *             RootCertificates = new[]
 *             {
 *                 new Azure.Network.Inputs.VirtualNetworkGatewayVpnClientConfigurationRootCertificateArgs
 *                 {
 *                     Name = "DigiCert-Federated-ID-Root-CA",
 *                     PublicCertData = @"MIIDuzCCAqOgAwIBAgIQCHTZWCM+IlfFIRXIvyKSrjANBgkqhkiG9w0BAQsFADBn
 * MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
 * d3cuZGlnaWNlcnQuY29tMSYwJAYDVQQDEx1EaWdpQ2VydCBGZWRlcmF0ZWQgSUQg
 * Um9vdCBDQTAeFw0xMzAxMTUxMjAwMDBaFw0zMzAxMTUxMjAwMDBaMGcxCzAJBgNV
 * BAYTAlVTMRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdp
 * Y2VydC5jb20xJjAkBgNVBAMTHURpZ2lDZXJ0IEZlZGVyYXRlZCBJRCBSb290IENB
 * MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvAEB4pcCqnNNOWE6Ur5j
 * QPUH+1y1F9KdHTRSza6k5iDlXq1kGS1qAkuKtw9JsiNRrjltmFnzMZRBbX8Tlfl8
 * zAhBmb6dDduDGED01kBsTkgywYPxXVTKec0WxYEEF0oMn4wSYNl0lt2eJAKHXjNf
 * GTwiibdP8CUR2ghSM2sUTI8Nt1Omfc4SMHhGhYD64uJMbX98THQ/4LMGuYegou+d
 * GTiahfHtjn7AboSEknwAMJHCh5RlYZZ6B1O4QbKJ+34Q0eKgnI3X6Vc9u0zf6DH8
 * Dk+4zQDYRRTqTnVO3VT8jzqDlCRuNtq6YvryOWN74/dq8LQhUnXHvFyrsdMaE1X2
 * DwIDAQABo2MwYTAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBhjAdBgNV
 * HQ4EFgQUGRdkFnbGt1EWjKwbUne+5OaZvRYwHwYDVR0jBBgwFoAUGRdkFnbGt1EW
 * jKwbUne+5OaZvRYwDQYJKoZIhvcNAQELBQADggEBAHcqsHkrjpESqfuVTRiptJfP
 * 9JbdtWqRTmOf6uJi2c8YVqI6XlKXsD8C1dUUaaHKLUJzvKiazibVuBwMIT84AyqR
 * QELn3e0BtgEymEygMU569b01ZPxoFSnNXc7qDZBDef8WfqAV/sxkTi8L9BkmFYfL
 * uGLOhRJOFprPdoDIUBB+tmCl3oDcBy3vnUeOEioz8zAkprcb3GHwHAK+vHmmfgcn
 * WsfMLH4JCLa/tRYL+Rw/N3ybCkDp00s0WUZ+AoDywSl0Q/ZEnNY0MsFiw6LyIdbq
 * M/s/1JRtO3bDSzD9TazRVzn2oBqzSa8VgIo5C1nOnoAKJTlsClJKvIhnRlaLQqk=
 * ",
 *                 },
 *             },
 *             RevokedCertificates = new[]
 *             {
 *                 new Azure.Network.Inputs.VirtualNetworkGatewayVpnClientConfigurationRevokedCertificateArgs
 *                 {
 *                     Name = "Verizon-Global-Root-CA",
 *                     Thumbprint = "912198EEF23DCAC40939312FEE97DD560BAE49B1",
 *                 },
 *             },
 *         },
 *     });
 * });
 * ```
 * ```go
 * package main
 * import (
 * 	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
 * 	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network"
 * 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
 * )
 * func main() {
 * 	pulumi.Run(func(ctx *pulumi.Context) error {
 * 		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
 * 			Name:     pulumi.String("test"),
 * 			Location: pulumi.String("West Europe"),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "example", &network.VirtualNetworkArgs{
 * 			Name:              pulumi.String("test"),
 * 			Location:          example.Location,
 * 			ResourceGroupName: example.Name,
 * 			AddressSpaces: pulumi.StringArray{
 * 				pulumi.String("10.0.0.0/16"),
 * 			},
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		exampleSubnet, err := network.NewSubnet(ctx, "example", &network.SubnetArgs{
 * 			Name:               pulumi.String("GatewaySubnet"),
 * 			ResourceGroupName:  example.Name,
 * 			VirtualNetworkName: exampleVirtualNetwork.Name,
 * 			AddressPrefixes: pulumi.StringArray{
 * 				pulumi.String("10.0.1.0/24"),
 * 			},
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		examplePublicIp, err := network.NewPublicIp(ctx, "example", &network.PublicIpArgs{
 * 			Name:              pulumi.String("test"),
 * 			Location:          example.Location,
 * 			ResourceGroupName: example.Name,
 * 			AllocationMethod:  pulumi.String("Dynamic"),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		_, err = network.NewVirtualNetworkGateway(ctx, "example", &network.VirtualNetworkGatewayArgs{
 * 			Name:              pulumi.String("test"),
 * 			Location:          example.Location,
 * 			ResourceGroupName: example.Name,
 * 			Type:              pulumi.String("Vpn"),
 * 			VpnType:           pulumi.String("RouteBased"),
 * 			ActiveActive:      pulumi.Bool(false),
 * 			EnableBgp:         pulumi.Bool(false),
 * 			Sku:               pulumi.String("Basic"),
 * 			IpConfigurations: network.VirtualNetworkGatewayIpConfigurationArray{
 * 				&network.VirtualNetworkGatewayIpConfigurationArgs{
 * 					Name:                       pulumi.String("vnetGatewayConfig"),
 * 					PublicIpAddressId:          examplePublicIp.ID(),
 * 					PrivateIpAddressAllocation: pulumi.String("Dynamic"),
 * 					SubnetId:                   exampleSubnet.ID(),
 * 				},
 * 			},
 * 			VpnClientConfiguration: &network.VirtualNetworkGatewayVpnClientConfigurationArgs{
 * 				AddressSpaces: pulumi.StringArray{
 * 					pulumi.String("10.2.0.0/24"),
 * 				},
 * 				RootCertificates: network.VirtualNetworkGatewayVpnClientConfigurationRootCertificateArray{
 * 					&network.VirtualNetworkGatewayVpnClientConfigurationRootCertificateArgs{
 * 						Name: pulumi.String("DigiCert-Federated-ID-Root-CA"),
 * 						PublicCertData: pulumi.String(`MIIDuzCCAqOgAwIBAgIQCHTZWCM+IlfFIRXIvyKSrjANBgkqhkiG9w0BAQsFADBn
 * MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
 * d3cuZGlnaWNlcnQuY29tMSYwJAYDVQQDEx1EaWdpQ2VydCBGZWRlcmF0ZWQgSUQg
 * Um9vdCBDQTAeFw0xMzAxMTUxMjAwMDBaFw0zMzAxMTUxMjAwMDBaMGcxCzAJBgNV
 * BAYTAlVTMRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdp
 * Y2VydC5jb20xJjAkBgNVBAMTHURpZ2lDZXJ0IEZlZGVyYXRlZCBJRCBSb290IENB
 * MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvAEB4pcCqnNNOWE6Ur5j
 * QPUH+1y1F9KdHTRSza6k5iDlXq1kGS1qAkuKtw9JsiNRrjltmFnzMZRBbX8Tlfl8
 * zAhBmb6dDduDGED01kBsTkgywYPxXVTKec0WxYEEF0oMn4wSYNl0lt2eJAKHXjNf
 * GTwiibdP8CUR2ghSM2sUTI8Nt1Omfc4SMHhGhYD64uJMbX98THQ/4LMGuYegou+d
 * GTiahfHtjn7AboSEknwAMJHCh5RlYZZ6B1O4QbKJ+34Q0eKgnI3X6Vc9u0zf6DH8
 * Dk+4zQDYRRTqTnVO3VT8jzqDlCRuNtq6YvryOWN74/dq8LQhUnXHvFyrsdMaE1X2
 * DwIDAQABo2MwYTAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBhjAdBgNV
 * HQ4EFgQUGRdkFnbGt1EWjKwbUne+5OaZvRYwHwYDVR0jBBgwFoAUGRdkFnbGt1EW
 * jKwbUne+5OaZvRYwDQYJKoZIhvcNAQELBQADggEBAHcqsHkrjpESqfuVTRiptJfP
 * 9JbdtWqRTmOf6uJi2c8YVqI6XlKXsD8C1dUUaaHKLUJzvKiazibVuBwMIT84AyqR
 * QELn3e0BtgEymEygMU569b01ZPxoFSnNXc7qDZBDef8WfqAV/sxkTi8L9BkmFYfL
 * uGLOhRJOFprPdoDIUBB+tmCl3oDcBy3vnUeOEioz8zAkprcb3GHwHAK+vHmmfgcn
 * WsfMLH4JCLa/tRYL+Rw/N3ybCkDp00s0WUZ+AoDywSl0Q/ZEnNY0MsFiw6LyIdbq
 * M/s/1JRtO3bDSzD9TazRVzn2oBqzSa8VgIo5C1nOnoAKJTlsClJKvIhnRlaLQqk=
 * `),
 * 					},
 * 				},
 * 				RevokedCertificates: network.VirtualNetworkGatewayVpnClientConfigurationRevokedCertificateArray{
 * 					&network.VirtualNetworkGatewayVpnClientConfigurationRevokedCertificateArgs{
 * 						Name:       pulumi.String("Verizon-Global-Root-CA"),
 * 						Thumbprint: pulumi.String("912198EEF23DCAC40939312FEE97DD560BAE49B1"),
 * 					},
 * 				},
 * 			},
 * 		})
 * 		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.azure.core.ResourceGroup;
 * import com.pulumi.azure.core.ResourceGroupArgs;
 * import com.pulumi.azure.network.VirtualNetwork;
 * import com.pulumi.azure.network.VirtualNetworkArgs;
 * import com.pulumi.azure.network.Subnet;
 * import com.pulumi.azure.network.SubnetArgs;
 * import com.pulumi.azure.network.PublicIp;
 * import com.pulumi.azure.network.PublicIpArgs;
 * import com.pulumi.azure.network.VirtualNetworkGateway;
 * import com.pulumi.azure.network.VirtualNetworkGatewayArgs;
 * import com.pulumi.azure.network.inputs.VirtualNetworkGatewayIpConfigurationArgs;
 * import com.pulumi.azure.network.inputs.VirtualNetworkGatewayVpnClientConfigurationArgs;
 * 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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
 *             .name("test")
 *             .location("West Europe")
 *             .build());
 *         var exampleVirtualNetwork = new VirtualNetwork("exampleVirtualNetwork", VirtualNetworkArgs.builder()
 *             .name("test")
 *             .location(example.location())
 *             .resourceGroupName(example.name())
 *             .addressSpaces("10.0.0.0/16")
 *             .build());
 *         var exampleSubnet = new Subnet("exampleSubnet", SubnetArgs.builder()
 *             .name("GatewaySubnet")
 *             .resourceGroupName(example.name())
 *             .virtualNetworkName(exampleVirtualNetwork.name())
 *             .addressPrefixes("10.0.1.0/24")
 *             .build());
 *         var examplePublicIp = new PublicIp("examplePublicIp", PublicIpArgs.builder()
 *             .name("test")
 *             .location(example.location())
 *             .resourceGroupName(example.name())
 *             .allocationMethod("Dynamic")
 *             .build());
 *         var exampleVirtualNetworkGateway = new VirtualNetworkGateway("exampleVirtualNetworkGateway", VirtualNetworkGatewayArgs.builder()
 *             .name("test")
 *             .location(example.location())
 *             .resourceGroupName(example.name())
 *             .type("Vpn")
 *             .vpnType("RouteBased")
 *             .activeActive(false)
 *             .enableBgp(false)
 *             .sku("Basic")
 *             .ipConfigurations(VirtualNetworkGatewayIpConfigurationArgs.builder()
 *                 .name("vnetGatewayConfig")
 *                 .publicIpAddressId(examplePublicIp.id())
 *                 .privateIpAddressAllocation("Dynamic")
 *                 .subnetId(exampleSubnet.id())
 *                 .build())
 *             .vpnClientConfiguration(VirtualNetworkGatewayVpnClientConfigurationArgs.builder()
 *                 .addressSpaces("10.2.0.0/24")
 *                 .rootCertificates(VirtualNetworkGatewayVpnClientConfigurationRootCertificateArgs.builder()
 *                     .name("DigiCert-Federated-ID-Root-CA")
 *                     .publicCertData("""
 * MIIDuzCCAqOgAwIBAgIQCHTZWCM+IlfFIRXIvyKSrjANBgkqhkiG9w0BAQsFADBn
 * MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
 * d3cuZGlnaWNlcnQuY29tMSYwJAYDVQQDEx1EaWdpQ2VydCBGZWRlcmF0ZWQgSUQg
 * Um9vdCBDQTAeFw0xMzAxMTUxMjAwMDBaFw0zMzAxMTUxMjAwMDBaMGcxCzAJBgNV
 * BAYTAlVTMRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdp
 * Y2VydC5jb20xJjAkBgNVBAMTHURpZ2lDZXJ0IEZlZGVyYXRlZCBJRCBSb290IENB
 * MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvAEB4pcCqnNNOWE6Ur5j
 * QPUH+1y1F9KdHTRSza6k5iDlXq1kGS1qAkuKtw9JsiNRrjltmFnzMZRBbX8Tlfl8
 * zAhBmb6dDduDGED01kBsTkgywYPxXVTKec0WxYEEF0oMn4wSYNl0lt2eJAKHXjNf
 * GTwiibdP8CUR2ghSM2sUTI8Nt1Omfc4SMHhGhYD64uJMbX98THQ/4LMGuYegou+d
 * GTiahfHtjn7AboSEknwAMJHCh5RlYZZ6B1O4QbKJ+34Q0eKgnI3X6Vc9u0zf6DH8
 * Dk+4zQDYRRTqTnVO3VT8jzqDlCRuNtq6YvryOWN74/dq8LQhUnXHvFyrsdMaE1X2
 * DwIDAQABo2MwYTAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBhjAdBgNV
 * HQ4EFgQUGRdkFnbGt1EWjKwbUne+5OaZvRYwHwYDVR0jBBgwFoAUGRdkFnbGt1EW
 * jKwbUne+5OaZvRYwDQYJKoZIhvcNAQELBQADggEBAHcqsHkrjpESqfuVTRiptJfP
 * 9JbdtWqRTmOf6uJi2c8YVqI6XlKXsD8C1dUUaaHKLUJzvKiazibVuBwMIT84AyqR
 * QELn3e0BtgEymEygMU569b01ZPxoFSnNXc7qDZBDef8WfqAV/sxkTi8L9BkmFYfL
 * uGLOhRJOFprPdoDIUBB+tmCl3oDcBy3vnUeOEioz8zAkprcb3GHwHAK+vHmmfgcn
 * WsfMLH4JCLa/tRYL+Rw/N3ybCkDp00s0WUZ+AoDywSl0Q/ZEnNY0MsFiw6LyIdbq
 * M/s/1JRtO3bDSzD9TazRVzn2oBqzSa8VgIo5C1nOnoAKJTlsClJKvIhnRlaLQqk=
 *                     """)
 *                     .build())
 *                 .revokedCertificates(VirtualNetworkGatewayVpnClientConfigurationRevokedCertificateArgs.builder()
 *                     .name("Verizon-Global-Root-CA")
 *                     .thumbprint("912198EEF23DCAC40939312FEE97DD560BAE49B1")
 *                     .build())
 *                 .build())
 *             .build());
 *     }
 * }
 * ```
 * ```yaml
 * resources:
 *   example:
 *     type: azure:core:ResourceGroup
 *     properties:
 *       name: test
 *       location: West Europe
 *   exampleVirtualNetwork:
 *     type: azure:network:VirtualNetwork
 *     name: example
 *     properties:
 *       name: test
 *       location: ${example.location}
 *       resourceGroupName: ${example.name}
 *       addressSpaces:
 *         - 10.0.0.0/16
 *   exampleSubnet:
 *     type: azure:network:Subnet
 *     name: example
 *     properties:
 *       name: GatewaySubnet
 *       resourceGroupName: ${example.name}
 *       virtualNetworkName: ${exampleVirtualNetwork.name}
 *       addressPrefixes:
 *         - 10.0.1.0/24
 *   examplePublicIp:
 *     type: azure:network:PublicIp
 *     name: example
 *     properties:
 *       name: test
 *       location: ${example.location}
 *       resourceGroupName: ${example.name}
 *       allocationMethod: Dynamic
 *   exampleVirtualNetworkGateway:
 *     type: azure:network:VirtualNetworkGateway
 *     name: example
 *     properties:
 *       name: test
 *       location: ${example.location}
 *       resourceGroupName: ${example.name}
 *       type: Vpn
 *       vpnType: RouteBased
 *       activeActive: false
 *       enableBgp: false
 *       sku: Basic
 *       ipConfigurations:
 *         - name: vnetGatewayConfig
 *           publicIpAddressId: ${examplePublicIp.id}
 *           privateIpAddressAllocation: Dynamic
 *           subnetId: ${exampleSubnet.id}
 *       vpnClientConfiguration:
 *         addressSpaces:
 *           - 10.2.0.0/24
 *         rootCertificates:
 *           - name: DigiCert-Federated-ID-Root-CA
 *             publicCertData: |
 *               MIIDuzCCAqOgAwIBAgIQCHTZWCM+IlfFIRXIvyKSrjANBgkqhkiG9w0BAQsFADBn
 *               MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
 *               d3cuZGlnaWNlcnQuY29tMSYwJAYDVQQDEx1EaWdpQ2VydCBGZWRlcmF0ZWQgSUQg
 *               Um9vdCBDQTAeFw0xMzAxMTUxMjAwMDBaFw0zMzAxMTUxMjAwMDBaMGcxCzAJBgNV
 *               BAYTAlVTMRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdp
 *               Y2VydC5jb20xJjAkBgNVBAMTHURpZ2lDZXJ0IEZlZGVyYXRlZCBJRCBSb290IENB
 *               MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvAEB4pcCqnNNOWE6Ur5j
 *               QPUH+1y1F9KdHTRSza6k5iDlXq1kGS1qAkuKtw9JsiNRrjltmFnzMZRBbX8Tlfl8
 *               zAhBmb6dDduDGED01kBsTkgywYPxXVTKec0WxYEEF0oMn4wSYNl0lt2eJAKHXjNf
 *               GTwiibdP8CUR2ghSM2sUTI8Nt1Omfc4SMHhGhYD64uJMbX98THQ/4LMGuYegou+d
 *               GTiahfHtjn7AboSEknwAMJHCh5RlYZZ6B1O4QbKJ+34Q0eKgnI3X6Vc9u0zf6DH8
 *               Dk+4zQDYRRTqTnVO3VT8jzqDlCRuNtq6YvryOWN74/dq8LQhUnXHvFyrsdMaE1X2
 *               DwIDAQABo2MwYTAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBhjAdBgNV
 *               HQ4EFgQUGRdkFnbGt1EWjKwbUne+5OaZvRYwHwYDVR0jBBgwFoAUGRdkFnbGt1EW
 *               jKwbUne+5OaZvRYwDQYJKoZIhvcNAQELBQADggEBAHcqsHkrjpESqfuVTRiptJfP
 *               9JbdtWqRTmOf6uJi2c8YVqI6XlKXsD8C1dUUaaHKLUJzvKiazibVuBwMIT84AyqR
 *               QELn3e0BtgEymEygMU569b01ZPxoFSnNXc7qDZBDef8WfqAV/sxkTi8L9BkmFYfL
 *               uGLOhRJOFprPdoDIUBB+tmCl3oDcBy3vnUeOEioz8zAkprcb3GHwHAK+vHmmfgcn
 *               WsfMLH4JCLa/tRYL+Rw/N3ybCkDp00s0WUZ+AoDywSl0Q/ZEnNY0MsFiw6LyIdbq
 *               M/s/1JRtO3bDSzD9TazRVzn2oBqzSa8VgIo5C1nOnoAKJTlsClJKvIhnRlaLQqk=
 *         revokedCertificates:
 *           - name: Verizon-Global-Root-CA
 *             thumbprint: 912198EEF23DCAC40939312FEE97DD560BAE49B1
 * ```
 * 
 * ## Import
 * Virtual Network Gateways can be imported using the `resource id`, e.g.
 * ```sh
 * $ pulumi import azure:network/virtualNetworkGateway:VirtualNetworkGateway exampleGateway /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup1/providers/Microsoft.Network/virtualNetworkGateways/myGateway1
 * ```
 * @property activeActive If `true`, an active-active Virtual Network Gateway will be created. An active-active gateway requires a `HighPerformance` or an `UltraPerformance` SKU. If `false`, an active-standby gateway will be created. Defaults to `false`.
 * @property bgpRouteTranslationForNatEnabled Is BGP Route Translation for NAT enabled? Defaults to `false`.
 * @property bgpSettings A `bgp_settings` block which is documented below. In this block the BGP specific settings can be defined.
 * @property customRoute A `custom_route` block as defined below. Specifies a custom routes address space for a virtual network gateway and a VpnClient.
 * @property defaultLocalNetworkGatewayId The ID of the local network gateway through which outbound Internet traffic from the virtual network in which the gateway is created will be routed (*forced tunnelling*). Refer to the [Azure documentation on forced tunnelling](https://docs.microsoft.com/azure/vpn-gateway/vpn-gateway-forced-tunneling-rm). If not specified, forced tunnelling is disabled.
 * @property dnsForwardingEnabled Is DNS forwarding enabled?
 * @property edgeZone Specifies the Edge Zone within the Azure Region where this Virtual Network Gateway should exist. Changing this forces a new Virtual Network Gateway to be created.
 * @property enableBgp If `true`, BGP (Border Gateway Protocol) will be enabled for this Virtual Network Gateway. Defaults to `false`.
 * @property generation The Generation of the Virtual Network gateway. Possible values include `Generation1`, `Generation2` or `None`. Changing this forces a new resource to be created.
 * > **NOTE:** The available values depend on the `type` and `sku` arguments - where `Generation2` is only value for a `sku` larger than `VpnGw2` or `VpnGw2AZ`.
 * @property ipConfigurations One or more (up to 3) `ip_configuration` blocks documented below.
 * An active-standby gateway requires exactly one `ip_configuration` block,
 * an active-active gateway requires exactly two `ip_configuration` blocks whereas
 * an active-active zone redundant gateway with P2S configuration requires exactly three `ip_configuration` blocks.
 * @property ipSecReplayProtectionEnabled Is IP Sec Replay Protection enabled? Defaults to `true`.
 * @property location The location/region where the Virtual Network Gateway is located. Changing this forces a new resource to be created.
 * @property name The name of the Virtual Network Gateway. Changing this forces a new resource to be created.
 * @property policyGroups One or more `policy_group` blocks as defined below.
 * @property privateIpAddressEnabled Should private IP be enabled on this gateway for connections? Changing this forces a new resource to be created.
 * @property remoteVnetTrafficEnabled Is remote vnet traffic that is used to configure this gateway to accept traffic from other Azure Virtual Networks enabled? Defaults to `false`.
 * @property resourceGroupName The name of the resource group in which to create the Virtual Network Gateway. Changing this forces a new resource to be created.
 * @property sku Configuration of the size and capacity of the virtual network gateway. Valid options are `Basic`, `Standard`, `HighPerformance`, `UltraPerformance`, `ErGw1AZ`, `ErGw2AZ`, `ErGw3AZ`, `VpnGw1`, `VpnGw2`, `VpnGw3`, `VpnGw4`,`VpnGw5`, `VpnGw1AZ`, `VpnGw2AZ`, `VpnGw3AZ`,`VpnGw4AZ` and `VpnGw5AZ` and depend on the `type`, `vpn_type` and `generation` arguments. A `PolicyBased` gateway only supports the `Basic` SKU. Further, the `UltraPerformance` SKU is only supported by an `ExpressRoute` gateway.
 * > **NOTE:** To build a UltraPerformance ExpressRoute Virtual Network gateway, the associated Public IP needs to be SKU "Basic" not "Standard"
 * > **NOTE:** Not all SKUs (e.g. `ErGw1AZ`) are available in all regions. If you see `StatusCode=400 -- Original Error: Code="InvalidGatewaySkuSpecifiedForGatewayDeploymentType"` please try another region.
 * @property tags A mapping of tags to assign to the resource.
 * @property type The type of the Virtual Network Gateway. Valid options are `Vpn` or `ExpressRoute`. Changing the type forces a new resource to be created.
 * @property virtualWanTrafficEnabled Is remote vnet traffic that is used to configure this gateway to accept traffic from remote Virtual WAN networks enabled? Defaults to `false`.
 * @property vpnClientConfiguration A `vpn_client_configuration` block which is documented below. In this block the Virtual Network Gateway can be configured to accept IPSec point-to-site connections.
 * @property vpnType The routing type of the Virtual Network Gateway. Valid options are `RouteBased` or `PolicyBased`. Defaults to `RouteBased`. Changing this forces a new resource to be created.
 */
public data class VirtualNetworkGatewayArgs(
    public val activeActive: Output? = null,
    public val bgpRouteTranslationForNatEnabled: Output? = null,
    public val bgpSettings: Output? = null,
    public val customRoute: Output? = null,
    public val defaultLocalNetworkGatewayId: Output? = null,
    public val dnsForwardingEnabled: Output? = null,
    public val edgeZone: Output? = null,
    public val enableBgp: Output? = null,
    public val generation: Output? = null,
    public val ipConfigurations: Output>? = null,
    public val ipSecReplayProtectionEnabled: Output? = null,
    public val location: Output? = null,
    public val name: Output? = null,
    public val policyGroups: Output>? = null,
    public val privateIpAddressEnabled: Output? = null,
    public val remoteVnetTrafficEnabled: Output? = null,
    public val resourceGroupName: Output? = null,
    public val sku: Output? = null,
    public val tags: Output>? = null,
    public val type: Output? = null,
    public val virtualWanTrafficEnabled: Output? = null,
    public val vpnClientConfiguration: Output? =
        null,
    public val vpnType: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.network.VirtualNetworkGatewayArgs =
        com.pulumi.azure.network.VirtualNetworkGatewayArgs.builder()
            .activeActive(activeActive?.applyValue({ args0 -> args0 }))
            .bgpRouteTranslationForNatEnabled(bgpRouteTranslationForNatEnabled?.applyValue({ args0 -> args0 }))
            .bgpSettings(bgpSettings?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .customRoute(customRoute?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .defaultLocalNetworkGatewayId(defaultLocalNetworkGatewayId?.applyValue({ args0 -> args0 }))
            .dnsForwardingEnabled(dnsForwardingEnabled?.applyValue({ args0 -> args0 }))
            .edgeZone(edgeZone?.applyValue({ args0 -> args0 }))
            .enableBgp(enableBgp?.applyValue({ args0 -> args0 }))
            .generation(generation?.applyValue({ args0 -> args0 }))
            .ipConfigurations(
                ipConfigurations?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .ipSecReplayProtectionEnabled(ipSecReplayProtectionEnabled?.applyValue({ args0 -> args0 }))
            .location(location?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .policyGroups(
                policyGroups?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .privateIpAddressEnabled(privateIpAddressEnabled?.applyValue({ args0 -> args0 }))
            .remoteVnetTrafficEnabled(remoteVnetTrafficEnabled?.applyValue({ args0 -> args0 }))
            .resourceGroupName(resourceGroupName?.applyValue({ args0 -> args0 }))
            .sku(sku?.applyValue({ args0 -> args0 }))
            .tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.key.to(args0.value) }).toMap() }))
            .type(type?.applyValue({ args0 -> args0 }))
            .virtualWanTrafficEnabled(virtualWanTrafficEnabled?.applyValue({ args0 -> args0 }))
            .vpnClientConfiguration(
                vpnClientConfiguration?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .vpnType(vpnType?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [VirtualNetworkGatewayArgs].
 */
@PulumiTagMarker
public class VirtualNetworkGatewayArgsBuilder internal constructor() {
    private var activeActive: Output? = null

    private var bgpRouteTranslationForNatEnabled: Output? = null

    private var bgpSettings: Output? = null

    private var customRoute: Output? = null

    private var defaultLocalNetworkGatewayId: Output? = null

    private var dnsForwardingEnabled: Output? = null

    private var edgeZone: Output? = null

    private var enableBgp: Output? = null

    private var generation: Output? = null

    private var ipConfigurations: Output>? = null

    private var ipSecReplayProtectionEnabled: Output? = null

    private var location: Output? = null

    private var name: Output? = null

    private var policyGroups: Output>? = null

    private var privateIpAddressEnabled: Output? = null

    private var remoteVnetTrafficEnabled: Output? = null

    private var resourceGroupName: Output? = null

    private var sku: Output? = null

    private var tags: Output>? = null

    private var type: Output? = null

    private var virtualWanTrafficEnabled: Output? = null

    private var vpnClientConfiguration: Output? =
        null

    private var vpnType: Output? = null

    /**
     * @param value If `true`, an active-active Virtual Network Gateway will be created. An active-active gateway requires a `HighPerformance` or an `UltraPerformance` SKU. If `false`, an active-standby gateway will be created. Defaults to `false`.
     */
    @JvmName("hrkfsioiuxqfqrjs")
    public suspend fun activeActive(`value`: Output) {
        this.activeActive = value
    }

    /**
     * @param value Is BGP Route Translation for NAT enabled? Defaults to `false`.
     */
    @JvmName("erhhnrhjfrgcfqfv")
    public suspend fun bgpRouteTranslationForNatEnabled(`value`: Output) {
        this.bgpRouteTranslationForNatEnabled = value
    }

    /**
     * @param value A `bgp_settings` block which is documented below. In this block the BGP specific settings can be defined.
     */
    @JvmName("kaqmmvifduujtveb")
    public suspend fun bgpSettings(`value`: Output) {
        this.bgpSettings = value
    }

    /**
     * @param value A `custom_route` block as defined below. Specifies a custom routes address space for a virtual network gateway and a VpnClient.
     */
    @JvmName("qhqihbmrqucrthur")
    public suspend fun customRoute(`value`: Output) {
        this.customRoute = value
    }

    /**
     * @param value The ID of the local network gateway through which outbound Internet traffic from the virtual network in which the gateway is created will be routed (*forced tunnelling*). Refer to the [Azure documentation on forced tunnelling](https://docs.microsoft.com/azure/vpn-gateway/vpn-gateway-forced-tunneling-rm). If not specified, forced tunnelling is disabled.
     */
    @JvmName("bhabqomanxuagpou")
    public suspend fun defaultLocalNetworkGatewayId(`value`: Output) {
        this.defaultLocalNetworkGatewayId = value
    }

    /**
     * @param value Is DNS forwarding enabled?
     */
    @JvmName("jkwteqlvpgpwbhsq")
    public suspend fun dnsForwardingEnabled(`value`: Output) {
        this.dnsForwardingEnabled = value
    }

    /**
     * @param value Specifies the Edge Zone within the Azure Region where this Virtual Network Gateway should exist. Changing this forces a new Virtual Network Gateway to be created.
     */
    @JvmName("ljclnvbrtkyerpil")
    public suspend fun edgeZone(`value`: Output) {
        this.edgeZone = value
    }

    /**
     * @param value If `true`, BGP (Border Gateway Protocol) will be enabled for this Virtual Network Gateway. Defaults to `false`.
     */
    @JvmName("jcpbhdveiyhjxcex")
    public suspend fun enableBgp(`value`: Output) {
        this.enableBgp = value
    }

    /**
     * @param value The Generation of the Virtual Network gateway. Possible values include `Generation1`, `Generation2` or `None`. Changing this forces a new resource to be created.
     * > **NOTE:** The available values depend on the `type` and `sku` arguments - where `Generation2` is only value for a `sku` larger than `VpnGw2` or `VpnGw2AZ`.
     */
    @JvmName("nejwicrctaidpfgq")
    public suspend fun generation(`value`: Output) {
        this.generation = value
    }

    /**
     * @param value One or more (up to 3) `ip_configuration` blocks documented below.
     * An active-standby gateway requires exactly one `ip_configuration` block,
     * an active-active gateway requires exactly two `ip_configuration` blocks whereas
     * an active-active zone redundant gateway with P2S configuration requires exactly three `ip_configuration` blocks.
     */
    @JvmName("nyufiobuyfohuard")
    public suspend
    fun ipConfigurations(`value`: Output>) {
        this.ipConfigurations = value
    }

    @JvmName("onwbmlqxvawajjct")
    public suspend fun ipConfigurations(
        vararg
        values: Output,
    ) {
        this.ipConfigurations = Output.all(values.asList())
    }

    /**
     * @param values One or more (up to 3) `ip_configuration` blocks documented below.
     * An active-standby gateway requires exactly one `ip_configuration` block,
     * an active-active gateway requires exactly two `ip_configuration` blocks whereas
     * an active-active zone redundant gateway with P2S configuration requires exactly three `ip_configuration` blocks.
     */
    @JvmName("kxpnsiurtlvdfrwk")
    public suspend
    fun ipConfigurations(values: List>) {
        this.ipConfigurations = Output.all(values)
    }

    /**
     * @param value Is IP Sec Replay Protection enabled? Defaults to `true`.
     */
    @JvmName("nvvfwjgqohvfqelm")
    public suspend fun ipSecReplayProtectionEnabled(`value`: Output) {
        this.ipSecReplayProtectionEnabled = value
    }

    /**
     * @param value The location/region where the Virtual Network Gateway is located. Changing this forces a new resource to be created.
     */
    @JvmName("pneaaawclnkfghqc")
    public suspend fun location(`value`: Output) {
        this.location = value
    }

    /**
     * @param value The name of the Virtual Network Gateway. Changing this forces a new resource to be created.
     */
    @JvmName("qygqegcctbyiqmpo")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value One or more `policy_group` blocks as defined below.
     */
    @JvmName("runajmxqqwvapjjk")
    public suspend fun policyGroups(`value`: Output>) {
        this.policyGroups = value
    }

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

    /**
     * @param values One or more `policy_group` blocks as defined below.
     */
    @JvmName("riotqkuiwfytbcoi")
    public suspend fun policyGroups(values: List>) {
        this.policyGroups = Output.all(values)
    }

    /**
     * @param value Should private IP be enabled on this gateway for connections? Changing this forces a new resource to be created.
     */
    @JvmName("onqntavchnvbygfm")
    public suspend fun privateIpAddressEnabled(`value`: Output) {
        this.privateIpAddressEnabled = value
    }

    /**
     * @param value Is remote vnet traffic that is used to configure this gateway to accept traffic from other Azure Virtual Networks enabled? Defaults to `false`.
     */
    @JvmName("yugiuocsuvfxlcry")
    public suspend fun remoteVnetTrafficEnabled(`value`: Output) {
        this.remoteVnetTrafficEnabled = value
    }

    /**
     * @param value The name of the resource group in which to create the Virtual Network Gateway. Changing this forces a new resource to be created.
     */
    @JvmName("lrldsbmqhvupqlev")
    public suspend fun resourceGroupName(`value`: Output) {
        this.resourceGroupName = value
    }

    /**
     * @param value Configuration of the size and capacity of the virtual network gateway. Valid options are `Basic`, `Standard`, `HighPerformance`, `UltraPerformance`, `ErGw1AZ`, `ErGw2AZ`, `ErGw3AZ`, `VpnGw1`, `VpnGw2`, `VpnGw3`, `VpnGw4`,`VpnGw5`, `VpnGw1AZ`, `VpnGw2AZ`, `VpnGw3AZ`,`VpnGw4AZ` and `VpnGw5AZ` and depend on the `type`, `vpn_type` and `generation` arguments. A `PolicyBased` gateway only supports the `Basic` SKU. Further, the `UltraPerformance` SKU is only supported by an `ExpressRoute` gateway.
     * > **NOTE:** To build a UltraPerformance ExpressRoute Virtual Network gateway, the associated Public IP needs to be SKU "Basic" not "Standard"
     * > **NOTE:** Not all SKUs (e.g. `ErGw1AZ`) are available in all regions. If you see `StatusCode=400 -- Original Error: Code="InvalidGatewaySkuSpecifiedForGatewayDeploymentType"` please try another region.
     */
    @JvmName("rwbtxldeawkhfmjy")
    public suspend fun sku(`value`: Output) {
        this.sku = value
    }

    /**
     * @param value A mapping of tags to assign to the resource.
     */
    @JvmName("uakmvwfjpsvjffdd")
    public suspend fun tags(`value`: Output>) {
        this.tags = value
    }

    /**
     * @param value The type of the Virtual Network Gateway. Valid options are `Vpn` or `ExpressRoute`. Changing the type forces a new resource to be created.
     */
    @JvmName("dxyanqobxviaasad")
    public suspend fun type(`value`: Output) {
        this.type = value
    }

    /**
     * @param value Is remote vnet traffic that is used to configure this gateway to accept traffic from remote Virtual WAN networks enabled? Defaults to `false`.
     */
    @JvmName("skjaroqlmgrdddxk")
    public suspend fun virtualWanTrafficEnabled(`value`: Output) {
        this.virtualWanTrafficEnabled = value
    }

    /**
     * @param value A `vpn_client_configuration` block which is documented below. In this block the Virtual Network Gateway can be configured to accept IPSec point-to-site connections.
     */
    @JvmName("pevgehclufhkxefc")
    public suspend
    fun vpnClientConfiguration(`value`: Output) {
        this.vpnClientConfiguration = value
    }

    /**
     * @param value The routing type of the Virtual Network Gateway. Valid options are `RouteBased` or `PolicyBased`. Defaults to `RouteBased`. Changing this forces a new resource to be created.
     */
    @JvmName("ibyajaqcojosqmla")
    public suspend fun vpnType(`value`: Output) {
        this.vpnType = value
    }

    /**
     * @param value If `true`, an active-active Virtual Network Gateway will be created. An active-active gateway requires a `HighPerformance` or an `UltraPerformance` SKU. If `false`, an active-standby gateway will be created. Defaults to `false`.
     */
    @JvmName("kayqugvuncvnovyi")
    public suspend fun activeActive(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.activeActive = mapped
    }

    /**
     * @param value Is BGP Route Translation for NAT enabled? Defaults to `false`.
     */
    @JvmName("otdhqaabkivnyjux")
    public suspend fun bgpRouteTranslationForNatEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.bgpRouteTranslationForNatEnabled = mapped
    }

    /**
     * @param value A `bgp_settings` block which is documented below. In this block the BGP specific settings can be defined.
     */
    @JvmName("skstdlgbnqjibmii")
    public suspend fun bgpSettings(`value`: VirtualNetworkGatewayBgpSettingsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.bgpSettings = mapped
    }

    /**
     * @param argument A `bgp_settings` block which is documented below. In this block the BGP specific settings can be defined.
     */
    @JvmName("rpolaqrogvsylttw")
    public suspend
    fun bgpSettings(argument: suspend VirtualNetworkGatewayBgpSettingsArgsBuilder.() -> Unit) {
        val toBeMapped = VirtualNetworkGatewayBgpSettingsArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.bgpSettings = mapped
    }

    /**
     * @param value A `custom_route` block as defined below. Specifies a custom routes address space for a virtual network gateway and a VpnClient.
     */
    @JvmName("talbdeajjmrotisr")
    public suspend fun customRoute(`value`: VirtualNetworkGatewayCustomRouteArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.customRoute = mapped
    }

    /**
     * @param argument A `custom_route` block as defined below. Specifies a custom routes address space for a virtual network gateway and a VpnClient.
     */
    @JvmName("ihlckvnojbbjlxkm")
    public suspend
    fun customRoute(argument: suspend VirtualNetworkGatewayCustomRouteArgsBuilder.() -> Unit) {
        val toBeMapped = VirtualNetworkGatewayCustomRouteArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.customRoute = mapped
    }

    /**
     * @param value The ID of the local network gateway through which outbound Internet traffic from the virtual network in which the gateway is created will be routed (*forced tunnelling*). Refer to the [Azure documentation on forced tunnelling](https://docs.microsoft.com/azure/vpn-gateway/vpn-gateway-forced-tunneling-rm). If not specified, forced tunnelling is disabled.
     */
    @JvmName("gbntcsgehivymenk")
    public suspend fun defaultLocalNetworkGatewayId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.defaultLocalNetworkGatewayId = mapped
    }

    /**
     * @param value Is DNS forwarding enabled?
     */
    @JvmName("jyhpmfmfljcxwtao")
    public suspend fun dnsForwardingEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dnsForwardingEnabled = mapped
    }

    /**
     * @param value Specifies the Edge Zone within the Azure Region where this Virtual Network Gateway should exist. Changing this forces a new Virtual Network Gateway to be created.
     */
    @JvmName("hykipbwxldmnhgdg")
    public suspend fun edgeZone(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.edgeZone = mapped
    }

    /**
     * @param value If `true`, BGP (Border Gateway Protocol) will be enabled for this Virtual Network Gateway. Defaults to `false`.
     */
    @JvmName("gtqudbkoivaqbrqk")
    public suspend fun enableBgp(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enableBgp = mapped
    }

    /**
     * @param value The Generation of the Virtual Network gateway. Possible values include `Generation1`, `Generation2` or `None`. Changing this forces a new resource to be created.
     * > **NOTE:** The available values depend on the `type` and `sku` arguments - where `Generation2` is only value for a `sku` larger than `VpnGw2` or `VpnGw2AZ`.
     */
    @JvmName("qxiaydaatckrvrrn")
    public suspend fun generation(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.generation = mapped
    }

    /**
     * @param value One or more (up to 3) `ip_configuration` blocks documented below.
     * An active-standby gateway requires exactly one `ip_configuration` block,
     * an active-active gateway requires exactly two `ip_configuration` blocks whereas
     * an active-active zone redundant gateway with P2S configuration requires exactly three `ip_configuration` blocks.
     */
    @JvmName("bqkiswunrodbwpps")
    public suspend fun ipConfigurations(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.ipConfigurations = mapped
    }

    /**
     * @param argument One or more (up to 3) `ip_configuration` blocks documented below.
     * An active-standby gateway requires exactly one `ip_configuration` block,
     * an active-active gateway requires exactly two `ip_configuration` blocks whereas
     * an active-active zone redundant gateway with P2S configuration requires exactly three `ip_configuration` blocks.
     */
    @JvmName("bvwegjysvslgbwuc")
    public suspend
    fun ipConfigurations(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            VirtualNetworkGatewayIpConfigurationArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.ipConfigurations = mapped
    }

    /**
     * @param argument One or more (up to 3) `ip_configuration` blocks documented below.
     * An active-standby gateway requires exactly one `ip_configuration` block,
     * an active-active gateway requires exactly two `ip_configuration` blocks whereas
     * an active-active zone redundant gateway with P2S configuration requires exactly three `ip_configuration` blocks.
     */
    @JvmName("otairmalvurpalgj")
    public suspend fun ipConfigurations(
        vararg
        argument: suspend VirtualNetworkGatewayIpConfigurationArgsBuilder.() -> Unit,
    ) {
        val toBeMapped = argument.toList().map {
            VirtualNetworkGatewayIpConfigurationArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.ipConfigurations = mapped
    }

    /**
     * @param argument One or more (up to 3) `ip_configuration` blocks documented below.
     * An active-standby gateway requires exactly one `ip_configuration` block,
     * an active-active gateway requires exactly two `ip_configuration` blocks whereas
     * an active-active zone redundant gateway with P2S configuration requires exactly three `ip_configuration` blocks.
     */
    @JvmName("ylekjbjjkheqimhj")
    public suspend
    fun ipConfigurations(argument: suspend VirtualNetworkGatewayIpConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            VirtualNetworkGatewayIpConfigurationArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.ipConfigurations = mapped
    }

    /**
     * @param values One or more (up to 3) `ip_configuration` blocks documented below.
     * An active-standby gateway requires exactly one `ip_configuration` block,
     * an active-active gateway requires exactly two `ip_configuration` blocks whereas
     * an active-active zone redundant gateway with P2S configuration requires exactly three `ip_configuration` blocks.
     */
    @JvmName("lyeeyahslxfkvkym")
    public suspend fun ipConfigurations(vararg values: VirtualNetworkGatewayIpConfigurationArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.ipConfigurations = mapped
    }

    /**
     * @param value Is IP Sec Replay Protection enabled? Defaults to `true`.
     */
    @JvmName("vycmvpmdbqbvbkvb")
    public suspend fun ipSecReplayProtectionEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.ipSecReplayProtectionEnabled = mapped
    }

    /**
     * @param value The location/region where the Virtual Network Gateway is located. Changing this forces a new resource to be created.
     */
    @JvmName("yjdytqekucnhhfxb")
    public suspend fun location(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.location = mapped
    }

    /**
     * @param value The name of the Virtual Network Gateway. Changing this forces a new resource to be created.
     */
    @JvmName("kmrppbdhxchflhmn")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value One or more `policy_group` blocks as defined below.
     */
    @JvmName("getmnmpvkonrklax")
    public suspend fun policyGroups(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.policyGroups = mapped
    }

    /**
     * @param argument One or more `policy_group` blocks as defined below.
     */
    @JvmName("vxrfcblatksuemda")
    public suspend
    fun policyGroups(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            VirtualNetworkGatewayPolicyGroupArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.policyGroups = mapped
    }

    /**
     * @param argument One or more `policy_group` blocks as defined below.
     */
    @JvmName("ooliqbvokrhyqkah")
    public suspend fun policyGroups(
        vararg
        argument: suspend VirtualNetworkGatewayPolicyGroupArgsBuilder.() -> Unit,
    ) {
        val toBeMapped = argument.toList().map {
            VirtualNetworkGatewayPolicyGroupArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.policyGroups = mapped
    }

    /**
     * @param argument One or more `policy_group` blocks as defined below.
     */
    @JvmName("puubhycryveoiexe")
    public suspend
    fun policyGroups(argument: suspend VirtualNetworkGatewayPolicyGroupArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            VirtualNetworkGatewayPolicyGroupArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.policyGroups = mapped
    }

    /**
     * @param values One or more `policy_group` blocks as defined below.
     */
    @JvmName("gvmywwjdobqvowne")
    public suspend fun policyGroups(vararg values: VirtualNetworkGatewayPolicyGroupArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.policyGroups = mapped
    }

    /**
     * @param value Should private IP be enabled on this gateway for connections? Changing this forces a new resource to be created.
     */
    @JvmName("jwnkwxxapmwrsvbx")
    public suspend fun privateIpAddressEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.privateIpAddressEnabled = mapped
    }

    /**
     * @param value Is remote vnet traffic that is used to configure this gateway to accept traffic from other Azure Virtual Networks enabled? Defaults to `false`.
     */
    @JvmName("ojkuryxwrqjvgush")
    public suspend fun remoteVnetTrafficEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.remoteVnetTrafficEnabled = mapped
    }

    /**
     * @param value The name of the resource group in which to create the Virtual Network Gateway. Changing this forces a new resource to be created.
     */
    @JvmName("wxeempstsjpipruk")
    public suspend fun resourceGroupName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.resourceGroupName = mapped
    }

    /**
     * @param value Configuration of the size and capacity of the virtual network gateway. Valid options are `Basic`, `Standard`, `HighPerformance`, `UltraPerformance`, `ErGw1AZ`, `ErGw2AZ`, `ErGw3AZ`, `VpnGw1`, `VpnGw2`, `VpnGw3`, `VpnGw4`,`VpnGw5`, `VpnGw1AZ`, `VpnGw2AZ`, `VpnGw3AZ`,`VpnGw4AZ` and `VpnGw5AZ` and depend on the `type`, `vpn_type` and `generation` arguments. A `PolicyBased` gateway only supports the `Basic` SKU. Further, the `UltraPerformance` SKU is only supported by an `ExpressRoute` gateway.
     * > **NOTE:** To build a UltraPerformance ExpressRoute Virtual Network gateway, the associated Public IP needs to be SKU "Basic" not "Standard"
     * > **NOTE:** Not all SKUs (e.g. `ErGw1AZ`) are available in all regions. If you see `StatusCode=400 -- Original Error: Code="InvalidGatewaySkuSpecifiedForGatewayDeploymentType"` please try another region.
     */
    @JvmName("nbhprahsomsgyofr")
    public suspend fun sku(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sku = mapped
    }

    /**
     * @param value A mapping of tags to assign to the resource.
     */
    @JvmName("apxhfysonjtxlsek")
    public suspend fun tags(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param values A mapping of tags to assign to the resource.
     */
    @JvmName("pdxsdutipraavglo")
    public fun tags(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param value The type of the Virtual Network Gateway. Valid options are `Vpn` or `ExpressRoute`. Changing the type forces a new resource to be created.
     */
    @JvmName("jdncnbgtmbpethop")
    public suspend fun type(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.type = mapped
    }

    /**
     * @param value Is remote vnet traffic that is used to configure this gateway to accept traffic from remote Virtual WAN networks enabled? Defaults to `false`.
     */
    @JvmName("xuviswrnnrjjrnko")
    public suspend fun virtualWanTrafficEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.virtualWanTrafficEnabled = mapped
    }

    /**
     * @param value A `vpn_client_configuration` block which is documented below. In this block the Virtual Network Gateway can be configured to accept IPSec point-to-site connections.
     */
    @JvmName("ugvcqymrpmjwagpx")
    public suspend
    fun vpnClientConfiguration(`value`: VirtualNetworkGatewayVpnClientConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.vpnClientConfiguration = mapped
    }

    /**
     * @param argument A `vpn_client_configuration` block which is documented below. In this block the Virtual Network Gateway can be configured to accept IPSec point-to-site connections.
     */
    @JvmName("wntmenmmitxsflem")
    public suspend
    fun vpnClientConfiguration(argument: suspend VirtualNetworkGatewayVpnClientConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = VirtualNetworkGatewayVpnClientConfigurationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.vpnClientConfiguration = mapped
    }

    /**
     * @param value The routing type of the Virtual Network Gateway. Valid options are `RouteBased` or `PolicyBased`. Defaults to `RouteBased`. Changing this forces a new resource to be created.
     */
    @JvmName("gfpndnvruftsqmmd")
    public suspend fun vpnType(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.vpnType = mapped
    }

    internal fun build(): VirtualNetworkGatewayArgs = VirtualNetworkGatewayArgs(
        activeActive = activeActive,
        bgpRouteTranslationForNatEnabled = bgpRouteTranslationForNatEnabled,
        bgpSettings = bgpSettings,
        customRoute = customRoute,
        defaultLocalNetworkGatewayId = defaultLocalNetworkGatewayId,
        dnsForwardingEnabled = dnsForwardingEnabled,
        edgeZone = edgeZone,
        enableBgp = enableBgp,
        generation = generation,
        ipConfigurations = ipConfigurations,
        ipSecReplayProtectionEnabled = ipSecReplayProtectionEnabled,
        location = location,
        name = name,
        policyGroups = policyGroups,
        privateIpAddressEnabled = privateIpAddressEnabled,
        remoteVnetTrafficEnabled = remoteVnetTrafficEnabled,
        resourceGroupName = resourceGroupName,
        sku = sku,
        tags = tags,
        type = type,
        virtualWanTrafficEnabled = virtualWanTrafficEnabled,
        vpnClientConfiguration = vpnClientConfiguration,
        vpnType = vpnType,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy