Class GatewayArgs
Inherited Members
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.AliCloud.Vpn
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class GatewayArgs : ResourceArgs
Constructors
View SourceGatewayArgs()
Declaration
public GatewayArgs()
Properties
View SourceBandwidth
Declaration
public Input<int> Bandwidth { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Description
The description of the VPN instance.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
EnableIpsec
Enable or Disable IPSec VPN. At least one type of VPN should be enabled.
Declaration
public Input<bool> EnableIpsec { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
EnableSsl
Enable or Disable SSL VPN. At least one type of VPN should be enabled.
Declaration
public Input<bool> EnableSsl { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
InstanceChargeType
The charge type for instance. If it is an international site account, the valid value is PostPaid, otherwise PrePaid. Default to PostPaid.
Declaration
public Input<string> InstanceChargeType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
The name of the VPN. Defaults to null.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Period
The filed is only required while the InstanceChargeType is PrePaid. Valid values: [1-9, 12, 24, 36]. Default to 1.
Declaration
public Input<int> Period { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
SslConnections
The max connections of SSL VPN. Default to 5. The number of connections supported by each account is different. This field is ignored when enable_ssl is false.
Declaration
public Input<int> SslConnections { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
VpcId
The VPN belongs the vpc_id, the field can't be changed.
Declaration
public Input<string> VpcId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
VswitchId
The VPN belongs the vswitch_id, the field can't be changed.
Declaration
public Input<string> VswitchId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |