We recommend using Azure Native.
azure.network.getVirtualNetworkGateway
Explore with Pulumi AI
Use this data source to access information about an existing Virtual Network Gateway.
Example Usage
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 main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := network.LookupVirtualNetworkGateway(ctx, &network.LookupVirtualNetworkGatewayArgs{
Name: "production",
ResourceGroupName: "networking",
}, nil)
if err != nil {
return err
}
ctx.Export("virtualNetworkGatewayId", example.Id)
return nil
})
}
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()));
}
}
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)
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);
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure:network/getVirtualNetworkGateway:getVirtualNetworkGateway
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
Specifies the name of the Virtual Network Gateway.
- Resource
Group 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.
- Resource
Group 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.
- resource
Group 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.
- resource
Group 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.
- resource
Group StringName Specifies the name of the resource group the Virtual Network Gateway is located in.
getVirtualNetworkGateway Result
The following output properties are available:
- Active
Active bool Is this an Active-Active Gateway?
- Bgp
Settings List<GetVirtual Network Gateway Bgp Setting> - Custom
Routes List<GetVirtual Network Gateway Custom Route> - 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 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 string
The Generation of the Virtual Network Gateway.
- Id string
The provider-assigned unique ID for this managed resource.
- Ip
Configurations List<GetVirtual Network Gateway Ip Configuration> 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.
- Private
Ip boolAddress Enabled Whether a private IP will be used for this gateway for connections.
- Resource
Group 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.
- Vpn
Client List<GetConfigurations Virtual Network Gateway Vpn Client Configuration> A
vpn_client_configuration
block which is documented below.- Vpn
Type string The routing type of the Virtual Network Gateway.
- Active
Active bool Is this an Active-Active Gateway?
- Bgp
Settings []GetVirtual Network Gateway Bgp Setting - Custom
Routes []GetVirtual Network Gateway Custom Route - 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 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 string
The Generation of the Virtual Network Gateway.
- Id string
The provider-assigned unique ID for this managed resource.
- Ip
Configurations []GetVirtual Network Gateway Ip Configuration 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.
- Private
Ip boolAddress Enabled Whether a private IP will be used for this gateway for connections.
- Resource
Group 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.
- Vpn
Client []GetConfigurations Virtual Network Gateway Vpn Client Configuration A
vpn_client_configuration
block which is documented below.- Vpn
Type string The routing type of the Virtual Network Gateway.
- active
Active Boolean Is this an Active-Active Gateway?
- bgp
Settings List<GetVirtual Network Gateway Bgp Setting> - custom
Routes List<GetVirtual Network Gateway Custom Route> - 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 tunneling). Refer to the Azure documentation on forced tunneling.
- enable
Bgp 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.
- ip
Configurations List<GetVirtual Network Gateway Ip Configuration> 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.
- private
Ip BooleanAddress Enabled Whether a private IP will be used for this gateway for connections.
- resource
Group 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.
- vpn
Client List<GetConfigurations Virtual Network Gateway Vpn Client Configuration> A
vpn_client_configuration
block which is documented below.- vpn
Type String The routing type of the Virtual Network Gateway.
- active
Active boolean Is this an Active-Active Gateway?
- bgp
Settings GetVirtual Network Gateway Bgp Setting[] - custom
Routes GetVirtual Network Gateway Custom Route[] - 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 tunneling). Refer to the Azure documentation on forced tunneling.
- enable
Bgp 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.
- ip
Configurations GetVirtual Network Gateway Ip Configuration[] 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.
- private
Ip booleanAddress Enabled Whether a private IP will be used for this gateway for connections.
- resource
Group 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.
- vpn
Client GetConfigurations Virtual Network Gateway Vpn Client Configuration[] A
vpn_client_configuration
block which is documented below.- vpn
Type 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_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_ 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_configuration
block which is documented below.- vpn_
type str The routing type of the Virtual Network Gateway.
- active
Active Boolean Is this an Active-Active Gateway?
- bgp
Settings List<Property Map> - custom
Routes List<Property Map> - 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 tunneling). Refer to the Azure documentation on forced tunneling.
- enable
Bgp 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.
- ip
Configurations 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.
- private
Ip BooleanAddress Enabled Whether a private IP will be used for this gateway for connections.
- resource
Group 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.
- vpn
Client List<Property Map>Configurations A
vpn_client_configuration
block which is documented below.- vpn
Type 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.
- Peer
Weight int The weight added to routes which have been learned through BGP peering.
- 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.
- 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 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.
- peer
Weight Integer The weight added to routes which have been learned through BGP peering.
- 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.
- 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.
- 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.
- 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.
- peer
Weight Number The weight added to routes which have been learned through BGP peering.
- 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.
GetVirtualNetworkGatewayCustomRoute
- Address
Prefixes List<string> A list of address blocks reserved for this virtual network in CIDR notation.
- Address
Prefixes []string A list of address blocks reserved for this virtual network in CIDR notation.
- address
Prefixes List<String> A list of address blocks reserved for this virtual network in CIDR notation.
- address
Prefixes 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.
- address
Prefixes 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.
- Private
Ip stringAddress The Private IP Address associated with the Virtual Network Gateway.
- Private
Ip stringAddress Allocation Defines how the private IP address of the gateways virtual interface is assigned.
- Public
Ip stringAddress Id The ID of the Public IP Address associated 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.
- Id string
The resource ID of the IP configuration.
- Name string
Specifies the name of the Virtual Network Gateway.
- Private
Ip stringAddress The Private IP Address associated with the Virtual Network Gateway.
- Private
Ip stringAddress Allocation Defines how the private IP address of the gateways virtual interface is assigned.
- Public
Ip stringAddress Id The ID of the Public IP Address associated 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.
- id String
The resource ID of the IP configuration.
- name String
Specifies the name of the Virtual Network Gateway.
- private
Ip StringAddress The Private IP Address associated with the Virtual Network Gateway.
- private
Ip StringAddress Allocation Defines how the private IP address of the gateways virtual interface is assigned.
- public
Ip StringAddress Id The ID of the Public IP Address associated 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.
- id string
The resource ID of the IP configuration.
- name string
Specifies the name of the Virtual Network Gateway.
- private
Ip stringAddress The Private IP Address associated with the Virtual Network Gateway.
- private
Ip stringAddress Allocation Defines how the private IP address of the gateways virtual interface is assigned.
- public
Ip stringAddress Id The ID of the Public IP Address associated 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.
- 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.
- private
Ip StringAddress The Private IP Address associated with the Virtual Network Gateway.
- private
Ip StringAddress Allocation Defines how the private IP address of the gateways virtual interface is assigned.
- public
Ip StringAddress Id The ID of the Public IP Address associated 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.
GetVirtualNetworkGatewayVpnClientConfiguration
- Aad
Audience 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
andrevoked_certificate
,radius_server_address
, andradius_server_secret
.- Aad
Issuer string The STS url for your tenant This setting is incompatible with the use of
root_certificate
andrevoked_certificate
,radius_server_address
, andradius_server_secret
.- Aad
Tenant string AzureAD Tenant URL This setting is incompatible with the use of
root_certificate
andrevoked_certificate
,radius_server_address
, andradius_server_secret
.- 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
aad_tenant
,aad_audience
,aad_issuer
,root_certificate
andrevoked_certificate
.- Radius
Server stringSecret The secret used by the Radius server. This setting is incompatible with the use of
aad_tenant
,aad_audience
,aad_issuer
,root_certificate
andrevoked_certificate
.- Revoked
Certificates List<GetVirtual Network Gateway Vpn Client Configuration Revoked Certificate> One or more
revoked_certificate
blocks 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 List<GetVirtual Network Gateway Vpn Client Configuration Root Certificate> 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 ofaad_tenant
,aad_audience
,aad_issuer
,radius_server_address
, andradius_server_secret
.- Vpn
Client List<string>Protocols List of the protocols supported by the vpn client. The supported values are
SSTP
,IkeV2
andOpenVPN
.
- Aad
Audience 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
andrevoked_certificate
,radius_server_address
, andradius_server_secret
.- Aad
Issuer string The STS url for your tenant This setting is incompatible with the use of
root_certificate
andrevoked_certificate
,radius_server_address
, andradius_server_secret
.- Aad
Tenant string AzureAD Tenant URL This setting is incompatible with the use of
root_certificate
andrevoked_certificate
,radius_server_address
, andradius_server_secret
.- 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
aad_tenant
,aad_audience
,aad_issuer
,root_certificate
andrevoked_certificate
.- Radius
Server stringSecret The secret used by the Radius server. This setting is incompatible with the use of
aad_tenant
,aad_audience
,aad_issuer
,root_certificate
andrevoked_certificate
.- Revoked
Certificates []GetVirtual Network Gateway Vpn Client Configuration Revoked Certificate One or more
revoked_certificate
blocks 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 []GetVirtual Network Gateway Vpn Client Configuration Root Certificate 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 ofaad_tenant
,aad_audience
,aad_issuer
,radius_server_address
, andradius_server_secret
.- Vpn
Client []stringProtocols List of the protocols supported by the vpn client. The supported values are
SSTP
,IkeV2
andOpenVPN
.
- aad
Audience 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
andrevoked_certificate
,radius_server_address
, andradius_server_secret
.- aad
Issuer String The STS url for your tenant This setting is incompatible with the use of
root_certificate
andrevoked_certificate
,radius_server_address
, andradius_server_secret
.- aad
Tenant String AzureAD Tenant URL This setting is incompatible with the use of
root_certificate
andrevoked_certificate
,radius_server_address
, andradius_server_secret
.- 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
aad_tenant
,aad_audience
,aad_issuer
,root_certificate
andrevoked_certificate
.- radius
Server StringSecret The secret used by the Radius server. This setting is incompatible with the use of
aad_tenant
,aad_audience
,aad_issuer
,root_certificate
andrevoked_certificate
.- revoked
Certificates List<GetVirtual Network Gateway Vpn Client Configuration Revoked Certificate> One or more
revoked_certificate
blocks 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 List<GetVirtual Network Gateway Vpn Client Configuration Root Certificate> 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 ofaad_tenant
,aad_audience
,aad_issuer
,radius_server_address
, andradius_server_secret
.- vpn
Client List<String>Protocols List of the protocols supported by the vpn client. The supported values are
SSTP
,IkeV2
andOpenVPN
.
- aad
Audience 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
andrevoked_certificate
,radius_server_address
, andradius_server_secret
.- aad
Issuer string The STS url for your tenant This setting is incompatible with the use of
root_certificate
andrevoked_certificate
,radius_server_address
, andradius_server_secret
.- aad
Tenant string AzureAD Tenant URL This setting is incompatible with the use of
root_certificate
andrevoked_certificate
,radius_server_address
, andradius_server_secret
.- 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
aad_tenant
,aad_audience
,aad_issuer
,root_certificate
andrevoked_certificate
.- radius
Server stringSecret The secret used by the Radius server. This setting is incompatible with the use of
aad_tenant
,aad_audience
,aad_issuer
,root_certificate
andrevoked_certificate
.- revoked
Certificates GetVirtual Network Gateway Vpn Client Configuration Revoked Certificate[] One or more
revoked_certificate
blocks 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 GetVirtual Network Gateway Vpn Client Configuration Root Certificate[] 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 ofaad_tenant
,aad_audience
,aad_issuer
,radius_server_address
, andradius_server_secret
.- vpn
Client string[]Protocols List of the protocols supported by the vpn client. The supported values are
SSTP
,IkeV2
andOpenVPN
.
- 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_certificate
andrevoked_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_certificate
andrevoked_certificate
,radius_server_address
, andradius_server_secret
.- aad_
tenant str AzureAD Tenant URL This setting is incompatible with the use of
root_certificate
andrevoked_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_certificate
andrevoked_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_certificate
andrevoked_certificate
.- revoked_
certificates Sequence[GetVirtual Network Gateway Vpn Client Configuration Revoked Certificate] One or more
revoked_certificate
blocks 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_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 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
,IkeV2
andOpenVPN
.
- aad
Audience 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
andrevoked_certificate
,radius_server_address
, andradius_server_secret
.- aad
Issuer String The STS url for your tenant This setting is incompatible with the use of
root_certificate
andrevoked_certificate
,radius_server_address
, andradius_server_secret
.- aad
Tenant String AzureAD Tenant URL This setting is incompatible with the use of
root_certificate
andrevoked_certificate
,radius_server_address
, andradius_server_secret
.- 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
aad_tenant
,aad_audience
,aad_issuer
,root_certificate
andrevoked_certificate
.- radius
Server StringSecret The secret used by the Radius server. This setting is incompatible with the use of
aad_tenant
,aad_audience
,aad_issuer
,root_certificate
andrevoked_certificate
.- revoked
Certificates List<Property Map> One or more
revoked_certificate
blocks 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 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 ofaad_tenant
,aad_audience
,aad_issuer
,radius_server_address
, andradius_server_secret
.- vpn
Client List<String>Protocols List of the protocols supported by the vpn client. The supported values are
SSTP
,IkeV2
andOpenVPN
.
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.
- Public
Cert 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.
- Public
Cert 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.
- public
Cert 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.
- public
Cert 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.
- public
Cert 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
azurerm
Terraform Provider.