We recommend using Azure Native.
Azure v6.21.0 published on Friday, Mar 7, 2025 by Pulumi
azure.network.getVirtualNetworkGateway
Explore with Pulumi AI
Use this data source to access information about an existing Virtual Network Gateway.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = azure.network.getVirtualNetworkGateway({
    name: "production",
    resourceGroupName: "networking",
});
export const virtualNetworkGatewayId = example.then(example => example.id);
import pulumi
import pulumi_azure as azure
example = azure.network.get_virtual_network_gateway(name="production",
    resource_group_name="networking")
pulumi.export("virtualNetworkGatewayId", example.id)
package main
import (
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/network"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := network.LookupVirtualNetworkGateway(ctx, &network.LookupVirtualNetworkGatewayArgs{
			Name:              "production",
			ResourceGroupName: "networking",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("virtualNetworkGatewayId", example.Id)
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() => 
{
    var example = Azure.Network.GetVirtualNetworkGateway.Invoke(new()
    {
        Name = "production",
        ResourceGroupName = "networking",
    });
    return new Dictionary<string, object?>
    {
        ["virtualNetworkGatewayId"] = example.Apply(getVirtualNetworkGatewayResult => getVirtualNetworkGatewayResult.Id),
    };
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.network.NetworkFunctions;
import com.pulumi.azure.network.inputs.GetVirtualNetworkGatewayArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var example = NetworkFunctions.getVirtualNetworkGateway(GetVirtualNetworkGatewayArgs.builder()
            .name("production")
            .resourceGroupName("networking")
            .build());
        ctx.export("virtualNetworkGatewayId", example.applyValue(getVirtualNetworkGatewayResult -> getVirtualNetworkGatewayResult.id()));
    }
}
variables:
  example:
    fn::invoke:
      function: azure:network:getVirtualNetworkGateway
      arguments:
        name: production
        resourceGroupName: networking
outputs:
  virtualNetworkGatewayId: ${example.id}
Using getVirtualNetworkGateway
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVirtualNetworkGateway(args: GetVirtualNetworkGatewayArgs, opts?: InvokeOptions): Promise<GetVirtualNetworkGatewayResult>
function getVirtualNetworkGatewayOutput(args: GetVirtualNetworkGatewayOutputArgs, opts?: InvokeOptions): Output<GetVirtualNetworkGatewayResult>def get_virtual_network_gateway(name: Optional[str] = None,
                                resource_group_name: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetVirtualNetworkGatewayResult
def get_virtual_network_gateway_output(name: Optional[pulumi.Input[str]] = None,
                                resource_group_name: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetVirtualNetworkGatewayResult]func LookupVirtualNetworkGateway(ctx *Context, args *LookupVirtualNetworkGatewayArgs, opts ...InvokeOption) (*LookupVirtualNetworkGatewayResult, error)
func LookupVirtualNetworkGatewayOutput(ctx *Context, args *LookupVirtualNetworkGatewayOutputArgs, opts ...InvokeOption) LookupVirtualNetworkGatewayResultOutput> Note: This function is named LookupVirtualNetworkGateway in the Go SDK.
public static class GetVirtualNetworkGateway 
{
    public static Task<GetVirtualNetworkGatewayResult> InvokeAsync(GetVirtualNetworkGatewayArgs args, InvokeOptions? opts = null)
    public static Output<GetVirtualNetworkGatewayResult> Invoke(GetVirtualNetworkGatewayInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVirtualNetworkGatewayResult> getVirtualNetworkGateway(GetVirtualNetworkGatewayArgs args, InvokeOptions options)
public static Output<GetVirtualNetworkGatewayResult> getVirtualNetworkGateway(GetVirtualNetworkGatewayArgs args, InvokeOptions options)
fn::invoke:
  function: azure:network/getVirtualNetworkGateway:getVirtualNetworkGateway
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Name string
- Specifies the name of the Virtual Network Gateway.
- ResourceGroup stringName 
- Specifies the name of the resource group the Virtual Network Gateway is located in.
- Name string
- Specifies the name of the Virtual Network Gateway.
- ResourceGroup stringName 
- Specifies the name of the resource group the Virtual Network Gateway is located in.
- name String
- Specifies the name of the Virtual Network Gateway.
- resourceGroup StringName 
- Specifies the name of the resource group the Virtual Network Gateway is located in.
- name string
- Specifies the name of the Virtual Network Gateway.
- resourceGroup stringName 
- Specifies the name of the resource group the Virtual Network Gateway is located in.
- name str
- Specifies the name of the Virtual Network Gateway.
- resource_group_ strname 
- Specifies the name of the resource group the Virtual Network Gateway is located in.
- name String
- Specifies the name of the Virtual Network Gateway.
- resourceGroup StringName 
- Specifies the name of the resource group the Virtual Network Gateway is located in.
getVirtualNetworkGateway Result
The following output properties are available:
- ActiveActive bool
- Is this an Active-Active Gateway?
- BgpSettings List<GetVirtual Network Gateway Bgp Setting> 
- CustomRoutes List<GetVirtual Network Gateway Custom Route> 
- DefaultLocal 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 tunneling). Refer to the Azure documentation on forced tunneling.
- EnableBgp bool
- Will BGP (Border Gateway Protocol) will be enabled for this Virtual Network Gateway.
- Generation string
- The Generation of the Virtual Network Gateway.
- Id string
- The provider-assigned unique ID for this managed resource.
- IpConfigurations List<GetVirtual Network Gateway Ip Configuration> 
- One or two ip_configurationblocks documented below.
- Location string
- The location/region where the Virtual Network Gateway is located.
- Name string
- The user-defined name of the root certificate.
- PrivateIp boolAddress Enabled 
- Whether a private IP will be used for this gateway for connections.
- ResourceGroup stringName 
- Sku string
- Configuration of the size and capacity of the Virtual Network Gateway.
- Dictionary<string, string>
- A mapping of tags assigned to the resource.
- Type string
- The type of the Virtual Network Gateway.
- VpnClient List<GetConfigurations Virtual Network Gateway Vpn Client Configuration> 
- A vpn_client_configurationblock which is documented below.
- VpnType string
- The routing type of the Virtual Network Gateway.
- ActiveActive bool
- Is this an Active-Active Gateway?
- BgpSettings []GetVirtual Network Gateway Bgp Setting 
- CustomRoutes []GetVirtual Network Gateway Custom Route 
- DefaultLocal 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 tunneling). Refer to the Azure documentation on forced tunneling.
- EnableBgp bool
- Will BGP (Border Gateway Protocol) will be enabled for this Virtual Network Gateway.
- Generation string
- The Generation of the Virtual Network Gateway.
- Id string
- The provider-assigned unique ID for this managed resource.
- IpConfigurations []GetVirtual Network Gateway Ip Configuration 
- One or two ip_configurationblocks documented below.
- Location string
- The location/region where the Virtual Network Gateway is located.
- Name string
- The user-defined name of the root certificate.
- PrivateIp boolAddress Enabled 
- Whether a private IP will be used for this gateway for connections.
- ResourceGroup stringName 
- Sku string
- Configuration of the size and capacity of the Virtual Network Gateway.
- map[string]string
- A mapping of tags assigned to the resource.
- Type string
- The type of the Virtual Network Gateway.
- VpnClient []GetConfigurations Virtual Network Gateway Vpn Client Configuration 
- A vpn_client_configurationblock which is documented below.
- VpnType string
- The routing type of the Virtual Network Gateway.
- activeActive Boolean
- Is this an Active-Active Gateway?
- bgpSettings List<GetVirtual Network Gateway Bgp Setting> 
- customRoutes List<GetVirtual Network Gateway Custom Route> 
- defaultLocal 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 tunneling). Refer to the Azure documentation on forced tunneling.
- enableBgp Boolean
- Will BGP (Border Gateway Protocol) will be enabled for this Virtual Network Gateway.
- generation String
- The Generation of the Virtual Network Gateway.
- id String
- The provider-assigned unique ID for this managed resource.
- ipConfigurations List<GetVirtual Network Gateway Ip Configuration> 
- One or two ip_configurationblocks documented below.
- location String
- The location/region where the Virtual Network Gateway is located.
- name String
- The user-defined name of the root certificate.
- privateIp BooleanAddress Enabled 
- Whether a private IP will be used for this gateway for connections.
- resourceGroup StringName 
- sku String
- Configuration of the size and capacity of the Virtual Network Gateway.
- Map<String,String>
- A mapping of tags assigned to the resource.
- type String
- The type of the Virtual Network Gateway.
- vpnClient List<GetConfigurations Virtual Network Gateway Vpn Client Configuration> 
- A vpn_client_configurationblock which is documented below.
- vpnType String
- The routing type of the Virtual Network Gateway.
- activeActive boolean
- Is this an Active-Active Gateway?
- bgpSettings GetVirtual Network Gateway Bgp Setting[] 
- customRoutes GetVirtual Network Gateway Custom Route[] 
- defaultLocal 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 tunneling). Refer to the Azure documentation on forced tunneling.
- enableBgp boolean
- Will BGP (Border Gateway Protocol) will be enabled for this Virtual Network Gateway.
- generation string
- The Generation of the Virtual Network Gateway.
- id string
- The provider-assigned unique ID for this managed resource.
- ipConfigurations GetVirtual Network Gateway Ip Configuration[] 
- One or two ip_configurationblocks documented below.
- location string
- The location/region where the Virtual Network Gateway is located.
- name string
- The user-defined name of the root certificate.
- privateIp booleanAddress Enabled 
- Whether a private IP will be used for this gateway for connections.
- resourceGroup stringName 
- sku string
- Configuration of the size and capacity of the Virtual Network Gateway.
- {[key: string]: string}
- A mapping of tags assigned to the resource.
- type string
- The type of the Virtual Network Gateway.
- vpnClient GetConfigurations Virtual Network Gateway Vpn Client Configuration[] 
- A vpn_client_configurationblock which is documented below.
- vpnType string
- The routing type of the Virtual Network Gateway.
- active_active bool
- Is this an Active-Active Gateway?
- bgp_settings Sequence[GetVirtual Network Gateway Bgp Setting] 
- custom_routes Sequence[GetVirtual Network Gateway Custom Route] 
- 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 tunneling). Refer to the Azure documentation on forced tunneling.
- enable_bgp bool
- Will BGP (Border Gateway Protocol) will be enabled for this Virtual Network Gateway.
- generation str
- The Generation of the Virtual Network Gateway.
- id str
- The provider-assigned unique ID for this managed resource.
- ip_configurations Sequence[GetVirtual Network Gateway Ip Configuration] 
- One or two ip_configurationblocks documented below.
- location str
- The location/region where the Virtual Network Gateway is located.
- name str
- The user-defined name of the root certificate.
- private_ip_ booladdress_ enabled 
- Whether a private IP will be used for this gateway for connections.
- resource_group_ strname 
- sku str
- Configuration of the size and capacity of the Virtual Network Gateway.
- Mapping[str, str]
- A mapping of tags assigned to the resource.
- type str
- The type of the Virtual Network Gateway.
- vpn_client_ Sequence[Getconfigurations Virtual Network Gateway Vpn Client Configuration] 
- A vpn_client_configurationblock which is documented below.
- vpn_type str
- The routing type of the Virtual Network Gateway.
- activeActive Boolean
- Is this an Active-Active Gateway?
- bgpSettings List<Property Map>
- customRoutes List<Property Map>
- defaultLocal 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 tunneling). Refer to the Azure documentation on forced tunneling.
- enableBgp Boolean
- Will BGP (Border Gateway Protocol) will be enabled for this Virtual Network Gateway.
- generation String
- The Generation of the Virtual Network Gateway.
- id String
- The provider-assigned unique ID for this managed resource.
- ipConfigurations List<Property Map>
- One or two ip_configurationblocks documented below.
- location String
- The location/region where the Virtual Network Gateway is located.
- name String
- The user-defined name of the root certificate.
- privateIp BooleanAddress Enabled 
- Whether a private IP will be used for this gateway for connections.
- resourceGroup StringName 
- sku String
- Configuration of the size and capacity of the Virtual Network Gateway.
- Map<String>
- A mapping of tags assigned to the resource.
- type String
- The type of the Virtual Network Gateway.
- vpnClient List<Property Map>Configurations 
- A vpn_client_configurationblock which is documented below.
- vpnType String
- The routing type of the Virtual Network Gateway.
Supporting Types
GetVirtualNetworkGatewayBgpSetting     
- Asn int
- The Autonomous System Number (ASN) to use as part of the BGP.
- PeerWeight int
- The weight added to routes which have been learned through BGP peering.
- PeeringAddress 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.
- Asn int
- The Autonomous System Number (ASN) to use as part of the BGP.
- PeerWeight int
- The weight added to routes which have been learned through BGP peering.
- PeeringAddress 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.
- asn Integer
- The Autonomous System Number (ASN) to use as part of the BGP.
- peerWeight Integer
- The weight added to routes which have been learned through BGP peering.
- peeringAddress 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.
- asn number
- The Autonomous System Number (ASN) to use as part of the BGP.
- peerWeight number
- The weight added to routes which have been learned through BGP peering.
- peeringAddress 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.
- 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.
- 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.
- asn Number
- The Autonomous System Number (ASN) to use as part of the BGP.
- peerWeight Number
- The weight added to routes which have been learned through BGP peering.
- peeringAddress 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.
GetVirtualNetworkGatewayCustomRoute     
- AddressPrefixes List<string>
- A list of address blocks reserved for this virtual network in CIDR notation.
- AddressPrefixes []string
- A list of address blocks reserved for this virtual network in CIDR notation.
- addressPrefixes List<String>
- A list of address blocks reserved for this virtual network in CIDR notation.
- addressPrefixes string[]
- A list of address blocks reserved for this virtual network in CIDR notation.
- address_prefixes Sequence[str]
- A list of address blocks reserved for this virtual network in CIDR notation.
- addressPrefixes List<String>
- A list of address blocks reserved for this virtual network in CIDR notation.
GetVirtualNetworkGatewayIpConfiguration     
- Id string
- The resource ID of the IP configuration.
- Name string
- Specifies the name of the Virtual Network Gateway.
- PrivateIp stringAddress 
- The Private IP Address associated with the Virtual Network Gateway.
- PrivateIp stringAddress Allocation 
- Defines how the private IP address of the gateways virtual interface is assigned.
- PublicIp stringAddress Id 
- The ID of the Public IP Address associated with the Virtual Network Gateway.
- SubnetId 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.
- Id string
- The resource ID of the IP configuration.
- Name string
- Specifies the name of the Virtual Network Gateway.
- PrivateIp stringAddress 
- The Private IP Address associated with the Virtual Network Gateway.
- PrivateIp stringAddress Allocation 
- Defines how the private IP address of the gateways virtual interface is assigned.
- PublicIp stringAddress Id 
- The ID of the Public IP Address associated with the Virtual Network Gateway.
- SubnetId 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.
- id String
- The resource ID of the IP configuration.
- name String
- Specifies the name of the Virtual Network Gateway.
- privateIp StringAddress 
- The Private IP Address associated with the Virtual Network Gateway.
- privateIp StringAddress Allocation 
- Defines how the private IP address of the gateways virtual interface is assigned.
- publicIp StringAddress Id 
- The ID of the Public IP Address associated with the Virtual Network Gateway.
- subnetId 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.
- id string
- The resource ID of the IP configuration.
- name string
- Specifies the name of the Virtual Network Gateway.
- privateIp stringAddress 
- The Private IP Address associated with the Virtual Network Gateway.
- privateIp stringAddress Allocation 
- Defines how the private IP address of the gateways virtual interface is assigned.
- publicIp stringAddress Id 
- The ID of the Public IP Address associated with the Virtual Network Gateway.
- subnetId 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.
- id str
- The resource ID of the IP configuration.
- name str
- Specifies the name of the Virtual Network Gateway.
- private_ip_ straddress 
- The Private IP Address associated with the Virtual Network Gateway.
- private_ip_ straddress_ allocation 
- Defines how the private IP address of the gateways virtual interface is assigned.
- public_ip_ straddress_ id 
- The ID of the Public IP Address associated 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.
- id String
- The resource ID of the IP configuration.
- name String
- Specifies the name of the Virtual Network Gateway.
- privateIp StringAddress 
- The Private IP Address associated with the Virtual Network Gateway.
- privateIp StringAddress Allocation 
- Defines how the private IP address of the gateways virtual interface is assigned.
- publicIp StringAddress Id 
- The ID of the Public IP Address associated with the Virtual Network Gateway.
- subnetId 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.
GetVirtualNetworkGatewayVpnClientConfiguration      
- AadAudience string
- The client id of the Azure VPN application.
See Create an Active Directory (AD) tenant for P2S OpenVPN protocol connections for values
This setting is incompatible with the use of
root_certificateandrevoked_certificate,radius_server_address, andradius_server_secret.
- AadIssuer string
- The STS url for your tenant
This setting is incompatible with the use of
root_certificateandrevoked_certificate,radius_server_address, andradius_server_secret.
- AadTenant string
- AzureAD Tenant URL
This setting is incompatible with the use of
root_certificateandrevoked_certificate,radius_server_address, andradius_server_secret.
- AddressSpaces 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.
- RadiusServer stringAddress 
- The address of the Radius server.
This setting is incompatible with the use of
aad_tenant,aad_audience,aad_issuer,root_certificateandrevoked_certificate.
- RadiusServer stringSecret 
- The secret used by the Radius server.
This setting is incompatible with the use of
aad_tenant,aad_audience,aad_issuer,root_certificateandrevoked_certificate.
- RevokedCertificates List<GetVirtual Network Gateway Vpn Client Configuration Revoked Certificate> 
- One or more revoked_certificateblocks which are defined below. This setting is incompatible with the use ofaad_tenant,aad_audience,aad_issuer,radius_server_address, andradius_server_secret.
- RootCertificates List<GetVirtual Network 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 ofaad_tenant,aad_audience,aad_issuer,radius_server_address, andradius_server_secret.
- VpnClient List<string>Protocols 
- List of the protocols supported by the vpn client.
The supported values are SSTP,IkeV2andOpenVPN.
- AadAudience string
- The client id of the Azure VPN application.
See Create an Active Directory (AD) tenant for P2S OpenVPN protocol connections for values
This setting is incompatible with the use of
root_certificateandrevoked_certificate,radius_server_address, andradius_server_secret.
- AadIssuer string
- The STS url for your tenant
This setting is incompatible with the use of
root_certificateandrevoked_certificate,radius_server_address, andradius_server_secret.
- AadTenant string
- AzureAD Tenant URL
This setting is incompatible with the use of
root_certificateandrevoked_certificate,radius_server_address, andradius_server_secret.
- AddressSpaces []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.
- RadiusServer stringAddress 
- The address of the Radius server.
This setting is incompatible with the use of
aad_tenant,aad_audience,aad_issuer,root_certificateandrevoked_certificate.
- RadiusServer stringSecret 
- The secret used by the Radius server.
This setting is incompatible with the use of
aad_tenant,aad_audience,aad_issuer,root_certificateandrevoked_certificate.
- RevokedCertificates []GetVirtual Network Gateway Vpn Client Configuration Revoked Certificate 
- One or more revoked_certificateblocks which are defined below. This setting is incompatible with the use ofaad_tenant,aad_audience,aad_issuer,radius_server_address, andradius_server_secret.
- RootCertificates []GetVirtual Network 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 ofaad_tenant,aad_audience,aad_issuer,radius_server_address, andradius_server_secret.
- VpnClient []stringProtocols 
- List of the protocols supported by the vpn client.
The supported values are SSTP,IkeV2andOpenVPN.
- aadAudience String
- The client id of the Azure VPN application.
See Create an Active Directory (AD) tenant for P2S OpenVPN protocol connections for values
This setting is incompatible with the use of
root_certificateandrevoked_certificate,radius_server_address, andradius_server_secret.
- aadIssuer String
- The STS url for your tenant
This setting is incompatible with the use of
root_certificateandrevoked_certificate,radius_server_address, andradius_server_secret.
- aadTenant String
- AzureAD Tenant URL
This setting is incompatible with the use of
root_certificateandrevoked_certificate,radius_server_address, andradius_server_secret.
- addressSpaces 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.
- radiusServer StringAddress 
- The address of the Radius server.
This setting is incompatible with the use of
aad_tenant,aad_audience,aad_issuer,root_certificateandrevoked_certificate.
- radiusServer StringSecret 
- The secret used by the Radius server.
This setting is incompatible with the use of
aad_tenant,aad_audience,aad_issuer,root_certificateandrevoked_certificate.
- revokedCertificates List<GetVirtual Network Gateway Vpn Client Configuration Revoked Certificate> 
- One or more revoked_certificateblocks which are defined below. This setting is incompatible with the use ofaad_tenant,aad_audience,aad_issuer,radius_server_address, andradius_server_secret.
- rootCertificates List<GetVirtual Network 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 ofaad_tenant,aad_audience,aad_issuer,radius_server_address, andradius_server_secret.
- vpnClient List<String>Protocols 
- List of the protocols supported by the vpn client.
The supported values are SSTP,IkeV2andOpenVPN.
- aadAudience string
- The client id of the Azure VPN application.
See Create an Active Directory (AD) tenant for P2S OpenVPN protocol connections for values
This setting is incompatible with the use of
root_certificateandrevoked_certificate,radius_server_address, andradius_server_secret.
- aadIssuer string
- The STS url for your tenant
This setting is incompatible with the use of
root_certificateandrevoked_certificate,radius_server_address, andradius_server_secret.
- aadTenant string
- AzureAD Tenant URL
This setting is incompatible with the use of
root_certificateandrevoked_certificate,radius_server_address, andradius_server_secret.
- addressSpaces 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.
- radiusServer stringAddress 
- The address of the Radius server.
This setting is incompatible with the use of
aad_tenant,aad_audience,aad_issuer,root_certificateandrevoked_certificate.
- radiusServer stringSecret 
- The secret used by the Radius server.
This setting is incompatible with the use of
aad_tenant,aad_audience,aad_issuer,root_certificateandrevoked_certificate.
- revokedCertificates GetVirtual Network Gateway Vpn Client Configuration Revoked Certificate[] 
- One or more revoked_certificateblocks which are defined below. This setting is incompatible with the use ofaad_tenant,aad_audience,aad_issuer,radius_server_address, andradius_server_secret.
- rootCertificates GetVirtual Network 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 ofaad_tenant,aad_audience,aad_issuer,radius_server_address, andradius_server_secret.
- vpnClient string[]Protocols 
- List of the protocols supported by the vpn client.
The supported values are SSTP,IkeV2andOpenVPN.
- aad_audience str
- The client id of the Azure VPN application.
See Create an Active Directory (AD) tenant for P2S OpenVPN protocol connections for values
This setting is incompatible with the use of
root_certificateandrevoked_certificate,radius_server_address, andradius_server_secret.
- aad_issuer str
- The STS url for your tenant
This setting is incompatible with the use of
root_certificateandrevoked_certificate,radius_server_address, andradius_server_secret.
- aad_tenant str
- AzureAD Tenant URL
This setting is incompatible with the use of
root_certificateandrevoked_certificate,radius_server_address, andradius_server_secret.
- address_spaces Sequence[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
aad_tenant,aad_audience,aad_issuer,root_certificateandrevoked_certificate.
- radius_server_ strsecret 
- The secret used by the Radius server.
This setting is incompatible with the use of
aad_tenant,aad_audience,aad_issuer,root_certificateandrevoked_certificate.
- revoked_certificates Sequence[GetVirtual Network Gateway Vpn Client Configuration Revoked Certificate] 
- One or more revoked_certificateblocks which are defined below. This setting is incompatible with the use ofaad_tenant,aad_audience,aad_issuer,radius_server_address, andradius_server_secret.
- root_certificates Sequence[GetVirtual Network 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 ofaad_tenant,aad_audience,aad_issuer,radius_server_address, andradius_server_secret.
- vpn_client_ Sequence[str]protocols 
- List of the protocols supported by the vpn client.
The supported values are SSTP,IkeV2andOpenVPN.
- aadAudience String
- The client id of the Azure VPN application.
See Create an Active Directory (AD) tenant for P2S OpenVPN protocol connections for values
This setting is incompatible with the use of
root_certificateandrevoked_certificate,radius_server_address, andradius_server_secret.
- aadIssuer String
- The STS url for your tenant
This setting is incompatible with the use of
root_certificateandrevoked_certificate,radius_server_address, andradius_server_secret.
- aadTenant String
- AzureAD Tenant URL
This setting is incompatible with the use of
root_certificateandrevoked_certificate,radius_server_address, andradius_server_secret.
- addressSpaces 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.
- radiusServer StringAddress 
- The address of the Radius server.
This setting is incompatible with the use of
aad_tenant,aad_audience,aad_issuer,root_certificateandrevoked_certificate.
- radiusServer StringSecret 
- The secret used by the Radius server.
This setting is incompatible with the use of
aad_tenant,aad_audience,aad_issuer,root_certificateandrevoked_certificate.
- revokedCertificates List<Property Map>
- One or more revoked_certificateblocks which are defined below. This setting is incompatible with the use ofaad_tenant,aad_audience,aad_issuer,radius_server_address, andradius_server_secret.
- rootCertificates List<Property Map>
- 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 ofaad_tenant,aad_audience,aad_issuer,radius_server_address, andradius_server_secret.
- vpnClient List<String>Protocols 
- List of the protocols supported by the vpn client.
The supported values are SSTP,IkeV2andOpenVPN.
GetVirtualNetworkGatewayVpnClientConfigurationRevokedCertificate        
- Name string
- Specifies the name of the Virtual Network Gateway.
- Thumbprint string
- Name string
- Specifies the name of the Virtual Network Gateway.
- Thumbprint string
- name String
- Specifies the name of the Virtual Network Gateway.
- thumbprint String
- name string
- Specifies the name of the Virtual Network Gateway.
- thumbprint string
- name str
- Specifies the name of the Virtual Network Gateway.
- thumbprint str
- name String
- Specifies the name of the Virtual Network Gateway.
- thumbprint String
GetVirtualNetworkGatewayVpnClientConfigurationRootCertificate        
- Name string
- Specifies the name of the Virtual Network Gateway.
- PublicCert stringData 
- The public certificate of the root certificate authority. The certificate must be provided in Base-64 encoded X.509 format (PEM).
- Name string
- Specifies the name of the Virtual Network Gateway.
- PublicCert stringData 
- The public certificate of the root certificate authority. The certificate must be provided in Base-64 encoded X.509 format (PEM).
- name String
- Specifies the name of the Virtual Network Gateway.
- publicCert StringData 
- The public certificate of the root certificate authority. The certificate must be provided in Base-64 encoded X.509 format (PEM).
- name string
- Specifies the name of the Virtual Network Gateway.
- publicCert stringData 
- The public certificate of the root certificate authority. The certificate must be provided in Base-64 encoded X.509 format (PEM).
- name str
- Specifies the name of the Virtual Network Gateway.
- public_cert_ strdata 
- The public certificate of the root certificate authority. The certificate must be provided in Base-64 encoded X.509 format (PEM).
- name String
- Specifies the name of the Virtual Network Gateway.
- publicCert StringData 
- The public certificate of the root certificate authority. The certificate must be provided in Base-64 encoded X.509 format (PEM).
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the azurermTerraform Provider.