VirtualNetworkGateway
Manages a Virtual Network Gateway to establish secure, cross-premises connectivity.
Note: Please be aware that provisioning a Virtual Network Gateway takes a long time (between 30 minutes and 1 hour)
Create a VirtualNetworkGateway Resource
new VirtualNetworkGateway(name: string, args: VirtualNetworkGatewayArgs, opts?: CustomResourceOptions);def VirtualNetworkGateway(resource_name, opts=None, active_active=None, bgp_settings=None, default_local_network_gateway_id=None, enable_bgp=None, generation=None, ip_configurations=None, location=None, name=None, resource_group_name=None, sku=None, tags=None, type=None, vpn_client_configuration=None, vpn_type=None, __props__=None);func NewVirtualNetworkGateway(ctx *Context, name string, args VirtualNetworkGatewayArgs, opts ...ResourceOption) (*VirtualNetworkGateway, error)public VirtualNetworkGateway(string name, VirtualNetworkGatewayArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args VirtualNetworkGatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args VirtualNetworkGatewayArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VirtualNetworkGatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
VirtualNetworkGateway Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The VirtualNetworkGateway resource accepts the following input properties:
- Ip
Configurations List<VirtualNetwork Gateway Ip Configuration Args> One or two
ip_configurationblocks documented below. An active-standby gateway requires exactly oneip_configurationblock whereas an active-active gateway requires exactly twoip_configurationblocks.- Resource
Group stringName The name of the resource group in which to create the Virtual Network Gateway. Changing the resource group name forces a new resource to be created.
- Sku string
Configuration of the size and capacity of the virtual network gateway. Valid options are
Basic,Standard,HighPerformance,UltraPerformance,ErGw1AZ,ErGw2AZ,ErGw3AZ,VpnGw1,VpnGw2,VpnGw3,VpnGw4,VpnGw5,VpnGw1AZ,VpnGw2AZ,VpnGw3AZ,VpnGw4AZandVpnGw5AZand depend on thetype,vpn_typeandgenerationarguments. APolicyBasedgateway only supports theBasicsku. Further, theUltraPerformancesku is only supported by anExpressRoutegateway.- Type string
The type of the Virtual Network Gateway. Valid options are
VpnorExpressRoute. Changing the type forces a new resource to be created.- Active
Active bool If
true, an active-active Virtual Network Gateway will be created. An active-active gateway requires aHighPerformanceor anUltraPerformancesku. Iffalse, an active-standby gateway will be created. Defaults tofalse.- Bgp
Settings VirtualNetwork Gateway Bgp Settings Args - Default
Local stringNetwork Gateway Id The ID of the local network gateway through which outbound Internet traffic from the virtual network in which the gateway is created will be routed (forced tunnelling). Refer to the Azure documentation on forced tunnelling. If not specified, forced tunnelling is disabled.
- Enable
Bgp bool If
true, BGP (Border Gateway Protocol) will be enabled for this Virtual Network Gateway. Defaults tofalse.- Generation string
The Generation of the Virtual Network gateway. Possible values include
Generation1,Generation2orNone.- Location string
The location/region where the Virtual Network Gateway is located. Changing the location/region forces a new resource to be created.
- Name string
A user-defined name of the revoked certificate.
- Dictionary<string, string>
A mapping of tags to assign to the resource.
- Vpn
Client VirtualConfiguration Network Gateway Vpn Client Configuration Args A
vpn_client_configurationblock which is documented below. In this block the Virtual Network Gateway can be configured to accept IPSec point-to-site connections.- Vpn
Type string The routing type of the Virtual Network Gateway. Valid options are
RouteBasedorPolicyBased. Defaults toRouteBased.
- Ip
Configurations []VirtualNetwork Gateway Ip Configuration One or two
ip_configurationblocks documented below. An active-standby gateway requires exactly oneip_configurationblock whereas an active-active gateway requires exactly twoip_configurationblocks.- Resource
Group stringName The name of the resource group in which to create the Virtual Network Gateway. Changing the resource group name forces a new resource to be created.
- Sku string
Configuration of the size and capacity of the virtual network gateway. Valid options are
Basic,Standard,HighPerformance,UltraPerformance,ErGw1AZ,ErGw2AZ,ErGw3AZ,VpnGw1,VpnGw2,VpnGw3,VpnGw4,VpnGw5,VpnGw1AZ,VpnGw2AZ,VpnGw3AZ,VpnGw4AZandVpnGw5AZand depend on thetype,vpn_typeandgenerationarguments. APolicyBasedgateway only supports theBasicsku. Further, theUltraPerformancesku is only supported by anExpressRoutegateway.- Type string
The type of the Virtual Network Gateway. Valid options are
VpnorExpressRoute. Changing the type forces a new resource to be created.- Active
Active bool If
true, an active-active Virtual Network Gateway will be created. An active-active gateway requires aHighPerformanceor anUltraPerformancesku. Iffalse, an active-standby gateway will be created. Defaults tofalse.- Bgp
Settings VirtualNetwork Gateway Bgp Settings - Default
Local stringNetwork Gateway Id The ID of the local network gateway through which outbound Internet traffic from the virtual network in which the gateway is created will be routed (forced tunnelling). Refer to the Azure documentation on forced tunnelling. If not specified, forced tunnelling is disabled.
- Enable
Bgp bool If
true, BGP (Border Gateway Protocol) will be enabled for this Virtual Network Gateway. Defaults tofalse.- Generation string
The Generation of the Virtual Network gateway. Possible values include
Generation1,Generation2orNone.- Location string
The location/region where the Virtual Network Gateway is located. Changing the location/region forces a new resource to be created.
- Name string
A user-defined name of the revoked certificate.
- map[string]string
A mapping of tags to assign to the resource.
- Vpn
Client VirtualConfiguration Network Gateway Vpn Client Configuration A
vpn_client_configurationblock which is documented below. In this block the Virtual Network Gateway can be configured to accept IPSec point-to-site connections.- Vpn
Type string The routing type of the Virtual Network Gateway. Valid options are
RouteBasedorPolicyBased. Defaults toRouteBased.
- ip
Configurations VirtualNetwork Gateway Ip Configuration[] One or two
ip_configurationblocks documented below. An active-standby gateway requires exactly oneip_configurationblock whereas an active-active gateway requires exactly twoip_configurationblocks.- resource
Group stringName The name of the resource group in which to create the Virtual Network Gateway. Changing the resource group name forces a new resource to be created.
- sku string
Configuration of the size and capacity of the virtual network gateway. Valid options are
Basic,Standard,HighPerformance,UltraPerformance,ErGw1AZ,ErGw2AZ,ErGw3AZ,VpnGw1,VpnGw2,VpnGw3,VpnGw4,VpnGw5,VpnGw1AZ,VpnGw2AZ,VpnGw3AZ,VpnGw4AZandVpnGw5AZand depend on thetype,vpn_typeandgenerationarguments. APolicyBasedgateway only supports theBasicsku. Further, theUltraPerformancesku is only supported by anExpressRoutegateway.- type string
The type of the Virtual Network Gateway. Valid options are
VpnorExpressRoute. Changing the type forces a new resource to be created.- active
Active boolean If
true, an active-active Virtual Network Gateway will be created. An active-active gateway requires aHighPerformanceor anUltraPerformancesku. Iffalse, an active-standby gateway will be created. Defaults tofalse.- bgp
Settings VirtualNetwork Gateway Bgp Settings - default
Local stringNetwork Gateway Id The ID of the local network gateway through which outbound Internet traffic from the virtual network in which the gateway is created will be routed (forced tunnelling). Refer to the Azure documentation on forced tunnelling. If not specified, forced tunnelling is disabled.
- enable
Bgp boolean If
true, BGP (Border Gateway Protocol) will be enabled for this Virtual Network Gateway. Defaults tofalse.- generation string
The Generation of the Virtual Network gateway. Possible values include
Generation1,Generation2orNone.- location string
The location/region where the Virtual Network Gateway is located. Changing the location/region forces a new resource to be created.
- name string
A user-defined name of the revoked certificate.
- {[key: string]: string}
A mapping of tags to assign to the resource.
- vpn
Client VirtualConfiguration Network Gateway Vpn Client Configuration A
vpn_client_configurationblock which is documented below. In this block the Virtual Network Gateway can be configured to accept IPSec point-to-site connections.- vpn
Type string The routing type of the Virtual Network Gateway. Valid options are
RouteBasedorPolicyBased. Defaults toRouteBased.
- ip_
configurations List[VirtualNetwork Gateway Ip Configuration] One or two
ip_configurationblocks documented below. An active-standby gateway requires exactly oneip_configurationblock whereas an active-active gateway requires exactly twoip_configurationblocks.- resource_
group_ strname The name of the resource group in which to create the Virtual Network Gateway. Changing the resource group name forces a new resource to be created.
- sku str
Configuration of the size and capacity of the virtual network gateway. Valid options are
Basic,Standard,HighPerformance,UltraPerformance,ErGw1AZ,ErGw2AZ,ErGw3AZ,VpnGw1,VpnGw2,VpnGw3,VpnGw4,VpnGw5,VpnGw1AZ,VpnGw2AZ,VpnGw3AZ,VpnGw4AZandVpnGw5AZand depend on thetype,vpn_typeandgenerationarguments. APolicyBasedgateway only supports theBasicsku. Further, theUltraPerformancesku is only supported by anExpressRoutegateway.- type str
The type of the Virtual Network Gateway. Valid options are
VpnorExpressRoute. Changing the type forces a new resource to be created.- active_
active bool If
true, an active-active Virtual Network Gateway will be created. An active-active gateway requires aHighPerformanceor anUltraPerformancesku. Iffalse, an active-standby gateway will be created. Defaults tofalse.- bgp_
settings Dict[VirtualNetwork Gateway Bgp Settings] - default_
local_ strnetwork_ gateway_ id The ID of the local network gateway through which outbound Internet traffic from the virtual network in which the gateway is created will be routed (forced tunnelling). Refer to the Azure documentation on forced tunnelling. If not specified, forced tunnelling is disabled.
- enable_
bgp bool If
true, BGP (Border Gateway Protocol) will be enabled for this Virtual Network Gateway. Defaults tofalse.- generation str
The Generation of the Virtual Network gateway. Possible values include
Generation1,Generation2orNone.- location str
The location/region where the Virtual Network Gateway is located. Changing the location/region forces a new resource to be created.
- name str
A user-defined name of the revoked certificate.
- Dict[str, str]
A mapping of tags to assign to the resource.
- vpn_
client_ Dict[Virtualconfiguration Network Gateway Vpn Client Configuration] A
vpn_client_configurationblock which is documented below. In this block the Virtual Network Gateway can be configured to accept IPSec point-to-site connections.- vpn_
type str The routing type of the Virtual Network Gateway. Valid options are
RouteBasedorPolicyBased. Defaults toRouteBased.
Outputs
All input properties are implicitly available as output properties. Additionally, the VirtualNetworkGateway resource produces the following output properties:
Look up an Existing VirtualNetworkGateway Resource
Get an existing VirtualNetworkGateway resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: VirtualNetworkGatewayState, opts?: CustomResourceOptions): VirtualNetworkGatewaystatic get(resource_name, id, opts=None, active_active=None, bgp_settings=None, default_local_network_gateway_id=None, enable_bgp=None, generation=None, ip_configurations=None, location=None, name=None, resource_group_name=None, sku=None, tags=None, type=None, vpn_client_configuration=None, vpn_type=None, __props__=None);func GetVirtualNetworkGateway(ctx *Context, name string, id IDInput, state *VirtualNetworkGatewayState, opts ...ResourceOption) (*VirtualNetworkGateway, error)public static VirtualNetworkGateway Get(string name, Input<string> id, VirtualNetworkGatewayState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Active
Active bool If
true, an active-active Virtual Network Gateway will be created. An active-active gateway requires aHighPerformanceor anUltraPerformancesku. Iffalse, an active-standby gateway will be created. Defaults tofalse.- Bgp
Settings VirtualNetwork Gateway Bgp Settings Args - Default
Local stringNetwork Gateway Id The ID of the local network gateway through which outbound Internet traffic from the virtual network in which the gateway is created will be routed (forced tunnelling). Refer to the Azure documentation on forced tunnelling. If not specified, forced tunnelling is disabled.
- Enable
Bgp bool If
true, BGP (Border Gateway Protocol) will be enabled for this Virtual Network Gateway. Defaults tofalse.- Generation string
The Generation of the Virtual Network gateway. Possible values include
Generation1,Generation2orNone.- Ip
Configurations List<VirtualNetwork Gateway Ip Configuration Args> One or two
ip_configurationblocks documented below. An active-standby gateway requires exactly oneip_configurationblock whereas an active-active gateway requires exactly twoip_configurationblocks.- Location string
The location/region where the Virtual Network Gateway is located. Changing the location/region forces a new resource to be created.
- Name string
A user-defined name of the revoked certificate.
- Resource
Group stringName The name of the resource group in which to create the Virtual Network Gateway. Changing the resource group name forces a new resource to be created.
- Sku string
Configuration of the size and capacity of the virtual network gateway. Valid options are
Basic,Standard,HighPerformance,UltraPerformance,ErGw1AZ,ErGw2AZ,ErGw3AZ,VpnGw1,VpnGw2,VpnGw3,VpnGw4,VpnGw5,VpnGw1AZ,VpnGw2AZ,VpnGw3AZ,VpnGw4AZandVpnGw5AZand depend on thetype,vpn_typeandgenerationarguments. APolicyBasedgateway only supports theBasicsku. Further, theUltraPerformancesku is only supported by anExpressRoutegateway.- Dictionary<string, string>
A mapping of tags to assign to the resource.
- Type string
The type of the Virtual Network Gateway. Valid options are
VpnorExpressRoute. Changing the type forces a new resource to be created.- Vpn
Client VirtualConfiguration Network Gateway Vpn Client Configuration Args A
vpn_client_configurationblock which is documented below. In this block the Virtual Network Gateway can be configured to accept IPSec point-to-site connections.- Vpn
Type string The routing type of the Virtual Network Gateway. Valid options are
RouteBasedorPolicyBased. Defaults toRouteBased.
- Active
Active bool If
true, an active-active Virtual Network Gateway will be created. An active-active gateway requires aHighPerformanceor anUltraPerformancesku. Iffalse, an active-standby gateway will be created. Defaults tofalse.- Bgp
Settings VirtualNetwork Gateway Bgp Settings - Default
Local stringNetwork Gateway Id The ID of the local network gateway through which outbound Internet traffic from the virtual network in which the gateway is created will be routed (forced tunnelling). Refer to the Azure documentation on forced tunnelling. If not specified, forced tunnelling is disabled.
- Enable
Bgp bool If
true, BGP (Border Gateway Protocol) will be enabled for this Virtual Network Gateway. Defaults tofalse.- Generation string
The Generation of the Virtual Network gateway. Possible values include
Generation1,Generation2orNone.- Ip
Configurations []VirtualNetwork Gateway Ip Configuration One or two
ip_configurationblocks documented below. An active-standby gateway requires exactly oneip_configurationblock whereas an active-active gateway requires exactly twoip_configurationblocks.- Location string
The location/region where the Virtual Network Gateway is located. Changing the location/region forces a new resource to be created.
- Name string
A user-defined name of the revoked certificate.
- Resource
Group stringName The name of the resource group in which to create the Virtual Network Gateway. Changing the resource group name forces a new resource to be created.
- Sku string
Configuration of the size and capacity of the virtual network gateway. Valid options are
Basic,Standard,HighPerformance,UltraPerformance,ErGw1AZ,ErGw2AZ,ErGw3AZ,VpnGw1,VpnGw2,VpnGw3,VpnGw4,VpnGw5,VpnGw1AZ,VpnGw2AZ,VpnGw3AZ,VpnGw4AZandVpnGw5AZand depend on thetype,vpn_typeandgenerationarguments. APolicyBasedgateway only supports theBasicsku. Further, theUltraPerformancesku is only supported by anExpressRoutegateway.- map[string]string
A mapping of tags to assign to the resource.
- Type string
The type of the Virtual Network Gateway. Valid options are
VpnorExpressRoute. Changing the type forces a new resource to be created.- Vpn
Client VirtualConfiguration Network Gateway Vpn Client Configuration A
vpn_client_configurationblock which is documented below. In this block the Virtual Network Gateway can be configured to accept IPSec point-to-site connections.- Vpn
Type string The routing type of the Virtual Network Gateway. Valid options are
RouteBasedorPolicyBased. Defaults toRouteBased.
- active
Active boolean If
true, an active-active Virtual Network Gateway will be created. An active-active gateway requires aHighPerformanceor anUltraPerformancesku. Iffalse, an active-standby gateway will be created. Defaults tofalse.- bgp
Settings VirtualNetwork Gateway Bgp Settings - default
Local stringNetwork Gateway Id The ID of the local network gateway through which outbound Internet traffic from the virtual network in which the gateway is created will be routed (forced tunnelling). Refer to the Azure documentation on forced tunnelling. If not specified, forced tunnelling is disabled.
- enable
Bgp boolean If
true, BGP (Border Gateway Protocol) will be enabled for this Virtual Network Gateway. Defaults tofalse.- generation string
The Generation of the Virtual Network gateway. Possible values include
Generation1,Generation2orNone.- ip
Configurations VirtualNetwork Gateway Ip Configuration[] One or two
ip_configurationblocks documented below. An active-standby gateway requires exactly oneip_configurationblock whereas an active-active gateway requires exactly twoip_configurationblocks.- location string
The location/region where the Virtual Network Gateway is located. Changing the location/region forces a new resource to be created.
- name string
A user-defined name of the revoked certificate.
- resource
Group stringName The name of the resource group in which to create the Virtual Network Gateway. Changing the resource group name forces a new resource to be created.
- sku string
Configuration of the size and capacity of the virtual network gateway. Valid options are
Basic,Standard,HighPerformance,UltraPerformance,ErGw1AZ,ErGw2AZ,ErGw3AZ,VpnGw1,VpnGw2,VpnGw3,VpnGw4,VpnGw5,VpnGw1AZ,VpnGw2AZ,VpnGw3AZ,VpnGw4AZandVpnGw5AZand depend on thetype,vpn_typeandgenerationarguments. APolicyBasedgateway only supports theBasicsku. Further, theUltraPerformancesku is only supported by anExpressRoutegateway.- {[key: string]: string}
A mapping of tags to assign to the resource.
- type string
The type of the Virtual Network Gateway. Valid options are
VpnorExpressRoute. Changing the type forces a new resource to be created.- vpn
Client VirtualConfiguration Network Gateway Vpn Client Configuration A
vpn_client_configurationblock which is documented below. In this block the Virtual Network Gateway can be configured to accept IPSec point-to-site connections.- vpn
Type string The routing type of the Virtual Network Gateway. Valid options are
RouteBasedorPolicyBased. Defaults toRouteBased.
- active_
active bool If
true, an active-active Virtual Network Gateway will be created. An active-active gateway requires aHighPerformanceor anUltraPerformancesku. Iffalse, an active-standby gateway will be created. Defaults tofalse.- bgp_
settings Dict[VirtualNetwork Gateway Bgp Settings] - default_
local_ strnetwork_ gateway_ id The ID of the local network gateway through which outbound Internet traffic from the virtual network in which the gateway is created will be routed (forced tunnelling). Refer to the Azure documentation on forced tunnelling. If not specified, forced tunnelling is disabled.
- enable_
bgp bool If
true, BGP (Border Gateway Protocol) will be enabled for this Virtual Network Gateway. Defaults tofalse.- generation str
The Generation of the Virtual Network gateway. Possible values include
Generation1,Generation2orNone.- ip_
configurations List[VirtualNetwork Gateway Ip Configuration] One or two
ip_configurationblocks documented below. An active-standby gateway requires exactly oneip_configurationblock whereas an active-active gateway requires exactly twoip_configurationblocks.- location str
The location/region where the Virtual Network Gateway is located. Changing the location/region forces a new resource to be created.
- name str
A user-defined name of the revoked certificate.
- resource_
group_ strname The name of the resource group in which to create the Virtual Network Gateway. Changing the resource group name forces a new resource to be created.
- sku str
Configuration of the size and capacity of the virtual network gateway. Valid options are
Basic,Standard,HighPerformance,UltraPerformance,ErGw1AZ,ErGw2AZ,ErGw3AZ,VpnGw1,VpnGw2,VpnGw3,VpnGw4,VpnGw5,VpnGw1AZ,VpnGw2AZ,VpnGw3AZ,VpnGw4AZandVpnGw5AZand depend on thetype,vpn_typeandgenerationarguments. APolicyBasedgateway only supports theBasicsku. Further, theUltraPerformancesku is only supported by anExpressRoutegateway.- Dict[str, str]
A mapping of tags to assign to the resource.
- type str
The type of the Virtual Network Gateway. Valid options are
VpnorExpressRoute. Changing the type forces a new resource to be created.- vpn_
client_ Dict[Virtualconfiguration Network Gateway Vpn Client Configuration] A
vpn_client_configurationblock which is documented below. In this block the Virtual Network Gateway can be configured to accept IPSec point-to-site connections.- vpn_
type str The routing type of the Virtual Network Gateway. Valid options are
RouteBasedorPolicyBased. Defaults toRouteBased.
Supporting Types
VirtualNetworkGatewayBgpSettings
- Asn int
The Autonomous System Number (ASN) to use as part of the BGP.
- Peer
Weight int The weight added to routes which have been learned through BGP peering. Valid values can be between
0and100.- Peering
Address string The BGP peer IP address of the virtual network gateway. This address is needed to configure the created gateway as a BGP Peer on the on-premises VPN devices. The IP address must be part of the subnet of the Virtual Network Gateway. Changing this forces a new resource to be created.
- Asn int
The Autonomous System Number (ASN) to use as part of the BGP.
- Peer
Weight int The weight added to routes which have been learned through BGP peering. Valid values can be between
0and100.- Peering
Address string The BGP peer IP address of the virtual network gateway. This address is needed to configure the created gateway as a BGP Peer on the on-premises VPN devices. The IP address must be part of the subnet of the Virtual Network Gateway. Changing this forces a new resource to be created.
- asn number
The Autonomous System Number (ASN) to use as part of the BGP.
- peer
Weight number The weight added to routes which have been learned through BGP peering. Valid values can be between
0and100.- peering
Address string The BGP peer IP address of the virtual network gateway. This address is needed to configure the created gateway as a BGP Peer on the on-premises VPN devices. The IP address must be part of the subnet of the Virtual Network Gateway. Changing this forces a new resource to be created.
- asn float
The Autonomous System Number (ASN) to use as part of the BGP.
- peer
Weight float The weight added to routes which have been learned through BGP peering. Valid values can be between
0and100.- peering
Address str The BGP peer IP address of the virtual network gateway. This address is needed to configure the created gateway as a BGP Peer on the on-premises VPN devices. The IP address must be part of the subnet of the Virtual Network Gateway. Changing this forces a new resource to be created.
VirtualNetworkGatewayIpConfiguration
- Public
Ip stringAddress Id The ID of the public ip address to associate with the Virtual Network Gateway.
- Subnet
Id string The ID of the gateway subnet of a virtual network in which the virtual network gateway will be created. It is mandatory that the associated subnet is named
GatewaySubnet. Therefore, each virtual network can contain at most a single Virtual Network Gateway.- Name string
A user-defined name of the revoked certificate.
- Private
Ip stringAddress Allocation Defines how the private IP address of the gateways virtual interface is assigned. Valid options are
StaticorDynamic. Defaults toDynamic.
- Public
Ip stringAddress Id The ID of the public ip address to associate with the Virtual Network Gateway.
- Subnet
Id string The ID of the gateway subnet of a virtual network in which the virtual network gateway will be created. It is mandatory that the associated subnet is named
GatewaySubnet. Therefore, each virtual network can contain at most a single Virtual Network Gateway.- Name string
A user-defined name of the revoked certificate.
- Private
Ip stringAddress Allocation Defines how the private IP address of the gateways virtual interface is assigned. Valid options are
StaticorDynamic. Defaults toDynamic.
- public
Ip stringAddress Id The ID of the public ip address to associate with the Virtual Network Gateway.
- subnet
Id string The ID of the gateway subnet of a virtual network in which the virtual network gateway will be created. It is mandatory that the associated subnet is named
GatewaySubnet. Therefore, each virtual network can contain at most a single Virtual Network Gateway.- name string
A user-defined name of the revoked certificate.
- private
Ip stringAddress Allocation Defines how the private IP address of the gateways virtual interface is assigned. Valid options are
StaticorDynamic. Defaults toDynamic.
- public_
ip_ straddress_ id The ID of the public ip address to associate with the Virtual Network Gateway.
- subnet_
id str The ID of the gateway subnet of a virtual network in which the virtual network gateway will be created. It is mandatory that the associated subnet is named
GatewaySubnet. Therefore, each virtual network can contain at most a single Virtual Network Gateway.- name str
A user-defined name of the revoked certificate.
- private
Ip strAddress Allocation Defines how the private IP address of the gateways virtual interface is assigned. Valid options are
StaticorDynamic. Defaults toDynamic.
VirtualNetworkGatewayVpnClientConfiguration
- Address
Spaces List<string> The address space out of which ip addresses for vpn clients will be taken. You can provide more than one address space, e.g. in CIDR notation.
- Radius
Server stringAddress The address of the Radius server. This setting is incompatible with the use of
root_certificateandrevoked_certificate.- Radius
Server stringSecret The secret used by the Radius server. This setting is incompatible with the use of
root_certificateandrevoked_certificate.- Revoked
Certificates List<VirtualNetwork Gateway Vpn Client Configuration Revoked Certificate Args> One or more
revoked_certificateblocks which are defined below. This setting is incompatible with the use ofradius_server_addressandradius_server_secret.- Root
Certificates List<VirtualNetwork Gateway Vpn Client Configuration Root Certificate Args> One or more
root_certificateblocks which are defined below. These root certificates are used to sign the client certificate used by the VPN clients to connect to the gateway. This setting is incompatible with the use ofradius_server_addressandradius_server_secret.- Vpn
Client List<string>Protocols List of the protocols supported by the vpn client. The supported values are
SSTP,IkeV2andOpenVPN.
- Address
Spaces []string The address space out of which ip addresses for vpn clients will be taken. You can provide more than one address space, e.g. in CIDR notation.
- Radius
Server stringAddress The address of the Radius server. This setting is incompatible with the use of
root_certificateandrevoked_certificate.- Radius
Server stringSecret The secret used by the Radius server. This setting is incompatible with the use of
root_certificateandrevoked_certificate.- Revoked
Certificates []VirtualNetwork Gateway Vpn Client Configuration Revoked Certificate One or more
revoked_certificateblocks which are defined below. This setting is incompatible with the use ofradius_server_addressandradius_server_secret.- Root
Certificates []VirtualNetwork Gateway Vpn Client Configuration Root Certificate One or more
root_certificateblocks which are defined below. These root certificates are used to sign the client certificate used by the VPN clients to connect to the gateway. This setting is incompatible with the use ofradius_server_addressandradius_server_secret.- Vpn
Client []stringProtocols List of the protocols supported by the vpn client. The supported values are
SSTP,IkeV2andOpenVPN.
- address
Spaces string[] The address space out of which ip addresses for vpn clients will be taken. You can provide more than one address space, e.g. in CIDR notation.
- radius
Server stringAddress The address of the Radius server. This setting is incompatible with the use of
root_certificateandrevoked_certificate.- radius
Server stringSecret The secret used by the Radius server. This setting is incompatible with the use of
root_certificateandrevoked_certificate.- revoked
Certificates VirtualNetwork Gateway Vpn Client Configuration Revoked Certificate[] One or more
revoked_certificateblocks which are defined below. This setting is incompatible with the use ofradius_server_addressandradius_server_secret.- root
Certificates VirtualNetwork Gateway Vpn Client Configuration Root Certificate[] One or more
root_certificateblocks which are defined below. These root certificates are used to sign the client certificate used by the VPN clients to connect to the gateway. This setting is incompatible with the use ofradius_server_addressandradius_server_secret.- vpn
Client string[]Protocols List of the protocols supported by the vpn client. The supported values are
SSTP,IkeV2andOpenVPN.
- address_
spaces List[str] The address space out of which ip addresses for vpn clients will be taken. You can provide more than one address space, e.g. in CIDR notation.
- radius
Server strAddress The address of the Radius server. This setting is incompatible with the use of
root_certificateandrevoked_certificate.- radius
Server strSecret The secret used by the Radius server. This setting is incompatible with the use of
root_certificateandrevoked_certificate.- revoked
Certificates List[VirtualNetwork Gateway Vpn Client Configuration Revoked Certificate] One or more
revoked_certificateblocks which are defined below. This setting is incompatible with the use ofradius_server_addressandradius_server_secret.- root
Certificates List[VirtualNetwork Gateway Vpn Client Configuration Root Certificate] One or more
root_certificateblocks which are defined below. These root certificates are used to sign the client certificate used by the VPN clients to connect to the gateway. This setting is incompatible with the use ofradius_server_addressandradius_server_secret.- vpn
Client List[str]Protocols List of the protocols supported by the vpn client. The supported values are
SSTP,IkeV2andOpenVPN.
VirtualNetworkGatewayVpnClientConfigurationRevokedCertificate
- Name string
A user-defined name of the revoked certificate.
- Thumbprint string
- Name string
A user-defined name of the revoked certificate.
- Thumbprint string
- name string
A user-defined name of the revoked certificate.
- thumbprint string
- name str
A user-defined name of the revoked certificate.
- thumbprint str
VirtualNetworkGatewayVpnClientConfigurationRootCertificate
- Name string
A user-defined name of the revoked certificate.
- Public
Cert stringData The SHA1 thumbprint of the certificate to be revoked.
- Name string
A user-defined name of the revoked certificate.
- Public
Cert stringData The SHA1 thumbprint of the certificate to be revoked.
- name string
A user-defined name of the revoked certificate.
- public
Cert stringData The SHA1 thumbprint of the certificate to be revoked.
- name str
A user-defined name of the revoked certificate.
- public
Cert strData The SHA1 thumbprint of the certificate to be revoked.
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.