1. Packages
  2. Azure Classic
  3. API Docs
  4. network
  5. getVirtualNetworkGateway

We recommend using Azure Native.

Azure v6.21.0 published on Friday, Mar 7, 2025 by Pulumi

azure.network.getVirtualNetworkGateway

Explore with Pulumi AI

We recommend using Azure Native.

Azure v6.21.0 published on Friday, Mar 7, 2025 by Pulumi

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);
Copy
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)
Copy
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
	})
}
Copy
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),
    };
});
Copy
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()));
    }
}
Copy
variables:
  example:
    fn::invoke:
      function: azure:network:getVirtualNetworkGateway
      arguments:
        name: production
        resourceGroupName: networking
outputs:
  virtualNetworkGatewayId: ${example.id}
Copy

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>
Copy
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]
Copy
func LookupVirtualNetworkGateway(ctx *Context, args *LookupVirtualNetworkGatewayArgs, opts ...InvokeOption) (*LookupVirtualNetworkGatewayResult, error)
func LookupVirtualNetworkGatewayOutput(ctx *Context, args *LookupVirtualNetworkGatewayOutputArgs, opts ...InvokeOption) LookupVirtualNetworkGatewayResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetVirtualNetworkGatewayResult> getVirtualNetworkGateway(GetVirtualNetworkGatewayArgs args, InvokeOptions options)
public static Output<GetVirtualNetworkGatewayResult> getVirtualNetworkGateway(GetVirtualNetworkGatewayArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure:network/getVirtualNetworkGateway:getVirtualNetworkGateway
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. string
Specifies the name of the Virtual Network Gateway.
ResourceGroupName This property is required. string
Specifies the name of the resource group the Virtual Network Gateway is located in.
Name This property is required. string
Specifies the name of the Virtual Network Gateway.
ResourceGroupName This property is required. string
Specifies the name of the resource group the Virtual Network Gateway is located in.
name This property is required. String
Specifies the name of the Virtual Network Gateway.
resourceGroupName This property is required. String
Specifies the name of the resource group the Virtual Network Gateway is located in.
name This property is required. string
Specifies the name of the Virtual Network Gateway.
resourceGroupName This property is required. string
Specifies the name of the resource group the Virtual Network Gateway is located in.
name This property is required. str
Specifies the name of the Virtual Network Gateway.
resource_group_name This property is required. str
Specifies the name of the resource group the Virtual Network Gateway is located in.
name This property is required. String
Specifies the name of the Virtual Network Gateway.
resourceGroupName This property is required. String
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<GetVirtualNetworkGatewayBgpSetting>
CustomRoutes List<GetVirtualNetworkGatewayCustomRoute>
DefaultLocalNetworkGatewayId string
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<GetVirtualNetworkGatewayIpConfiguration>
One or two ip_configuration blocks documented below.
Location string
The location/region where the Virtual Network Gateway is located.
Name string
The user-defined name of the root certificate.
PrivateIpAddressEnabled bool
Whether a private IP will be used for this gateway for connections.
ResourceGroupName string
Sku string
Configuration of the size and capacity of the Virtual Network Gateway.
Tags Dictionary<string, string>
A mapping of tags assigned to the resource.
Type string
The type of the Virtual Network Gateway.
VpnClientConfigurations List<GetVirtualNetworkGatewayVpnClientConfiguration>
A vpn_client_configuration block which is documented below.
VpnType string
The routing type of the Virtual Network Gateway.
ActiveActive bool
Is this an Active-Active Gateway?
BgpSettings []GetVirtualNetworkGatewayBgpSetting
CustomRoutes []GetVirtualNetworkGatewayCustomRoute
DefaultLocalNetworkGatewayId string
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 []GetVirtualNetworkGatewayIpConfiguration
One or two ip_configuration blocks documented below.
Location string
The location/region where the Virtual Network Gateway is located.
Name string
The user-defined name of the root certificate.
PrivateIpAddressEnabled bool
Whether a private IP will be used for this gateway for connections.
ResourceGroupName string
Sku string
Configuration of the size and capacity of the Virtual Network Gateway.
Tags map[string]string
A mapping of tags assigned to the resource.
Type string
The type of the Virtual Network Gateway.
VpnClientConfigurations []GetVirtualNetworkGatewayVpnClientConfiguration
A vpn_client_configuration block which is documented below.
VpnType string
The routing type of the Virtual Network Gateway.
activeActive Boolean
Is this an Active-Active Gateway?
bgpSettings List<GetVirtualNetworkGatewayBgpSetting>
customRoutes List<GetVirtualNetworkGatewayCustomRoute>
defaultLocalNetworkGatewayId String
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<GetVirtualNetworkGatewayIpConfiguration>
One or two ip_configuration blocks documented below.
location String
The location/region where the Virtual Network Gateway is located.
name String
The user-defined name of the root certificate.
privateIpAddressEnabled Boolean
Whether a private IP will be used for this gateway for connections.
resourceGroupName String
sku String
Configuration of the size and capacity of the Virtual Network Gateway.
tags Map<String,String>
A mapping of tags assigned to the resource.
type String
The type of the Virtual Network Gateway.
vpnClientConfigurations List<GetVirtualNetworkGatewayVpnClientConfiguration>
A vpn_client_configuration block which is documented below.
vpnType String
The routing type of the Virtual Network Gateway.
activeActive boolean
Is this an Active-Active Gateway?
bgpSettings GetVirtualNetworkGatewayBgpSetting[]
customRoutes GetVirtualNetworkGatewayCustomRoute[]
defaultLocalNetworkGatewayId string
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 GetVirtualNetworkGatewayIpConfiguration[]
One or two ip_configuration blocks documented below.
location string
The location/region where the Virtual Network Gateway is located.
name string
The user-defined name of the root certificate.
privateIpAddressEnabled boolean
Whether a private IP will be used for this gateway for connections.
resourceGroupName string
sku string
Configuration of the size and capacity of the Virtual Network Gateway.
tags {[key: string]: string}
A mapping of tags assigned to the resource.
type string
The type of the Virtual Network Gateway.
vpnClientConfigurations GetVirtualNetworkGatewayVpnClientConfiguration[]
A vpn_client_configuration block 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[GetVirtualNetworkGatewayBgpSetting]
custom_routes Sequence[GetVirtualNetworkGatewayCustomRoute]
default_local_network_gateway_id str
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[GetVirtualNetworkGatewayIpConfiguration]
One or two ip_configuration blocks 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_address_enabled bool
Whether a private IP will be used for this gateway for connections.
resource_group_name str
sku str
Configuration of the size and capacity of the Virtual Network Gateway.
tags Mapping[str, str]
A mapping of tags assigned to the resource.
type str
The type of the Virtual Network Gateway.
vpn_client_configurations Sequence[GetVirtualNetworkGatewayVpnClientConfiguration]
A vpn_client_configuration block 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>
defaultLocalNetworkGatewayId String
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_configuration blocks documented below.
location String
The location/region where the Virtual Network Gateway is located.
name String
The user-defined name of the root certificate.
privateIpAddressEnabled Boolean
Whether a private IP will be used for this gateway for connections.
resourceGroupName String
sku String
Configuration of the size and capacity of the Virtual Network Gateway.
tags Map<String>
A mapping of tags assigned to the resource.
type String
The type of the Virtual Network Gateway.
vpnClientConfigurations List<Property Map>
A vpn_client_configuration block which is documented below.
vpnType String
The routing type of the Virtual Network Gateway.

Supporting Types

GetVirtualNetworkGatewayBgpSetting

Asn This property is required. int
The Autonomous System Number (ASN) to use as part of the BGP.
PeerWeight This property is required. int
The weight added to routes which have been learned through BGP peering.
PeeringAddress This property is required. 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 This property is required. int
The Autonomous System Number (ASN) to use as part of the BGP.
PeerWeight This property is required. int
The weight added to routes which have been learned through BGP peering.
PeeringAddress This property is required. 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 This property is required. Integer
The Autonomous System Number (ASN) to use as part of the BGP.
peerWeight This property is required. Integer
The weight added to routes which have been learned through BGP peering.
peeringAddress This property is required. 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 This property is required. number
The Autonomous System Number (ASN) to use as part of the BGP.
peerWeight This property is required. number
The weight added to routes which have been learned through BGP peering.
peeringAddress This property is required. 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 This property is required. int
The Autonomous System Number (ASN) to use as part of the BGP.
peer_weight This property is required. int
The weight added to routes which have been learned through BGP peering.
peering_address This property is required. 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 This property is required. Number
The Autonomous System Number (ASN) to use as part of the BGP.
peerWeight This property is required. Number
The weight added to routes which have been learned through BGP peering.
peeringAddress This property is required. 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 This property is required. List<string>
A list of address blocks reserved for this virtual network in CIDR notation.
AddressPrefixes This property is required. []string
A list of address blocks reserved for this virtual network in CIDR notation.
addressPrefixes This property is required. List<String>
A list of address blocks reserved for this virtual network in CIDR notation.
addressPrefixes This property is required. string[]
A list of address blocks reserved for this virtual network in CIDR notation.
address_prefixes This property is required. Sequence[str]
A list of address blocks reserved for this virtual network in CIDR notation.
addressPrefixes This property is required. List<String>
A list of address blocks reserved for this virtual network in CIDR notation.

GetVirtualNetworkGatewayIpConfiguration

Id This property is required. string
The resource ID of the IP configuration.
Name This property is required. string
Specifies the name of the Virtual Network Gateway.
PrivateIpAddress This property is required. string
The Private IP Address associated with the Virtual Network Gateway.
PrivateIpAddressAllocation This property is required. string
Defines how the private IP address of the gateways virtual interface is assigned.
PublicIpAddressId This property is required. string
The ID of the Public IP Address associated with the Virtual Network Gateway.
SubnetId This property is required. 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 This property is required. string
The resource ID of the IP configuration.
Name This property is required. string
Specifies the name of the Virtual Network Gateway.
PrivateIpAddress This property is required. string
The Private IP Address associated with the Virtual Network Gateway.
PrivateIpAddressAllocation This property is required. string
Defines how the private IP address of the gateways virtual interface is assigned.
PublicIpAddressId This property is required. string
The ID of the Public IP Address associated with the Virtual Network Gateway.
SubnetId This property is required. 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 This property is required. String
The resource ID of the IP configuration.
name This property is required. String
Specifies the name of the Virtual Network Gateway.
privateIpAddress This property is required. String
The Private IP Address associated with the Virtual Network Gateway.
privateIpAddressAllocation This property is required. String
Defines how the private IP address of the gateways virtual interface is assigned.
publicIpAddressId This property is required. String
The ID of the Public IP Address associated with the Virtual Network Gateway.
subnetId This property is required. 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 This property is required. string
The resource ID of the IP configuration.
name This property is required. string
Specifies the name of the Virtual Network Gateway.
privateIpAddress This property is required. string
The Private IP Address associated with the Virtual Network Gateway.
privateIpAddressAllocation This property is required. string
Defines how the private IP address of the gateways virtual interface is assigned.
publicIpAddressId This property is required. string
The ID of the Public IP Address associated with the Virtual Network Gateway.
subnetId This property is required. 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 This property is required. str
The resource ID of the IP configuration.
name This property is required. str
Specifies the name of the Virtual Network Gateway.
private_ip_address This property is required. str
The Private IP Address associated with the Virtual Network Gateway.
private_ip_address_allocation This property is required. str
Defines how the private IP address of the gateways virtual interface is assigned.
public_ip_address_id This property is required. str
The ID of the Public IP Address associated with the Virtual Network Gateway.
subnet_id This property is required. 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 This property is required. String
The resource ID of the IP configuration.
name This property is required. String
Specifies the name of the Virtual Network Gateway.
privateIpAddress This property is required. String
The Private IP Address associated with the Virtual Network Gateway.
privateIpAddressAllocation This property is required. String
Defines how the private IP address of the gateways virtual interface is assigned.
publicIpAddressId This property is required. String
The ID of the Public IP Address associated with the Virtual Network Gateway.
subnetId This property is required. 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 This property is required. 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_certificate and revoked_certificate, radius_server_address, and radius_server_secret.
AadIssuer This property is required. string
The STS url for your tenant This setting is incompatible with the use of root_certificate and revoked_certificate, radius_server_address, and radius_server_secret.
AadTenant This property is required. string
AzureAD Tenant URL This setting is incompatible with the use of root_certificate and revoked_certificate, radius_server_address, and radius_server_secret.
AddressSpaces This property is required. 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.
RadiusServerAddress This property is required. string
The address of the Radius server. This setting is incompatible with the use of aad_tenant, aad_audience, aad_issuer, root_certificate and revoked_certificate.
RadiusServerSecret This property is required. string
The secret used by the Radius server. This setting is incompatible with the use of aad_tenant, aad_audience, aad_issuer, root_certificate and revoked_certificate.
RevokedCertificates This property is required. List<GetVirtualNetworkGatewayVpnClientConfigurationRevokedCertificate>
One or more revoked_certificate blocks which are defined below. This setting is incompatible with the use of aad_tenant, aad_audience, aad_issuer, radius_server_address, and radius_server_secret.
RootCertificates This property is required. List<GetVirtualNetworkGatewayVpnClientConfigurationRootCertificate>
One or more root_certificate blocks 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 of aad_tenant, aad_audience, aad_issuer, radius_server_address, and radius_server_secret.
VpnClientProtocols This property is required. List<string>
List of the protocols supported by the vpn client. The supported values are SSTP, IkeV2 and OpenVPN.
AadAudience This property is required. 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_certificate and revoked_certificate, radius_server_address, and radius_server_secret.
AadIssuer This property is required. string
The STS url for your tenant This setting is incompatible with the use of root_certificate and revoked_certificate, radius_server_address, and radius_server_secret.
AadTenant This property is required. string
AzureAD Tenant URL This setting is incompatible with the use of root_certificate and revoked_certificate, radius_server_address, and radius_server_secret.
AddressSpaces This property is required. []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.
RadiusServerAddress This property is required. string
The address of the Radius server. This setting is incompatible with the use of aad_tenant, aad_audience, aad_issuer, root_certificate and revoked_certificate.
RadiusServerSecret This property is required. string
The secret used by the Radius server. This setting is incompatible with the use of aad_tenant, aad_audience, aad_issuer, root_certificate and revoked_certificate.
RevokedCertificates This property is required. []GetVirtualNetworkGatewayVpnClientConfigurationRevokedCertificate
One or more revoked_certificate blocks which are defined below. This setting is incompatible with the use of aad_tenant, aad_audience, aad_issuer, radius_server_address, and radius_server_secret.
RootCertificates This property is required. []GetVirtualNetworkGatewayVpnClientConfigurationRootCertificate
One or more root_certificate blocks 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 of aad_tenant, aad_audience, aad_issuer, radius_server_address, and radius_server_secret.
VpnClientProtocols This property is required. []string
List of the protocols supported by the vpn client. The supported values are SSTP, IkeV2 and OpenVPN.
aadAudience This property is required. 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_certificate and revoked_certificate, radius_server_address, and radius_server_secret.
aadIssuer This property is required. String
The STS url for your tenant This setting is incompatible with the use of root_certificate and revoked_certificate, radius_server_address, and radius_server_secret.
aadTenant This property is required. String
AzureAD Tenant URL This setting is incompatible with the use of root_certificate and revoked_certificate, radius_server_address, and radius_server_secret.
addressSpaces This property is required. 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.
radiusServerAddress This property is required. String
The address of the Radius server. This setting is incompatible with the use of aad_tenant, aad_audience, aad_issuer, root_certificate and revoked_certificate.
radiusServerSecret This property is required. String
The secret used by the Radius server. This setting is incompatible with the use of aad_tenant, aad_audience, aad_issuer, root_certificate and revoked_certificate.
revokedCertificates This property is required. List<GetVirtualNetworkGatewayVpnClientConfigurationRevokedCertificate>
One or more revoked_certificate blocks which are defined below. This setting is incompatible with the use of aad_tenant, aad_audience, aad_issuer, radius_server_address, and radius_server_secret.
rootCertificates This property is required. List<GetVirtualNetworkGatewayVpnClientConfigurationRootCertificate>
One or more root_certificate blocks 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 of aad_tenant, aad_audience, aad_issuer, radius_server_address, and radius_server_secret.
vpnClientProtocols This property is required. List<String>
List of the protocols supported by the vpn client. The supported values are SSTP, IkeV2 and OpenVPN.
aadAudience This property is required. 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_certificate and revoked_certificate, radius_server_address, and radius_server_secret.
aadIssuer This property is required. string
The STS url for your tenant This setting is incompatible with the use of root_certificate and revoked_certificate, radius_server_address, and radius_server_secret.
aadTenant This property is required. string
AzureAD Tenant URL This setting is incompatible with the use of root_certificate and revoked_certificate, radius_server_address, and radius_server_secret.
addressSpaces This property is required. 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.
radiusServerAddress This property is required. string
The address of the Radius server. This setting is incompatible with the use of aad_tenant, aad_audience, aad_issuer, root_certificate and revoked_certificate.
radiusServerSecret This property is required. string
The secret used by the Radius server. This setting is incompatible with the use of aad_tenant, aad_audience, aad_issuer, root_certificate and revoked_certificate.
revokedCertificates This property is required. GetVirtualNetworkGatewayVpnClientConfigurationRevokedCertificate[]
One or more revoked_certificate blocks which are defined below. This setting is incompatible with the use of aad_tenant, aad_audience, aad_issuer, radius_server_address, and radius_server_secret.
rootCertificates This property is required. GetVirtualNetworkGatewayVpnClientConfigurationRootCertificate[]
One or more root_certificate blocks 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 of aad_tenant, aad_audience, aad_issuer, radius_server_address, and radius_server_secret.
vpnClientProtocols This property is required. string[]
List of the protocols supported by the vpn client. The supported values are SSTP, IkeV2 and OpenVPN.
aad_audience This property is required. 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_certificate and revoked_certificate, radius_server_address, and radius_server_secret.
aad_issuer This property is required. str
The STS url for your tenant This setting is incompatible with the use of root_certificate and revoked_certificate, radius_server_address, and radius_server_secret.
aad_tenant This property is required. str
AzureAD Tenant URL This setting is incompatible with the use of root_certificate and revoked_certificate, radius_server_address, and radius_server_secret.
address_spaces This property is required. 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_address This property is required. str
The address of the Radius server. This setting is incompatible with the use of aad_tenant, aad_audience, aad_issuer, root_certificate and revoked_certificate.
radius_server_secret This property is required. str
The secret used by the Radius server. This setting is incompatible with the use of aad_tenant, aad_audience, aad_issuer, root_certificate and revoked_certificate.
revoked_certificates This property is required. Sequence[GetVirtualNetworkGatewayVpnClientConfigurationRevokedCertificate]
One or more revoked_certificate blocks which are defined below. This setting is incompatible with the use of aad_tenant, aad_audience, aad_issuer, radius_server_address, and radius_server_secret.
root_certificates This property is required. Sequence[GetVirtualNetworkGatewayVpnClientConfigurationRootCertificate]
One or more root_certificate blocks 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 of aad_tenant, aad_audience, aad_issuer, radius_server_address, and radius_server_secret.
vpn_client_protocols This property is required. Sequence[str]
List of the protocols supported by the vpn client. The supported values are SSTP, IkeV2 and OpenVPN.
aadAudience This property is required. 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_certificate and revoked_certificate, radius_server_address, and radius_server_secret.
aadIssuer This property is required. String
The STS url for your tenant This setting is incompatible with the use of root_certificate and revoked_certificate, radius_server_address, and radius_server_secret.
aadTenant This property is required. String
AzureAD Tenant URL This setting is incompatible with the use of root_certificate and revoked_certificate, radius_server_address, and radius_server_secret.
addressSpaces This property is required. 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.
radiusServerAddress This property is required. String
The address of the Radius server. This setting is incompatible with the use of aad_tenant, aad_audience, aad_issuer, root_certificate and revoked_certificate.
radiusServerSecret This property is required. String
The secret used by the Radius server. This setting is incompatible with the use of aad_tenant, aad_audience, aad_issuer, root_certificate and revoked_certificate.
revokedCertificates This property is required. List<Property Map>
One or more revoked_certificate blocks which are defined below. This setting is incompatible with the use of aad_tenant, aad_audience, aad_issuer, radius_server_address, and radius_server_secret.
rootCertificates This property is required. List<Property Map>
One or more root_certificate blocks 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 of aad_tenant, aad_audience, aad_issuer, radius_server_address, and radius_server_secret.
vpnClientProtocols This property is required. List<String>
List of the protocols supported by the vpn client. The supported values are SSTP, IkeV2 and OpenVPN.

GetVirtualNetworkGatewayVpnClientConfigurationRevokedCertificate

Name This property is required. string
Specifies the name of the Virtual Network Gateway.
Thumbprint This property is required. string
Name This property is required. string
Specifies the name of the Virtual Network Gateway.
Thumbprint This property is required. string
name This property is required. String
Specifies the name of the Virtual Network Gateway.
thumbprint This property is required. String
name This property is required. string
Specifies the name of the Virtual Network Gateway.
thumbprint This property is required. string
name This property is required. str
Specifies the name of the Virtual Network Gateway.
thumbprint This property is required. str
name This property is required. String
Specifies the name of the Virtual Network Gateway.
thumbprint This property is required. String

GetVirtualNetworkGatewayVpnClientConfigurationRootCertificate

Name This property is required. string
Specifies the name of the Virtual Network Gateway.
PublicCertData This property is required. string
The public certificate of the root certificate authority. The certificate must be provided in Base-64 encoded X.509 format (PEM).
Name This property is required. string
Specifies the name of the Virtual Network Gateway.
PublicCertData This property is required. string
The public certificate of the root certificate authority. The certificate must be provided in Base-64 encoded X.509 format (PEM).
name This property is required. String
Specifies the name of the Virtual Network Gateway.
publicCertData This property is required. String
The public certificate of the root certificate authority. The certificate must be provided in Base-64 encoded X.509 format (PEM).
name This property is required. string
Specifies the name of the Virtual Network Gateway.
publicCertData This property is required. string
The public certificate of the root certificate authority. The certificate must be provided in Base-64 encoded X.509 format (PEM).
name This property is required. str
Specifies the name of the Virtual Network Gateway.
public_cert_data This property is required. str
The public certificate of the root certificate authority. The certificate must be provided in Base-64 encoded X.509 format (PEM).
name This property is required. String
Specifies the name of the Virtual Network Gateway.
publicCertData This property is required. String
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 azurerm Terraform Provider.

We recommend using Azure Native.

Azure v6.21.0 published on Friday, Mar 7, 2025 by Pulumi