Show / Hide Table of Contents

Class PointToPointVpnGateway

Manages a Point-to-Site VPN Gateway.

Example Usage

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
public MyStack()
{
    var example = new Azure.Network.PointToPointVpnGateway("example", new Azure.Network.PointToPointVpnGatewayArgs
    {
        Location = azurerm_resource_group.Example.Location,
        ResourceGroupName = azurerm_resource_group.Example.Resource_group_name,
        VirtualHubId = azurerm_virtual_hub.Example.Id,
        VpnServerConfigurationId = azurerm_vpn_server_configuration.Example.Id,
        ScaleUnit = 1,
    });
}

}
Inheritance
System.Object
Resource
CustomResource
PointToPointVpnGateway
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.Network
Assembly: Pulumi.Azure.dll
Syntax
public class PointToPointVpnGateway : CustomResource

Constructors

View Source

PointToPointVpnGateway(String, PointToPointVpnGatewayArgs, CustomResourceOptions)

Create a PointToPointVpnGateway resource with the given unique name, arguments, and options.

Declaration
public PointToPointVpnGateway(string name, PointToPointVpnGatewayArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

PointToPointVpnGatewayArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

ConnectionConfiguration

A connection_configuration block as defined below.

Declaration
public Output<PointToPointVpnGatewayConnectionConfiguration> ConnectionConfiguration { get; }
Property Value
Type Description
Output<PointToPointVpnGatewayConnectionConfiguration>
View Source

Location

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

Declaration
public Output<string> Location { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

Specifies the name of the Point-to-Site VPN Gateway. Changing this forces a new resource to be created.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

ResourceGroupName

The name of the resource group in which to create the Point-to-Site VPN Gateway. Changing this forces a new resource to be created.

Declaration
public Output<string> ResourceGroupName { get; }
Property Value
Type Description
Output<System.String>
View Source

ScaleUnit

The Scale Unit for this Point-to-Site VPN Gateway.

Declaration
public Output<int> ScaleUnit { get; }
Property Value
Type Description
Output<System.Int32>
View Source

Tags

A mapping of tags to assign to the Point-to-Site VPN Gateway.

Declaration
public Output<ImmutableDictionary<string, string>> Tags { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>>
View Source

VirtualHubId

The ID of the Virtual Hub where this Point-to-Site VPN Gateway should exist. Changing this forces a new resource to be created.

Declaration
public Output<string> VirtualHubId { get; }
Property Value
Type Description
Output<System.String>
View Source

VpnServerConfigurationId

The ID of the VPN Server Configuration which this Point-to-Site VPN Gateway should use. Changing this forces a new resource to be created.

Declaration
public Output<string> VpnServerConfigurationId { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, PointToPointVpnGatewayState, CustomResourceOptions)

Get an existing PointToPointVpnGateway resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static PointToPointVpnGateway Get(string name, Input<string> id, PointToPointVpnGatewayState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

PointToPointVpnGatewayState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
PointToPointVpnGateway
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.