1. Packages
  2. Azure Native
  3. API Docs
  4. network
  5. P2sVpnGateway
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi

azure-native.network.P2sVpnGateway

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi

    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.

    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 (
    	"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=[azure_native.network.P2SConnectionConfigurationArgs(
            id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1",
            name="P2SConnectionConfig1",
            routing_configuration=azure_native.network.RoutingConfigurationArgs(
                associated_route_table=azure_native.network.SubResourceArgs(
                    id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1",
                ),
                propagated_route_tables=azure_native.network.PropagatedRouteTableArgs(
                    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",
                    ],
                ),
                vnet_routes=azure_native.network.VnetRouteArgs(
                    static_routes=[],
                ),
            ),
            vpn_client_address_pool=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.P2SConnectionConfiguration>
    List of all p2s connection configurations of the gateway.
    Tags Dictionary<string, string>
    Resource tags.
    VirtualHub Pulumi.AzureNative.Network.Inputs.SubResource
    The VirtualHub to which the gateway belongs.
    VpnGatewayScaleUnit int
    The scale unit for this p2s vpn gateway.
    VpnServerConfiguration Pulumi.AzureNative.Network.Inputs.SubResource
    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<P2SConnectionConfiguration>
    List of all p2s connection configurations of the gateway.
    tags Map<String,String>
    Resource tags.
    virtualHub SubResource
    The VirtualHub to which the gateway belongs.
    vpnGatewayScaleUnit Integer
    The scale unit for this p2s vpn gateway.
    vpnServerConfiguration SubResource
    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 P2SConnectionConfiguration[]
    List of all p2s connection configurations of the gateway.
    tags {[key: string]: string}
    Resource tags.
    virtualHub SubResource
    The VirtualHub to which the gateway belongs.
    vpnGatewayScaleUnit number
    The scale unit for this p2s vpn gateway.
    vpnServerConfiguration SubResource
    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, AddressSpaceArgs

    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, AddressSpaceResponseArgs

    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, P2SConnectionConfigurationArgs

    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, P2SConnectionConfigurationResponseArgs

    ConfigurationPolicyGroupAssociations List<Pulumi.AzureNative.Network.Inputs.SubResourceResponse>
    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.
    PreviousConfigurationPolicyGroupAssociations List<Pulumi.AzureNative.Network.Inputs.VpnServerConfigurationPolicyGroupResponse>
    List of previous Configuration Policy Groups that this P2SConnectionConfiguration was attached to.
    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.
    ConfigurationPolicyGroupAssociations []SubResourceResponse
    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.
    PreviousConfigurationPolicyGroupAssociations []VpnServerConfigurationPolicyGroupResponse
    List of previous Configuration Policy Groups that this P2SConnectionConfiguration was attached to.
    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.
    configurationPolicyGroupAssociations List<SubResourceResponse>
    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.
    previousConfigurationPolicyGroupAssociations List<VpnServerConfigurationPolicyGroupResponse>
    List of previous Configuration Policy Groups that this P2SConnectionConfiguration was attached to.
    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.
    configurationPolicyGroupAssociations SubResourceResponse[]
    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.
    previousConfigurationPolicyGroupAssociations VpnServerConfigurationPolicyGroupResponse[]
    List of previous Configuration Policy Groups that this P2SConnectionConfiguration was attached to.
    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.
    configuration_policy_group_associations Sequence[SubResourceResponse]
    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_policy_group_associations Sequence[VpnServerConfigurationPolicyGroupResponse]
    List of previous Configuration Policy Groups that this P2SConnectionConfiguration was attached to.
    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.
    configurationPolicyGroupAssociations List<Property Map>
    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.
    previousConfigurationPolicyGroupAssociations List<Property Map>
    List of previous Configuration Policy Groups that this P2SConnectionConfiguration was attached to.
    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, PropagatedRouteTableArgs

    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, PropagatedRouteTableResponseArgs

    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, RoutingConfigurationArgs

    AssociatedRouteTable Pulumi.AzureNative.Network.Inputs.SubResource
    The resource id RouteTable associated with this RoutingConfiguration.
    InboundRouteMap Pulumi.AzureNative.Network.Inputs.SubResource
    The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
    OutboundRouteMap Pulumi.AzureNative.Network.Inputs.SubResource
    The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
    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.
    InboundRouteMap SubResource
    The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
    OutboundRouteMap SubResource
    The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
    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.
    inboundRouteMap SubResource
    The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
    outboundRouteMap SubResource
    The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
    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.
    inboundRouteMap SubResource
    The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
    outboundRouteMap SubResource
    The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
    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.
    inbound_route_map SubResource
    The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
    outbound_route_map SubResource
    The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
    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.
    inboundRouteMap Property Map
    The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
    outboundRouteMap Property Map
    The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
    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, RoutingConfigurationResponseArgs

    AssociatedRouteTable Pulumi.AzureNative.Network.Inputs.SubResourceResponse
    The resource id RouteTable associated with this RoutingConfiguration.
    InboundRouteMap Pulumi.AzureNative.Network.Inputs.SubResourceResponse
    The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
    OutboundRouteMap Pulumi.AzureNative.Network.Inputs.SubResourceResponse
    The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
    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.
    InboundRouteMap SubResourceResponse
    The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
    OutboundRouteMap SubResourceResponse
    The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
    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.
    inboundRouteMap SubResourceResponse
    The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
    outboundRouteMap SubResourceResponse
    The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
    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.
    inboundRouteMap SubResourceResponse
    The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
    outboundRouteMap SubResourceResponse
    The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
    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.
    inbound_route_map SubResourceResponse
    The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
    outbound_route_map SubResourceResponse
    The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
    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.
    inboundRouteMap Property Map
    The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
    outboundRouteMap Property Map
    The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
    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, StaticRouteArgs

    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, StaticRouteResponseArgs

    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.

    StaticRoutesConfig, StaticRoutesConfigArgs

    VnetLocalRouteOverrideCriteria string | Pulumi.AzureNative.Network.VnetLocalRouteOverrideCriteria
    Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
    VnetLocalRouteOverrideCriteria string | VnetLocalRouteOverrideCriteria
    Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
    vnetLocalRouteOverrideCriteria String | VnetLocalRouteOverrideCriteria
    Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
    vnetLocalRouteOverrideCriteria string | VnetLocalRouteOverrideCriteria
    Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
    vnet_local_route_override_criteria str | VnetLocalRouteOverrideCriteria
    Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
    vnetLocalRouteOverrideCriteria String | "Contains" | "Equal"
    Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.

    StaticRoutesConfigResponse, StaticRoutesConfigResponseArgs

    PropagateStaticRoutes bool
    Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
    VnetLocalRouteOverrideCriteria string
    Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
    PropagateStaticRoutes bool
    Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
    VnetLocalRouteOverrideCriteria string
    Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
    propagateStaticRoutes Boolean
    Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
    vnetLocalRouteOverrideCriteria String
    Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
    propagateStaticRoutes boolean
    Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
    vnetLocalRouteOverrideCriteria string
    Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
    propagate_static_routes bool
    Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
    vnet_local_route_override_criteria str
    Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
    propagateStaticRoutes Boolean
    Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
    vnetLocalRouteOverrideCriteria String
    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
    VnetLocalRouteOverrideCriteriaContains
    Contains
    VnetLocalRouteOverrideCriteriaEqual
    Equal
    Contains
    Contains
    Equal
    Equal
    Contains
    Contains
    Equal
    Equal
    CONTAINS
    Contains
    EQUAL
    Equal
    "Contains"
    Contains
    "Equal"
    Equal

    VnetRoute, VnetRouteArgs

    StaticRoutes []StaticRoute
    List of all Static Routes.
    StaticRoutesConfig StaticRoutesConfig
    Configuration for static routes on this HubVnetConnection.
    staticRoutes List<StaticRoute>
    List of all Static Routes.
    staticRoutesConfig StaticRoutesConfig
    Configuration for static routes on this HubVnetConnection.
    staticRoutes StaticRoute[]
    List of all Static Routes.
    staticRoutesConfig StaticRoutesConfig
    Configuration for static routes on this HubVnetConnection.
    static_routes Sequence[StaticRoute]
    List of all Static Routes.
    static_routes_config StaticRoutesConfig
    Configuration for static routes on this HubVnetConnection.
    staticRoutes List<Property Map>
    List of all Static Routes.
    staticRoutesConfig Property Map
    Configuration for static routes on this HubVnetConnection.

    VnetRouteResponse, VnetRouteResponseArgs

    BgpConnections []SubResourceResponse
    The list of references to HubBgpConnection objects.
    StaticRoutes []StaticRouteResponse
    List of all Static Routes.
    StaticRoutesConfig StaticRoutesConfigResponse
    Configuration for static routes on this HubVnetConnection.
    bgpConnections List<SubResourceResponse>
    The list of references to HubBgpConnection objects.
    staticRoutes List<StaticRouteResponse>
    List of all Static Routes.
    staticRoutesConfig StaticRoutesConfigResponse
    Configuration for static routes on this HubVnetConnection.
    bgpConnections SubResourceResponse[]
    The list of references to HubBgpConnection objects.
    staticRoutes StaticRouteResponse[]
    List of all Static Routes.
    staticRoutesConfig StaticRoutesConfigResponse
    Configuration for static routes on this HubVnetConnection.
    bgp_connections Sequence[SubResourceResponse]
    The list of references to HubBgpConnection objects.
    static_routes Sequence[StaticRouteResponse]
    List of all Static Routes.
    static_routes_config StaticRoutesConfigResponse
    Configuration for static routes on this HubVnetConnection.
    bgpConnections List<Property Map>
    The list of references to HubBgpConnection objects.
    staticRoutes List<Property Map>
    List of all Static Routes.
    staticRoutesConfig Property Map
    Configuration for static routes on this HubVnetConnection.

    VpnClientConnectionHealthResponse, VpnClientConnectionHealthResponseArgs

    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.

    VpnServerConfigurationPolicyGroupMemberResponse, VpnServerConfigurationPolicyGroupMemberResponseArgs

    AttributeType string
    The Vpn Policy member attribute type.
    AttributeValue string
    The value of Attribute used for this VpnServerConfigurationPolicyGroupMember.
    Name string
    Name of the VpnServerConfigurationPolicyGroupMember.
    AttributeType string
    The Vpn Policy member attribute type.
    AttributeValue string
    The value of Attribute used for this VpnServerConfigurationPolicyGroupMember.
    Name string
    Name of the VpnServerConfigurationPolicyGroupMember.
    attributeType String
    The Vpn Policy member attribute type.
    attributeValue String
    The value of Attribute used for this VpnServerConfigurationPolicyGroupMember.
    name String
    Name of the VpnServerConfigurationPolicyGroupMember.
    attributeType string
    The Vpn Policy member attribute type.
    attributeValue 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.
    attributeType String
    The Vpn Policy member attribute type.
    attributeValue 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.
    P2SConnectionConfigurations List<Pulumi.AzureNative.Network.Inputs.SubResourceResponse>
    List of references to P2SConnectionConfigurations.
    ProvisioningState string
    The provisioning state of the VpnServerConfigurationPolicyGroup resource.
    Type string
    Resource type.
    Id string
    Resource ID.
    IsDefault 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.
    PolicyMembers List<Pulumi.AzureNative.Network.Inputs.VpnServerConfigurationPolicyGroupMemberResponse>
    Multiple PolicyMembers for VpnServerConfigurationPolicyGroup.
    Priority int
    Priority for VpnServerConfigurationPolicyGroup.
    Etag string
    A unique read-only string that changes whenever the resource is updated.
    P2SConnectionConfigurations []SubResourceResponse
    List of references to P2SConnectionConfigurations.
    ProvisioningState string
    The provisioning state of the VpnServerConfigurationPolicyGroup resource.
    Type string
    Resource type.
    Id string
    Resource ID.
    IsDefault 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.
    PolicyMembers []VpnServerConfigurationPolicyGroupMemberResponse
    Multiple PolicyMembers for VpnServerConfigurationPolicyGroup.
    Priority int
    Priority for VpnServerConfigurationPolicyGroup.
    etag String
    A unique read-only string that changes whenever the resource is updated.
    p2SConnectionConfigurations List<SubResourceResponse>
    List of references to P2SConnectionConfigurations.
    provisioningState String
    The provisioning state of the VpnServerConfigurationPolicyGroup resource.
    type String
    Resource type.
    id String
    Resource ID.
    isDefault 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.
    policyMembers List<VpnServerConfigurationPolicyGroupMemberResponse>
    Multiple PolicyMembers for VpnServerConfigurationPolicyGroup.
    priority Integer
    Priority for VpnServerConfigurationPolicyGroup.
    etag string
    A unique read-only string that changes whenever the resource is updated.
    p2SConnectionConfigurations SubResourceResponse[]
    List of references to P2SConnectionConfigurations.
    provisioningState string
    The provisioning state of the VpnServerConfigurationPolicyGroup resource.
    type string
    Resource type.
    id string
    Resource ID.
    isDefault 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.
    policyMembers VpnServerConfigurationPolicyGroupMemberResponse[]
    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_connection_configurations Sequence[SubResourceResponse]
    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[VpnServerConfigurationPolicyGroupMemberResponse]
    Multiple PolicyMembers for VpnServerConfigurationPolicyGroup.
    priority int
    Priority for VpnServerConfigurationPolicyGroup.
    etag String
    A unique read-only string that changes whenever the resource is updated.
    p2SConnectionConfigurations List<Property Map>
    List of references to P2SConnectionConfigurations.
    provisioningState String
    The provisioning state of the VpnServerConfigurationPolicyGroup resource.
    type String
    Resource type.
    id String
    Resource ID.
    isDefault 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.
    policyMembers 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} 
    

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi