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,
});
}
}
Inherited Members
Namespace: Pulumi.Azure.Network
Assembly: Pulumi.Azure.dll
Syntax
public class PointToPointVpnGateway : CustomResource
Constructors
View SourcePointToPointVpnGateway(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 SourceConnectionConfiguration
A connection_configuration block as defined below.
Declaration
public Output<PointToPointVpnGatewayConnectionConfiguration> ConnectionConfiguration { get; }
Property Value
| Type | Description |
|---|---|
| Output<PointToPointVpnGatewayConnectionConfiguration> |
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> |
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> |
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> |
ScaleUnit
The Scale Unit for this Point-to-Site VPN Gateway.
Declaration
public Output<int> ScaleUnit { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
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>> |
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> |
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 SourceGet(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 |