A common class for general resource information.
Uses Azure REST API version 2024-05-01. In version 2.x of the Azure Native provider, it used API version 2023-02-01.
Other available API versions: 2018-06-01, 2018-07-01, 2018-08-01, 2018-10-01, 2018-11-01, 2018-12-01, 2019-02-01, 2019-04-01, 2019-06-01, 2019-07-01, 2019-08-01, 2019-09-01, 2019-11-01, 2019-12-01, 2020-03-01, 2020-04-01, 2020-05-01, 2020-06-01, 2020-07-01, 2020-08-01, 2020-11-01, 2021-02-01, 2021-03-01, 2021-05-01, 2021-08-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 2022-11-01, 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-07-01, 2024-10-01, 2025-01-01, 2025-03-01, 2025-05-01, 2025-07-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native network [ApiVersion]. See the version guide for details.
Example Usage
UpdateVirtualNetworkGateway
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var virtualNetworkGateway = new AzureNative.Network.VirtualNetworkGateway("virtualNetworkGateway", new()
{
ActiveActive = false,
AllowRemoteVnetTraffic = false,
AllowVirtualWanTraffic = false,
BgpSettings = new AzureNative.Network.Inputs.BgpSettingsArgs
{
Asn = 65515.0,
BgpPeeringAddress = "10.0.1.30",
PeerWeight = 0,
},
CustomRoutes = new AzureNative.Network.Inputs.AddressSpaceArgs
{
AddressPrefixes = new[]
{
"101.168.0.6/32",
},
},
DisableIPSecReplayProtection = false,
EnableBgp = false,
EnableBgpRouteTranslationForNat = false,
EnableDnsForwarding = true,
GatewayType = AzureNative.Network.VirtualNetworkGatewayType.Vpn,
IpConfigurations = new[]
{
new AzureNative.Network.Inputs.VirtualNetworkGatewayIPConfigurationArgs
{
Name = "gwipconfig1",
PrivateIPAllocationMethod = AzureNative.Network.IPAllocationMethod.Dynamic,
PublicIPAddress = new AzureNative.Network.Inputs.SubResourceArgs
{
Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip",
},
Subnet = new AzureNative.Network.Inputs.SubResourceArgs
{
Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet",
},
},
},
Location = "centralus",
NatRules = new[]
{
new AzureNative.Network.Inputs.VirtualNetworkGatewayNatRuleArgs
{
ExternalMappings = new[]
{
new AzureNative.Network.Inputs.VpnNatRuleMappingArgs
{
AddressSpace = "50.0.0.0/24",
},
},
Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule1",
InternalMappings = new[]
{
new AzureNative.Network.Inputs.VpnNatRuleMappingArgs
{
AddressSpace = "10.10.0.0/24",
},
},
IpConfigurationId = "",
Mode = AzureNative.Network.VpnNatRuleMode.EgressSnat,
Name = "natRule1",
Type = AzureNative.Network.VpnNatRuleType.Static,
},
new AzureNative.Network.Inputs.VirtualNetworkGatewayNatRuleArgs
{
ExternalMappings = new[]
{
new AzureNative.Network.Inputs.VpnNatRuleMappingArgs
{
AddressSpace = "30.0.0.0/24",
},
},
Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule2",
InternalMappings = new[]
{
new AzureNative.Network.Inputs.VpnNatRuleMappingArgs
{
AddressSpace = "20.10.0.0/24",
},
},
IpConfigurationId = "",
Mode = AzureNative.Network.VpnNatRuleMode.IngressSnat,
Name = "natRule2",
Type = AzureNative.Network.VpnNatRuleType.Static,
},
},
ResourceGroupName = "rg1",
Sku = new AzureNative.Network.Inputs.VirtualNetworkGatewaySkuArgs
{
Name = AzureNative.Network.VirtualNetworkGatewaySkuName.VpnGw1,
Tier = AzureNative.Network.VirtualNetworkGatewaySkuTier.VpnGw1,
},
VirtualNetworkGatewayName = "vpngw",
VpnClientConfiguration = new AzureNative.Network.Inputs.VpnClientConfigurationArgs
{
RadiusServers = new[]
{
new AzureNative.Network.Inputs.RadiusServerArgs
{
RadiusServerAddress = "10.2.0.0",
RadiusServerScore = 20.0,
RadiusServerSecret = "radiusServerSecret",
},
},
VpnClientProtocols =
{
AzureNative.Network.VpnClientProtocol.OpenVPN,
},
VpnClientRevokedCertificates = new() { },
VpnClientRootCertificates = new() { },
},
VpnType = AzureNative.Network.VpnType.RouteBased,
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewVirtualNetworkGateway(ctx, "virtualNetworkGateway", &network.VirtualNetworkGatewayArgs{
ActiveActive: pulumi.Bool(false),
AllowRemoteVnetTraffic: pulumi.Bool(false),
AllowVirtualWanTraffic: pulumi.Bool(false),
BgpSettings: &network.BgpSettingsArgs{
Asn: pulumi.Float64(65515),
BgpPeeringAddress: pulumi.String("10.0.1.30"),
PeerWeight: pulumi.Int(0),
},
CustomRoutes: &network.AddressSpaceArgs{
AddressPrefixes: pulumi.StringArray{
pulumi.String("101.168.0.6/32"),
},
},
DisableIPSecReplayProtection: pulumi.Bool(false),
EnableBgp: pulumi.Bool(false),
EnableBgpRouteTranslationForNat: pulumi.Bool(false),
EnableDnsForwarding: pulumi.Bool(true),
GatewayType: pulumi.String(network.VirtualNetworkGatewayTypeVpn),
IpConfigurations: network.VirtualNetworkGatewayIPConfigurationArray{
&network.VirtualNetworkGatewayIPConfigurationArgs{
Name: pulumi.String("gwipconfig1"),
PrivateIPAllocationMethod: pulumi.String(network.IPAllocationMethodDynamic),
PublicIPAddress: &network.SubResourceArgs{
Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip"),
},
Subnet: &network.SubResourceArgs{
Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet"),
},
},
},
Location: pulumi.String("centralus"),
NatRules: network.VirtualNetworkGatewayNatRuleTypeArray{
&network.VirtualNetworkGatewayNatRuleTypeArgs{
ExternalMappings: network.VpnNatRuleMappingArray{
&network.VpnNatRuleMappingArgs{
AddressSpace: pulumi.String("50.0.0.0/24"),
},
},
Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule1"),
InternalMappings: network.VpnNatRuleMappingArray{
&network.VpnNatRuleMappingArgs{
AddressSpace: pulumi.String("10.10.0.0/24"),
},
},
IpConfigurationId: pulumi.String(""),
Mode: pulumi.String(network.VpnNatRuleModeEgressSnat),
Name: pulumi.String("natRule1"),
Type: pulumi.String(network.VpnNatRuleTypeStatic),
},
&network.VirtualNetworkGatewayNatRuleTypeArgs{
ExternalMappings: network.VpnNatRuleMappingArray{
&network.VpnNatRuleMappingArgs{
AddressSpace: pulumi.String("30.0.0.0/24"),
},
},
Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule2"),
InternalMappings: network.VpnNatRuleMappingArray{
&network.VpnNatRuleMappingArgs{
AddressSpace: pulumi.String("20.10.0.0/24"),
},
},
IpConfigurationId: pulumi.String(""),
Mode: pulumi.String(network.VpnNatRuleModeIngressSnat),
Name: pulumi.String("natRule2"),
Type: pulumi.String(network.VpnNatRuleTypeStatic),
},
},
ResourceGroupName: pulumi.String("rg1"),
Sku: &network.VirtualNetworkGatewaySkuArgs{
Name: pulumi.String(network.VirtualNetworkGatewaySkuNameVpnGw1),
Tier: pulumi.String(network.VirtualNetworkGatewaySkuTierVpnGw1),
},
VirtualNetworkGatewayName: pulumi.String("vpngw"),
VpnClientConfiguration: &network.VpnClientConfigurationArgs{
RadiusServers: network.RadiusServerArray{
&network.RadiusServerArgs{
RadiusServerAddress: pulumi.String("10.2.0.0"),
RadiusServerScore: pulumi.Float64(20),
RadiusServerSecret: pulumi.String("radiusServerSecret"),
},
},
VpnClientProtocols: pulumi.StringArray{
pulumi.String(network.VpnClientProtocolOpenVPN),
},
VpnClientRevokedCertificates: network.VpnClientRevokedCertificateArray{},
VpnClientRootCertificates: network.VpnClientRootCertificateArray{},
},
VpnType: pulumi.String(network.VpnTypeRouteBased),
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_network_virtual_network_gateway" "virtualNetworkGateway" {
lifecycle {
create_before_destroy = true
}
active_active = false
allow_remote_vnet_traffic = false
allow_virtual_wan_traffic = false
bgp_settings = {
asn = 65515
bgp_peering_address = "10.0.1.30"
peer_weight = 0
}
custom_routes = {
address_prefixes = ["101.168.0.6/32"]
}
disable_ip_sec_replay_protection = false
enable_bgp = false
enable_bgp_route_translation_for_nat = false
enable_dns_forwarding = true
gateway_type = "Vpn"
ip_configurations {
name = "gwipconfig1"
private_ip_allocation_method = "Dynamic"
public_ip_address = {
id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip"
}
subnet = {
id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet"
}
}
location = "centralus"
nat_rules {
external_mappings {
address_space = "50.0.0.0/24"
}
id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule1"
internal_mappings {
address_space = "10.10.0.0/24"
}
ip_configuration_id = ""
mode = "EgressSnat"
name = "natRule1"
type = "Static"
}
nat_rules {
external_mappings {
address_space = "30.0.0.0/24"
}
id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule2"
internal_mappings {
address_space = "20.10.0.0/24"
}
ip_configuration_id = ""
mode = "IngressSnat"
name = "natRule2"
type = "Static"
}
resource_group_name = "rg1"
sku = {
name = "VpnGw1"
tier = "VpnGw1"
}
virtual_network_gateway_name = "vpngw"
vpn_client_configuration = {
radius_servers = [{
radius_server_address = "10.2.0.0"
radius_server_score = 20
radius_server_secret = "radiusServerSecret"
}]
vpn_client_protocols = ["OpenVPN"]
vpn_client_revoked_certificates = []
vpn_client_root_certificates = []
}
vpn_type = "RouteBased"
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.network.VirtualNetworkGateway;
import com.pulumi.azurenative.network.VirtualNetworkGatewayArgs;
import com.pulumi.azurenative.network.inputs.BgpSettingsArgs;
import com.pulumi.azurenative.network.inputs.AddressSpaceArgs;
import com.pulumi.azurenative.network.inputs.VirtualNetworkGatewayIPConfigurationArgs;
import com.pulumi.azurenative.network.inputs.SubResourceArgs;
import com.pulumi.azurenative.network.inputs.VirtualNetworkGatewayNatRuleArgs;
import com.pulumi.azurenative.network.inputs.VpnNatRuleMappingArgs;
import com.pulumi.azurenative.network.inputs.VirtualNetworkGatewaySkuArgs;
import com.pulumi.azurenative.network.inputs.VpnClientConfigurationArgs;
import com.pulumi.azurenative.network.inputs.RadiusServerArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 virtualNetworkGateway = new VirtualNetworkGateway("virtualNetworkGateway", VirtualNetworkGatewayArgs.builder()
.activeActive(false)
.allowRemoteVnetTraffic(false)
.allowVirtualWanTraffic(false)
.bgpSettings(BgpSettingsArgs.builder()
.asn(65515.0)
.bgpPeeringAddress("10.0.1.30")
.peerWeight(0)
.build())
.customRoutes(AddressSpaceArgs.builder()
.addressPrefixes("101.168.0.6/32")
.build())
.disableIPSecReplayProtection(false)
.enableBgp(false)
.enableBgpRouteTranslationForNat(false)
.enableDnsForwarding(true)
.gatewayType("Vpn")
.ipConfigurations(VirtualNetworkGatewayIPConfigurationArgs.builder()
.name("gwipconfig1")
.privateIPAllocationMethod("Dynamic")
.publicIPAddress(SubResourceArgs.builder()
.id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip")
.build())
.subnet(SubResourceArgs.builder()
.id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet")
.build())
.build())
.location("centralus")
.natRules(
VirtualNetworkGatewayNatRuleArgs.builder()
.externalMappings(VpnNatRuleMappingArgs.builder()
.addressSpace("50.0.0.0/24")
.build())
.id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule1")
.internalMappings(VpnNatRuleMappingArgs.builder()
.addressSpace("10.10.0.0/24")
.build())
.ipConfigurationId("")
.mode("EgressSnat")
.name("natRule1")
.type("Static")
.build(),
VirtualNetworkGatewayNatRuleArgs.builder()
.externalMappings(VpnNatRuleMappingArgs.builder()
.addressSpace("30.0.0.0/24")
.build())
.id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule2")
.internalMappings(VpnNatRuleMappingArgs.builder()
.addressSpace("20.10.0.0/24")
.build())
.ipConfigurationId("")
.mode("IngressSnat")
.name("natRule2")
.type("Static")
.build())
.resourceGroupName("rg1")
.sku(VirtualNetworkGatewaySkuArgs.builder()
.name("VpnGw1")
.tier("VpnGw1")
.build())
.virtualNetworkGatewayName("vpngw")
.vpnClientConfiguration(VpnClientConfigurationArgs.builder()
.radiusServers(RadiusServerArgs.builder()
.radiusServerAddress("10.2.0.0")
.radiusServerScore(20.0)
.radiusServerSecret("radiusServerSecret")
.build())
.vpnClientProtocols("OpenVPN")
.vpnClientRevokedCertificates()
.vpnClientRootCertificates()
.build())
.vpnType("RouteBased")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualNetworkGateway = new azure_native.network.VirtualNetworkGateway("virtualNetworkGateway", {
activeActive: false,
allowRemoteVnetTraffic: false,
allowVirtualWanTraffic: false,
bgpSettings: {
asn: 65515,
bgpPeeringAddress: "10.0.1.30",
peerWeight: 0,
},
customRoutes: {
addressPrefixes: ["101.168.0.6/32"],
},
disableIPSecReplayProtection: false,
enableBgp: false,
enableBgpRouteTranslationForNat: false,
enableDnsForwarding: true,
gatewayType: azure_native.network.VirtualNetworkGatewayType.Vpn,
ipConfigurations: [{
name: "gwipconfig1",
privateIPAllocationMethod: azure_native.network.IPAllocationMethod.Dynamic,
publicIPAddress: {
id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip",
},
subnet: {
id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet",
},
}],
location: "centralus",
natRules: [
{
externalMappings: [{
addressSpace: "50.0.0.0/24",
}],
id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule1",
internalMappings: [{
addressSpace: "10.10.0.0/24",
}],
ipConfigurationId: "",
mode: azure_native.network.VpnNatRuleMode.EgressSnat,
name: "natRule1",
type: azure_native.network.VpnNatRuleType.Static,
},
{
externalMappings: [{
addressSpace: "30.0.0.0/24",
}],
id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule2",
internalMappings: [{
addressSpace: "20.10.0.0/24",
}],
ipConfigurationId: "",
mode: azure_native.network.VpnNatRuleMode.IngressSnat,
name: "natRule2",
type: azure_native.network.VpnNatRuleType.Static,
},
],
resourceGroupName: "rg1",
sku: {
name: azure_native.network.VirtualNetworkGatewaySkuName.VpnGw1,
tier: azure_native.network.VirtualNetworkGatewaySkuTier.VpnGw1,
},
virtualNetworkGatewayName: "vpngw",
vpnClientConfiguration: {
radiusServers: [{
radiusServerAddress: "10.2.0.0",
radiusServerScore: 20,
radiusServerSecret: "radiusServerSecret",
}],
vpnClientProtocols: [azure_native.network.VpnClientProtocol.OpenVPN],
vpnClientRevokedCertificates: [],
vpnClientRootCertificates: [],
},
vpnType: azure_native.network.VpnType.RouteBased,
});
import pulumi
import pulumi_azure_native as azure_native
virtual_network_gateway = azure_native.network.VirtualNetworkGateway("virtualNetworkGateway",
active_active=False,
allow_remote_vnet_traffic=False,
allow_virtual_wan_traffic=False,
bgp_settings={
"asn": float(65515),
"bgp_peering_address": "10.0.1.30",
"peer_weight": 0,
},
custom_routes={
"address_prefixes": ["101.168.0.6/32"],
},
disable_ip_sec_replay_protection=False,
enable_bgp=False,
enable_bgp_route_translation_for_nat=False,
enable_dns_forwarding=True,
gateway_type=azure_native.network.VirtualNetworkGatewayType.VPN,
ip_configurations=[{
"name": "gwipconfig1",
"private_ip_allocation_method": azure_native.network.IPAllocationMethod.DYNAMIC,
"public_ip_address": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip",
},
"subnet": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet",
},
}],
location="centralus",
nat_rules=[
{
"external_mappings": [{
"address_space": "50.0.0.0/24",
}],
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule1",
"internal_mappings": [{
"address_space": "10.10.0.0/24",
}],
"ip_configuration_id": "",
"mode": azure_native.network.VpnNatRuleMode.EGRESS_SNAT,
"name": "natRule1",
"type": azure_native.network.VpnNatRuleType.STATIC,
},
{
"external_mappings": [{
"address_space": "30.0.0.0/24",
}],
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule2",
"internal_mappings": [{
"address_space": "20.10.0.0/24",
}],
"ip_configuration_id": "",
"mode": azure_native.network.VpnNatRuleMode.INGRESS_SNAT,
"name": "natRule2",
"type": azure_native.network.VpnNatRuleType.STATIC,
},
],
resource_group_name="rg1",
sku={
"name": azure_native.network.VirtualNetworkGatewaySkuName.VPN_GW1,
"tier": azure_native.network.VirtualNetworkGatewaySkuTier.VPN_GW1,
},
virtual_network_gateway_name="vpngw",
vpn_client_configuration={
"radius_servers": [{
"radius_server_address": "10.2.0.0",
"radius_server_score": float(20),
"radius_server_secret": "radiusServerSecret",
}],
"vpn_client_protocols": [azure_native.network.VpnClientProtocol.OPEN_VPN],
"vpn_client_revoked_certificates": [],
"vpn_client_root_certificates": [],
},
vpn_type=azure_native.network.VpnType.ROUTE_BASED)
resources:
virtualNetworkGateway:
type: azure-native:network:VirtualNetworkGateway
properties:
activeActive: false
allowRemoteVnetTraffic: false
allowVirtualWanTraffic: false
bgpSettings:
asn: 65515
bgpPeeringAddress: 10.0.1.30
peerWeight: 0
customRoutes:
addressPrefixes:
- 101.168.0.6/32
disableIPSecReplayProtection: false
enableBgp: false
enableBgpRouteTranslationForNat: false
enableDnsForwarding: true
gatewayType: Vpn
ipConfigurations:
- name: gwipconfig1
privateIPAllocationMethod: Dynamic
publicIPAddress:
id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip
subnet:
id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet
location: centralus
natRules:
- externalMappings:
- addressSpace: 50.0.0.0/24
id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule1
internalMappings:
- addressSpace: 10.10.0.0/24
ipConfigurationId: ""
mode: EgressSnat
name: natRule1
type: Static
- externalMappings:
- addressSpace: 30.0.0.0/24
id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule2
internalMappings:
- addressSpace: 20.10.0.0/24
ipConfigurationId: ""
mode: IngressSnat
name: natRule2
type: Static
resourceGroupName: rg1
sku:
name: VpnGw1
tier: VpnGw1
virtualNetworkGatewayName: vpngw
vpnClientConfiguration:
radiusServers:
- radiusServerAddress: 10.2.0.0
radiusServerScore: 20
radiusServerSecret: radiusServerSecret
vpnClientProtocols:
- OpenVPN
vpnClientRevokedCertificates: []
vpnClientRootCertificates: []
vpnType: RouteBased
UpdateVirtualNetworkScalableGateway
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var virtualNetworkGateway = new AzureNative.Network.VirtualNetworkGateway("virtualNetworkGateway", new()
{
ActiveActive = false,
AllowRemoteVnetTraffic = false,
AllowVirtualWanTraffic = false,
DisableIPSecReplayProtection = false,
EnableBgp = false,
EnableBgpRouteTranslationForNat = false,
GatewayType = AzureNative.Network.VirtualNetworkGatewayType.ExpressRoute,
IpConfigurations = new[]
{
new AzureNative.Network.Inputs.VirtualNetworkGatewayIPConfigurationArgs
{
Name = "gwipconfig1",
PrivateIPAllocationMethod = AzureNative.Network.IPAllocationMethod.Static,
PublicIPAddress = new AzureNative.Network.Inputs.SubResourceArgs
{
Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip",
},
Subnet = new AzureNative.Network.Inputs.SubResourceArgs
{
Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet",
},
},
},
Location = "centralus",
NatRules = new[]
{
new AzureNative.Network.Inputs.VirtualNetworkGatewayNatRuleArgs
{
ExternalMappings = new[]
{
new AzureNative.Network.Inputs.VpnNatRuleMappingArgs
{
AddressSpace = "50.0.0.0/24",
},
},
Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/ergw/natRules/natRule1",
InternalMappings = new[]
{
new AzureNative.Network.Inputs.VpnNatRuleMappingArgs
{
AddressSpace = "10.10.0.0/24",
},
},
IpConfigurationId = "",
Mode = AzureNative.Network.VpnNatRuleMode.EgressSnat,
Name = "natRule1",
Type = AzureNative.Network.VpnNatRuleType.Static,
},
new AzureNative.Network.Inputs.VirtualNetworkGatewayNatRuleArgs
{
ExternalMappings = new[]
{
new AzureNative.Network.Inputs.VpnNatRuleMappingArgs
{
AddressSpace = "30.0.0.0/24",
},
},
Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/ergw/natRules/natRule2",
InternalMappings = new[]
{
new AzureNative.Network.Inputs.VpnNatRuleMappingArgs
{
AddressSpace = "20.10.0.0/24",
},
},
IpConfigurationId = "",
Mode = AzureNative.Network.VpnNatRuleMode.IngressSnat,
Name = "natRule2",
Type = AzureNative.Network.VpnNatRuleType.Static,
},
},
ResourceGroupName = "rg1",
Sku = new AzureNative.Network.Inputs.VirtualNetworkGatewaySkuArgs
{
Name = AzureNative.Network.VirtualNetworkGatewaySkuName.ErGwScale,
Tier = AzureNative.Network.VirtualNetworkGatewaySkuTier.ErGwScale,
},
VirtualNetworkGatewayName = "ergw",
VpnType = AzureNative.Network.VpnType.PolicyBased,
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewVirtualNetworkGateway(ctx, "virtualNetworkGateway", &network.VirtualNetworkGatewayArgs{
ActiveActive: pulumi.Bool(false),
AllowRemoteVnetTraffic: pulumi.Bool(false),
AllowVirtualWanTraffic: pulumi.Bool(false),
DisableIPSecReplayProtection: pulumi.Bool(false),
EnableBgp: pulumi.Bool(false),
EnableBgpRouteTranslationForNat: pulumi.Bool(false),
GatewayType: pulumi.String(network.VirtualNetworkGatewayTypeExpressRoute),
IpConfigurations: network.VirtualNetworkGatewayIPConfigurationArray{
&network.VirtualNetworkGatewayIPConfigurationArgs{
Name: pulumi.String("gwipconfig1"),
PrivateIPAllocationMethod: pulumi.String(network.IPAllocationMethodStatic),
PublicIPAddress: &network.SubResourceArgs{
Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip"),
},
Subnet: &network.SubResourceArgs{
Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet"),
},
},
},
Location: pulumi.String("centralus"),
NatRules: network.VirtualNetworkGatewayNatRuleTypeArray{
&network.VirtualNetworkGatewayNatRuleTypeArgs{
ExternalMappings: network.VpnNatRuleMappingArray{
&network.VpnNatRuleMappingArgs{
AddressSpace: pulumi.String("50.0.0.0/24"),
},
},
Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/ergw/natRules/natRule1"),
InternalMappings: network.VpnNatRuleMappingArray{
&network.VpnNatRuleMappingArgs{
AddressSpace: pulumi.String("10.10.0.0/24"),
},
},
IpConfigurationId: pulumi.String(""),
Mode: pulumi.String(network.VpnNatRuleModeEgressSnat),
Name: pulumi.String("natRule1"),
Type: pulumi.String(network.VpnNatRuleTypeStatic),
},
&network.VirtualNetworkGatewayNatRuleTypeArgs{
ExternalMappings: network.VpnNatRuleMappingArray{
&network.VpnNatRuleMappingArgs{
AddressSpace: pulumi.String("30.0.0.0/24"),
},
},
Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/ergw/natRules/natRule2"),
InternalMappings: network.VpnNatRuleMappingArray{
&network.VpnNatRuleMappingArgs{
AddressSpace: pulumi.String("20.10.0.0/24"),
},
},
IpConfigurationId: pulumi.String(""),
Mode: pulumi.String(network.VpnNatRuleModeIngressSnat),
Name: pulumi.String("natRule2"),
Type: pulumi.String(network.VpnNatRuleTypeStatic),
},
},
ResourceGroupName: pulumi.String("rg1"),
Sku: &network.VirtualNetworkGatewaySkuArgs{
Name: pulumi.String(network.VirtualNetworkGatewaySkuNameErGwScale),
Tier: pulumi.String(network.VirtualNetworkGatewaySkuTierErGwScale),
},
VirtualNetworkGatewayName: pulumi.String("ergw"),
VpnType: pulumi.String(network.VpnTypePolicyBased),
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_network_virtual_network_gateway" "virtualNetworkGateway" {
lifecycle {
create_before_destroy = true
}
active_active = false
allow_remote_vnet_traffic = false
allow_virtual_wan_traffic = false
disable_ip_sec_replay_protection = false
enable_bgp = false
enable_bgp_route_translation_for_nat = false
gateway_type = "ExpressRoute"
ip_configurations {
name = "gwipconfig1"
private_ip_allocation_method = "Static"
public_ip_address = {
id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip"
}
subnet = {
id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet"
}
}
location = "centralus"
nat_rules {
external_mappings {
address_space = "50.0.0.0/24"
}
id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/ergw/natRules/natRule1"
internal_mappings {
address_space = "10.10.0.0/24"
}
ip_configuration_id = ""
mode = "EgressSnat"
name = "natRule1"
type = "Static"
}
nat_rules {
external_mappings {
address_space = "30.0.0.0/24"
}
id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/ergw/natRules/natRule2"
internal_mappings {
address_space = "20.10.0.0/24"
}
ip_configuration_id = ""
mode = "IngressSnat"
name = "natRule2"
type = "Static"
}
resource_group_name = "rg1"
sku = {
name = "ErGwScale"
tier = "ErGwScale"
}
virtual_network_gateway_name = "ergw"
vpn_type = "PolicyBased"
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.network.VirtualNetworkGateway;
import com.pulumi.azurenative.network.VirtualNetworkGatewayArgs;
import com.pulumi.azurenative.network.inputs.VirtualNetworkGatewayIPConfigurationArgs;
import com.pulumi.azurenative.network.inputs.SubResourceArgs;
import com.pulumi.azurenative.network.inputs.VirtualNetworkGatewayNatRuleArgs;
import com.pulumi.azurenative.network.inputs.VpnNatRuleMappingArgs;
import com.pulumi.azurenative.network.inputs.VirtualNetworkGatewaySkuArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 virtualNetworkGateway = new VirtualNetworkGateway("virtualNetworkGateway", VirtualNetworkGatewayArgs.builder()
.activeActive(false)
.allowRemoteVnetTraffic(false)
.allowVirtualWanTraffic(false)
.disableIPSecReplayProtection(false)
.enableBgp(false)
.enableBgpRouteTranslationForNat(false)
.gatewayType("ExpressRoute")
.ipConfigurations(VirtualNetworkGatewayIPConfigurationArgs.builder()
.name("gwipconfig1")
.privateIPAllocationMethod("Static")
.publicIPAddress(SubResourceArgs.builder()
.id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip")
.build())
.subnet(SubResourceArgs.builder()
.id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet")
.build())
.build())
.location("centralus")
.natRules(
VirtualNetworkGatewayNatRuleArgs.builder()
.externalMappings(VpnNatRuleMappingArgs.builder()
.addressSpace("50.0.0.0/24")
.build())
.id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/ergw/natRules/natRule1")
.internalMappings(VpnNatRuleMappingArgs.builder()
.addressSpace("10.10.0.0/24")
.build())
.ipConfigurationId("")
.mode("EgressSnat")
.name("natRule1")
.type("Static")
.build(),
VirtualNetworkGatewayNatRuleArgs.builder()
.externalMappings(VpnNatRuleMappingArgs.builder()
.addressSpace("30.0.0.0/24")
.build())
.id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/ergw/natRules/natRule2")
.internalMappings(VpnNatRuleMappingArgs.builder()
.addressSpace("20.10.0.0/24")
.build())
.ipConfigurationId("")
.mode("IngressSnat")
.name("natRule2")
.type("Static")
.build())
.resourceGroupName("rg1")
.sku(VirtualNetworkGatewaySkuArgs.builder()
.name("ErGwScale")
.tier("ErGwScale")
.build())
.virtualNetworkGatewayName("ergw")
.vpnType("PolicyBased")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualNetworkGateway = new azure_native.network.VirtualNetworkGateway("virtualNetworkGateway", {
activeActive: false,
allowRemoteVnetTraffic: false,
allowVirtualWanTraffic: false,
disableIPSecReplayProtection: false,
enableBgp: false,
enableBgpRouteTranslationForNat: false,
gatewayType: azure_native.network.VirtualNetworkGatewayType.ExpressRoute,
ipConfigurations: [{
name: "gwipconfig1",
privateIPAllocationMethod: azure_native.network.IPAllocationMethod.Static,
publicIPAddress: {
id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip",
},
subnet: {
id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet",
},
}],
location: "centralus",
natRules: [
{
externalMappings: [{
addressSpace: "50.0.0.0/24",
}],
id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/ergw/natRules/natRule1",
internalMappings: [{
addressSpace: "10.10.0.0/24",
}],
ipConfigurationId: "",
mode: azure_native.network.VpnNatRuleMode.EgressSnat,
name: "natRule1",
type: azure_native.network.VpnNatRuleType.Static,
},
{
externalMappings: [{
addressSpace: "30.0.0.0/24",
}],
id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/ergw/natRules/natRule2",
internalMappings: [{
addressSpace: "20.10.0.0/24",
}],
ipConfigurationId: "",
mode: azure_native.network.VpnNatRuleMode.IngressSnat,
name: "natRule2",
type: azure_native.network.VpnNatRuleType.Static,
},
],
resourceGroupName: "rg1",
sku: {
name: azure_native.network.VirtualNetworkGatewaySkuName.ErGwScale,
tier: azure_native.network.VirtualNetworkGatewaySkuTier.ErGwScale,
},
virtualNetworkGatewayName: "ergw",
vpnType: azure_native.network.VpnType.PolicyBased,
});
import pulumi
import pulumi_azure_native as azure_native
virtual_network_gateway = azure_native.network.VirtualNetworkGateway("virtualNetworkGateway",
active_active=False,
allow_remote_vnet_traffic=False,
allow_virtual_wan_traffic=False,
disable_ip_sec_replay_protection=False,
enable_bgp=False,
enable_bgp_route_translation_for_nat=False,
gateway_type=azure_native.network.VirtualNetworkGatewayType.EXPRESS_ROUTE,
ip_configurations=[{
"name": "gwipconfig1",
"private_ip_allocation_method": azure_native.network.IPAllocationMethod.STATIC,
"public_ip_address": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip",
},
"subnet": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet",
},
}],
location="centralus",
nat_rules=[
{
"external_mappings": [{
"address_space": "50.0.0.0/24",
}],
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/ergw/natRules/natRule1",
"internal_mappings": [{
"address_space": "10.10.0.0/24",
}],
"ip_configuration_id": "",
"mode": azure_native.network.VpnNatRuleMode.EGRESS_SNAT,
"name": "natRule1",
"type": azure_native.network.VpnNatRuleType.STATIC,
},
{
"external_mappings": [{
"address_space": "30.0.0.0/24",
}],
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/ergw/natRules/natRule2",
"internal_mappings": [{
"address_space": "20.10.0.0/24",
}],
"ip_configuration_id": "",
"mode": azure_native.network.VpnNatRuleMode.INGRESS_SNAT,
"name": "natRule2",
"type": azure_native.network.VpnNatRuleType.STATIC,
},
],
resource_group_name="rg1",
sku={
"name": azure_native.network.VirtualNetworkGatewaySkuName.ER_GW_SCALE,
"tier": azure_native.network.VirtualNetworkGatewaySkuTier.ER_GW_SCALE,
},
virtual_network_gateway_name="ergw",
vpn_type=azure_native.network.VpnType.POLICY_BASED)
resources:
virtualNetworkGateway:
type: azure-native:network:VirtualNetworkGateway
properties:
activeActive: false
allowRemoteVnetTraffic: false
allowVirtualWanTraffic: false
disableIPSecReplayProtection: false
enableBgp: false
enableBgpRouteTranslationForNat: false
gatewayType: ExpressRoute
ipConfigurations:
- name: gwipconfig1
privateIPAllocationMethod: Static
publicIPAddress:
id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip
subnet:
id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet
location: centralus
natRules:
- externalMappings:
- addressSpace: 50.0.0.0/24
id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/ergw/natRules/natRule1
internalMappings:
- addressSpace: 10.10.0.0/24
ipConfigurationId: ""
mode: EgressSnat
name: natRule1
type: Static
- externalMappings:
- addressSpace: 30.0.0.0/24
id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/ergw/natRules/natRule2
internalMappings:
- addressSpace: 20.10.0.0/24
ipConfigurationId: ""
mode: IngressSnat
name: natRule2
type: Static
resourceGroupName: rg1
sku:
name: ErGwScale
tier: ErGwScale
virtualNetworkGatewayName: ergw
vpnType: PolicyBased
Create VirtualNetworkGateway Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
@overload
def VirtualNetworkGateway(resource_name: str,
args: VirtualNetworkGatewayInitArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VirtualNetworkGateway(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
disable_ip_sec_replay_protection: Optional[bool] = None,
resiliency_model: Optional[Union[str, ResiliencyModel]] = None,
allow_virtual_wan_traffic: Optional[bool] = None,
auto_scale_configuration: Optional[VirtualNetworkGatewayAutoScaleConfigurationArgs] = None,
bgp_settings: Optional[BgpSettingsArgs] = None,
custom_routes: Optional[AddressSpaceArgs] = None,
active_active: Optional[bool] = None,
enable_bgp: Optional[bool] = None,
enable_bgp_route_translation_for_nat: Optional[bool] = None,
enable_dns_forwarding: Optional[bool] = None,
enable_private_ip_address: Optional[bool] = None,
extended_location: Optional[ExtendedLocationArgs] = None,
gateway_default_site: Optional[SubResourceArgs] = None,
gateway_type: Optional[Union[str, VirtualNetworkGatewayType]] = None,
allow_remote_vnet_traffic: Optional[bool] = None,
ip_configurations: Optional[Sequence[VirtualNetworkGatewayIPConfigurationArgs]] = None,
id: Optional[str] = None,
location: Optional[str] = None,
nat_rules: Optional[Sequence[VirtualNetworkGatewayNatRuleArgs]] = None,
identity: Optional[ManagedServiceIdentityArgs] = None,
admin_state: Optional[Union[str, AdminState]] = None,
sku: Optional[VirtualNetworkGatewaySkuArgs] = None,
tags: Optional[Mapping[str, str]] = None,
v_net_extended_location_resource_id: Optional[str] = None,
virtual_network_gateway_name: Optional[str] = None,
virtual_network_gateway_policy_groups: Optional[Sequence[VirtualNetworkGatewayPolicyGroupArgs]] = None,
vpn_client_configuration: Optional[VpnClientConfigurationArgs] = None,
vpn_gateway_generation: Optional[Union[str, VpnGatewayGeneration]] = None,
vpn_type: Optional[Union[str, VpnType]] = None)
type: azure-native:network:VirtualNetworkGateway
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "azure-native_network_virtual_network_gateway" "name" {
# resource properties
}
Parameters
- name
String
- The unique name of the resource.
- args
VirtualNetworkGatewayArgs
- The arguments to resource properties.
- options
CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var virtualNetworkGatewayResource = new AzureNative.Network.VirtualNetworkGateway("virtualNetworkGatewayResource", new()
{
ResourceGroupName = "string",
DisableIPSecReplayProtection = false,
ResiliencyModel = "string",
AllowVirtualWanTraffic = false,
AutoScaleConfiguration = new AzureNative.Network.Inputs.VirtualNetworkGatewayAutoScaleConfigurationArgs
{
Bounds = new AzureNative.Network.Inputs.VirtualNetworkGatewayAutoScaleBoundsArgs
{
Max = 0,
Min = 0,
},
},
BgpSettings = new AzureNative.Network.Inputs.BgpSettingsArgs
{
Asn = 0.0,
BgpPeeringAddress = "string",
BgpPeeringAddresses = new[]
{
new AzureNative.Network.Inputs.IPConfigurationBgpPeeringAddressArgs
{
CustomBgpIpAddresses = new[]
{
"string",
},
IpconfigurationId = "string",
},
},
PeerWeight = 0,
},
CustomRoutes = new AzureNative.Network.Inputs.AddressSpaceArgs
{
AddressPrefixes = new[]
{
"string",
},
IpamPoolPrefixAllocations = new[]
{
new AzureNative.Network.Inputs.IpamPoolPrefixAllocationArgs
{
Id = "string",
NumberOfIpAddresses = "string",
},
},
},
ActiveActive = false,
EnableBgp = false,
EnableBgpRouteTranslationForNat = false,
EnableDnsForwarding = false,
EnablePrivateIpAddress = false,
ExtendedLocation = new AzureNative.Network.Inputs.ExtendedLocationArgs
{
Name = "string",
Type = "string",
},
GatewayDefaultSite = new AzureNative.Network.Inputs.SubResourceArgs
{
Id = "string",
},
GatewayType = "string",
AllowRemoteVnetTraffic = false,
IpConfigurations = new[]
{
new AzureNative.Network.Inputs.VirtualNetworkGatewayIPConfigurationArgs
{
Id = "string",
Name = "string",
PrivateIPAllocationMethod = "string",
PublicIPAddress = new AzureNative.Network.Inputs.SubResourceArgs
{
Id = "string",
},
Subnet = new AzureNative.Network.Inputs.SubResourceArgs
{
Id = "string",
},
},
},
Id = "string",
Location = "string",
NatRules = new[]
{
new AzureNative.Network.Inputs.VirtualNetworkGatewayNatRuleArgs
{
ExternalMappings = new[]
{
new AzureNative.Network.Inputs.VpnNatRuleMappingArgs
{
AddressSpace = "string",
PortRange = "string",
},
},
Id = "string",
InternalMappings = new[]
{
new AzureNative.Network.Inputs.VpnNatRuleMappingArgs
{
AddressSpace = "string",
PortRange = "string",
},
},
IpConfigurationId = "string",
Mode = "string",
Name = "string",
Type = "string",
},
},
Identity = new AzureNative.Network.Inputs.ManagedServiceIdentityArgs
{
Type = AzureNative.Network.ResourceIdentityType.SystemAssigned,
UserAssignedIdentities = new[]
{
"string",
},
},
AdminState = "string",
Sku = new AzureNative.Network.Inputs.VirtualNetworkGatewaySkuArgs
{
Name = "string",
Tier = "string",
},
Tags =
{
{ "string", "string" },
},
VNetExtendedLocationResourceId = "string",
VirtualNetworkGatewayName = "string",
VirtualNetworkGatewayPolicyGroups = new[]
{
new AzureNative.Network.Inputs.VirtualNetworkGatewayPolicyGroupArgs
{
IsDefault = false,
PolicyMembers = new[]
{
new AzureNative.Network.Inputs.VirtualNetworkGatewayPolicyGroupMemberArgs
{
AttributeType = "string",
AttributeValue = "string",
Name = "string",
},
},
Priority = 0,
Id = "string",
Name = "string",
},
},
VpnClientConfiguration = new AzureNative.Network.Inputs.VpnClientConfigurationArgs
{
AadAudience = "string",
AadIssuer = "string",
AadTenant = "string",
RadiusServerAddress = "string",
RadiusServerSecret = "string",
RadiusServers = new[]
{
new AzureNative.Network.Inputs.RadiusServerArgs
{
RadiusServerAddress = "string",
RadiusServerScore = 0.0,
RadiusServerSecret = "string",
},
},
VngClientConnectionConfigurations = new[]
{
new AzureNative.Network.Inputs.VngClientConnectionConfigurationArgs
{
VirtualNetworkGatewayPolicyGroups = new[]
{
new AzureNative.Network.Inputs.SubResourceArgs
{
Id = "string",
},
},
VpnClientAddressPool = new AzureNative.Network.Inputs.AddressSpaceArgs
{
AddressPrefixes = new[]
{
"string",
},
IpamPoolPrefixAllocations = new[]
{
new AzureNative.Network.Inputs.IpamPoolPrefixAllocationArgs
{
Id = "string",
NumberOfIpAddresses = "string",
},
},
},
Id = "string",
Name = "string",
},
},
VpnAuthenticationTypes =
{
"string",
},
VpnClientAddressPool = new AzureNative.Network.Inputs.AddressSpaceArgs
{
AddressPrefixes = new[]
{
"string",
},
IpamPoolPrefixAllocations = new[]
{
new AzureNative.Network.Inputs.IpamPoolPrefixAllocationArgs
{
Id = "string",
NumberOfIpAddresses = "string",
},
},
},
VpnClientIpsecPolicies = new[]
{
new AzureNative.Network.Inputs.IpsecPolicyArgs
{
DhGroup = "string",
IkeEncryption = "string",
IkeIntegrity = "string",
IpsecEncryption = "string",
IpsecIntegrity = "string",
PfsGroup = "string",
SaDataSizeKilobytes = 0,
SaLifeTimeSeconds = 0,
},
},
VpnClientProtocols =
{
"string",
},
VpnClientRevokedCertificates = new[]
{
new AzureNative.Network.Inputs.VpnClientRevokedCertificateArgs
{
Id = "string",
Name = "string",
Thumbprint = "string",
},
},
VpnClientRootCertificates = new[]
{
new AzureNative.Network.Inputs.VpnClientRootCertificateArgs
{
PublicCertData = "string",
Id = "string",
Name = "string",
},
},
},
VpnGatewayGeneration = "string",
VpnType = "string",
});
example, err := network.NewVirtualNetworkGateway(ctx, "virtualNetworkGatewayResource", &network.VirtualNetworkGatewayArgs{
ResourceGroupName: pulumi.String("string"),
DisableIPSecReplayProtection: pulumi.Bool(false),
ResiliencyModel: pulumi.String("string"),
AllowVirtualWanTraffic: pulumi.Bool(false),
AutoScaleConfiguration: &network.VirtualNetworkGatewayAutoScaleConfigurationArgs{
Bounds: &network.VirtualNetworkGatewayAutoScaleBoundsArgs{
Max: pulumi.Int(0),
Min: pulumi.Int(0),
},
},
BgpSettings: &network.BgpSettingsArgs{
Asn: pulumi.Float64(0),
BgpPeeringAddress: pulumi.String("string"),
BgpPeeringAddresses: network.IPConfigurationBgpPeeringAddressArray{
&network.IPConfigurationBgpPeeringAddressArgs{
CustomBgpIpAddresses: pulumi.StringArray{
pulumi.String("string"),
},
IpconfigurationId: pulumi.String("string"),
},
},
PeerWeight: pulumi.Int(0),
},
CustomRoutes: &network.AddressSpaceArgs{
AddressPrefixes: pulumi.StringArray{
pulumi.String("string"),
},
IpamPoolPrefixAllocations: network.IpamPoolPrefixAllocationArray{
&network.IpamPoolPrefixAllocationArgs{
Id: pulumi.String("string"),
NumberOfIpAddresses: pulumi.String("string"),
},
},
},
ActiveActive: pulumi.Bool(false),
EnableBgp: pulumi.Bool(false),
EnableBgpRouteTranslationForNat: pulumi.Bool(false),
EnableDnsForwarding: pulumi.Bool(false),
EnablePrivateIpAddress: pulumi.Bool(false),
ExtendedLocation: &network.ExtendedLocationArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
},
GatewayDefaultSite: &network.SubResourceArgs{
Id: pulumi.String("string"),
},
GatewayType: pulumi.String("string"),
AllowRemoteVnetTraffic: pulumi.Bool(false),
IpConfigurations: network.VirtualNetworkGatewayIPConfigurationArray{
&network.VirtualNetworkGatewayIPConfigurationArgs{
Id: pulumi.String("string"),
Name: pulumi.String("string"),
PrivateIPAllocationMethod: pulumi.String("string"),
PublicIPAddress: &network.SubResourceArgs{
Id: pulumi.String("string"),
},
Subnet: &network.SubResourceArgs{
Id: pulumi.String("string"),
},
},
},
Id: pulumi.String("string"),
Location: pulumi.String("string"),
NatRules: network.VirtualNetworkGatewayNatRuleTypeArray{
&network.VirtualNetworkGatewayNatRuleTypeArgs{
ExternalMappings: network.VpnNatRuleMappingArray{
&network.VpnNatRuleMappingArgs{
AddressSpace: pulumi.String("string"),
PortRange: pulumi.String("string"),
},
},
Id: pulumi.String("string"),
InternalMappings: network.VpnNatRuleMappingArray{
&network.VpnNatRuleMappingArgs{
AddressSpace: pulumi.String("string"),
PortRange: pulumi.String("string"),
},
},
IpConfigurationId: pulumi.String("string"),
Mode: pulumi.String("string"),
Name: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
Identity: &network.ManagedServiceIdentityArgs{
Type: network.ResourceIdentityTypeSystemAssigned,
UserAssignedIdentities: pulumi.StringArray{
pulumi.String("string"),
},
},
AdminState: pulumi.String("string"),
Sku: &network.VirtualNetworkGatewaySkuArgs{
Name: pulumi.String("string"),
Tier: pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
VNetExtendedLocationResourceId: pulumi.String("string"),
VirtualNetworkGatewayName: pulumi.String("string"),
VirtualNetworkGatewayPolicyGroups: network.VirtualNetworkGatewayPolicyGroupArray{
&network.VirtualNetworkGatewayPolicyGroupArgs{
IsDefault: pulumi.Bool(false),
PolicyMembers: network.VirtualNetworkGatewayPolicyGroupMemberArray{
&network.VirtualNetworkGatewayPolicyGroupMemberArgs{
AttributeType: pulumi.String("string"),
AttributeValue: pulumi.String("string"),
Name: pulumi.String("string"),
},
},
Priority: pulumi.Int(0),
Id: pulumi.String("string"),
Name: pulumi.String("string"),
},
},
VpnClientConfiguration: &network.VpnClientConfigurationArgs{
AadAudience: pulumi.String("string"),
AadIssuer: pulumi.String("string"),
AadTenant: pulumi.String("string"),
RadiusServerAddress: pulumi.String("string"),
RadiusServerSecret: pulumi.String("string"),
RadiusServers: network.RadiusServerArray{
&network.RadiusServerArgs{
RadiusServerAddress: pulumi.String("string"),
RadiusServerScore: pulumi.Float64(0),
RadiusServerSecret: pulumi.String("string"),
},
},
VngClientConnectionConfigurations: network.VngClientConnectionConfigurationArray{
&network.VngClientConnectionConfigurationArgs{
VirtualNetworkGatewayPolicyGroups: network.SubResourceArray{
&network.SubResourceArgs{
Id: pulumi.String("string"),
},
},
VpnClientAddressPool: &network.AddressSpaceArgs{
AddressPrefixes: pulumi.StringArray{
pulumi.String("string"),
},
IpamPoolPrefixAllocations: network.IpamPoolPrefixAllocationArray{
&network.IpamPoolPrefixAllocationArgs{
Id: pulumi.String("string"),
NumberOfIpAddresses: pulumi.String("string"),
},
},
},
Id: pulumi.String("string"),
Name: pulumi.String("string"),
},
},
VpnAuthenticationTypes: pulumi.StringArray{
pulumi.String("string"),
},
VpnClientAddressPool: &network.AddressSpaceArgs{
AddressPrefixes: pulumi.StringArray{
pulumi.String("string"),
},
IpamPoolPrefixAllocations: network.IpamPoolPrefixAllocationArray{
&network.IpamPoolPrefixAllocationArgs{
Id: pulumi.String("string"),
NumberOfIpAddresses: pulumi.String("string"),
},
},
},
VpnClientIpsecPolicies: network.IpsecPolicyArray{
&network.IpsecPolicyArgs{
DhGroup: pulumi.String("string"),
IkeEncryption: pulumi.String("string"),
IkeIntegrity: pulumi.String("string"),
IpsecEncryption: pulumi.String("string"),
IpsecIntegrity: pulumi.String("string"),
PfsGroup: pulumi.String("string"),
SaDataSizeKilobytes: pulumi.Int(0),
SaLifeTimeSeconds: pulumi.Int(0),
},
},
VpnClientProtocols: pulumi.StringArray{
pulumi.String("string"),
},
VpnClientRevokedCertificates: network.VpnClientRevokedCertificateArray{
&network.VpnClientRevokedCertificateArgs{
Id: pulumi.String("string"),
Name: pulumi.String("string"),
Thumbprint: pulumi.String("string"),
},
},
VpnClientRootCertificates: network.VpnClientRootCertificateArray{
&network.VpnClientRootCertificateArgs{
PublicCertData: pulumi.String("string"),
Id: pulumi.String("string"),
Name: pulumi.String("string"),
},
},
},
VpnGatewayGeneration: pulumi.String("string"),
VpnType: pulumi.String("string"),
})
resource "azure-native_network_virtual_network_gateway" "virtualNetworkGatewayResource" {
lifecycle {
create_before_destroy = true
}
resource_group_name = "string"
disable_ip_sec_replay_protection = false
resiliency_model = "string"
allow_virtual_wan_traffic = false
auto_scale_configuration = {
bounds = {
max = 0
min = 0
}
}
bgp_settings = {
asn = 0
bgp_peering_address = "string"
bgp_peering_addresses = [{
custom_bgp_ip_addresses = ["string"]
ipconfiguration_id = "string"
}]
peer_weight = 0
}
custom_routes = {
address_prefixes = ["string"]
ipam_pool_prefix_allocations = [{
id = "string"
number_of_ip_addresses = "string"
}]
}
active_active = false
enable_bgp = false
enable_bgp_route_translation_for_nat = false
enable_dns_forwarding = false
enable_private_ip_address = false
extended_location = {
name = "string"
type = "string"
}
gateway_default_site = {
id = "string"
}
gateway_type = "string"
allow_remote_vnet_traffic = false
ip_configurations {
id = "string"
name = "string"
private_ip_allocation_method = "string"
public_ip_address = {
id = "string"
}
subnet = {
id = "string"
}
}
id = "string"
location = "string"
nat_rules {
external_mappings {
address_space = "string"
port_range = "string"
}
id = "string"
internal_mappings {
address_space = "string"
port_range = "string"
}
ip_configuration_id = "string"
mode = "string"
name = "string"
type = "string"
}
identity = {
type = "SystemAssigned"
user_assigned_identities = ["string"]
}
admin_state = "string"
sku = {
name = "string"
tier = "string"
}
tags = {
"string" = "string"
}
v_net_extended_location_resource_id = "string"
virtual_network_gateway_name = "string"
virtual_network_gateway_policy_groups {
is_default = false
policy_members {
attribute_type = "string"
attribute_value = "string"
name = "string"
}
priority = 0
id = "string"
name = "string"
}
vpn_client_configuration = {
aad_audience = "string"
aad_issuer = "string"
aad_tenant = "string"
radius_server_address = "string"
radius_server_secret = "string"
radius_servers = [{
radius_server_address = "string"
radius_server_score = 0
radius_server_secret = "string"
}]
vng_client_connection_configurations = [{
virtual_network_gateway_policy_groups = [{
id = "string"
}]
vpn_client_address_pool = {
address_prefixes = ["string"]
ipam_pool_prefix_allocations = [{
id = "string"
number_of_ip_addresses = "string"
}]
}
id = "string"
name = "string"
}]
vpn_authentication_types = ["string"]
vpn_client_address_pool = {
address_prefixes = ["string"]
ipam_pool_prefix_allocations = [{
id = "string"
number_of_ip_addresses = "string"
}]
}
vpn_client_ipsec_policies = [{
dh_group = "string"
ike_encryption = "string"
ike_integrity = "string"
ipsec_encryption = "string"
ipsec_integrity = "string"
pfs_group = "string"
sa_data_size_kilobytes = 0
sa_life_time_seconds = 0
}]
vpn_client_protocols = ["string"]
vpn_client_revoked_certificates = [{
id = "string"
name = "string"
thumbprint = "string"
}]
vpn_client_root_certificates = [{
public_cert_data = "string"
id = "string"
name = "string"
}]
}
vpn_gateway_generation = "string"
vpn_type = "string"
}
var virtualNetworkGatewayResource = new VirtualNetworkGateway("virtualNetworkGatewayResource", VirtualNetworkGatewayArgs.builder()
.resourceGroupName("string")
.disableIPSecReplayProtection(false)
.resiliencyModel("string")
.allowVirtualWanTraffic(false)
.autoScaleConfiguration(VirtualNetworkGatewayAutoScaleConfigurationArgs.builder()
.bounds(VirtualNetworkGatewayAutoScaleBoundsArgs.builder()
.max(0)
.min(0)
.build())
.build())
.bgpSettings(BgpSettingsArgs.builder()
.asn(0.0)
.bgpPeeringAddress("string")
.bgpPeeringAddresses(IPConfigurationBgpPeeringAddressArgs.builder()
.customBgpIpAddresses("string")
.ipconfigurationId("string")
.build())
.peerWeight(0)
.build())
.customRoutes(com.pulumi.azurenative.network.inputs.AddressSpaceArgs.builder()
.addressPrefixes("string")
.ipamPoolPrefixAllocations(IpamPoolPrefixAllocationArgs.builder()
.id("string")
.numberOfIpAddresses("string")
.build())
.build())
.activeActive(false)
.enableBgp(false)
.enableBgpRouteTranslationForNat(false)
.enableDnsForwarding(false)
.enablePrivateIpAddress(false)
.extendedLocation(com.pulumi.azurenative.network.inputs.ExtendedLocationArgs.builder()
.name("string")
.type("string")
.build())
.gatewayDefaultSite(com.pulumi.azurenative.network.inputs.SubResourceArgs.builder()
.id("string")
.build())
.gatewayType("string")
.allowRemoteVnetTraffic(false)
.ipConfigurations(VirtualNetworkGatewayIPConfigurationArgs.builder()
.id("string")
.name("string")
.privateIPAllocationMethod("string")
.publicIPAddress(com.pulumi.azurenative.network.inputs.SubResourceArgs.builder()
.id("string")
.build())
.subnet(com.pulumi.azurenative.network.inputs.SubResourceArgs.builder()
.id("string")
.build())
.build())
.id("string")
.location("string")
.natRules(com.pulumi.azurenative.network.inputs.VirtualNetworkGatewayNatRuleArgs.builder()
.externalMappings(VpnNatRuleMappingArgs.builder()
.addressSpace("string")
.portRange("string")
.build())
.id("string")
.internalMappings(VpnNatRuleMappingArgs.builder()
.addressSpace("string")
.portRange("string")
.build())
.ipConfigurationId("string")
.mode("string")
.name("string")
.type("string")
.build())
.identity(com.pulumi.azurenative.network.inputs.ManagedServiceIdentityArgs.builder()
.type(com.pulumi.azurenative.network.enums.ResourceIdentityType.SystemAssigned)
.userAssignedIdentities("string")
.build())
.adminState("string")
.sku(VirtualNetworkGatewaySkuArgs.builder()
.name("string")
.tier("string")
.build())
.tags(Map.of("string", "string"))
.vNetExtendedLocationResourceId("string")
.virtualNetworkGatewayName("string")
.virtualNetworkGatewayPolicyGroups(VirtualNetworkGatewayPolicyGroupArgs.builder()
.isDefault(false)
.policyMembers(VirtualNetworkGatewayPolicyGroupMemberArgs.builder()
.attributeType("string")
.attributeValue("string")
.name("string")
.build())
.priority(0)
.id("string")
.name("string")
.build())
.vpnClientConfiguration(VpnClientConfigurationArgs.builder()
.aadAudience("string")
.aadIssuer("string")
.aadTenant("string")
.radiusServerAddress("string")
.radiusServerSecret("string")
.radiusServers(RadiusServerArgs.builder()
.radiusServerAddress("string")
.radiusServerScore(0.0)
.radiusServerSecret("string")
.build())
.vngClientConnectionConfigurations(VngClientConnectionConfigurationArgs.builder()
.virtualNetworkGatewayPolicyGroups(com.pulumi.azurenative.network.inputs.SubResourceArgs.builder()
.id("string")
.build())
.vpnClientAddressPool(com.pulumi.azurenative.network.inputs.AddressSpaceArgs.builder()
.addressPrefixes("string")
.ipamPoolPrefixAllocations(IpamPoolPrefixAllocationArgs.builder()
.id("string")
.numberOfIpAddresses("string")
.build())
.build())
.id("string")
.name("string")
.build())
.vpnAuthenticationTypes("string")
.vpnClientAddressPool(com.pulumi.azurenative.network.inputs.AddressSpaceArgs.builder()
.addressPrefixes("string")
.ipamPoolPrefixAllocations(IpamPoolPrefixAllocationArgs.builder()
.id("string")
.numberOfIpAddresses("string")
.build())
.build())
.vpnClientIpsecPolicies(IpsecPolicyArgs.builder()
.dhGroup("string")
.ikeEncryption("string")
.ikeIntegrity("string")
.ipsecEncryption("string")
.ipsecIntegrity("string")
.pfsGroup("string")
.saDataSizeKilobytes(0)
.saLifeTimeSeconds(0)
.build())
.vpnClientProtocols("string")
.vpnClientRevokedCertificates(VpnClientRevokedCertificateArgs.builder()
.id("string")
.name("string")
.thumbprint("string")
.build())
.vpnClientRootCertificates(VpnClientRootCertificateArgs.builder()
.publicCertData("string")
.id("string")
.name("string")
.build())
.build())
.vpnGatewayGeneration("string")
.vpnType("string")
.build());
virtual_network_gateway_resource = azure_native.network.VirtualNetworkGateway("virtualNetworkGatewayResource",
resource_group_name="string",
disable_ip_sec_replay_protection=False,
resiliency_model="string",
allow_virtual_wan_traffic=False,
auto_scale_configuration={
"bounds": {
"max": 0,
"min": 0,
},
},
bgp_settings={
"asn": float(0),
"bgp_peering_address": "string",
"bgp_peering_addresses": [{
"custom_bgp_ip_addresses": ["string"],
"ipconfiguration_id": "string",
}],
"peer_weight": 0,
},
custom_routes={
"address_prefixes": ["string"],
"ipam_pool_prefix_allocations": [{
"id": "string",
"number_of_ip_addresses": "string",
}],
},
active_active=False,
enable_bgp=False,
enable_bgp_route_translation_for_nat=False,
enable_dns_forwarding=False,
enable_private_ip_address=False,
extended_location={
"name": "string",
"type": "string",
},
gateway_default_site={
"id": "string",
},
gateway_type="string",
allow_remote_vnet_traffic=False,
ip_configurations=[{
"id": "string",
"name": "string",
"private_ip_allocation_method": "string",
"public_ip_address": {
"id": "string",
},
"subnet": {
"id": "string",
},
}],
id="string",
location="string",
nat_rules=[{
"external_mappings": [{
"address_space": "string",
"port_range": "string",
}],
"id": "string",
"internal_mappings": [{
"address_space": "string",
"port_range": "string",
}],
"ip_configuration_id": "string",
"mode": "string",
"name": "string",
"type": "string",
}],
identity={
"type": azure_native.network.ResourceIdentityType.SYSTEM_ASSIGNED,
"user_assigned_identities": ["string"],
},
admin_state="string",
sku={
"name": "string",
"tier": "string",
},
tags={
"string": "string",
},
v_net_extended_location_resource_id="string",
virtual_network_gateway_name="string",
virtual_network_gateway_policy_groups=[{
"is_default": False,
"policy_members": [{
"attribute_type": "string",
"attribute_value": "string",
"name": "string",
}],
"priority": 0,
"id": "string",
"name": "string",
}],
vpn_client_configuration={
"aad_audience": "string",
"aad_issuer": "string",
"aad_tenant": "string",
"radius_server_address": "string",
"radius_server_secret": "string",
"radius_servers": [{
"radius_server_address": "string",
"radius_server_score": float(0),
"radius_server_secret": "string",
}],
"vng_client_connection_configurations": [{
"virtual_network_gateway_policy_groups": [{
"id": "string",
}],
"vpn_client_address_pool": {
"address_prefixes": ["string"],
"ipam_pool_prefix_allocations": [{
"id": "string",
"number_of_ip_addresses": "string",
}],
},
"id": "string",
"name": "string",
}],
"vpn_authentication_types": ["string"],
"vpn_client_address_pool": {
"address_prefixes": ["string"],
"ipam_pool_prefix_allocations": [{
"id": "string",
"number_of_ip_addresses": "string",
}],
},
"vpn_client_ipsec_policies": [{
"dh_group": "string",
"ike_encryption": "string",
"ike_integrity": "string",
"ipsec_encryption": "string",
"ipsec_integrity": "string",
"pfs_group": "string",
"sa_data_size_kilobytes": 0,
"sa_life_time_seconds": 0,
}],
"vpn_client_protocols": ["string"],
"vpn_client_revoked_certificates": [{
"id": "string",
"name": "string",
"thumbprint": "string",
}],
"vpn_client_root_certificates": [{
"public_cert_data": "string",
"id": "string",
"name": "string",
}],
},
vpn_gateway_generation="string",
vpn_type="string")
const virtualNetworkGatewayResource = new azure_native.network.VirtualNetworkGateway("virtualNetworkGatewayResource", {
resourceGroupName: "string",
disableIPSecReplayProtection: false,
resiliencyModel: "string",
allowVirtualWanTraffic: false,
autoScaleConfiguration: {
bounds: {
max: 0,
min: 0,
},
},
bgpSettings: {
asn: 0,
bgpPeeringAddress: "string",
bgpPeeringAddresses: [{
customBgpIpAddresses: ["string"],
ipconfigurationId: "string",
}],
peerWeight: 0,
},
customRoutes: {
addressPrefixes: ["string"],
ipamPoolPrefixAllocations: [{
id: "string",
numberOfIpAddresses: "string",
}],
},
activeActive: false,
enableBgp: false,
enableBgpRouteTranslationForNat: false,
enableDnsForwarding: false,
enablePrivateIpAddress: false,
extendedLocation: {
name: "string",
type: "string",
},
gatewayDefaultSite: {
id: "string",
},
gatewayType: "string",
allowRemoteVnetTraffic: false,
ipConfigurations: [{
id: "string",
name: "string",
privateIPAllocationMethod: "string",
publicIPAddress: {
id: "string",
},
subnet: {
id: "string",
},
}],
id: "string",
location: "string",
natRules: [{
externalMappings: [{
addressSpace: "string",
portRange: "string",
}],
id: "string",
internalMappings: [{
addressSpace: "string",
portRange: "string",
}],
ipConfigurationId: "string",
mode: "string",
name: "string",
type: "string",
}],
identity: {
type: azure_native.network.ResourceIdentityType.SystemAssigned,
userAssignedIdentities: ["string"],
},
adminState: "string",
sku: {
name: "string",
tier: "string",
},
tags: {
string: "string",
},
vNetExtendedLocationResourceId: "string",
virtualNetworkGatewayName: "string",
virtualNetworkGatewayPolicyGroups: [{
isDefault: false,
policyMembers: [{
attributeType: "string",
attributeValue: "string",
name: "string",
}],
priority: 0,
id: "string",
name: "string",
}],
vpnClientConfiguration: {
aadAudience: "string",
aadIssuer: "string",
aadTenant: "string",
radiusServerAddress: "string",
radiusServerSecret: "string",
radiusServers: [{
radiusServerAddress: "string",
radiusServerScore: 0,
radiusServerSecret: "string",
}],
vngClientConnectionConfigurations: [{
virtualNetworkGatewayPolicyGroups: [{
id: "string",
}],
vpnClientAddressPool: {
addressPrefixes: ["string"],
ipamPoolPrefixAllocations: [{
id: "string",
numberOfIpAddresses: "string",
}],
},
id: "string",
name: "string",
}],
vpnAuthenticationTypes: ["string"],
vpnClientAddressPool: {
addressPrefixes: ["string"],
ipamPoolPrefixAllocations: [{
id: "string",
numberOfIpAddresses: "string",
}],
},
vpnClientIpsecPolicies: [{
dhGroup: "string",
ikeEncryption: "string",
ikeIntegrity: "string",
ipsecEncryption: "string",
ipsecIntegrity: "string",
pfsGroup: "string",
saDataSizeKilobytes: 0,
saLifeTimeSeconds: 0,
}],
vpnClientProtocols: ["string"],
vpnClientRevokedCertificates: [{
id: "string",
name: "string",
thumbprint: "string",
}],
vpnClientRootCertificates: [{
publicCertData: "string",
id: "string",
name: "string",
}],
},
vpnGatewayGeneration: "string",
vpnType: "string",
});
type: azure-native:network:VirtualNetworkGateway
properties:
activeActive: false
adminState: string
allowRemoteVnetTraffic: false
allowVirtualWanTraffic: false
autoScaleConfiguration:
bounds:
max: 0
min: 0
bgpSettings:
asn: 0
bgpPeeringAddress: string
bgpPeeringAddresses:
- customBgpIpAddresses:
- string
ipconfigurationId: string
peerWeight: 0
customRoutes:
addressPrefixes:
- string
ipamPoolPrefixAllocations:
- id: string
numberOfIpAddresses: string
disableIPSecReplayProtection: false
enableBgp: false
enableBgpRouteTranslationForNat: false
enableDnsForwarding: false
enablePrivateIpAddress: false
extendedLocation:
name: string
type: string
gatewayDefaultSite:
id: string
gatewayType: string
id: string
identity:
type: SystemAssigned
userAssignedIdentities:
- string
ipConfigurations:
- id: string
name: string
privateIPAllocationMethod: string
publicIPAddress:
id: string
subnet:
id: string
location: string
natRules:
- externalMappings:
- addressSpace: string
portRange: string
id: string
internalMappings:
- addressSpace: string
portRange: string
ipConfigurationId: string
mode: string
name: string
type: string
resiliencyModel: string
resourceGroupName: string
sku:
name: string
tier: string
tags:
string: string
vNetExtendedLocationResourceId: string
virtualNetworkGatewayName: string
virtualNetworkGatewayPolicyGroups:
- id: string
isDefault: false
name: string
policyMembers:
- attributeType: string
attributeValue: string
name: string
priority: 0
vpnClientConfiguration:
aadAudience: string
aadIssuer: string
aadTenant: string
radiusServerAddress: string
radiusServerSecret: string
radiusServers:
- radiusServerAddress: string
radiusServerScore: 0
radiusServerSecret: string
vngClientConnectionConfigurations:
- id: string
name: string
virtualNetworkGatewayPolicyGroups:
- id: string
vpnClientAddressPool:
addressPrefixes:
- string
ipamPoolPrefixAllocations:
- id: string
numberOfIpAddresses: string
vpnAuthenticationTypes:
- string
vpnClientAddressPool:
addressPrefixes:
- string
ipamPoolPrefixAllocations:
- id: string
numberOfIpAddresses: string
vpnClientIpsecPolicies:
- dhGroup: string
ikeEncryption: string
ikeIntegrity: string
ipsecEncryption: string
ipsecIntegrity: string
pfsGroup: string
saDataSizeKilobytes: 0
saLifeTimeSeconds: 0
vpnClientProtocols:
- string
vpnClientRevokedCertificates:
- id: string
name: string
thumbprint: string
vpnClientRootCertificates:
- id: string
name: string
publicCertData: string
vpnGatewayGeneration: string
vpnType: string
VirtualNetworkGateway Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The VirtualNetworkGateway resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the VirtualNetworkGateway resource produces the following output properties:
- AzureApiVersion
string
- The Azure API version of the resource.
- Etag
string
- A unique read-only string that changes whenever the resource is updated.
- Id
string
- The provider-assigned unique ID for this managed resource.
- InboundDnsForwardingEndpoint
string
- The IP address allocated by the gateway to which dns requests can be sent.
- Name
string
- Resource name.
- ProvisioningState
string
- The provisioning state of the virtual network gateway resource.
- ResourceGuid
string
- The resource GUID property of the virtual network gateway resource.
- Type
string
- Resource type.
- AzureApiVersion
string
- The Azure API version of the resource.
- Etag
string
- A unique read-only string that changes whenever the resource is updated.
- Id
string
- The provider-assigned unique ID for this managed resource.
- InboundDnsForwardingEndpoint
string
- The IP address allocated by the gateway to which dns requests can be sent.
- Name
string
- Resource name.
- ProvisioningState
string
- The provisioning state of the virtual network gateway resource.
- ResourceGuid
string
- The resource GUID property of the virtual network gateway resource.
- Type
string
- Resource type.
- azure_api_version
string
- The Azure API version of the resource.
- etag
string
- A unique read-only string that changes whenever the resource is updated.
- id
string
- The provider-assigned unique ID for this managed resource.
- inbound_dns_forwarding_endpoint
string
- The IP address allocated by the gateway to which dns requests can be sent.
- name
string
- Resource name.
- provisioning_state
string
- The provisioning state of the virtual network gateway resource.
- resource_guid
string
- The resource GUID property of the virtual network gateway resource.
- type
string
- Resource type.
- azureApiVersion
String
- The Azure API version of the resource.
- etag
String
- A unique read-only string that changes whenever the resource is updated.
- id
String
- The provider-assigned unique ID for this managed resource.
- inboundDnsForwardingEndpoint
String
- The IP address allocated by the gateway to which dns requests can be sent.
- name
String
- Resource name.
- provisioningState
String
- The provisioning state of the virtual network gateway resource.
- resourceGuid
String
- The resource GUID property of the virtual network gateway resource.
- type
String
- Resource type.
- azureApiVersion
string
- The Azure API version of the resource.
- etag
string
- A unique read-only string that changes whenever the resource is updated.
- id
string
- The provider-assigned unique ID for this managed resource.
- inboundDnsForwardingEndpoint
string
- The IP address allocated by the gateway to which dns requests can be sent.
- name
string
- Resource name.
- provisioningState
string
- The provisioning state of the virtual network gateway resource.
- resourceGuid
string
- The resource GUID property of the virtual network gateway resource.
- type
string
- Resource type.
- azure_api_version
str
- The Azure API version of the resource.
- etag
str
- A unique read-only string that changes whenever the resource is updated.
- id
str
- The provider-assigned unique ID for this managed resource.
- inbound_dns_forwarding_endpoint
str
- The IP address allocated by the gateway to which dns requests can be sent.
- name
str
- Resource name.
- provisioning_state
str
- The provisioning state of the virtual network gateway resource.
- resource_guid
str
- The resource GUID property of the virtual network gateway resource.
- type
str
- Resource type.
- azureApiVersion
String
- The Azure API version of the resource.
- etag
String
- A unique read-only string that changes whenever the resource is updated.
- id
String
- The provider-assigned unique ID for this managed resource.
- inboundDnsForwardingEndpoint
String
- The IP address allocated by the gateway to which dns requests can be sent.
- name
String
- Resource name.
- provisioningState
String
- The provisioning state of the virtual network gateway resource.
- resourceGuid
String
- The resource GUID property of the virtual network gateway resource.
- type
String
- Resource type.
Look up Existing VirtualNetworkGateway Resource
Get an existing VirtualNetworkGateway resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
func GetVirtualNetworkGateway(ctx *Context, name string, id IDInput, state *VirtualNetworkGatewayState, opts ...ResourceOption) (*VirtualNetworkGateway, error)
public static VirtualNetworkGateway get(String name, Output<String> id, CustomResourceOptions options)
resources: existingVirtualNetworkGateway: type: azure-native:network:VirtualNetworkGateway get: id: ${id}
import {
to = azure-native_network_virtual_network_gateway.example
id = "${id}"
}
- name
string
- The unique name of the resulting resource.
- id
Input<ID>
- The unique provider ID of the resource to look up.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
str
- The unique name of the resulting resource.
- id
str
- The unique provider ID of the resource to look up.
- opts
ResourceOptions
- Bag of options to control resource's behavior.
- ctx
Context
- Context object for the current deployment.
- name
string
- The unique name of the resulting resource.
- id
IDInput
- The unique provider ID of the resource to look up.
- state
VirtualNetworkGatewayState
- Pass nil. This resource has no state arguments.
- opts
ResourceOption
- Bag of options to control resource's behavior.
- name
string
- The unique name of the resulting resource.
- id
Input<string>
- The unique provider ID of the resource to look up.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- name
String
- The unique name of the resulting resource.
- id
Output<String>
- The unique provider ID of the resource to look up.
- options
CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
AddressSpace, AddressSpaceArgs
AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network.
AddressSpaceResponse
AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network.
AdminState
Property to indicate if the Express Route Gateway serves traffic when there are multiple Express Route Gateways in the vnet
| Name | Value |
|---|
| Enabled | Enabled |
| Disabled | Disabled |
| Name | Value |
|---|
| AdminStateEnabled | Enabled |
| AdminStateDisabled | Disabled |
| Name | Value |
|---|
| Enabled | Enabled |
| Disabled | Disabled |
| Name | Value |
|---|
| Enabled | Enabled |
| Disabled | Disabled |
| Name | Value |
|---|
| ENABLED | Enabled |
| DISABLED | Disabled |
BgpSettings, BgpSettingsArgs
BGP settings details.
BgpSettingsResponse
BGP settings details.
DhGroup
The DH Group used in IKE Phase 1 for initial SA.
| Name | Value |
|---|
| None | None |
| DHGroup1 | DHGroup1 |
| DHGroup2 | DHGroup2 |
| DHGroup14 | DHGroup14 |
| DHGroup2048 | DHGroup2048 |
| ECP256 | ECP256 |
| ECP384 | ECP384 |
| DHGroup24 | DHGroup24 |
| Name | Value |
|---|
| DhGroupNone | None |
| DhGroupDHGroup1 | DHGroup1 |
| DhGroupDHGroup2 | DHGroup2 |
| DhGroupDHGroup14 | DHGroup14 |
| DhGroupDHGroup2048 | DHGroup2048 |
| DhGroupECP256 | ECP256 |
| DhGroupECP384 | ECP384 |
| DhGroupDHGroup24 | DHGroup24 |
| Value |
|---|
None |
DHGroup1 |
DHGroup2 |
DHGroup14 |
DHGroup2048 |
ECP256 |
ECP384 |
DHGroup24 |
| Name | Value |
|---|
| None | None |
| DHGroup1 | DHGroup1 |
| DHGroup2 | DHGroup2 |
| DHGroup14 | DHGroup14 |
| DHGroup2048 | DHGroup2048 |
| ECP256 | ECP256 |
| ECP384 | ECP384 |
| DHGroup24 | DHGroup24 |
| Name | Value |
|---|
| None | None |
| DHGroup1 | DHGroup1 |
| DHGroup2 | DHGroup2 |
| DHGroup14 | DHGroup14 |
| DHGroup2048 | DHGroup2048 |
| ECP256 | ECP256 |
| ECP384 | ECP384 |
| DHGroup24 | DHGroup24 |
| Name | Value |
|---|
| NONE | None |
| DH_GROUP1 | DHGroup1 |
| DH_GROUP2 | DHGroup2 |
| DH_GROUP14 | DHGroup14 |
| DH_GROUP2048 | DHGroup2048 |
| ECP256 | ECP256 |
| ECP384 | ECP384 |
| DH_GROUP24 | DHGroup24 |
| Value |
|---|
None |
DHGroup1 |
DHGroup2 |
DHGroup14 |
DHGroup2048 |
ECP256 |
ECP384 |
DHGroup24 |
ExtendedLocation, ExtendedLocationArgs
ExtendedLocation complex type.
- name
string
- The name of the extended location.
- type
string | "EdgeZone"
- The type of the extended location.
- name
String
- The name of the extended location.
- type
String | "EdgeZone"
- The type of the extended location.
ExtendedLocationResponse
ExtendedLocation complex type.
- Name
string
- The name of the extended location.
- Type
string
- The type of the extended location.
- Name
string
- The name of the extended location.
- Type
string
- The type of the extended location.
- name
string
- The name of the extended location.
- type
string
- The type of the extended location.
- name
String
- The name of the extended location.
- type
String
- The type of the extended location.
- name
string
- The name of the extended location.
- type
string
- The type of the extended location.
- name
str
- The name of the extended location.
- type
str
- The type of the extended location.
- name
String
- The name of the extended location.
- type
String
- The type of the extended location.
ExtendedLocationTypes
The type of the extended location.
| Name | Value |
|---|
| EdgeZone | EdgeZone |
| Name | Value |
|---|
| ExtendedLocationTypesEdgeZone | EdgeZone |
| Name | Value |
|---|
| EdgeZone | EdgeZone |
| Name | Value |
|---|
| EdgeZone | EdgeZone |
| Name | Value |
|---|
| EDGE_ZONE | EdgeZone |
IPAllocationMethod
The private IP address allocation method.
| Name | Value |
|---|
| Static | Static |
| Dynamic | Dynamic |
| Name | Value |
|---|
| IPAllocationMethodStatic | Static |
| IPAllocationMethodDynamic | Dynamic |
| Name | Value |
|---|
| Static | Static |
| Dynamic | Dynamic |
| Name | Value |
|---|
| Static | Static |
| Dynamic | Dynamic |
| Name | Value |
|---|
| STATIC | Static |
| DYNAMIC | Dynamic |
IPConfigurationBgpPeeringAddress, IPConfigurationBgpPeeringAddressArgs
Properties of IPConfigurationBgpPeeringAddress.
IPConfigurationBgpPeeringAddressResponse
Properties of IPConfigurationBgpPeeringAddress.
- DefaultBgpIpAddresses
List<string>
- The list of default BGP peering addresses which belong to IP configuration.
- TunnelIpAddresses
List<string>
- The list of tunnel public IP addresses which belong to IP configuration.
- CustomBgpIpAddresses
List<string>
- The list of custom BGP peering addresses which belong to IP configuration.
- IpconfigurationId
string
- The ID of IP configuration which belongs to gateway.
- DefaultBgpIpAddresses
[]string
- The list of default BGP peering addresses which belong to IP configuration.
- TunnelIpAddresses
[]string
- The list of tunnel public IP addresses which belong to IP configuration.
- CustomBgpIpAddresses
[]string
- The list of custom BGP peering addresses which belong to IP configuration.
- IpconfigurationId
string
- The ID of IP configuration which belongs to gateway.
- defaultBgpIpAddresses
List<String>
- The list of default BGP peering addresses which belong to IP configuration.
- tunnelIpAddresses
List<String>
- The list of tunnel public IP addresses which belong to IP configuration.
- customBgpIpAddresses
List<String>
- The list of custom BGP peering addresses which belong to IP configuration.
- ipconfigurationId
String
- The ID of IP configuration which belongs to gateway.
- defaultBgpIpAddresses
string[]
- The list of default BGP peering addresses which belong to IP configuration.
- tunnelIpAddresses
string[]
- The list of tunnel public IP addresses which belong to IP configuration.
- customBgpIpAddresses
string[]
- The list of custom BGP peering addresses which belong to IP configuration.
- ipconfigurationId
string
- The ID of IP configuration which belongs to gateway.
- defaultBgpIpAddresses
List<String>
- The list of default BGP peering addresses which belong to IP configuration.
- tunnelIpAddresses
List<String>
- The list of tunnel public IP addresses which belong to IP configuration.
- customBgpIpAddresses
List<String>
- The list of custom BGP peering addresses which belong to IP configuration.
- ipconfigurationId
String
- The ID of IP configuration which belongs to gateway.
IkeEncryption
The IKE encryption algorithm (IKE phase 2).
| Name | Value |
|---|
| DES | DES |
| DES3 | DES3 |
| AES128 | AES128 |
| AES192 | AES192 |
| AES256 | AES256 |
| GCMAES256 | GCMAES256 |
| GCMAES128 | GCMAES128 |
| Name | Value |
|---|
| IkeEncryptionDES | DES |
| IkeEncryptionDES3 | DES3 |
| IkeEncryptionAES128 | AES128 |
| IkeEncryptionAES192 | AES192 |
| IkeEncryptionAES256 | AES256 |
| IkeEncryptionGCMAES256 | GCMAES256 |
| IkeEncryptionGCMAES128 | GCMAES128 |
| Value |
|---|
DES |
DES3 |
AES128 |
AES192 |
AES256 |
GCMAES256 |
GCMAES128 |
| Name | Value |
|---|
| DES | DES |
| DES3 | DES3 |
| AES128 | AES128 |
| AES192 | AES192 |
| AES256 | AES256 |
| GCMAES256 | GCMAES256 |
| GCMAES128 | GCMAES128 |
| Name | Value |
|---|
| DES | DES |
| DES3 | DES3 |
| AES128 | AES128 |
| AES192 | AES192 |
| AES256 | AES256 |
| GCMAES256 | GCMAES256 |
| GCMAES128 | GCMAES128 |
| Name | Value |
|---|
| DES | DES |
| DES3 | DES3 |
| AES128 | AES128 |
| AES192 | AES192 |
| AES256 | AES256 |
| GCMAES256 | GCMAES256 |
| GCMAES128 | GCMAES128 |
| Value |
|---|
DES |
DES3 |
AES128 |
AES192 |
AES256 |
GCMAES256 |
GCMAES128 |
IkeIntegrity
The IKE integrity algorithm (IKE phase 2).
| Name | Value |
|---|
| MD5 | MD5 |
| SHA1 | SHA1 |
| SHA256 | SHA256 |
| SHA384 | SHA384 |
| GCMAES256 | GCMAES256 |
| GCMAES128 | GCMAES128 |
| Name | Value |
|---|
| IkeIntegrityMD5 | MD5 |
| IkeIntegritySHA1 | SHA1 |
| IkeIntegritySHA256 | SHA256 |
| IkeIntegritySHA384 | SHA384 |
| IkeIntegrityGCMAES256 | GCMAES256 |
| IkeIntegrityGCMAES128 | GCMAES128 |
| Value |
|---|
MD5 |
SHA1 |
SHA256 |
SHA384 |
GCMAES256 |
GCMAES128 |
| Name | Value |
|---|
| MD5 | MD5 |
| SHA1 | SHA1 |
| SHA256 | SHA256 |
| SHA384 | SHA384 |
| GCMAES256 | GCMAES256 |
| GCMAES128 | GCMAES128 |
| Name | Value |
|---|
| MD5 | MD5 |
| SHA1 | SHA1 |
| SHA256 | SHA256 |
| SHA384 | SHA384 |
| GCMAES256 | GCMAES256 |
| GCMAES128 | GCMAES128 |
| Name | Value |
|---|
| MD5 | MD5 |
| SHA1 | SHA1 |
| SHA256 | SHA256 |
| SHA384 | SHA384 |
| GCMAES256 | GCMAES256 |
| GCMAES128 | GCMAES128 |
| Value |
|---|
MD5 |
SHA1 |
SHA256 |
SHA384 |
GCMAES256 |
GCMAES128 |
IpamPoolPrefixAllocation, IpamPoolPrefixAllocationArgs
IpamPool prefix allocation reference.
- Id
string
- Resource id of the associated Azure IpamPool resource.
- NumberOfIpAddresses
string
- Number of IP addresses to allocate.
- Id
string
- Resource id of the associated Azure IpamPool resource.
- NumberOfIpAddresses
string
- Number of IP addresses to allocate.
- id
string
- Resource id of the associated Azure IpamPool resource.
- number_of_ip_addresses
string
- Number of IP addresses to allocate.
- id
String
- Resource id of the associated Azure IpamPool resource.
- numberOfIpAddresses
String
- Number of IP addresses to allocate.
- id
string
- Resource id of the associated Azure IpamPool resource.
- numberOfIpAddresses
string
- Number of IP addresses to allocate.
- id
str
- Resource id of the associated Azure IpamPool resource.
- number_of_ip_addresses
str
- Number of IP addresses to allocate.
- id
String
- Resource id of the associated Azure IpamPool resource.
- numberOfIpAddresses
String
- Number of IP addresses to allocate.
IpamPoolPrefixAllocationResponse
IpamPool prefix allocation reference.
- AllocatedAddressPrefixes
List<string>
- List of assigned IP address prefixes in the IpamPool of the associated resource.
- Id
string
- Resource id of the associated Azure IpamPool resource.
- NumberOfIpAddresses
string
- Number of IP addresses to allocate.
- AllocatedAddressPrefixes
[]string
- List of assigned IP address prefixes in the IpamPool of the associated resource.
- Id
string
- Resource id of the associated Azure IpamPool resource.
- NumberOfIpAddresses
string
- Number of IP addresses to allocate.
- allocatedAddressPrefixes
List<String>
- List of assigned IP address prefixes in the IpamPool of the associated resource.
- id
String
- Resource id of the associated Azure IpamPool resource.
- numberOfIpAddresses
String
- Number of IP addresses to allocate.
- allocatedAddressPrefixes
string[]
- List of assigned IP address prefixes in the IpamPool of the associated resource.
- id
string
- Resource id of the associated Azure IpamPool resource.
- numberOfIpAddresses
string
- Number of IP addresses to allocate.
- allocatedAddressPrefixes
List<String>
- List of assigned IP address prefixes in the IpamPool of the associated resource.
- id
String
- Resource id of the associated Azure IpamPool resource.
- numberOfIpAddresses
String
- Number of IP addresses to allocate.
IpsecEncryption
The IPSec encryption algorithm (IKE phase 1).
| Name | Value |
|---|
| None | None |
| DES | DES |
| DES3 | DES3 |
| AES128 | AES128 |
| AES192 | AES192 |
| AES256 | AES256 |
| GCMAES128 | GCMAES128 |
| GCMAES192 | GCMAES192 |
| GCMAES256 | GCMAES256 |
| Name | Value |
|---|
| IpsecEncryptionNone | None |
| IpsecEncryptionDES | DES |
| IpsecEncryptionDES3 | DES3 |
| IpsecEncryptionAES128 | AES128 |
| IpsecEncryptionAES192 | AES192 |
| IpsecEncryptionAES256 | AES256 |
| IpsecEncryptionGCMAES128 | GCMAES128 |
| IpsecEncryptionGCMAES192 | GCMAES192 |
| IpsecEncryptionGCMAES256 | GCMAES256 |
| Value |
|---|
None |
DES |
DES3 |
AES128 |
AES192 |
AES256 |
GCMAES128 |
GCMAES192 |
GCMAES256 |
| Name | Value |
|---|
| None | None |
| DES | DES |
| DES3 | DES3 |
| AES128 | AES128 |
| AES192 | AES192 |
| AES256 | AES256 |
| GCMAES128 | GCMAES128 |
| GCMAES192 | GCMAES192 |
| GCMAES256 | GCMAES256 |
| Name | Value |
|---|
| None | None |
| DES | DES |
| DES3 | DES3 |
| AES128 | AES128 |
| AES192 | AES192 |
| AES256 | AES256 |
| GCMAES128 | GCMAES128 |
| GCMAES192 | GCMAES192 |
| GCMAES256 | GCMAES256 |
| Name | Value |
|---|
| NONE | None |
| DES | DES |
| DES3 | DES3 |
| AES128 | AES128 |
| AES192 | AES192 |
| AES256 | AES256 |
| GCMAES128 | GCMAES128 |
| GCMAES192 | GCMAES192 |
| GCMAES256 | GCMAES256 |
| Value |
|---|
None |
DES |
DES3 |
AES128 |
AES192 |
AES256 |
GCMAES128 |
GCMAES192 |
GCMAES256 |
IpsecIntegrity
The IPSec integrity algorithm (IKE phase 1).
| Name | Value |
|---|
| MD5 | MD5 |
| SHA1 | SHA1 |
| SHA256 | SHA256 |
| GCMAES128 | GCMAES128 |
| GCMAES192 | GCMAES192 |
| GCMAES256 | GCMAES256 |
| Name | Value |
|---|
| IpsecIntegrityMD5 | MD5 |
| IpsecIntegritySHA1 | SHA1 |
| IpsecIntegritySHA256 | SHA256 |
| IpsecIntegrityGCMAES128 | GCMAES128 |
| IpsecIntegrityGCMAES192 | GCMAES192 |
| IpsecIntegrityGCMAES256 | GCMAES256 |
| Value |
|---|
MD5 |
SHA1 |
SHA256 |
GCMAES128 |
GCMAES192 |
GCMAES256 |
| Name | Value |
|---|
| MD5 | MD5 |
| SHA1 | SHA1 |
| SHA256 | SHA256 |
| GCMAES128 | GCMAES128 |
| GCMAES192 | GCMAES192 |
| GCMAES256 | GCMAES256 |
| Name | Value |
|---|
| MD5 | MD5 |
| SHA1 | SHA1 |
| SHA256 | SHA256 |
| GCMAES128 | GCMAES128 |
| GCMAES192 | GCMAES192 |
| GCMAES256 | GCMAES256 |
| Name | Value |
|---|
| MD5 | MD5 |
| SHA1 | SHA1 |
| SHA256 | SHA256 |
| GCMAES128 | GCMAES128 |
| GCMAES192 | GCMAES192 |
| GCMAES256 | GCMAES256 |
| Value |
|---|
MD5 |
SHA1 |
SHA256 |
GCMAES128 |
GCMAES192 |
GCMAES256 |
IpsecPolicy, IpsecPolicyArgs
An IPSec Policy configuration for a virtual network gateway connection.
IpsecPolicyResponse
An IPSec Policy configuration for a virtual network gateway connection.
- DhGroup
string
- The DH Group used in IKE Phase 1 for initial SA.
- IkeEncryption
string
- The IKE encryption algorithm (IKE phase 2).
- IkeIntegrity
string
- The IKE integrity algorithm (IKE phase 2).
- IpsecEncryption
string
- The IPSec encryption algorithm (IKE phase 1).
- IpsecIntegrity
string
- The IPSec integrity algorithm (IKE phase 1).
- PfsGroup
string
- The Pfs Group used in IKE Phase 2 for new child SA.
- SaDataSizeKilobytes
int
- The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.
- SaLifeTimeSeconds
int
- The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.
- DhGroup
string
- The DH Group used in IKE Phase 1 for initial SA.
- IkeEncryption
string
- The IKE encryption algorithm (IKE phase 2).
- IkeIntegrity
string
- The IKE integrity algorithm (IKE phase 2).
- IpsecEncryption
string
- The IPSec encryption algorithm (IKE phase 1).
- IpsecIntegrity
string
- The IPSec integrity algorithm (IKE phase 1).
- PfsGroup
string
- The Pfs Group used in IKE Phase 2 for new child SA.
- SaDataSizeKilobytes
int
- The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.
- SaLifeTimeSeconds
int
- The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.
- dh_group
string
- The DH Group used in IKE Phase 1 for initial SA.
- ike_encryption
string
- The IKE encryption algorithm (IKE phase 2).
- ike_integrity
string
- The IKE integrity algorithm (IKE phase 2).
- ipsec_encryption
string
- The IPSec encryption algorithm (IKE phase 1).
- ipsec_integrity
string
- The IPSec integrity algorithm (IKE phase 1).
- pfs_group
string
- The Pfs Group used in IKE Phase 2 for new child SA.
- sa_data_size_kilobytes
number
- The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.
- sa_life_time_seconds
number
- The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.
- dhGroup
String
- The DH Group used in IKE Phase 1 for initial SA.
- ikeEncryption
String
- The IKE encryption algorithm (IKE phase 2).
- ikeIntegrity
String
- The IKE integrity algorithm (IKE phase 2).
- ipsecEncryption
String
- The IPSec encryption algorithm (IKE phase 1).
- ipsecIntegrity
String
- The IPSec integrity algorithm (IKE phase 1).
- pfsGroup
String
- The Pfs Group used in IKE Phase 2 for new child SA.
- saDataSizeKilobytes
Integer
- The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.
- saLifeTimeSeconds
Integer
- The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.
- dhGroup
string
- The DH Group used in IKE Phase 1 for initial SA.
- ikeEncryption
string
- The IKE encryption algorithm (IKE phase 2).
- ikeIntegrity
string
- The IKE integrity algorithm (IKE phase 2).
- ipsecEncryption
string
- The IPSec encryption algorithm (IKE phase 1).
- ipsecIntegrity
string
- The IPSec integrity algorithm (IKE phase 1).
- pfsGroup
string
- The Pfs Group used in IKE Phase 2 for new child SA.
- saDataSizeKilobytes
number
- The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.
- saLifeTimeSeconds
number
- The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.
- dh_group
str
- The DH Group used in IKE Phase 1 for initial SA.
- ike_encryption
str
- The IKE encryption algorithm (IKE phase 2).
- ike_integrity
str
- The IKE integrity algorithm (IKE phase 2).
- ipsec_encryption
str
- The IPSec encryption algorithm (IKE phase 1).
- ipsec_integrity
str
- The IPSec integrity algorithm (IKE phase 1).
- pfs_group
str
- The Pfs Group used in IKE Phase 2 for new child SA.
- sa_data_size_kilobytes
int
- The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.
- sa_life_time_seconds
int
- The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.
- dhGroup
String
- The DH Group used in IKE Phase 1 for initial SA.
- ikeEncryption
String
- The IKE encryption algorithm (IKE phase 2).
- ikeIntegrity
String
- The IKE integrity algorithm (IKE phase 2).
- ipsecEncryption
String
- The IPSec encryption algorithm (IKE phase 1).
- ipsecIntegrity
String
- The IPSec integrity algorithm (IKE phase 1).
- pfsGroup
String
- The Pfs Group used in IKE Phase 2 for new child SA.
- saDataSizeKilobytes
Number
- The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.
- saLifeTimeSeconds
Number
- The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.
ManagedServiceIdentity, ManagedServiceIdentityArgs
Identity for the resource.
- Type
Pulumi.AzureNative.Network.ResourceIdentityType
- The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.
- UserAssignedIdentities
List<string>
- The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- Type
ResourceIdentityType
- The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.
- UserAssignedIdentities
[]string
- The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- type
"SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"
- The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.
- user_assigned_identities
list(string)
- The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- type
ResourceIdentityType
- The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.
- userAssignedIdentities
List<String>
- The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- type
ResourceIdentityType
- The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.
- userAssignedIdentities
string[]
- The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- type
ResourceIdentityType
- The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.
- user_assigned_identities
Sequence[str]
- The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- type
"SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"
- The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.
- userAssignedIdentities
List<String>
- The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
ManagedServiceIdentityResponse
Identity for the resource.
- PrincipalId
string
- The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
- TenantId
string
- The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
- Type
string
- The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.
- UserAssignedIdentities
Dictionary<string, Pulumi.AzureNative.Network.Inputs.ManagedServiceIdentityResponseUserAssignedIdentities>
- The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- PrincipalId
string
- The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
- TenantId
string
- The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
- Type
string
- The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.
- UserAssignedIdentities
map[string]ManagedServiceIdentityResponseUserAssignedIdentities
- The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- principal_id
string
- The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant_id
string
- The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
- type
string
- The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.
- user_assigned_identities
map(object)
- The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- principalId
String
- The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
- tenantId
String
- The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
- type
String
- The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.
- userAssignedIdentities
Map<String,ManagedServiceIdentityResponseUserAssignedIdentities>
- The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- principalId
string
- The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
- tenantId
string
- The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
- type
string
- The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.
- userAssignedIdentities
{[key: string]: ManagedServiceIdentityResponseUserAssignedIdentities}
- The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- principal_id
str
- The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant_id
str
- The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
- type
str
- The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.
- user_assigned_identities
Mapping[str, ManagedServiceIdentityResponseUserAssignedIdentities]
- The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- principalId
String
- The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
- tenantId
String
- The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
- type
String
- The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.
- userAssignedIdentities
Map<Property Map>
- The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
ManagedServiceIdentityResponseUserAssignedIdentities
- ClientId
string
- The client id of user assigned identity.
- PrincipalId
string
- The principal id of user assigned identity.
- ClientId
string
- The client id of user assigned identity.
- PrincipalId
string
- The principal id of user assigned identity.
- client_id
string
- The client id of user assigned identity.
- principal_id
string
- The principal id of user assigned identity.
- clientId
String
- The client id of user assigned identity.
- principalId
String
- The principal id of user assigned identity.
- clientId
string
- The client id of user assigned identity.
- principalId
string
- The principal id of user assigned identity.
- client_id
str
- The client id of user assigned identity.
- principal_id
str
- The principal id of user assigned identity.
- clientId
String
- The client id of user assigned identity.
- principalId
String
- The principal id of user assigned identity.
PfsGroup
The Pfs Group used in IKE Phase 2 for new child SA.
| Name | Value |
|---|
| None | None |
| PFS1 | PFS1 |
| PFS2 | PFS2 |
| PFS2048 | PFS2048 |
| ECP256 | ECP256 |
| ECP384 | ECP384 |
| PFS24 | PFS24 |
| PFS14 | PFS14 |
| PFSMM | PFSMM |
| Name | Value |
|---|
| PfsGroupNone | None |
| PfsGroupPFS1 | PFS1 |
| PfsGroupPFS2 | PFS2 |
| PfsGroupPFS2048 | PFS2048 |
| PfsGroupECP256 | ECP256 |
| PfsGroupECP384 | ECP384 |
| PfsGroupPFS24 | PFS24 |
| PfsGroupPFS14 | PFS14 |
| PfsGroupPFSMM | PFSMM |
| Value |
|---|
None |
PFS1 |
PFS2 |
PFS2048 |
ECP256 |
ECP384 |
PFS24 |
PFS14 |
PFSMM |
| Name | Value |
|---|
| None | None |
| PFS1 | PFS1 |
| PFS2 | PFS2 |
| PFS2048 | PFS2048 |
| ECP256 | ECP256 |
| ECP384 | ECP384 |
| PFS24 | PFS24 |
| PFS14 | PFS14 |
| PFSMM | PFSMM |
| Name | Value |
|---|
| None | None |
| PFS1 | PFS1 |
| PFS2 | PFS2 |
| PFS2048 | PFS2048 |
| ECP256 | ECP256 |
| ECP384 | ECP384 |
| PFS24 | PFS24 |
| PFS14 | PFS14 |
| PFSMM | PFSMM |
| Name | Value |
|---|
| NONE | None |
| PFS1 | PFS1 |
| PFS2 | PFS2 |
| PFS2048 | PFS2048 |
| ECP256 | ECP256 |
| ECP384 | ECP384 |
| PFS24 | PFS24 |
| PFS14 | PFS14 |
| PFSMM | PFSMM |
| Value |
|---|
None |
PFS1 |
PFS2 |
PFS2048 |
ECP256 |
ECP384 |
PFS24 |
PFS14 |
PFSMM |
RadiusServer, RadiusServerArgs
Radius Server Settings.
RadiusServerResponse
Radius Server Settings.
ResiliencyModel
Property to indicate if the Express Route Gateway has resiliency model of MultiHomed or SingleHomed
| Name | Value |
|---|
| SingleHomed | SingleHomed |
| MultiHomed | MultiHomed |
| Name | Value |
|---|
| ResiliencyModelSingleHomed | SingleHomed |
| ResiliencyModelMultiHomed | MultiHomed |
| Value |
|---|
SingleHomed |
MultiHomed |
| Name | Value |
|---|
| SingleHomed | SingleHomed |
| MultiHomed | MultiHomed |
| Name | Value |
|---|
| SingleHomed | SingleHomed |
| MultiHomed | MultiHomed |
| Name | Value |
|---|
| SINGLE_HOMED | SingleHomed |
| MULTI_HOMED | MultiHomed |
| Value |
|---|
SingleHomed |
MultiHomed |
ResourceIdentityType
The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.
| Name | Value |
|---|
| SystemAssigned | SystemAssigned |
| UserAssigned | UserAssigned |
| SystemAssigned_UserAssigned | SystemAssigned, UserAssigned |
| None | None |
| Name | Value |
|---|
| ResourceIdentityTypeSystemAssigned | SystemAssigned |
| ResourceIdentityTypeUserAssigned | UserAssigned |
| ResourceIdentityType_SystemAssigned_UserAssigned | SystemAssigned, UserAssigned |
| ResourceIdentityTypeNone | None |
| Value |
|---|
SystemAssigned |
UserAssigned |
SystemAssigned, UserAssigned |
None |
| Name | Value |
|---|
| SystemAssigned | SystemAssigned |
| UserAssigned | UserAssigned |
| SystemAssigned_UserAssigned | SystemAssigned, UserAssigned |
| None | None |
| Name | Value |
|---|
| SystemAssigned | SystemAssigned |
| UserAssigned | UserAssigned |
| SystemAssigned_UserAssigned | SystemAssigned, UserAssigned |
| None | None |
| Name | Value |
|---|
| SYSTEM_ASSIGNED | SystemAssigned |
| USER_ASSIGNED | UserAssigned |
| SYSTEM_ASSIGNED_USER_ASSIGNED | SystemAssigned, UserAssigned |
| NONE | None |
| Value |
|---|
SystemAssigned |
UserAssigned |
SystemAssigned, UserAssigned |
None |
SubResource, SubResourceArgs
Reference to another subresource.
- Id
string
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted.
An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end.
A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself.
Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- Id
string
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted.
An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end.
A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself.
Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id
string
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted.
An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end.
A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself.
Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id
String
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted.
An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end.
A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself.
Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id
string
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted.
An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end.
A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself.
Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id
str
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted.
An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end.
A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself.
Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id
String
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted.
An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end.
A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself.
Example of a relative ID: $self/frontEndConfigurations/my-frontend.
SubResourceResponse
Reference to another subresource.
VirtualNetworkGatewayAutoScaleBounds, VirtualNetworkGatewayAutoScaleBoundsArgs
- Max
int
- Maximum Scale Units for Autoscale configuration
- Min
int
- Minimum scale Units for Autoscale configuration
- Max
int
- Maximum Scale Units for Autoscale configuration
- Min
int
- Minimum scale Units for Autoscale configuration
- max
number
- Maximum Scale Units for Autoscale configuration
- min
number
- Minimum scale Units for Autoscale configuration
- max
Integer
- Maximum Scale Units for Autoscale configuration
- min
Integer
- Minimum scale Units for Autoscale configuration
- max
number
- Maximum Scale Units for Autoscale configuration
- min
number
- Minimum scale Units for Autoscale configuration
- max
int
- Maximum Scale Units for Autoscale configuration
- min
int
- Minimum scale Units for Autoscale configuration
- max
Number
- Maximum Scale Units for Autoscale configuration
- min
Number
- Minimum scale Units for Autoscale configuration
VirtualNetworkGatewayAutoScaleBoundsResponse
- Max
int
- Maximum Scale Units for Autoscale configuration
- Min
int
- Minimum scale Units for Autoscale configuration
- Max
int
- Maximum Scale Units for Autoscale configuration
- Min
int
- Minimum scale Units for Autoscale configuration
- max
number
- Maximum Scale Units for Autoscale configuration
- min
number
- Minimum scale Units for Autoscale configuration
- max
Integer
- Maximum Scale Units for Autoscale configuration
- min
Integer
- Minimum scale Units for Autoscale configuration
- max
number
- Maximum Scale Units for Autoscale configuration
- min
number
- Minimum scale Units for Autoscale configuration
- max
int
- Maximum Scale Units for Autoscale configuration
- min
int
- Minimum scale Units for Autoscale configuration
- max
Number
- Maximum Scale Units for Autoscale configuration
- min
Number
- Minimum scale Units for Autoscale configuration
VirtualNetworkGatewayAutoScaleConfiguration, VirtualNetworkGatewayAutoScaleConfigurationArgs
Virtual Network Gateway Autoscale Configuration details
VirtualNetworkGatewayAutoScaleConfigurationResponse
Virtual Network Gateway Autoscale Configuration details
VirtualNetworkGatewayIPConfiguration, VirtualNetworkGatewayIPConfigurationArgs
IP configuration for virtual network gateway.
VirtualNetworkGatewayIPConfigurationResponse
IP configuration for virtual network gateway.
- etag
string
- A unique read-only string that changes whenever the resource is updated.
- private_ip_address
string
- Private IP Address for this gateway.
- provisioning_state
string
- The provisioning state of the virtual network gateway IP configuration resource.
- id
string
- Resource ID.
- name
string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- private_ip_allocation_method
string
- The private IP address allocation method.
- public_ip_address
object
- The reference to the public IP resource.
- subnet
object
- The reference to the subnet resource.
- etag
String
- A unique read-only string that changes whenever the resource is updated.
- privateIPAddress
String
- Private IP Address for this gateway.
- provisioningState
String
- The provisioning state of the virtual network gateway IP configuration resource.
- id
String
- Resource ID.
- name
String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- privateIPAllocationMethod
String
- The private IP address allocation method.
- publicIPAddress
Property Map
- The reference to the public IP resource.
- subnet
Property Map
- The reference to the subnet resource.
VirtualNetworkGatewayNatRule, VirtualNetworkGatewayNatRuleArgs
VirtualNetworkGatewayNatRule Resource.
VirtualNetworkGatewayNatRuleResponse
VirtualNetworkGatewayNatRule Resource.
- etag
string
- A unique read-only string that changes whenever the resource is updated.
- provisioning_state
string
- The provisioning state of the NAT Rule resource.
- type
string
- Resource type.
- external_mappings
list(object)
- The private IP address external mapping for NAT.
- id
string
- Resource ID.
- internal_mappings
list(object)
- The private IP address internal mapping for NAT.
- ip_configuration_id
string
- The IP Configuration ID this NAT rule applies to.
- mode
string
- The Source NAT direction of a VPN NAT.
- name
string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- etag
String
- A unique read-only string that changes whenever the resource is updated.
- provisioningState
String
- The provisioning state of the NAT Rule resource.
- type
String
- Resource type.
- externalMappings
List<Property Map>
- The private IP address external mapping for NAT.
- id
String
- Resource ID.
- internalMappings
List<Property Map>
- The private IP address internal mapping for NAT.
- ipConfigurationId
String
- The IP Configuration ID this NAT rule applies to.
- mode
String
- The Source NAT direction of a VPN NAT.
- name
String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
VirtualNetworkGatewayPolicyGroup, VirtualNetworkGatewayPolicyGroupArgs
Parameters for VirtualNetworkGatewayPolicyGroup.
- IsDefault
bool
- Shows if this is a Default VirtualNetworkGatewayPolicyGroup or not.
- PolicyMembers
[]VirtualNetworkGatewayPolicyGroupMember
- Multiple PolicyMembers for VirtualNetworkGatewayPolicyGroup.
- Priority
int
- Priority for VirtualNetworkGatewayPolicyGroup.
- Id
string
- Resource ID.
- Name
string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- is_default
bool
- Shows if this is a Default VirtualNetworkGatewayPolicyGroup or not.
- policy_members
list(object)
- Multiple PolicyMembers for VirtualNetworkGatewayPolicyGroup.
- priority
number
- Priority for VirtualNetworkGatewayPolicyGroup.
- id
string
- Resource ID.
- name
string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- isDefault
Boolean
- Shows if this is a Default VirtualNetworkGatewayPolicyGroup or not.
- policyMembers
List<VirtualNetworkGatewayPolicyGroupMember>
- Multiple PolicyMembers for VirtualNetworkGatewayPolicyGroup.
- priority
Integer
- Priority for VirtualNetworkGatewayPolicyGroup.
- id
String
- Resource ID.
- name
String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- isDefault
boolean
- Shows if this is a Default VirtualNetworkGatewayPolicyGroup or not.
- policyMembers
VirtualNetworkGatewayPolicyGroupMember[]
- Multiple PolicyMembers for VirtualNetworkGatewayPolicyGroup.
- priority
number
- Priority for VirtualNetworkGatewayPolicyGroup.
- id
string
- Resource ID.
- name
string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- isDefault
Boolean
- Shows if this is a Default VirtualNetworkGatewayPolicyGroup or not.
- policyMembers
List<Property Map>
- Multiple PolicyMembers for VirtualNetworkGatewayPolicyGroup.
- priority
Number
- Priority for VirtualNetworkGatewayPolicyGroup.
- id
String
- Resource ID.
- name
String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
VirtualNetworkGatewayPolicyGroupMember, VirtualNetworkGatewayPolicyGroupMemberArgs
Vpn Client Connection configuration PolicyGroup member
VirtualNetworkGatewayPolicyGroupMemberResponse
Vpn Client Connection configuration PolicyGroup member
- AttributeType
string
- The Vpn Policy member attribute type.
- AttributeValue
string
- The value of Attribute used for this VirtualNetworkGatewayPolicyGroupMember.
- Name
string
- Name of the VirtualNetworkGatewayPolicyGroupMember.
- AttributeType
string
- The Vpn Policy member attribute type.
- AttributeValue
string
- The value of Attribute used for this VirtualNetworkGatewayPolicyGroupMember.
- Name
string
- Name of the VirtualNetworkGatewayPolicyGroupMember.
- attribute_type
string
- The Vpn Policy member attribute type.
- attribute_value
string
- The value of Attribute used for this VirtualNetworkGatewayPolicyGroupMember.
- name
string
- Name of the VirtualNetworkGatewayPolicyGroupMember.
- attributeType
String
- The Vpn Policy member attribute type.
- attributeValue
String
- The value of Attribute used for this VirtualNetworkGatewayPolicyGroupMember.
- name
String
- Name of the VirtualNetworkGatewayPolicyGroupMember.
- attributeType
string
- The Vpn Policy member attribute type.
- attributeValue
string
- The value of Attribute used for this VirtualNetworkGatewayPolicyGroupMember.
- name
string
- Name of the VirtualNetworkGatewayPolicyGroupMember.
- attribute_type
str
- The Vpn Policy member attribute type.
- attribute_value
str
- The value of Attribute used for this VirtualNetworkGatewayPolicyGroupMember.
- name
str
- Name of the VirtualNetworkGatewayPolicyGroupMember.
- attributeType
String
- The Vpn Policy member attribute type.
- attributeValue
String
- The value of Attribute used for this VirtualNetworkGatewayPolicyGroupMember.
- name
String
- Name of the VirtualNetworkGatewayPolicyGroupMember.
VirtualNetworkGatewayPolicyGroupResponse
Parameters for VirtualNetworkGatewayPolicyGroup.
- etag
string
- A unique read-only string that changes whenever the resource is updated.
- is_default
bool
- Shows if this is a Default VirtualNetworkGatewayPolicyGroup or not.
- policy_members
list(object)
- Multiple PolicyMembers for VirtualNetworkGatewayPolicyGroup.
- priority
number
- Priority for VirtualNetworkGatewayPolicyGroup.
- provisioning_state
string
- The provisioning state of the VirtualNetworkGatewayPolicyGroup resource.
- vng_client_connection_configurations
list(object)
- List of references to vngClientConnectionConfigurations.
- id
string
- Resource ID.
- name
string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- etag
String
- A unique read-only string that changes whenever the resource is updated.
- isDefault
Boolean
- Shows if this is a Default VirtualNetworkGatewayPolicyGroup or not.
- policyMembers
List<Property Map>
- Multiple PolicyMembers for VirtualNetworkGatewayPolicyGroup.
- priority
Number
- Priority for VirtualNetworkGatewayPolicyGroup.
- provisioningState
String
- The provisioning state of the VirtualNetworkGatewayPolicyGroup resource.
- vngClientConnectionConfigurations
List<Property Map>
- List of references to vngClientConnectionConfigurations.
- id
String
- Resource ID.
- name
String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
VirtualNetworkGatewaySku, VirtualNetworkGatewaySkuArgs
VirtualNetworkGatewaySku details.
VirtualNetworkGatewaySkuName
Gateway SKU name.
| Name | Value |
|---|
| Basic | Basic |
| HighPerformance | HighPerformance |
| Standard | Standard |
| UltraPerformance | UltraPerformance |
| VpnGw1 | VpnGw1 |
| VpnGw2 | VpnGw2 |
| VpnGw3 | VpnGw3 |
| VpnGw4 | VpnGw4 |
| VpnGw5 | VpnGw5 |
| VpnGw1AZ | VpnGw1AZ |
| VpnGw2AZ | VpnGw2AZ |
| VpnGw3AZ | VpnGw3AZ |
| VpnGw4AZ | VpnGw4AZ |
| VpnGw5AZ | VpnGw5AZ |
| ErGw1AZ | ErGw1AZ |
| ErGw2AZ | ErGw2AZ |
| ErGw3AZ | ErGw3AZ |
| ErGwScale | ErGwScale |
| Name | Value |
|---|
| VirtualNetworkGatewaySkuNameBasic | Basic |
| VirtualNetworkGatewaySkuNameHighPerformance | HighPerformance |
| VirtualNetworkGatewaySkuNameStandard | Standard |
| VirtualNetworkGatewaySkuNameUltraPerformance | UltraPerformance |
| VirtualNetworkGatewaySkuNameVpnGw1 | VpnGw1 |
| VirtualNetworkGatewaySkuNameVpnGw2 | VpnGw2 |
| VirtualNetworkGatewaySkuNameVpnGw3 | VpnGw3 |
| VirtualNetworkGatewaySkuNameVpnGw4 | VpnGw4 |
| VirtualNetworkGatewaySkuNameVpnGw5 | VpnGw5 |
| VirtualNetworkGatewaySkuNameVpnGw1AZ | VpnGw1AZ |
| VirtualNetworkGatewaySkuNameVpnGw2AZ | VpnGw2AZ |
| VirtualNetworkGatewaySkuNameVpnGw3AZ | VpnGw3AZ |
| VirtualNetworkGatewaySkuNameVpnGw4AZ | VpnGw4AZ |
| VirtualNetworkGatewaySkuNameVpnGw5AZ | VpnGw5AZ |
| VirtualNetworkGatewaySkuNameErGw1AZ | ErGw1AZ |
| VirtualNetworkGatewaySkuNameErGw2AZ | ErGw2AZ |
| VirtualNetworkGatewaySkuNameErGw3AZ | ErGw3AZ |
| VirtualNetworkGatewaySkuNameErGwScale | ErGwScale |
| Value |
|---|
Basic |
HighPerformance |
Standard |
UltraPerformance |
VpnGw1 |
VpnGw2 |
VpnGw3 |
VpnGw4 |
VpnGw5 |
VpnGw1AZ |
VpnGw2AZ |
VpnGw3AZ |
VpnGw4AZ |
VpnGw5AZ |
ErGw1AZ |
ErGw2AZ |
ErGw3AZ |
ErGwScale |
| Name | Value |
|---|
| Basic | Basic |
| HighPerformance | HighPerformance |
| Standard | Standard |
| UltraPerformance | UltraPerformance |
| VpnGw1 | VpnGw1 |
| VpnGw2 | VpnGw2 |
| VpnGw3 | VpnGw3 |
| VpnGw4 | VpnGw4 |
| VpnGw5 | VpnGw5 |
| VpnGw1AZ | VpnGw1AZ |
| VpnGw2AZ | VpnGw2AZ |
| VpnGw3AZ | VpnGw3AZ |
| VpnGw4AZ | VpnGw4AZ |
| VpnGw5AZ | VpnGw5AZ |
| ErGw1AZ | ErGw1AZ |
| ErGw2AZ | ErGw2AZ |
| ErGw3AZ | ErGw3AZ |
| ErGwScale | ErGwScale |
| Name | Value |
|---|
| Basic | Basic |
| HighPerformance | HighPerformance |
| Standard | Standard |
| UltraPerformance | UltraPerformance |
| VpnGw1 | VpnGw1 |
| VpnGw2 | VpnGw2 |
| VpnGw3 | VpnGw3 |
| VpnGw4 | VpnGw4 |
| VpnGw5 | VpnGw5 |
| VpnGw1AZ | VpnGw1AZ |
| VpnGw2AZ | VpnGw2AZ |
| VpnGw3AZ | VpnGw3AZ |
| VpnGw4AZ | VpnGw4AZ |
| VpnGw5AZ | VpnGw5AZ |
| ErGw1AZ | ErGw1AZ |
| ErGw2AZ | ErGw2AZ |
| ErGw3AZ | ErGw3AZ |
| ErGwScale | ErGwScale |
| Name | Value |
|---|
| BASIC | Basic |
| HIGH_PERFORMANCE | HighPerformance |
| STANDARD | Standard |
| ULTRA_PERFORMANCE | UltraPerformance |
| VPN_GW1 | VpnGw1 |
| VPN_GW2 | VpnGw2 |
| VPN_GW3 | VpnGw3 |
| VPN_GW4 | VpnGw4 |
| VPN_GW5 | VpnGw5 |
| VPN_GW1_AZ | VpnGw1AZ |
| VPN_GW2_AZ | VpnGw2AZ |
| VPN_GW3_AZ | VpnGw3AZ |
| VPN_GW4_AZ | VpnGw4AZ |
| VPN_GW5_AZ | VpnGw5AZ |
| ER_GW1_AZ | ErGw1AZ |
| ER_GW2_AZ | ErGw2AZ |
| ER_GW3_AZ | ErGw3AZ |
| ER_GW_SCALE | ErGwScale |
| Value |
|---|
Basic |
HighPerformance |
Standard |
UltraPerformance |
VpnGw1 |
VpnGw2 |
VpnGw3 |
VpnGw4 |
VpnGw5 |
VpnGw1AZ |
VpnGw2AZ |
VpnGw3AZ |
VpnGw4AZ |
VpnGw5AZ |
ErGw1AZ |
ErGw2AZ |
ErGw3AZ |
ErGwScale |
VirtualNetworkGatewaySkuResponse
VirtualNetworkGatewaySku details.
- Capacity
int
- The capacity.
- Name
string
- Gateway SKU name.
- Tier
string
- Gateway SKU tier.
- Capacity
int
- The capacity.
- Name
string
- Gateway SKU name.
- Tier
string
- Gateway SKU tier.
- capacity
number
- The capacity.
- name
string
- Gateway SKU name.
- tier
string
- Gateway SKU tier.
- capacity
Integer
- The capacity.
- name
String
- Gateway SKU name.
- tier
String
- Gateway SKU tier.
- capacity
number
- The capacity.
- name
string
- Gateway SKU name.
- tier
string
- Gateway SKU tier.
- capacity
Number
- The capacity.
- name
String
- Gateway SKU name.
- tier
String
- Gateway SKU tier.
VirtualNetworkGatewaySkuTier
Gateway SKU tier.
| Name | Value |
|---|
| Basic | Basic |
| HighPerformance | HighPerformance |
| Standard | Standard |
| UltraPerformance | UltraPerformance |
| VpnGw1 | VpnGw1 |
| VpnGw2 | VpnGw2 |
| VpnGw3 | VpnGw3 |
| VpnGw4 | VpnGw4 |
| VpnGw5 | VpnGw5 |
| VpnGw1AZ | VpnGw1AZ |
| VpnGw2AZ | VpnGw2AZ |
| VpnGw3AZ | VpnGw3AZ |
| VpnGw4AZ | VpnGw4AZ |
| VpnGw5AZ | VpnGw5AZ |
| ErGw1AZ | ErGw1AZ |
| ErGw2AZ | ErGw2AZ |
| ErGw3AZ | ErGw3AZ |
| ErGwScale | ErGwScale |
| Name | Value |
|---|
| VirtualNetworkGatewaySkuTierBasic | Basic |
| VirtualNetworkGatewaySkuTierHighPerformance | HighPerformance |
| VirtualNetworkGatewaySkuTierStandard | Standard |
| VirtualNetworkGatewaySkuTierUltraPerformance | UltraPerformance |
| VirtualNetworkGatewaySkuTierVpnGw1 | VpnGw1 |
| VirtualNetworkGatewaySkuTierVpnGw2 | VpnGw2 |
| VirtualNetworkGatewaySkuTierVpnGw3 | VpnGw3 |
| VirtualNetworkGatewaySkuTierVpnGw4 | VpnGw4 |
| VirtualNetworkGatewaySkuTierVpnGw5 | VpnGw5 |
| VirtualNetworkGatewaySkuTierVpnGw1AZ | VpnGw1AZ |
| VirtualNetworkGatewaySkuTierVpnGw2AZ | VpnGw2AZ |
| VirtualNetworkGatewaySkuTierVpnGw3AZ | VpnGw3AZ |
| VirtualNetworkGatewaySkuTierVpnGw4AZ | VpnGw4AZ |
| VirtualNetworkGatewaySkuTierVpnGw5AZ | VpnGw5AZ |
| VirtualNetworkGatewaySkuTierErGw1AZ | ErGw1AZ |
| VirtualNetworkGatewaySkuTierErGw2AZ | ErGw2AZ |
| VirtualNetworkGatewaySkuTierErGw3AZ | ErGw3AZ |
| VirtualNetworkGatewaySkuTierErGwScale | ErGwScale |
| Value |
|---|
Basic |
HighPerformance |
Standard |
UltraPerformance |
VpnGw1 |
VpnGw2 |
VpnGw3 |
VpnGw4 |
VpnGw5 |
VpnGw1AZ |
VpnGw2AZ |
VpnGw3AZ |
VpnGw4AZ |
VpnGw5AZ |
ErGw1AZ |
ErGw2AZ |
ErGw3AZ |
ErGwScale |
| Name | Value |
|---|
| Basic | Basic |
| HighPerformance | HighPerformance |
| Standard | Standard |
| UltraPerformance | UltraPerformance |
| VpnGw1 | VpnGw1 |
| VpnGw2 | VpnGw2 |
| VpnGw3 | VpnGw3 |
| VpnGw4 | VpnGw4 |
| VpnGw5 | VpnGw5 |
| VpnGw1AZ | VpnGw1AZ |
| VpnGw2AZ | VpnGw2AZ |
| VpnGw3AZ | VpnGw3AZ |
| VpnGw4AZ | VpnGw4AZ |
| VpnGw5AZ | VpnGw5AZ |
| ErGw1AZ | ErGw1AZ |
| ErGw2AZ | ErGw2AZ |
| ErGw3AZ | ErGw3AZ |
| ErGwScale | ErGwScale |
| Name | Value |
|---|
| Basic | Basic |
| HighPerformance | HighPerformance |
| Standard | Standard |
| UltraPerformance | UltraPerformance |
| VpnGw1 | VpnGw1 |
| VpnGw2 | VpnGw2 |
| VpnGw3 | VpnGw3 |
| VpnGw4 | VpnGw4 |
| VpnGw5 | VpnGw5 |
| VpnGw1AZ | VpnGw1AZ |
| VpnGw2AZ | VpnGw2AZ |
| VpnGw3AZ | VpnGw3AZ |
| VpnGw4AZ | VpnGw4AZ |
| VpnGw5AZ | VpnGw5AZ |
| ErGw1AZ | ErGw1AZ |
| ErGw2AZ | ErGw2AZ |
| ErGw3AZ | ErGw3AZ |
| ErGwScale | ErGwScale |
| Name | Value |
|---|
| BASIC | Basic |
| HIGH_PERFORMANCE | HighPerformance |
| STANDARD | Standard |
| ULTRA_PERFORMANCE | UltraPerformance |
| VPN_GW1 | VpnGw1 |
| VPN_GW2 | VpnGw2 |
| VPN_GW3 | VpnGw3 |
| VPN_GW4 | VpnGw4 |
| VPN_GW5 | VpnGw5 |
| VPN_GW1_AZ | VpnGw1AZ |
| VPN_GW2_AZ | VpnGw2AZ |
| VPN_GW3_AZ | VpnGw3AZ |
| VPN_GW4_AZ | VpnGw4AZ |
| VPN_GW5_AZ | VpnGw5AZ |
| ER_GW1_AZ | ErGw1AZ |
| ER_GW2_AZ | ErGw2AZ |
| ER_GW3_AZ | ErGw3AZ |
| ER_GW_SCALE | ErGwScale |
| Value |
|---|
Basic |
HighPerformance |
Standard |
UltraPerformance |
VpnGw1 |
VpnGw2 |
VpnGw3 |
VpnGw4 |
VpnGw5 |
VpnGw1AZ |
VpnGw2AZ |
VpnGw3AZ |
VpnGw4AZ |
VpnGw5AZ |
ErGw1AZ |
ErGw2AZ |
ErGw3AZ |
ErGwScale |
VirtualNetworkGatewayType
The type of this virtual network gateway.
| Name | Value |
|---|
| Vpn | Vpn |
| ExpressRoute | ExpressRoute |
| LocalGateway | LocalGateway |
| Name | Value |
|---|
| VirtualNetworkGatewayTypeVpn | Vpn |
| VirtualNetworkGatewayTypeExpressRoute | ExpressRoute |
| VirtualNetworkGatewayTypeLocalGateway | LocalGateway |
| Value |
|---|
Vpn |
ExpressRoute |
LocalGateway |
| Name | Value |
|---|
| Vpn | Vpn |
| ExpressRoute | ExpressRoute |
| LocalGateway | LocalGateway |
| Name | Value |
|---|
| Vpn | Vpn |
| ExpressRoute | ExpressRoute |
| LocalGateway | LocalGateway |
| Name | Value |
|---|
| VPN | Vpn |
| EXPRESS_ROUTE | ExpressRoute |
| LOCAL_GATEWAY | LocalGateway |
| Value |
|---|
Vpn |
ExpressRoute |
LocalGateway |
VngClientConnectionConfiguration, VngClientConnectionConfigurationArgs
A vpn client connection configuration for client connection configuration.
VngClientConnectionConfigurationResponse
A vpn client connection configuration for client connection configuration.
- etag
string
- A unique read-only string that changes whenever the resource is updated.
- provisioning_state
string
- The provisioning state of the VngClientConnectionConfiguration resource.
- virtual_network_gateway_policy_groups
list(object)
- List of references to virtualNetworkGatewayPolicyGroups
- vpn_client_address_pool
object
- The reference to the address space resource which represents Address space for P2S VpnClient.
- id
string
- Resource ID.
- name
string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- etag
String
- A unique read-only string that changes whenever the resource is updated.
- provisioningState
String
- The provisioning state of the VngClientConnectionConfiguration resource.
- virtualNetworkGatewayPolicyGroups
List<Property Map>
- List of references to virtualNetworkGatewayPolicyGroups
- vpnClientAddressPool
Property Map
- The reference to the address space resource which represents Address space for P2S VpnClient.
- id
String
- Resource ID.
- name
String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
VpnAuthenticationType
VPN authentication types enabled for the VpnServerConfiguration.
| Name | Value |
|---|
| Certificate | Certificate |
| Radius | Radius |
| AAD | AAD |
| Name | Value |
|---|
| VpnAuthenticationTypeCertificate | Certificate |
| VpnAuthenticationTypeRadius | Radius |
| VpnAuthenticationTypeAAD | AAD |
| Value |
|---|
Certificate |
Radius |
AAD |
| Name | Value |
|---|
| Certificate | Certificate |
| Radius | Radius |
| AAD | AAD |
| Name | Value |
|---|
| Certificate | Certificate |
| Radius | Radius |
| AAD | AAD |
| Name | Value |
|---|
| CERTIFICATE | Certificate |
| RADIUS | Radius |
| AAD | AAD |
| Value |
|---|
Certificate |
Radius |
AAD |
VpnClientConfiguration, VpnClientConfigurationArgs
VpnClientConfiguration for P2S client.
VpnClientConfigurationResponse
VpnClientConfiguration for P2S client.
VpnClientProtocol
VPN client protocol enabled for the virtual network gateway.
| Name | Value |
|---|
| IkeV2 | IkeV2 |
| SSTP | SSTP |
| OpenVPN | OpenVPN |
| Name | Value |
|---|
| VpnClientProtocolIkeV2 | IkeV2 |
| VpnClientProtocolSSTP | SSTP |
| VpnClientProtocolOpenVPN | OpenVPN |
| Name | Value |
|---|
| IkeV2 | IkeV2 |
| SSTP | SSTP |
| OpenVPN | OpenVPN |
| Name | Value |
|---|
| IkeV2 | IkeV2 |
| SSTP | SSTP |
| OpenVPN | OpenVPN |
| Name | Value |
|---|
| IKE_V2 | IkeV2 |
| SSTP | SSTP |
| OPEN_VPN | OpenVPN |
VpnClientRevokedCertificate, VpnClientRevokedCertificateArgs
VPN client revoked certificate of virtual network gateway.
- Id
string
- Resource ID.
- Name
string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Thumbprint
string
- The revoked VPN client certificate thumbprint.
- Id
string
- Resource ID.
- Name
string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Thumbprint
string
- The revoked VPN client certificate thumbprint.
- id
string
- Resource ID.
- name
string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- thumbprint
string
- The revoked VPN client certificate thumbprint.
- id
String
- Resource ID.
- name
String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- thumbprint
String
- The revoked VPN client certificate thumbprint.
- id
string
- Resource ID.
- name
string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- thumbprint
string
- The revoked VPN client certificate thumbprint.
- id
str
- Resource ID.
- name
str
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- thumbprint
str
- The revoked VPN client certificate thumbprint.
- id
String
- Resource ID.
- name
String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- thumbprint
String
- The revoked VPN client certificate thumbprint.
VpnClientRevokedCertificateResponse
VPN client revoked certificate of virtual network gateway.
- Etag
string
- A unique read-only string that changes whenever the resource is updated.
- ProvisioningState
string
- The provisioning state of the VPN client revoked certificate resource.
- Id
string
- Resource ID.
- Name
string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Thumbprint
string
- The revoked VPN client certificate thumbprint.
- Etag
string
- A unique read-only string that changes whenever the resource is updated.
- ProvisioningState
string
- The provisioning state of the VPN client revoked certificate resource.
- Id
string
- Resource ID.
- Name
string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Thumbprint
string
- The revoked VPN client certificate thumbprint.
- etag
string
- A unique read-only string that changes whenever the resource is updated.
- provisioning_state
string
- The provisioning state of the VPN client revoked certificate resource.
- id
string
- Resource ID.
- name
string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- thumbprint
string
- The revoked VPN client certificate thumbprint.
- etag
String
- A unique read-only string that changes whenever the resource is updated.
- provisioningState
String
- The provisioning state of the VPN client revoked certificate resource.
- id
String
- Resource ID.
- name
String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- thumbprint
String
- The revoked VPN client certificate thumbprint.
- etag
string
- A unique read-only string that changes whenever the resource is updated.
- provisioningState
string
- The provisioning state of the VPN client revoked certificate resource.
- id
string
- Resource ID.
- name
string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- thumbprint
string
- The revoked VPN client certificate thumbprint.
- etag
str
- A unique read-only string that changes whenever the resource is updated.
- provisioning_state
str
- The provisioning state of the VPN client revoked certificate resource.
- id
str
- Resource ID.
- name
str
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- thumbprint
str
- The revoked VPN client certificate thumbprint.
- etag
String
- A unique read-only string that changes whenever the resource is updated.
- provisioningState
String
- The provisioning state of the VPN client revoked certificate resource.
- id
String
- Resource ID.
- name
String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- thumbprint
String
- The revoked VPN client certificate thumbprint.
VpnClientRootCertificate, VpnClientRootCertificateArgs
VPN client root certificate of virtual network gateway.
- PublicCertData
string
- The certificate public data.
- Id
string
- Resource ID.
- Name
string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- PublicCertData
string
- The certificate public data.
- Id
string
- Resource ID.
- Name
string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- public_cert_data
string
- The certificate public data.
- id
string
- Resource ID.
- name
string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- publicCertData
String
- The certificate public data.
- id
String
- Resource ID.
- name
String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- publicCertData
string
- The certificate public data.
- id
string
- Resource ID.
- name
string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- public_cert_data
str
- The certificate public data.
- id
str
- Resource ID.
- name
str
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- publicCertData
String
- The certificate public data.
- id
String
- Resource ID.
- name
String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
VpnClientRootCertificateResponse
VPN client root certificate of virtual network gateway.
- Etag
string
- A unique read-only string that changes whenever the resource is updated.
- ProvisioningState
string
- The provisioning state of the VPN client root certificate resource.
- PublicCertData
string
- The certificate public data.
- Id
string
- Resource ID.
- Name
string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Etag
string
- A unique read-only string that changes whenever the resource is updated.
- ProvisioningState
string
- The provisioning state of the VPN client root certificate resource.
- PublicCertData
string
- The certificate public data.
- Id
string
- Resource ID.
- Name
string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- etag
string
- A unique read-only string that changes whenever the resource is updated.
- provisioning_state
string
- The provisioning state of the VPN client root certificate resource.
- public_cert_data
string
- The certificate public data.
- id
string
- Resource ID.
- name
string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- etag
String
- A unique read-only string that changes whenever the resource is updated.
- provisioningState
String
- The provisioning state of the VPN client root certificate resource.
- publicCertData
String
- The certificate public data.
- id
String
- Resource ID.
- name
String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- etag
string
- A unique read-only string that changes whenever the resource is updated.
- provisioningState
string
- The provisioning state of the VPN client root certificate resource.
- publicCertData
string
- The certificate public data.
- id
string
- Resource ID.
- name
string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- etag
str
- A unique read-only string that changes whenever the resource is updated.
- provisioning_state
str
- The provisioning state of the VPN client root certificate resource.
- public_cert_data
str
- The certificate public data.
- id
str
- Resource ID.
- name
str
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- etag
String
- A unique read-only string that changes whenever the resource is updated.
- provisioningState
String
- The provisioning state of the VPN client root certificate resource.
- publicCertData
String
- The certificate public data.
- id
String
- Resource ID.
- name
String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
VpnGatewayGeneration
The generation for this VirtualNetworkGateway. Must be None if gatewayType is not VPN.
| Name | Value |
|---|
| None | None |
| Generation1 | Generation1 |
| Generation2 | Generation2 |
| Name | Value |
|---|
| VpnGatewayGenerationNone | None |
| VpnGatewayGenerationGeneration1 | Generation1 |
| VpnGatewayGenerationGeneration2 | Generation2 |
| Value |
|---|
None |
Generation1 |
Generation2 |
| Name | Value |
|---|
| None | None |
| Generation1 | Generation1 |
| Generation2 | Generation2 |
| Name | Value |
|---|
| None | None |
| Generation1 | Generation1 |
| Generation2 | Generation2 |
| Name | Value |
|---|
| NONE | None |
| GENERATION1 | Generation1 |
| GENERATION2 | Generation2 |
| Value |
|---|
None |
Generation1 |
Generation2 |
VpnNatRuleMapping, VpnNatRuleMappingArgs
Vpn NatRule mapping.
- AddressSpace
string
- Address space for Vpn NatRule mapping.
- PortRange
string
- Port range for Vpn NatRule mapping.
- AddressSpace
string
- Address space for Vpn NatRule mapping.
- PortRange
string
- Port range for Vpn NatRule mapping.
- addressSpace
String
- Address space for Vpn NatRule mapping.
- portRange
String
- Port range for Vpn NatRule mapping.
- addressSpace
string
- Address space for Vpn NatRule mapping.
- portRange
string
- Port range for Vpn NatRule mapping.
- addressSpace
String
- Address space for Vpn NatRule mapping.
- portRange
String
- Port range for Vpn NatRule mapping.
VpnNatRuleMappingResponse
Vpn NatRule mapping.
- AddressSpace
string
- Address space for Vpn NatRule mapping.
- PortRange
string
- Port range for Vpn NatRule mapping.
- AddressSpace
string
- Address space for Vpn NatRule mapping.
- PortRange
string
- Port range for Vpn NatRule mapping.
- addressSpace
String
- Address space for Vpn NatRule mapping.
- portRange
String
- Port range for Vpn NatRule mapping.
- addressSpace
string
- Address space for Vpn NatRule mapping.
- portRange
string
- Port range for Vpn NatRule mapping.
- addressSpace
String
- Address space for Vpn NatRule mapping.
- portRange
String
- Port range for Vpn NatRule mapping.
VpnNatRuleMode
The Source NAT direction of a VPN NAT.
| Name | Value |
|---|
| EgressSnat | EgressSnat |
| IngressSnat | IngressSnat |
| Name | Value |
|---|
| VpnNatRuleModeEgressSnat | EgressSnat |
| VpnNatRuleModeIngressSnat | IngressSnat |
| Value |
|---|
EgressSnat |
IngressSnat |
| Name | Value |
|---|
| EgressSnat | EgressSnat |
| IngressSnat | IngressSnat |
| Name | Value |
|---|
| EgressSnat | EgressSnat |
| IngressSnat | IngressSnat |
| Name | Value |
|---|
| EGRESS_SNAT | EgressSnat |
| INGRESS_SNAT | IngressSnat |
| Value |
|---|
EgressSnat |
IngressSnat |
VpnNatRuleType
The type of NAT rule for VPN NAT.
| Name | Value |
|---|
| Static | Static |
| Dynamic | Dynamic |
| Name | Value |
|---|
| VpnNatRuleTypeStatic | Static |
| VpnNatRuleTypeDynamic | Dynamic |
| Name | Value |
|---|
| Static | Static |
| Dynamic | Dynamic |
| Name | Value |
|---|
| Static | Static |
| Dynamic | Dynamic |
| Name | Value |
|---|
| STATIC | Static |
| DYNAMIC | Dynamic |
VpnPolicyMemberAttributeType
The Vpn Policy member attribute type.
| Name | Value |
|---|
| CertificateGroupId | CertificateGroupId |
| AADGroupId | AADGroupId |
| RadiusAzureGroupId | RadiusAzureGroupId |
| Name | Value |
|---|
| VpnPolicyMemberAttributeTypeCertificateGroupId | CertificateGroupId |
| VpnPolicyMemberAttributeTypeAADGroupId | AADGroupId |
| VpnPolicyMemberAttributeTypeRadiusAzureGroupId | RadiusAzureGroupId |
| Value |
|---|
CertificateGroupId |
AADGroupId |
RadiusAzureGroupId |
| Name | Value |
|---|
| CertificateGroupId | CertificateGroupId |
| AADGroupId | AADGroupId |
| RadiusAzureGroupId | RadiusAzureGroupId |
| Name | Value |
|---|
| CertificateGroupId | CertificateGroupId |
| AADGroupId | AADGroupId |
| RadiusAzureGroupId | RadiusAzureGroupId |
| Name | Value |
|---|
| CERTIFICATE_GROUP_ID | CertificateGroupId |
| AAD_GROUP_ID | AADGroupId |
| RADIUS_AZURE_GROUP_ID | RadiusAzureGroupId |
| Value |
|---|
CertificateGroupId |
AADGroupId |
RadiusAzureGroupId |
VpnType
The type of this virtual network gateway.
| Name | Value |
|---|
| PolicyBased | PolicyBased |
| RouteBased | RouteBased |
| Name | Value |
|---|
| VpnTypePolicyBased | PolicyBased |
| VpnTypeRouteBased | RouteBased |
| Value |
|---|
PolicyBased |
RouteBased |
| Name | Value |
|---|
| PolicyBased | PolicyBased |
| RouteBased | RouteBased |
| Name | Value |
|---|
| PolicyBased | PolicyBased |
| RouteBased | RouteBased |
| Name | Value |
|---|
| POLICY_BASED | PolicyBased |
| ROUTE_BASED | RouteBased |
| Value |
|---|
PolicyBased |
RouteBased |
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:network:VirtualNetworkGateway ergw /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0