azure-native.network.P2sVpnGateway

Explore with Pulumi AI

P2SVpnGateway Resource. API Version: 2020-11-01.

Example Usage

P2SVpnGatewayPut

using System.Collections.Generic;
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/go/azure/network"
	"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.P2SConnectionConfigurationArgs{
				{
					Id:   pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1"),
					Name: pulumi.String("P2SConnectionConfig1"),
					RoutingConfiguration: {
						AssociatedRouteTable: {
							Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1"),
						},
						PropagatedRouteTables: {
							Ids: network.SubResourceArray{
								{
									Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1"),
								},
								{
									Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2"),
								},
								{
									Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3"),
								},
							},
							Labels: pulumi.StringArray{
								pulumi.String("label1"),
								pulumi.String("label2"),
							},
						},
						VnetRoutes: {
							StaticRoutes: network.StaticRouteArray{},
						},
					},
					VpnClientAddressPool: {
						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 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(Map.ofEntries(
                Map.entry("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1"),
                Map.entry("name", "P2SConnectionConfig1"),
                Map.entry("routingConfiguration", Map.ofEntries(
                    Map.entry("associatedRouteTable", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1")),
                    Map.entry("propagatedRouteTables", Map.ofEntries(
                        Map.entry("ids",                         
                            Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1"),
                            Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2"),
                            Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3")),
                        Map.entry("labels",                         
                            "label1",
                            "label2")
                    )),
                    Map.entry("vnetRoutes", Map.of("staticRoutes", ))
                )),
                Map.entry("vpnClientAddressPool", Map.of("addressPrefixes", "101.3.0.0/16"))
            ))
            .resourceGroupName("rg1")
            .tags(Map.of("key1", "value1"))
            .virtualHub(Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"))
            .vpnGatewayScaleUnit(1)
            .vpnServerConfiguration(Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1"))
            .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",
        "routingConfiguration": {
            "associatedRouteTable": azure_native.network.SubResourceArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1",
            ),
            "propagatedRouteTables": {
                "ids": [
                    azure_native.network.SubResourceArgs(
                        id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1",
                    ),
                    azure_native.network.SubResourceArgs(
                        id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2",
                    ),
                    azure_native.network.SubResourceArgs(
                        id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3",
                    ),
                ],
                "labels": [
                    "label1",
                    "label2",
                ],
            },
            "vnetRoutes": {
                "staticRoutes": [],
            },
        },
        "vpnClientAddressPool": azure_native.network.AddressSpaceArgs(
            address_prefixes=["101.3.0.0/16"],
        ),
    }],
    resource_group_name="rg1",
    tags={
        "key1": "value1",
    },
    virtual_hub=azure_native.network.SubResourceArgs(
        id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1",
    ),
    vpn_gateway_scale_unit=1,
    vpn_server_configuration=azure_native.network.SubResourceArgs(
        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

new P2sVpnGateway(name: string, args: P2sVpnGatewayArgs, opts?: CustomResourceOptions);
@overload
def P2sVpnGateway(resource_name: str,
                  opts: Optional[ResourceOptions] = 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,
                  resource_group_name: Optional[str] = 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)
@overload
def P2sVpnGateway(resource_name: str,
                  args: P2sVpnGatewayArgs,
                  opts: Optional[ResourceOptions] = 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.

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.

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

The P2sVpnGateway resource accepts the following input properties:

ResourceGroupName string

The resource group name of the P2SVpnGateway.

CustomDnsServers List<string>

List of all customer specified DNS servers IP addresses.

GatewayName string

The name of the gateway.

Id string

Resource ID.

IsRoutingPreferenceInternet bool

Enable Routing Preference property for the Public IP Interface of the P2SVpnGateway.

Location string

Resource location.

P2SConnectionConfigurations List<Pulumi.AzureNative.Network.Inputs.P2SConnectionConfigurationArgs>

List of all p2s connection configurations of the gateway.

Tags Dictionary<string, string>

Resource tags.

VirtualHub Pulumi.AzureNative.Network.Inputs.SubResourceArgs

The VirtualHub to which the gateway belongs.

VpnGatewayScaleUnit int

The scale unit for this p2s vpn gateway.

VpnServerConfiguration Pulumi.AzureNative.Network.Inputs.SubResourceArgs

The VpnServerConfiguration to which the p2sVpnGateway is attached to.

ResourceGroupName string

The resource group name of the P2SVpnGateway.

CustomDnsServers []string

List of all customer specified DNS servers IP addresses.

GatewayName string

The name of the gateway.

Id string

Resource ID.

IsRoutingPreferenceInternet bool

Enable Routing Preference property for the Public IP Interface of the P2SVpnGateway.

Location string

Resource location.

P2SConnectionConfigurations []P2SConnectionConfigurationArgs

List of all p2s connection configurations of the gateway.

Tags map[string]string

Resource tags.

VirtualHub SubResourceArgs

The VirtualHub to which the gateway belongs.

VpnGatewayScaleUnit int

The scale unit for this p2s vpn gateway.

VpnServerConfiguration SubResourceArgs

The VpnServerConfiguration to which the p2sVpnGateway is attached to.

resourceGroupName String

The resource group name of the P2SVpnGateway.

customDnsServers List<String>

List of all customer specified DNS servers IP addresses.

gatewayName String

The name of the gateway.

id String

Resource ID.

isRoutingPreferenceInternet Boolean

Enable Routing Preference property for the Public IP Interface of the P2SVpnGateway.

location String

Resource location.

p2SConnectionConfigurations List<P2SConnectionConfigurationArgs>

List of all p2s connection configurations of the gateway.

tags Map<String,String>

Resource tags.

virtualHub SubResourceArgs

The VirtualHub to which the gateway belongs.

vpnGatewayScaleUnit Integer

The scale unit for this p2s vpn gateway.

vpnServerConfiguration SubResourceArgs

The VpnServerConfiguration to which the p2sVpnGateway is attached to.

resourceGroupName string

The resource group name of the P2SVpnGateway.

customDnsServers string[]

List of all customer specified DNS servers IP addresses.

gatewayName string

The name of the gateway.

id string

Resource ID.

isRoutingPreferenceInternet boolean

Enable Routing Preference property for the Public IP Interface of the P2SVpnGateway.

location string

Resource location.

p2SConnectionConfigurations P2SConnectionConfigurationArgs[]

List of all p2s connection configurations of the gateway.

tags {[key: string]: string}

Resource tags.

virtualHub SubResourceArgs

The VirtualHub to which the gateway belongs.

vpnGatewayScaleUnit number

The scale unit for this p2s vpn gateway.

vpnServerConfiguration SubResourceArgs

The VpnServerConfiguration to which the p2sVpnGateway is attached to.

resource_group_name str

The resource group name of the P2SVpnGateway.

custom_dns_servers Sequence[str]

List of all customer specified DNS servers IP addresses.

gateway_name str

The name of the gateway.

id str

Resource ID.

is_routing_preference_internet bool

Enable Routing Preference property for the Public IP Interface of the P2SVpnGateway.

location str

Resource location.

p2_s_connection_configurations Sequence[P2SConnectionConfigurationArgs]

List of all p2s connection configurations of the gateway.

tags Mapping[str, str]

Resource tags.

virtual_hub SubResourceArgs

The VirtualHub to which the gateway belongs.

vpn_gateway_scale_unit int

The scale unit for this p2s vpn gateway.

vpn_server_configuration SubResourceArgs

The VpnServerConfiguration to which the p2sVpnGateway is attached to.

resourceGroupName String

The resource group name of the P2SVpnGateway.

customDnsServers List<String>

List of all customer specified DNS servers IP addresses.

gatewayName String

The name of the gateway.

id String

Resource ID.

isRoutingPreferenceInternet Boolean

Enable Routing Preference property for the Public IP Interface of the P2SVpnGateway.

location String

Resource location.

p2SConnectionConfigurations List<Property Map>

List of all p2s connection configurations of the gateway.

tags Map<String>

Resource tags.

virtualHub Property Map

The VirtualHub to which the gateway belongs.

vpnGatewayScaleUnit Number

The scale unit for this p2s vpn gateway.

vpnServerConfiguration Property Map

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.

ProvisioningState string

The provisioning state of the P2S VPN gateway resource.

Type string

Resource type.

VpnClientConnectionHealth Pulumi.AzureNative.Network.Outputs.VpnClientConnectionHealthResponse

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.

ProvisioningState string

The provisioning state of the P2S VPN gateway resource.

Type string

Resource type.

VpnClientConnectionHealth VpnClientConnectionHealthResponse

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.

provisioningState String

The provisioning state of the P2S VPN gateway resource.

type String

Resource type.

vpnClientConnectionHealth VpnClientConnectionHealthResponse

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.

provisioningState string

The provisioning state of the P2S VPN gateway resource.

type string

Resource type.

vpnClientConnectionHealth VpnClientConnectionHealthResponse

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_connection_health VpnClientConnectionHealthResponse

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.

provisioningState String

The provisioning state of the P2S VPN gateway resource.

type String

Resource type.

vpnClientConnectionHealth Property Map

All P2S VPN clients' connection health status.

Supporting Types

AddressSpace

AddressPrefixes List<string>

A list of address blocks reserved for this virtual network in CIDR notation.

AddressPrefixes []string

A list of address blocks reserved for this virtual network in CIDR notation.

addressPrefixes List<String>

A list of address blocks reserved for this virtual network in CIDR notation.

addressPrefixes string[]

A list of address blocks reserved for this virtual network in CIDR notation.

address_prefixes Sequence[str]

A list of address blocks reserved for this virtual network in CIDR notation.

addressPrefixes List<String>

A list of address blocks reserved for this virtual network in CIDR notation.

AddressSpaceResponse

AddressPrefixes List<string>

A list of address blocks reserved for this virtual network in CIDR notation.

AddressPrefixes []string

A list of address blocks reserved for this virtual network in CIDR notation.

addressPrefixes List<String>

A list of address blocks reserved for this virtual network in CIDR notation.

addressPrefixes string[]

A list of address blocks reserved for this virtual network in CIDR notation.

address_prefixes Sequence[str]

A list of address blocks reserved for this virtual network in CIDR notation.

addressPrefixes List<String>

A list of address blocks reserved for this virtual network in CIDR notation.

P2SConnectionConfiguration

EnableInternetSecurity bool

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.

RoutingConfiguration Pulumi.AzureNative.Network.Inputs.RoutingConfiguration

The Routing Configuration indicating the associated and propagated route tables on this connection.

VpnClientAddressPool Pulumi.AzureNative.Network.Inputs.AddressSpace

The reference to the address space resource which represents Address space for P2S VpnClient.

EnableInternetSecurity bool

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.

RoutingConfiguration RoutingConfiguration

The Routing Configuration indicating the associated and propagated route tables on this connection.

VpnClientAddressPool AddressSpace

The reference to the address space resource which represents Address space for P2S VpnClient.

enableInternetSecurity Boolean

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.

routingConfiguration RoutingConfiguration

The Routing Configuration indicating the associated and propagated route tables on this connection.

vpnClientAddressPool AddressSpace

The reference to the address space resource which represents Address space for P2S VpnClient.

enableInternetSecurity boolean

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.

routingConfiguration RoutingConfiguration

The Routing Configuration indicating the associated and propagated route tables on this connection.

vpnClientAddressPool AddressSpace

The reference to the address space resource which represents Address space for P2S VpnClient.

enable_internet_security bool

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_address_pool AddressSpace

The reference to the address space resource which represents Address space for P2S VpnClient.

enableInternetSecurity Boolean

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.

routingConfiguration Property Map

The Routing Configuration indicating the associated and propagated route tables on this connection.

vpnClientAddressPool Property Map

The reference to the address space resource which represents Address space for P2S VpnClient.

P2SConnectionConfigurationResponse

Etag string

A unique read-only string that changes whenever the resource is updated.

ProvisioningState string

The provisioning state of the P2SConnectionConfiguration resource.

EnableInternetSecurity bool

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.

RoutingConfiguration Pulumi.AzureNative.Network.Inputs.RoutingConfigurationResponse

The Routing Configuration indicating the associated and propagated route tables on this connection.

VpnClientAddressPool Pulumi.AzureNative.Network.Inputs.AddressSpaceResponse

The reference to the address space resource which represents Address space for P2S VpnClient.

Etag string

A unique read-only string that changes whenever the resource is updated.

ProvisioningState string

The provisioning state of the P2SConnectionConfiguration resource.

EnableInternetSecurity bool

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.

RoutingConfiguration RoutingConfigurationResponse

The Routing Configuration indicating the associated and propagated route tables on this connection.

VpnClientAddressPool AddressSpaceResponse

The reference to the address space resource which represents Address space for P2S VpnClient.

etag String

A unique read-only string that changes whenever the resource is updated.

provisioningState String

The provisioning state of the P2SConnectionConfiguration resource.

enableInternetSecurity Boolean

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.

routingConfiguration RoutingConfigurationResponse

The Routing Configuration indicating the associated and propagated route tables on this connection.

vpnClientAddressPool AddressSpaceResponse

The reference to the address space resource which represents Address space for P2S VpnClient.

etag string

A unique read-only string that changes whenever the resource is updated.

provisioningState string

The provisioning state of the P2SConnectionConfiguration resource.

enableInternetSecurity boolean

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.

routingConfiguration RoutingConfigurationResponse

The Routing Configuration indicating the associated and propagated route tables on this connection.

vpnClientAddressPool AddressSpaceResponse

The reference to the address space resource which represents Address space for P2S VpnClient.

etag str

A unique read-only string that changes whenever the resource is updated.

provisioning_state str

The provisioning state of the P2SConnectionConfiguration resource.

enable_internet_security bool

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 RoutingConfigurationResponse

The Routing Configuration indicating the associated and propagated route tables on this connection.

vpn_client_address_pool AddressSpaceResponse

The reference to the address space resource which represents Address space for P2S VpnClient.

etag String

A unique read-only string that changes whenever the resource is updated.

provisioningState String

The provisioning state of the P2SConnectionConfiguration resource.

enableInternetSecurity Boolean

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.

routingConfiguration Property Map

The Routing Configuration indicating the associated and propagated route tables on this connection.

vpnClientAddressPool Property Map

The reference to the address space resource which represents Address space for P2S VpnClient.

PropagatedRouteTable

Ids List<Pulumi.AzureNative.Network.Inputs.SubResource>

The list of resource ids of all the RouteTables.

Labels List<string>

The list of labels.

Ids []SubResource

The list of resource ids of all the RouteTables.

Labels []string

The list of labels.

ids List<SubResource>

The list of resource ids of all the RouteTables.

labels List<String>

The list of labels.

ids SubResource[]

The list of resource ids of all the RouteTables.

labels string[]

The list of labels.

ids Sequence[SubResource]

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

Ids List<Pulumi.AzureNative.Network.Inputs.SubResourceResponse>

The list of resource ids of all the RouteTables.

Labels List<string>

The list of labels.

Ids []SubResourceResponse

The list of resource ids of all the RouteTables.

Labels []string

The list of labels.

ids List<SubResourceResponse>

The list of resource ids of all the RouteTables.

labels List<String>

The list of labels.

ids SubResourceResponse[]

The list of resource ids of all the RouteTables.

labels string[]

The list of labels.

ids Sequence[SubResourceResponse]

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

AssociatedRouteTable Pulumi.AzureNative.Network.Inputs.SubResource

The resource id RouteTable associated with this RoutingConfiguration.

PropagatedRouteTables Pulumi.AzureNative.Network.Inputs.PropagatedRouteTable

The list of RouteTables to advertise the routes to.

VnetRoutes Pulumi.AzureNative.Network.Inputs.VnetRoute

List of routes that control routing from VirtualHub into a virtual network connection.

AssociatedRouteTable SubResource

The resource id RouteTable associated with this RoutingConfiguration.

PropagatedRouteTables PropagatedRouteTable

The list of RouteTables to advertise the routes to.

VnetRoutes VnetRoute

List of routes that control routing from VirtualHub into a virtual network connection.

associatedRouteTable SubResource

The resource id RouteTable associated with this RoutingConfiguration.

propagatedRouteTables PropagatedRouteTable

The list of RouteTables to advertise the routes to.

vnetRoutes VnetRoute

List of routes that control routing from VirtualHub into a virtual network connection.

associatedRouteTable SubResource

The resource id RouteTable associated with this RoutingConfiguration.

propagatedRouteTables PropagatedRouteTable

The list of RouteTables to advertise the routes to.

vnetRoutes VnetRoute

List of routes that control routing from VirtualHub into a virtual network connection.

associated_route_table SubResource

The resource id RouteTable associated with this RoutingConfiguration.

propagated_route_tables PropagatedRouteTable

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.

associatedRouteTable Property Map

The resource id RouteTable associated with this RoutingConfiguration.

propagatedRouteTables Property Map

The list of RouteTables to advertise the routes to.

vnetRoutes Property Map

List of routes that control routing from VirtualHub into a virtual network connection.

RoutingConfigurationResponse

AssociatedRouteTable Pulumi.AzureNative.Network.Inputs.SubResourceResponse

The resource id RouteTable associated with this RoutingConfiguration.

PropagatedRouteTables Pulumi.AzureNative.Network.Inputs.PropagatedRouteTableResponse

The list of RouteTables to advertise the routes to.

VnetRoutes Pulumi.AzureNative.Network.Inputs.VnetRouteResponse

List of routes that control routing from VirtualHub into a virtual network connection.

AssociatedRouteTable SubResourceResponse

The resource id RouteTable associated with this RoutingConfiguration.

PropagatedRouteTables PropagatedRouteTableResponse

The list of RouteTables to advertise the routes to.

VnetRoutes VnetRouteResponse

List of routes that control routing from VirtualHub into a virtual network connection.

associatedRouteTable SubResourceResponse

The resource id RouteTable associated with this RoutingConfiguration.

propagatedRouteTables PropagatedRouteTableResponse

The list of RouteTables to advertise the routes to.

vnetRoutes VnetRouteResponse

List of routes that control routing from VirtualHub into a virtual network connection.

associatedRouteTable SubResourceResponse

The resource id RouteTable associated with this RoutingConfiguration.

propagatedRouteTables PropagatedRouteTableResponse

The list of RouteTables to advertise the routes to.

vnetRoutes VnetRouteResponse

List of routes that control routing from VirtualHub into a virtual network connection.

associated_route_table SubResourceResponse

The resource id RouteTable associated with this RoutingConfiguration.

propagated_route_tables PropagatedRouteTableResponse

The list of RouteTables to advertise the routes to.

vnet_routes VnetRouteResponse

List of routes that control routing from VirtualHub into a virtual network connection.

associatedRouteTable Property Map

The resource id RouteTable associated with this RoutingConfiguration.

propagatedRouteTables Property Map

The list of RouteTables to advertise the routes to.

vnetRoutes Property Map

List of routes that control routing from VirtualHub into a virtual network connection.

StaticRoute

AddressPrefixes List<string>

List of all address prefixes.

Name string

The name of the StaticRoute that is unique within a VnetRoute.

NextHopIpAddress string

The ip address of the next hop.

AddressPrefixes []string

List of all address prefixes.

Name string

The name of the StaticRoute that is unique within a VnetRoute.

NextHopIpAddress string

The ip address of the next hop.

addressPrefixes List<String>

List of all address prefixes.

name String

The name of the StaticRoute that is unique within a VnetRoute.

nextHopIpAddress String

The ip address of the next hop.

addressPrefixes string[]

List of all address prefixes.

name string

The name of the StaticRoute that is unique within a VnetRoute.

nextHopIpAddress string

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_ip_address str

The ip address of the next hop.

addressPrefixes List<String>

List of all address prefixes.

name String

The name of the StaticRoute that is unique within a VnetRoute.

nextHopIpAddress String

The ip address of the next hop.

StaticRouteResponse

AddressPrefixes List<string>

List of all address prefixes.

Name string

The name of the StaticRoute that is unique within a VnetRoute.

NextHopIpAddress string

The ip address of the next hop.

AddressPrefixes []string

List of all address prefixes.

Name string

The name of the StaticRoute that is unique within a VnetRoute.

NextHopIpAddress string

The ip address of the next hop.

addressPrefixes List<String>

List of all address prefixes.

name String

The name of the StaticRoute that is unique within a VnetRoute.

nextHopIpAddress String

The ip address of the next hop.

addressPrefixes string[]

List of all address prefixes.

name string

The name of the StaticRoute that is unique within a VnetRoute.

nextHopIpAddress string

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_ip_address str

The ip address of the next hop.

addressPrefixes List<String>

List of all address prefixes.

name String

The name of the StaticRoute that is unique within a VnetRoute.

nextHopIpAddress String

The ip address of the next hop.

SubResource

Id string

Resource Id.

Id string

Resource Id.

id String

Resource Id.

id string

Resource Id.

id str

Resource Id.

id String

Resource Id.

SubResourceResponse

Id string

Resource ID.

Id string

Resource ID.

id String

Resource ID.

id string

Resource ID.

id str

Resource ID.

id String

Resource ID.

VnetRoute

StaticRoutes []StaticRoute

List of all Static Routes.

staticRoutes List<StaticRoute>

List of all Static Routes.

staticRoutes StaticRoute[]

List of all Static Routes.

static_routes Sequence[StaticRoute]

List of all Static Routes.

staticRoutes List<Property Map>

List of all Static Routes.

VnetRouteResponse

StaticRoutes []StaticRouteResponse

List of all Static Routes.

staticRoutes List<StaticRouteResponse>

List of all Static Routes.

staticRoutes StaticRouteResponse[]

List of all Static Routes.

staticRoutes List<Property Map>

List of all Static Routes.

VpnClientConnectionHealthResponse

TotalEgressBytesTransferred double

Total of the Egress Bytes Transferred in this connection.

TotalIngressBytesTransferred double

Total of the Ingress Bytes Transferred in this P2S Vpn connection.

AllocatedIpAddresses List<string>

List of allocated ip addresses to the connected p2s vpn clients.

VpnClientConnectionsCount int

The total of p2s vpn clients connected at this time to this P2SVpnGateway.

TotalEgressBytesTransferred float64

Total of the Egress Bytes Transferred in this connection.

TotalIngressBytesTransferred float64

Total of the Ingress Bytes Transferred in this P2S Vpn connection.

AllocatedIpAddresses []string

List of allocated ip addresses to the connected p2s vpn clients.

VpnClientConnectionsCount int

The total of p2s vpn clients connected at this time to this P2SVpnGateway.

totalEgressBytesTransferred Double

Total of the Egress Bytes Transferred in this connection.

totalIngressBytesTransferred Double

Total of the Ingress Bytes Transferred in this P2S Vpn connection.

allocatedIpAddresses List<String>

List of allocated ip addresses to the connected p2s vpn clients.

vpnClientConnectionsCount Integer

The total of p2s vpn clients connected at this time to this P2SVpnGateway.

totalEgressBytesTransferred number

Total of the Egress Bytes Transferred in this connection.

totalIngressBytesTransferred number

Total of the Ingress Bytes Transferred in this P2S Vpn connection.

allocatedIpAddresses string[]

List of allocated ip addresses to the connected p2s vpn clients.

vpnClientConnectionsCount number

The total of p2s vpn clients connected at this time to this P2SVpnGateway.

total_egress_bytes_transferred float

Total of the Egress Bytes Transferred in this connection.

total_ingress_bytes_transferred float

Total of the Ingress Bytes Transferred in this P2S Vpn connection.

allocated_ip_addresses Sequence[str]

List of allocated ip addresses to the connected p2s vpn clients.

vpn_client_connections_count int

The total of p2s vpn clients connected at this time to this P2SVpnGateway.

totalEgressBytesTransferred Number

Total of the Egress Bytes Transferred in this connection.

totalIngressBytesTransferred Number

Total of the Ingress Bytes Transferred in this P2S Vpn connection.

allocatedIpAddresses List<String>

List of allocated ip addresses to the connected p2s vpn clients.

vpnClientConnectionsCount Number

The total of p2s vpn clients connected at this time to this P2SVpnGateway.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:network:P2sVpnGateway p2sVpnGateway1 /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1 

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0