azure-native.network.P2sVpnGateway
Explore with Pulumi AI
P2SVpnGateway Resource. Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01.
Other available API versions: 2019-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01.
Example Usage
P2SVpnGatewayPut
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var p2sVpnGateway = new AzureNative.Network.P2sVpnGateway("p2sVpnGateway", new()
{
CustomDnsServers = new[]
{
"1.1.1.1",
"2.2.2.2",
},
GatewayName = "p2sVpnGateway1",
IsRoutingPreferenceInternet = false,
Location = "West US",
P2SConnectionConfigurations = new[]
{
new AzureNative.Network.Inputs.P2SConnectionConfigurationArgs
{
Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1",
Name = "P2SConnectionConfig1",
RoutingConfiguration = new AzureNative.Network.Inputs.RoutingConfigurationArgs
{
AssociatedRouteTable = new AzureNative.Network.Inputs.SubResourceArgs
{
Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1",
},
PropagatedRouteTables = new AzureNative.Network.Inputs.PropagatedRouteTableArgs
{
Ids = new[]
{
new AzureNative.Network.Inputs.SubResourceArgs
{
Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1",
},
new AzureNative.Network.Inputs.SubResourceArgs
{
Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2",
},
new AzureNative.Network.Inputs.SubResourceArgs
{
Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3",
},
},
Labels = new[]
{
"label1",
"label2",
},
},
VnetRoutes = new AzureNative.Network.Inputs.VnetRouteArgs
{
StaticRoutes = new() { },
},
},
VpnClientAddressPool = new AzureNative.Network.Inputs.AddressSpaceArgs
{
AddressPrefixes = new[]
{
"101.3.0.0/16",
},
},
},
},
ResourceGroupName = "rg1",
Tags =
{
{ "key1", "value1" },
},
VirtualHub = new AzureNative.Network.Inputs.SubResourceArgs
{
Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1",
},
VpnGatewayScaleUnit = 1,
VpnServerConfiguration = new AzureNative.Network.Inputs.SubResourceArgs
{
Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1",
},
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewP2sVpnGateway(ctx, "p2sVpnGateway", &network.P2sVpnGatewayArgs{
CustomDnsServers: pulumi.StringArray{
pulumi.String("1.1.1.1"),
pulumi.String("2.2.2.2"),
},
GatewayName: pulumi.String("p2sVpnGateway1"),
IsRoutingPreferenceInternet: pulumi.Bool(false),
Location: pulumi.String("West US"),
P2SConnectionConfigurations: network.P2SConnectionConfigurationArray{
&network.P2SConnectionConfigurationArgs{
Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1"),
Name: pulumi.String("P2SConnectionConfig1"),
RoutingConfiguration: &network.RoutingConfigurationArgs{
AssociatedRouteTable: &network.SubResourceArgs{
Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1"),
},
PropagatedRouteTables: &network.PropagatedRouteTableArgs{
Ids: network.SubResourceArray{
&network.SubResourceArgs{
Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1"),
},
&network.SubResourceArgs{
Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2"),
},
&network.SubResourceArgs{
Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3"),
},
},
Labels: pulumi.StringArray{
pulumi.String("label1"),
pulumi.String("label2"),
},
},
VnetRoutes: &network.VnetRouteArgs{
StaticRoutes: network.StaticRouteArray{},
},
},
VpnClientAddressPool: &network.AddressSpaceArgs{
AddressPrefixes: pulumi.StringArray{
pulumi.String("101.3.0.0/16"),
},
},
},
},
ResourceGroupName: pulumi.String("rg1"),
Tags: pulumi.StringMap{
"key1": pulumi.String("value1"),
},
VirtualHub: &network.SubResourceArgs{
Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"),
},
VpnGatewayScaleUnit: pulumi.Int(1),
VpnServerConfiguration: &network.SubResourceArgs{
Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.network.P2sVpnGateway;
import com.pulumi.azurenative.network.P2sVpnGatewayArgs;
import com.pulumi.azurenative.network.inputs.P2SConnectionConfigurationArgs;
import com.pulumi.azurenative.network.inputs.RoutingConfigurationArgs;
import com.pulumi.azurenative.network.inputs.SubResourceArgs;
import com.pulumi.azurenative.network.inputs.PropagatedRouteTableArgs;
import com.pulumi.azurenative.network.inputs.VnetRouteArgs;
import com.pulumi.azurenative.network.inputs.AddressSpaceArgs;
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) {
var p2sVpnGateway = new P2sVpnGateway("p2sVpnGateway", P2sVpnGatewayArgs.builder()
.customDnsServers(
"1.1.1.1",
"2.2.2.2")
.gatewayName("p2sVpnGateway1")
.isRoutingPreferenceInternet(false)
.location("West US")
.p2SConnectionConfigurations(P2SConnectionConfigurationArgs.builder()
.id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1")
.name("P2SConnectionConfig1")
.routingConfiguration(RoutingConfigurationArgs.builder()
.associatedRouteTable(SubResourceArgs.builder()
.id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1")
.build())
.propagatedRouteTables(PropagatedRouteTableArgs.builder()
.ids(
SubResourceArgs.builder()
.id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1")
.build(),
SubResourceArgs.builder()
.id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2")
.build(),
SubResourceArgs.builder()
.id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3")
.build())
.labels(
"label1",
"label2")
.build())
.vnetRoutes(VnetRouteArgs.builder()
.staticRoutes()
.build())
.build())
.vpnClientAddressPool(AddressSpaceArgs.builder()
.addressPrefixes("101.3.0.0/16")
.build())
.build())
.resourceGroupName("rg1")
.tags(Map.of("key1", "value1"))
.virtualHub(SubResourceArgs.builder()
.id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1")
.build())
.vpnGatewayScaleUnit(1)
.vpnServerConfiguration(SubResourceArgs.builder()
.id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1")
.build())
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
p2s_vpn_gateway = azure_native.network.P2sVpnGateway("p2sVpnGateway",
custom_dns_servers=[
"1.1.1.1",
"2.2.2.2",
],
gateway_name="p2sVpnGateway1",
is_routing_preference_internet=False,
location="West US",
p2_s_connection_configurations=[{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1",
"name": "P2SConnectionConfig1",
"routing_configuration": {
"associated_route_table": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1",
},
"propagated_route_tables": {
"ids": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1",
},
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2",
},
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3",
},
],
"labels": [
"label1",
"label2",
],
},
"vnet_routes": {
"static_routes": [],
},
},
"vpn_client_address_pool": {
"address_prefixes": ["101.3.0.0/16"],
},
}],
resource_group_name="rg1",
tags={
"key1": "value1",
},
virtual_hub={
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1",
},
vpn_gateway_scale_unit=1,
vpn_server_configuration={
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1",
})
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const p2sVpnGateway = new azure_native.network.P2sVpnGateway("p2sVpnGateway", {
customDnsServers: [
"1.1.1.1",
"2.2.2.2",
],
gatewayName: "p2sVpnGateway1",
isRoutingPreferenceInternet: false,
location: "West US",
p2SConnectionConfigurations: [{
id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1",
name: "P2SConnectionConfig1",
routingConfiguration: {
associatedRouteTable: {
id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1",
},
propagatedRouteTables: {
ids: [
{
id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1",
},
{
id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2",
},
{
id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3",
},
],
labels: [
"label1",
"label2",
],
},
vnetRoutes: {
staticRoutes: [],
},
},
vpnClientAddressPool: {
addressPrefixes: ["101.3.0.0/16"],
},
}],
resourceGroupName: "rg1",
tags: {
key1: "value1",
},
virtualHub: {
id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1",
},
vpnGatewayScaleUnit: 1,
vpnServerConfiguration: {
id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1",
},
});
resources:
p2sVpnGateway:
type: azure-native:network:P2sVpnGateway
properties:
customDnsServers:
- 1.1.1.1
- 2.2.2.2
gatewayName: p2sVpnGateway1
isRoutingPreferenceInternet: false
location: West US
p2SConnectionConfigurations:
- id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1
name: P2SConnectionConfig1
routingConfiguration:
associatedRouteTable:
id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1
propagatedRouteTables:
ids:
- id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1
- id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2
- id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3
labels:
- label1
- label2
vnetRoutes:
staticRoutes: []
vpnClientAddressPool:
addressPrefixes:
- 101.3.0.0/16
resourceGroupName: rg1
tags:
key1: value1
virtualHub:
id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1
vpnGatewayScaleUnit: 1
vpnServerConfiguration:
id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1
Create P2sVpnGateway Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new P2sVpnGateway(name: string, args: P2sVpnGatewayArgs, opts?: CustomResourceOptions);
@overload
def P2sVpnGateway(resource_name: str,
args: P2sVpnGatewayArgs,
opts: Optional[ResourceOptions] = None)
@overload
def P2sVpnGateway(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
custom_dns_servers: Optional[Sequence[str]] = None,
gateway_name: Optional[str] = None,
id: Optional[str] = None,
is_routing_preference_internet: Optional[bool] = None,
location: Optional[str] = None,
p2_s_connection_configurations: Optional[Sequence[P2SConnectionConfigurationArgs]] = None,
tags: Optional[Mapping[str, str]] = None,
virtual_hub: Optional[SubResourceArgs] = None,
vpn_gateway_scale_unit: Optional[int] = None,
vpn_server_configuration: Optional[SubResourceArgs] = None)
func NewP2sVpnGateway(ctx *Context, name string, args P2sVpnGatewayArgs, opts ...ResourceOption) (*P2sVpnGateway, error)
public P2sVpnGateway(string name, P2sVpnGatewayArgs args, CustomResourceOptions? opts = null)
public P2sVpnGateway(String name, P2sVpnGatewayArgs args)
public P2sVpnGateway(String name, P2sVpnGatewayArgs args, CustomResourceOptions options)
type: azure-native:network:P2sVpnGateway
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args P2sVpnGatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args P2sVpnGatewayArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args P2sVpnGatewayArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args P2sVpnGatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args P2sVpnGatewayArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var p2sVpnGatewayResource = new AzureNative.Network.P2sVpnGateway("p2sVpnGatewayResource", new()
{
ResourceGroupName = "string",
CustomDnsServers = new[]
{
"string",
},
GatewayName = "string",
Id = "string",
IsRoutingPreferenceInternet = false,
Location = "string",
P2SConnectionConfigurations = new[]
{
new AzureNative.Network.Inputs.P2SConnectionConfigurationArgs
{
EnableInternetSecurity = false,
Id = "string",
Name = "string",
RoutingConfiguration = new AzureNative.Network.Inputs.RoutingConfigurationArgs
{
AssociatedRouteTable = new AzureNative.Network.Inputs.SubResourceArgs
{
Id = "string",
},
InboundRouteMap = new AzureNative.Network.Inputs.SubResourceArgs
{
Id = "string",
},
OutboundRouteMap = new AzureNative.Network.Inputs.SubResourceArgs
{
Id = "string",
},
PropagatedRouteTables = new AzureNative.Network.Inputs.PropagatedRouteTableArgs
{
Ids = new[]
{
new AzureNative.Network.Inputs.SubResourceArgs
{
Id = "string",
},
},
Labels = new[]
{
"string",
},
},
VnetRoutes = new AzureNative.Network.Inputs.VnetRouteArgs
{
StaticRoutes = new[]
{
new AzureNative.Network.Inputs.StaticRouteArgs
{
AddressPrefixes = new[]
{
"string",
},
Name = "string",
NextHopIpAddress = "string",
},
},
StaticRoutesConfig = new AzureNative.Network.Inputs.StaticRoutesConfigArgs
{
VnetLocalRouteOverrideCriteria = "string",
},
},
},
VpnClientAddressPool = new AzureNative.Network.Inputs.AddressSpaceArgs
{
AddressPrefixes = new[]
{
"string",
},
},
},
},
Tags =
{
{ "string", "string" },
},
VirtualHub = new AzureNative.Network.Inputs.SubResourceArgs
{
Id = "string",
},
VpnGatewayScaleUnit = 0,
VpnServerConfiguration = new AzureNative.Network.Inputs.SubResourceArgs
{
Id = "string",
},
});
example, err := network.NewP2sVpnGateway(ctx, "p2sVpnGatewayResource", &network.P2sVpnGatewayArgs{
ResourceGroupName: pulumi.String("string"),
CustomDnsServers: pulumi.StringArray{
pulumi.String("string"),
},
GatewayName: pulumi.String("string"),
Id: pulumi.String("string"),
IsRoutingPreferenceInternet: pulumi.Bool(false),
Location: pulumi.String("string"),
P2SConnectionConfigurations: network.P2SConnectionConfigurationArray{
&network.P2SConnectionConfigurationArgs{
EnableInternetSecurity: pulumi.Bool(false),
Id: pulumi.String("string"),
Name: pulumi.String("string"),
RoutingConfiguration: &network.RoutingConfigurationArgs{
AssociatedRouteTable: &network.SubResourceArgs{
Id: pulumi.String("string"),
},
InboundRouteMap: &network.SubResourceArgs{
Id: pulumi.String("string"),
},
OutboundRouteMap: &network.SubResourceArgs{
Id: pulumi.String("string"),
},
PropagatedRouteTables: &network.PropagatedRouteTableArgs{
Ids: network.SubResourceArray{
&network.SubResourceArgs{
Id: pulumi.String("string"),
},
},
Labels: pulumi.StringArray{
pulumi.String("string"),
},
},
VnetRoutes: &network.VnetRouteArgs{
StaticRoutes: network.StaticRouteArray{
&network.StaticRouteArgs{
AddressPrefixes: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
NextHopIpAddress: pulumi.String("string"),
},
},
StaticRoutesConfig: &network.StaticRoutesConfigArgs{
VnetLocalRouteOverrideCriteria: pulumi.String("string"),
},
},
},
VpnClientAddressPool: &network.AddressSpaceArgs{
AddressPrefixes: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
VirtualHub: &network.SubResourceArgs{
Id: pulumi.String("string"),
},
VpnGatewayScaleUnit: pulumi.Int(0),
VpnServerConfiguration: &network.SubResourceArgs{
Id: pulumi.String("string"),
},
})
var p2sVpnGatewayResource = new P2sVpnGateway("p2sVpnGatewayResource", P2sVpnGatewayArgs.builder()
.resourceGroupName("string")
.customDnsServers("string")
.gatewayName("string")
.id("string")
.isRoutingPreferenceInternet(false)
.location("string")
.p2SConnectionConfigurations(P2SConnectionConfigurationArgs.builder()
.enableInternetSecurity(false)
.id("string")
.name("string")
.routingConfiguration(RoutingConfigurationArgs.builder()
.associatedRouteTable(SubResourceArgs.builder()
.id("string")
.build())
.inboundRouteMap(SubResourceArgs.builder()
.id("string")
.build())
.outboundRouteMap(SubResourceArgs.builder()
.id("string")
.build())
.propagatedRouteTables(PropagatedRouteTableArgs.builder()
.ids(SubResourceArgs.builder()
.id("string")
.build())
.labels("string")
.build())
.vnetRoutes(VnetRouteArgs.builder()
.staticRoutes(StaticRouteArgs.builder()
.addressPrefixes("string")
.name("string")
.nextHopIpAddress("string")
.build())
.staticRoutesConfig(StaticRoutesConfigArgs.builder()
.vnetLocalRouteOverrideCriteria("string")
.build())
.build())
.build())
.vpnClientAddressPool(AddressSpaceArgs.builder()
.addressPrefixes("string")
.build())
.build())
.tags(Map.of("string", "string"))
.virtualHub(SubResourceArgs.builder()
.id("string")
.build())
.vpnGatewayScaleUnit(0)
.vpnServerConfiguration(SubResourceArgs.builder()
.id("string")
.build())
.build());
p2s_vpn_gateway_resource = azure_native.network.P2sVpnGateway("p2sVpnGatewayResource",
resource_group_name="string",
custom_dns_servers=["string"],
gateway_name="string",
id="string",
is_routing_preference_internet=False,
location="string",
p2_s_connection_configurations=[{
"enable_internet_security": False,
"id": "string",
"name": "string",
"routing_configuration": {
"associated_route_table": {
"id": "string",
},
"inbound_route_map": {
"id": "string",
},
"outbound_route_map": {
"id": "string",
},
"propagated_route_tables": {
"ids": [{
"id": "string",
}],
"labels": ["string"],
},
"vnet_routes": {
"static_routes": [{
"address_prefixes": ["string"],
"name": "string",
"next_hop_ip_address": "string",
}],
"static_routes_config": {
"vnet_local_route_override_criteria": "string",
},
},
},
"vpn_client_address_pool": {
"address_prefixes": ["string"],
},
}],
tags={
"string": "string",
},
virtual_hub={
"id": "string",
},
vpn_gateway_scale_unit=0,
vpn_server_configuration={
"id": "string",
})
const p2sVpnGatewayResource = new azure_native.network.P2sVpnGateway("p2sVpnGatewayResource", {
resourceGroupName: "string",
customDnsServers: ["string"],
gatewayName: "string",
id: "string",
isRoutingPreferenceInternet: false,
location: "string",
p2SConnectionConfigurations: [{
enableInternetSecurity: false,
id: "string",
name: "string",
routingConfiguration: {
associatedRouteTable: {
id: "string",
},
inboundRouteMap: {
id: "string",
},
outboundRouteMap: {
id: "string",
},
propagatedRouteTables: {
ids: [{
id: "string",
}],
labels: ["string"],
},
vnetRoutes: {
staticRoutes: [{
addressPrefixes: ["string"],
name: "string",
nextHopIpAddress: "string",
}],
staticRoutesConfig: {
vnetLocalRouteOverrideCriteria: "string",
},
},
},
vpnClientAddressPool: {
addressPrefixes: ["string"],
},
}],
tags: {
string: "string",
},
virtualHub: {
id: "string",
},
vpnGatewayScaleUnit: 0,
vpnServerConfiguration: {
id: "string",
},
});
type: azure-native:network:P2sVpnGateway
properties:
customDnsServers:
- string
gatewayName: string
id: string
isRoutingPreferenceInternet: false
location: string
p2SConnectionConfigurations:
- enableInternetSecurity: false
id: string
name: string
routingConfiguration:
associatedRouteTable:
id: string
inboundRouteMap:
id: string
outboundRouteMap:
id: string
propagatedRouteTables:
ids:
- id: string
labels:
- string
vnetRoutes:
staticRoutes:
- addressPrefixes:
- string
name: string
nextHopIpAddress: string
staticRoutesConfig:
vnetLocalRouteOverrideCriteria: string
vpnClientAddressPool:
addressPrefixes:
- string
resourceGroupName: string
tags:
string: string
virtualHub:
id: string
vpnGatewayScaleUnit: 0
vpnServerConfiguration:
id: string
P2sVpnGateway Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The P2sVpnGateway resource accepts the following input properties:
- Resource
Group stringName - The resource group name of the P2SVpnGateway.
- Custom
Dns List<string>Servers - List of all customer specified DNS servers IP addresses.
- Gateway
Name string - The name of the gateway.
- Id string
- Resource ID.
- Is
Routing boolPreference Internet - Enable Routing Preference property for the Public IP Interface of the P2SVpnGateway.
- Location string
- Resource location.
- P2SConnection
Configurations List<Pulumi.Azure Native. Network. Inputs. P2SConnection Configuration> - List of all p2s connection configurations of the gateway.
- Dictionary<string, string>
- Resource tags.
- Virtual
Hub Pulumi.Azure Native. Network. Inputs. Sub Resource - The VirtualHub to which the gateway belongs.
- Vpn
Gateway intScale Unit - The scale unit for this p2s vpn gateway.
- Vpn
Server Pulumi.Configuration Azure Native. Network. Inputs. Sub Resource - The VpnServerConfiguration to which the p2sVpnGateway is attached to.
- Resource
Group stringName - The resource group name of the P2SVpnGateway.
- Custom
Dns []stringServers - List of all customer specified DNS servers IP addresses.
- Gateway
Name string - The name of the gateway.
- Id string
- Resource ID.
- Is
Routing boolPreference Internet - Enable Routing Preference property for the Public IP Interface of the P2SVpnGateway.
- Location string
- Resource location.
- P2SConnection
Configurations []P2SConnectionConfiguration Args - List of all p2s connection configurations of the gateway.
- map[string]string
- Resource tags.
- Virtual
Hub SubResource Args - The VirtualHub to which the gateway belongs.
- Vpn
Gateway intScale Unit - The scale unit for this p2s vpn gateway.
- Vpn
Server SubConfiguration Resource Args - The VpnServerConfiguration to which the p2sVpnGateway is attached to.
- resource
Group StringName - The resource group name of the P2SVpnGateway.
- custom
Dns List<String>Servers - List of all customer specified DNS servers IP addresses.
- gateway
Name String - The name of the gateway.
- id String
- Resource ID.
- is
Routing BooleanPreference Internet - Enable Routing Preference property for the Public IP Interface of the P2SVpnGateway.
- location String
- Resource location.
- p2SConnection
Configurations List<P2SConnectionConfiguration> - List of all p2s connection configurations of the gateway.
- Map<String,String>
- Resource tags.
- virtual
Hub SubResource - The VirtualHub to which the gateway belongs.
- vpn
Gateway IntegerScale Unit - The scale unit for this p2s vpn gateway.
- vpn
Server SubConfiguration Resource - The VpnServerConfiguration to which the p2sVpnGateway is attached to.
- resource
Group stringName - The resource group name of the P2SVpnGateway.
- custom
Dns string[]Servers - List of all customer specified DNS servers IP addresses.
- gateway
Name string - The name of the gateway.
- id string
- Resource ID.
- is
Routing booleanPreference Internet - Enable Routing Preference property for the Public IP Interface of the P2SVpnGateway.
- location string
- Resource location.
- p2SConnection
Configurations P2SConnectionConfiguration[] - List of all p2s connection configurations of the gateway.
- {[key: string]: string}
- Resource tags.
- virtual
Hub SubResource - The VirtualHub to which the gateway belongs.
- vpn
Gateway numberScale Unit - The scale unit for this p2s vpn gateway.
- vpn
Server SubConfiguration Resource - The VpnServerConfiguration to which the p2sVpnGateway is attached to.
- resource_
group_ strname - The resource group name of the P2SVpnGateway.
- custom_
dns_ Sequence[str]servers - List of all customer specified DNS servers IP addresses.
- gateway_
name str - The name of the gateway.
- id str
- Resource ID.
- is_
routing_ boolpreference_ internet - Enable Routing Preference property for the Public IP Interface of the P2SVpnGateway.
- location str
- Resource location.
- p2_
s_ Sequence[P2SConnectionconnection_ configurations Configuration Args] - List of all p2s connection configurations of the gateway.
- Mapping[str, str]
- Resource tags.
- virtual_
hub SubResource Args - The VirtualHub to which the gateway belongs.
- vpn_
gateway_ intscale_ unit - The scale unit for this p2s vpn gateway.
- vpn_
server_ Subconfiguration Resource Args - The VpnServerConfiguration to which the p2sVpnGateway is attached to.
- resource
Group StringName - The resource group name of the P2SVpnGateway.
- custom
Dns List<String>Servers - List of all customer specified DNS servers IP addresses.
- gateway
Name String - The name of the gateway.
- id String
- Resource ID.
- is
Routing BooleanPreference Internet - Enable Routing Preference property for the Public IP Interface of the P2SVpnGateway.
- location String
- Resource location.
- p2SConnection
Configurations List<Property Map> - List of all p2s connection configurations of the gateway.
- Map<String>
- Resource tags.
- virtual
Hub Property Map - The VirtualHub to which the gateway belongs.
- vpn
Gateway NumberScale Unit - The scale unit for this p2s vpn gateway.
- vpn
Server Property MapConfiguration - The VpnServerConfiguration to which the p2sVpnGateway is attached to.
Outputs
All input properties are implicitly available as output properties. Additionally, the P2sVpnGateway resource produces the following output properties:
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name.
- Provisioning
State string - The provisioning state of the P2S VPN gateway resource.
- Type string
- Resource type.
- Vpn
Client Pulumi.Connection Health Azure Native. Network. Outputs. Vpn Client Connection Health Response - All P2S VPN clients' connection health status.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name.
- Provisioning
State string - The provisioning state of the P2S VPN gateway resource.
- Type string
- Resource type.
- Vpn
Client VpnConnection Health Client Connection Health Response - All P2S VPN clients' connection health status.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name.
- provisioning
State String - The provisioning state of the P2S VPN gateway resource.
- type String
- Resource type.
- vpn
Client VpnConnection Health Client Connection Health Response - All P2S VPN clients' connection health status.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Resource name.
- provisioning
State string - The provisioning state of the P2S VPN gateway resource.
- type string
- Resource type.
- vpn
Client VpnConnection Health Client Connection Health Response - All P2S VPN clients' connection health status.
- etag str
- A unique read-only string that changes whenever the resource is updated.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Resource name.
- provisioning_
state str - The provisioning state of the P2S VPN gateway resource.
- type str
- Resource type.
- vpn_
client_ Vpnconnection_ health Client Connection Health Response - All P2S VPN clients' connection health status.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name.
- provisioning
State String - The provisioning state of the P2S VPN gateway resource.
- type String
- Resource type.
- vpn
Client Property MapConnection Health - All P2S VPN clients' connection health status.
Supporting Types
AddressSpace, AddressSpaceArgs
- 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.
AddressSpaceResponse, AddressSpaceResponseArgs
- 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.
P2SConnectionConfiguration, P2SConnectionConfigurationArgs
- Enable
Internet boolSecurity - Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.
- Id string
- Resource ID.
- Name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Routing
Configuration Pulumi.Azure Native. Network. Inputs. Routing Configuration - The Routing Configuration indicating the associated and propagated route tables on this connection.
- Vpn
Client Pulumi.Address Pool Azure Native. Network. Inputs. Address Space - The reference to the address space resource which represents Address space for P2S VpnClient.
- Enable
Internet boolSecurity - Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.
- Id string
- Resource ID.
- Name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Routing
Configuration RoutingConfiguration - The Routing Configuration indicating the associated and propagated route tables on this connection.
- Vpn
Client AddressAddress Pool Space - The reference to the address space resource which represents Address space for P2S VpnClient.
- enable
Internet BooleanSecurity - Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.
- id String
- Resource ID.
- name String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- routing
Configuration RoutingConfiguration - The Routing Configuration indicating the associated and propagated route tables on this connection.
- vpn
Client AddressAddress Pool Space - The reference to the address space resource which represents Address space for P2S VpnClient.
- enable
Internet booleanSecurity - Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.
- id string
- Resource ID.
- name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- routing
Configuration RoutingConfiguration - The Routing Configuration indicating the associated and propagated route tables on this connection.
- vpn
Client AddressAddress Pool Space - The reference to the address space resource which represents Address space for P2S VpnClient.
- enable_
internet_ boolsecurity - Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.
- id str
- Resource ID.
- name str
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- routing_
configuration RoutingConfiguration - The Routing Configuration indicating the associated and propagated route tables on this connection.
- vpn_
client_ Addressaddress_ pool Space - The reference to the address space resource which represents Address space for P2S VpnClient.
- enable
Internet BooleanSecurity - Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.
- id String
- Resource ID.
- name String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- routing
Configuration Property Map - The Routing Configuration indicating the associated and propagated route tables on this connection.
- vpn
Client Property MapAddress Pool - The reference to the address space resource which represents Address space for P2S VpnClient.
P2SConnectionConfigurationResponse, P2SConnectionConfigurationResponseArgs
- Configuration
Policy List<Pulumi.Group Associations Azure Native. Network. Inputs. Sub Resource Response> - List of Configuration Policy Groups that this P2SConnectionConfiguration is attached to.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Previous
Configuration List<Pulumi.Policy Group Associations Azure Native. Network. Inputs. Vpn Server Configuration Policy Group Response> - List of previous Configuration Policy Groups that this P2SConnectionConfiguration was attached to.
- Provisioning
State string - The provisioning state of the P2SConnectionConfiguration resource.
- Enable
Internet boolSecurity - Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.
- Id string
- Resource ID.
- Name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Routing
Configuration Pulumi.Azure Native. Network. Inputs. Routing Configuration Response - The Routing Configuration indicating the associated and propagated route tables on this connection.
- Vpn
Client Pulumi.Address Pool Azure Native. Network. Inputs. Address Space Response - The reference to the address space resource which represents Address space for P2S VpnClient.
- Configuration
Policy []SubGroup Associations Resource Response - List of Configuration Policy Groups that this P2SConnectionConfiguration is attached to.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Previous
Configuration []VpnPolicy Group Associations Server Configuration Policy Group Response - List of previous Configuration Policy Groups that this P2SConnectionConfiguration was attached to.
- Provisioning
State string - The provisioning state of the P2SConnectionConfiguration resource.
- Enable
Internet boolSecurity - Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.
- Id string
- Resource ID.
- Name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Routing
Configuration RoutingConfiguration Response - The Routing Configuration indicating the associated and propagated route tables on this connection.
- Vpn
Client AddressAddress Pool Space Response - The reference to the address space resource which represents Address space for P2S VpnClient.
- configuration
Policy List<SubGroup Associations Resource Response> - List of Configuration Policy Groups that this P2SConnectionConfiguration is attached to.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- previous
Configuration List<VpnPolicy Group Associations Server Configuration Policy Group Response> - List of previous Configuration Policy Groups that this P2SConnectionConfiguration was attached to.
- provisioning
State String - The provisioning state of the P2SConnectionConfiguration resource.
- enable
Internet BooleanSecurity - Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.
- id String
- Resource ID.
- name String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- routing
Configuration RoutingConfiguration Response - The Routing Configuration indicating the associated and propagated route tables on this connection.
- vpn
Client AddressAddress Pool Space Response - The reference to the address space resource which represents Address space for P2S VpnClient.
- configuration
Policy SubGroup Associations Resource Response[] - List of Configuration Policy Groups that this P2SConnectionConfiguration is attached to.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- previous
Configuration VpnPolicy Group Associations Server Configuration Policy Group Response[] - List of previous Configuration Policy Groups that this P2SConnectionConfiguration was attached to.
- provisioning
State string - The provisioning state of the P2SConnectionConfiguration resource.
- enable
Internet booleanSecurity - Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.
- id string
- Resource ID.
- name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- routing
Configuration RoutingConfiguration Response - The Routing Configuration indicating the associated and propagated route tables on this connection.
- vpn
Client AddressAddress Pool Space Response - The reference to the address space resource which represents Address space for P2S VpnClient.
- configuration_
policy_ Sequence[Subgroup_ associations Resource Response] - List of Configuration Policy Groups that this P2SConnectionConfiguration is attached to.
- etag str
- A unique read-only string that changes whenever the resource is updated.
- previous_
configuration_ Sequence[Vpnpolicy_ group_ associations Server Configuration Policy Group Response] - List of previous Configuration Policy Groups that this P2SConnectionConfiguration was attached to.
- provisioning_
state str - The provisioning state of the P2SConnectionConfiguration resource.
- enable_
internet_ boolsecurity - Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.
- id str
- Resource ID.
- name str
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- routing_
configuration RoutingConfiguration Response - The Routing Configuration indicating the associated and propagated route tables on this connection.
- vpn_
client_ Addressaddress_ pool Space Response - The reference to the address space resource which represents Address space for P2S VpnClient.
- configuration
Policy List<Property Map>Group Associations - List of Configuration Policy Groups that this P2SConnectionConfiguration is attached to.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- previous
Configuration List<Property Map>Policy Group Associations - List of previous Configuration Policy Groups that this P2SConnectionConfiguration was attached to.
- provisioning
State String - The provisioning state of the P2SConnectionConfiguration resource.
- enable
Internet BooleanSecurity - Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.
- id String
- Resource ID.
- name String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- routing
Configuration Property Map - The Routing Configuration indicating the associated and propagated route tables on this connection.
- vpn
Client Property MapAddress Pool - The reference to the address space resource which represents Address space for P2S VpnClient.
PropagatedRouteTable, PropagatedRouteTableArgs
- Ids
List<Pulumi.
Azure Native. Network. Inputs. Sub Resource> - The list of resource ids of all the RouteTables.
- Labels List<string>
- The list of labels.
- Ids
[]Sub
Resource - The list of resource ids of all the RouteTables.
- Labels []string
- The list of labels.
- ids
List<Sub
Resource> - The list of resource ids of all the RouteTables.
- labels List<String>
- The list of labels.
- ids
Sub
Resource[] - The list of resource ids of all the RouteTables.
- labels string[]
- The list of labels.
- ids
Sequence[Sub
Resource] - The list of resource ids of all the RouteTables.
- labels Sequence[str]
- The list of labels.
- ids List<Property Map>
- The list of resource ids of all the RouteTables.
- labels List<String>
- The list of labels.
PropagatedRouteTableResponse, PropagatedRouteTableResponseArgs
- Ids
List<Pulumi.
Azure Native. Network. Inputs. Sub Resource Response> - The list of resource ids of all the RouteTables.
- Labels List<string>
- The list of labels.
- Ids
[]Sub
Resource Response - The list of resource ids of all the RouteTables.
- Labels []string
- The list of labels.
- ids
List<Sub
Resource Response> - The list of resource ids of all the RouteTables.
- labels List<String>
- The list of labels.
- ids
Sub
Resource Response[] - The list of resource ids of all the RouteTables.
- labels string[]
- The list of labels.
- ids
Sequence[Sub
Resource Response] - The list of resource ids of all the RouteTables.
- labels Sequence[str]
- The list of labels.
- ids List<Property Map>
- The list of resource ids of all the RouteTables.
- labels List<String>
- The list of labels.
RoutingConfiguration, RoutingConfigurationArgs
- Associated
Route Pulumi.Table Azure Native. Network. Inputs. Sub Resource - The resource id RouteTable associated with this RoutingConfiguration.
- Inbound
Route Pulumi.Map Azure Native. Network. Inputs. Sub Resource - The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- Outbound
Route Pulumi.Map Azure Native. Network. Inputs. Sub Resource - The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- Propagated
Route Pulumi.Tables Azure Native. Network. Inputs. Propagated Route Table - The list of RouteTables to advertise the routes to.
- Vnet
Routes Pulumi.Azure Native. Network. Inputs. Vnet Route - List of routes that control routing from VirtualHub into a virtual network connection.
- Associated
Route SubTable Resource - The resource id RouteTable associated with this RoutingConfiguration.
- Inbound
Route SubMap Resource - The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- Outbound
Route SubMap Resource - The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- Propagated
Route PropagatedTables Route Table - The list of RouteTables to advertise the routes to.
- Vnet
Routes VnetRoute - List of routes that control routing from VirtualHub into a virtual network connection.
- associated
Route SubTable Resource - The resource id RouteTable associated with this RoutingConfiguration.
- inbound
Route SubMap Resource - The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- outbound
Route SubMap Resource - The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- propagated
Route PropagatedTables Route Table - The list of RouteTables to advertise the routes to.
- vnet
Routes VnetRoute - List of routes that control routing from VirtualHub into a virtual network connection.
- associated
Route SubTable Resource - The resource id RouteTable associated with this RoutingConfiguration.
- inbound
Route SubMap Resource - The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- outbound
Route SubMap Resource - The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- propagated
Route PropagatedTables Route Table - The list of RouteTables to advertise the routes to.
- vnet
Routes VnetRoute - List of routes that control routing from VirtualHub into a virtual network connection.
- associated_
route_ Subtable Resource - The resource id RouteTable associated with this RoutingConfiguration.
- inbound_
route_ Submap Resource - The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- outbound_
route_ Submap Resource - The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- propagated_
route_ Propagatedtables Route Table - The list of RouteTables to advertise the routes to.
- vnet_
routes VnetRoute - List of routes that control routing from VirtualHub into a virtual network connection.
- associated
Route Property MapTable - The resource id RouteTable associated with this RoutingConfiguration.
- inbound
Route Property MapMap - The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- outbound
Route Property MapMap - The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- propagated
Route Property MapTables - The list of RouteTables to advertise the routes to.
- vnet
Routes Property Map - List of routes that control routing from VirtualHub into a virtual network connection.
RoutingConfigurationResponse, RoutingConfigurationResponseArgs
- Associated
Route Pulumi.Table Azure Native. Network. Inputs. Sub Resource Response - The resource id RouteTable associated with this RoutingConfiguration.
- Inbound
Route Pulumi.Map Azure Native. Network. Inputs. Sub Resource Response - The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- Outbound
Route Pulumi.Map Azure Native. Network. Inputs. Sub Resource Response - The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- Propagated
Route Pulumi.Tables Azure Native. Network. Inputs. Propagated Route Table Response - The list of RouteTables to advertise the routes to.
- Vnet
Routes Pulumi.Azure Native. Network. Inputs. Vnet Route Response - List of routes that control routing from VirtualHub into a virtual network connection.
- Associated
Route SubTable Resource Response - The resource id RouteTable associated with this RoutingConfiguration.
- Inbound
Route SubMap Resource Response - The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- Outbound
Route SubMap Resource Response - The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- Propagated
Route PropagatedTables Route Table Response - The list of RouteTables to advertise the routes to.
- Vnet
Routes VnetRoute Response - List of routes that control routing from VirtualHub into a virtual network connection.
- associated
Route SubTable Resource Response - The resource id RouteTable associated with this RoutingConfiguration.
- inbound
Route SubMap Resource Response - The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- outbound
Route SubMap Resource Response - The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- propagated
Route PropagatedTables Route Table Response - The list of RouteTables to advertise the routes to.
- vnet
Routes VnetRoute Response - List of routes that control routing from VirtualHub into a virtual network connection.
- associated
Route SubTable Resource Response - The resource id RouteTable associated with this RoutingConfiguration.
- inbound
Route SubMap Resource Response - The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- outbound
Route SubMap Resource Response - The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- propagated
Route PropagatedTables Route Table Response - The list of RouteTables to advertise the routes to.
- vnet
Routes VnetRoute Response - List of routes that control routing from VirtualHub into a virtual network connection.
- associated_
route_ Subtable Resource Response - The resource id RouteTable associated with this RoutingConfiguration.
- inbound_
route_ Submap Resource Response - The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- outbound_
route_ Submap Resource Response - The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- propagated_
route_ Propagatedtables Route Table Response - The list of RouteTables to advertise the routes to.
- vnet_
routes VnetRoute Response - List of routes that control routing from VirtualHub into a virtual network connection.
- associated
Route Property MapTable - The resource id RouteTable associated with this RoutingConfiguration.
- inbound
Route Property MapMap - The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- outbound
Route Property MapMap - The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- propagated
Route Property MapTables - The list of RouteTables to advertise the routes to.
- vnet
Routes Property Map - List of routes that control routing from VirtualHub into a virtual network connection.
StaticRoute, StaticRouteArgs
- Address
Prefixes List<string> - List of all address prefixes.
- Name string
- The name of the StaticRoute that is unique within a VnetRoute.
- Next
Hop stringIp Address - The ip address of the next hop.
- Address
Prefixes []string - List of all address prefixes.
- Name string
- The name of the StaticRoute that is unique within a VnetRoute.
- Next
Hop stringIp Address - The ip address of the next hop.
- address
Prefixes List<String> - List of all address prefixes.
- name String
- The name of the StaticRoute that is unique within a VnetRoute.
- next
Hop StringIp Address - The ip address of the next hop.
- address
Prefixes string[] - List of all address prefixes.
- name string
- The name of the StaticRoute that is unique within a VnetRoute.
- next
Hop stringIp Address - The ip address of the next hop.
- address_
prefixes Sequence[str] - List of all address prefixes.
- name str
- The name of the StaticRoute that is unique within a VnetRoute.
- next_
hop_ strip_ address - The ip address of the next hop.
- address
Prefixes List<String> - List of all address prefixes.
- name String
- The name of the StaticRoute that is unique within a VnetRoute.
- next
Hop StringIp Address - The ip address of the next hop.
StaticRouteResponse, StaticRouteResponseArgs
- Address
Prefixes List<string> - List of all address prefixes.
- Name string
- The name of the StaticRoute that is unique within a VnetRoute.
- Next
Hop stringIp Address - The ip address of the next hop.
- Address
Prefixes []string - List of all address prefixes.
- Name string
- The name of the StaticRoute that is unique within a VnetRoute.
- Next
Hop stringIp Address - The ip address of the next hop.
- address
Prefixes List<String> - List of all address prefixes.
- name String
- The name of the StaticRoute that is unique within a VnetRoute.
- next
Hop StringIp Address - The ip address of the next hop.
- address
Prefixes string[] - List of all address prefixes.
- name string
- The name of the StaticRoute that is unique within a VnetRoute.
- next
Hop stringIp Address - The ip address of the next hop.
- address_
prefixes Sequence[str] - List of all address prefixes.
- name str
- The name of the StaticRoute that is unique within a VnetRoute.
- next_
hop_ strip_ address - The ip address of the next hop.
- address
Prefixes List<String> - List of all address prefixes.
- name String
- The name of the StaticRoute that is unique within a VnetRoute.
- next
Hop StringIp Address - The ip address of the next hop.
StaticRoutesConfig, StaticRoutesConfigArgs
- Vnet
Local string | Pulumi.Route Override Criteria Azure Native. Network. Vnet Local Route Override Criteria - Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
- Vnet
Local string | VnetRoute Override Criteria Local Route Override Criteria - Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
- vnet
Local String | VnetRoute Override Criteria Local Route Override Criteria - Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
- vnet
Local string | VnetRoute Override Criteria Local Route Override Criteria - Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
- vnet_
local_ str | Vnetroute_ override_ criteria Local Route Override Criteria - Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
- vnet
Local String | "Contains" | "Equal"Route Override Criteria - Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
StaticRoutesConfigResponse, StaticRoutesConfigResponseArgs
- Propagate
Static boolRoutes - Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
- Vnet
Local stringRoute Override Criteria - Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
- Propagate
Static boolRoutes - Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
- Vnet
Local stringRoute Override Criteria - Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
- propagate
Static BooleanRoutes - Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
- vnet
Local StringRoute Override Criteria - Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
- propagate
Static booleanRoutes - Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
- vnet
Local stringRoute Override Criteria - Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
- propagate_
static_ boolroutes - Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
- vnet_
local_ strroute_ override_ criteria - Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
- propagate
Static BooleanRoutes - Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
- vnet
Local StringRoute Override Criteria - Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
SubResource, SubResourceArgs
- Id string
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- Id string
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id String
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id string
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id str
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id String
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
SubResourceResponse, SubResourceResponseArgs
- Id string
- Resource ID.
- Id string
- Resource ID.
- id String
- Resource ID.
- id string
- Resource ID.
- id str
- Resource ID.
- id String
- Resource ID.
VnetLocalRouteOverrideCriteria, VnetLocalRouteOverrideCriteriaArgs
- Contains
- Contains
- Equal
- Equal
- Vnet
Local Route Override Criteria Contains - Contains
- Vnet
Local Route Override Criteria Equal - Equal
- Contains
- Contains
- Equal
- Equal
- Contains
- Contains
- Equal
- Equal
- CONTAINS
- Contains
- EQUAL
- Equal
- "Contains"
- Contains
- "Equal"
- Equal
VnetRoute, VnetRouteArgs
- Static
Routes List<Pulumi.Azure Native. Network. Inputs. Static Route> - List of all Static Routes.
- Static
Routes Pulumi.Config Azure Native. Network. Inputs. Static Routes Config - Configuration for static routes on this HubVnetConnection.
- Static
Routes []StaticRoute - List of all Static Routes.
- Static
Routes StaticConfig Routes Config - Configuration for static routes on this HubVnetConnection.
- static
Routes List<StaticRoute> - List of all Static Routes.
- static
Routes StaticConfig Routes Config - Configuration for static routes on this HubVnetConnection.
- static
Routes StaticRoute[] - List of all Static Routes.
- static
Routes StaticConfig Routes Config - Configuration for static routes on this HubVnetConnection.
- static_
routes Sequence[StaticRoute] - List of all Static Routes.
- static_
routes_ Staticconfig Routes Config - Configuration for static routes on this HubVnetConnection.
- static
Routes List<Property Map> - List of all Static Routes.
- static
Routes Property MapConfig - Configuration for static routes on this HubVnetConnection.
VnetRouteResponse, VnetRouteResponseArgs
- Bgp
Connections List<Pulumi.Azure Native. Network. Inputs. Sub Resource Response> - The list of references to HubBgpConnection objects.
- Static
Routes List<Pulumi.Azure Native. Network. Inputs. Static Route Response> - List of all Static Routes.
- Static
Routes Pulumi.Config Azure Native. Network. Inputs. Static Routes Config Response - Configuration for static routes on this HubVnetConnection.
- Bgp
Connections []SubResource Response - The list of references to HubBgpConnection objects.
- Static
Routes []StaticRoute Response - List of all Static Routes.
- Static
Routes StaticConfig Routes Config Response - Configuration for static routes on this HubVnetConnection.
- bgp
Connections List<SubResource Response> - The list of references to HubBgpConnection objects.
- static
Routes List<StaticRoute Response> - List of all Static Routes.
- static
Routes StaticConfig Routes Config Response - Configuration for static routes on this HubVnetConnection.
- bgp
Connections SubResource Response[] - The list of references to HubBgpConnection objects.
- static
Routes StaticRoute Response[] - List of all Static Routes.
- static
Routes StaticConfig Routes Config Response - Configuration for static routes on this HubVnetConnection.
- bgp_
connections Sequence[SubResource Response] - The list of references to HubBgpConnection objects.
- static_
routes Sequence[StaticRoute Response] - List of all Static Routes.
- static_
routes_ Staticconfig Routes Config Response - Configuration for static routes on this HubVnetConnection.
- bgp
Connections List<Property Map> - The list of references to HubBgpConnection objects.
- static
Routes List<Property Map> - List of all Static Routes.
- static
Routes Property MapConfig - Configuration for static routes on this HubVnetConnection.
VpnClientConnectionHealthResponse, VpnClientConnectionHealthResponseArgs
- Total
Egress doubleBytes Transferred - Total of the Egress Bytes Transferred in this connection.
- Total
Ingress doubleBytes Transferred - Total of the Ingress Bytes Transferred in this P2S Vpn connection.
- Allocated
Ip List<string>Addresses - List of allocated ip addresses to the connected p2s vpn clients.
- Vpn
Client intConnections Count - The total of p2s vpn clients connected at this time to this P2SVpnGateway.
- Total
Egress float64Bytes Transferred - Total of the Egress Bytes Transferred in this connection.
- Total
Ingress float64Bytes Transferred - Total of the Ingress Bytes Transferred in this P2S Vpn connection.
- Allocated
Ip []stringAddresses - List of allocated ip addresses to the connected p2s vpn clients.
- Vpn
Client intConnections Count - The total of p2s vpn clients connected at this time to this P2SVpnGateway.
- total
Egress DoubleBytes Transferred - Total of the Egress Bytes Transferred in this connection.
- total
Ingress DoubleBytes Transferred - Total of the Ingress Bytes Transferred in this P2S Vpn connection.
- allocated
Ip List<String>Addresses - List of allocated ip addresses to the connected p2s vpn clients.
- vpn
Client IntegerConnections Count - The total of p2s vpn clients connected at this time to this P2SVpnGateway.
- total
Egress numberBytes Transferred - Total of the Egress Bytes Transferred in this connection.
- total
Ingress numberBytes Transferred - Total of the Ingress Bytes Transferred in this P2S Vpn connection.
- allocated
Ip string[]Addresses - List of allocated ip addresses to the connected p2s vpn clients.
- vpn
Client numberConnections Count - The total of p2s vpn clients connected at this time to this P2SVpnGateway.
- total_
egress_ floatbytes_ transferred - Total of the Egress Bytes Transferred in this connection.
- total_
ingress_ floatbytes_ transferred - Total of the Ingress Bytes Transferred in this P2S Vpn connection.
- allocated_
ip_ Sequence[str]addresses - List of allocated ip addresses to the connected p2s vpn clients.
- vpn_
client_ intconnections_ count - The total of p2s vpn clients connected at this time to this P2SVpnGateway.
- total
Egress NumberBytes Transferred - Total of the Egress Bytes Transferred in this connection.
- total
Ingress NumberBytes Transferred - Total of the Ingress Bytes Transferred in this P2S Vpn connection.
- allocated
Ip List<String>Addresses - List of allocated ip addresses to the connected p2s vpn clients.
- vpn
Client NumberConnections Count - The total of p2s vpn clients connected at this time to this P2SVpnGateway.
VpnServerConfigurationPolicyGroupMemberResponse, VpnServerConfigurationPolicyGroupMemberResponseArgs
- Attribute
Type string - The Vpn Policy member attribute type.
- Attribute
Value string - The value of Attribute used for this VpnServerConfigurationPolicyGroupMember.
- Name string
- Name of the VpnServerConfigurationPolicyGroupMember.
- Attribute
Type string - The Vpn Policy member attribute type.
- Attribute
Value string - The value of Attribute used for this VpnServerConfigurationPolicyGroupMember.
- Name string
- Name of the VpnServerConfigurationPolicyGroupMember.
- attribute
Type String - The Vpn Policy member attribute type.
- attribute
Value String - The value of Attribute used for this VpnServerConfigurationPolicyGroupMember.
- name String
- Name of the VpnServerConfigurationPolicyGroupMember.
- attribute
Type string - The Vpn Policy member attribute type.
- attribute
Value string - The value of Attribute used for this VpnServerConfigurationPolicyGroupMember.
- name string
- Name of the VpnServerConfigurationPolicyGroupMember.
- attribute_
type str - The Vpn Policy member attribute type.
- attribute_
value str - The value of Attribute used for this VpnServerConfigurationPolicyGroupMember.
- name str
- Name of the VpnServerConfigurationPolicyGroupMember.
- attribute
Type String - The Vpn Policy member attribute type.
- attribute
Value String - The value of Attribute used for this VpnServerConfigurationPolicyGroupMember.
- name String
- Name of the VpnServerConfigurationPolicyGroupMember.
VpnServerConfigurationPolicyGroupResponse, VpnServerConfigurationPolicyGroupResponseArgs
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- P2SConnection
Configurations List<Pulumi.Azure Native. Network. Inputs. Sub Resource Response> - List of references to P2SConnectionConfigurations.
- Provisioning
State string - The provisioning state of the VpnServerConfigurationPolicyGroup resource.
- Type string
- Resource type.
- Id string
- Resource ID.
- Is
Default bool - Shows if this is a Default VpnServerConfigurationPolicyGroup or not.
- Name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Policy
Members List<Pulumi.Azure Native. Network. Inputs. Vpn Server Configuration Policy Group Member Response> - Multiple PolicyMembers for VpnServerConfigurationPolicyGroup.
- Priority int
- Priority for VpnServerConfigurationPolicyGroup.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- P2SConnection
Configurations []SubResource Response - List of references to P2SConnectionConfigurations.
- Provisioning
State string - The provisioning state of the VpnServerConfigurationPolicyGroup resource.
- Type string
- Resource type.
- Id string
- Resource ID.
- Is
Default bool - Shows if this is a Default VpnServerConfigurationPolicyGroup or not.
- Name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Policy
Members []VpnServer Configuration Policy Group Member Response - Multiple PolicyMembers for VpnServerConfigurationPolicyGroup.
- Priority int
- Priority for VpnServerConfigurationPolicyGroup.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- p2SConnection
Configurations List<SubResource Response> - List of references to P2SConnectionConfigurations.
- provisioning
State String - The provisioning state of the VpnServerConfigurationPolicyGroup resource.
- type String
- Resource type.
- id String
- Resource ID.
- is
Default Boolean - Shows if this is a Default VpnServerConfigurationPolicyGroup or not.
- name String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- policy
Members List<VpnServer Configuration Policy Group Member Response> - Multiple PolicyMembers for VpnServerConfigurationPolicyGroup.
- priority Integer
- Priority for VpnServerConfigurationPolicyGroup.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- p2SConnection
Configurations SubResource Response[] - List of references to P2SConnectionConfigurations.
- provisioning
State string - The provisioning state of the VpnServerConfigurationPolicyGroup resource.
- type string
- Resource type.
- id string
- Resource ID.
- is
Default boolean - Shows if this is a Default VpnServerConfigurationPolicyGroup or not.
- name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- policy
Members VpnServer Configuration Policy Group Member Response[] - Multiple PolicyMembers for VpnServerConfigurationPolicyGroup.
- priority number
- Priority for VpnServerConfigurationPolicyGroup.
- etag str
- A unique read-only string that changes whenever the resource is updated.
- p2_
s_ Sequence[Subconnection_ configurations Resource Response] - List of references to P2SConnectionConfigurations.
- provisioning_
state str - The provisioning state of the VpnServerConfigurationPolicyGroup resource.
- type str
- Resource type.
- id str
- Resource ID.
- is_
default bool - Shows if this is a Default VpnServerConfigurationPolicyGroup or not.
- name str
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- policy_
members Sequence[VpnServer Configuration Policy Group Member Response] - Multiple PolicyMembers for VpnServerConfigurationPolicyGroup.
- priority int
- Priority for VpnServerConfigurationPolicyGroup.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- p2SConnection
Configurations List<Property Map> - List of references to P2SConnectionConfigurations.
- provisioning
State String - The provisioning state of the VpnServerConfigurationPolicyGroup resource.
- type String
- Resource type.
- id String
- Resource ID.
- is
Default Boolean - Shows if this is a Default VpnServerConfigurationPolicyGroup or not.
- name String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- policy
Members List<Property Map> - Multiple PolicyMembers for VpnServerConfigurationPolicyGroup.
- priority Number
- Priority for VpnServerConfigurationPolicyGroup.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:network:P2sVpnGateway p2sVpnGateway1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0