Class NatGatewayArgs
Inherited Members
Namespace: Pulumi.AliCloud.Vpc
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class NatGatewayArgs : ResourceArgs
Constructors
View SourceNatGatewayArgs()
Declaration
public NatGatewayArgs()
Properties
View SourceBandwidthPackages
A list of bandwidth packages for the nat gatway. Only support nat gateway created before 00:00 on November 4, 2017. Available in v1.13.0+ and v1.7.1-.
Declaration
public InputList<NatGatewayBandwidthPackageArgs> BandwidthPackages { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<NatGatewayBandwidthPackageArgs> |
Description
Description of the nat gateway, This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Defaults to null.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
InstanceChargeType
The billing method of the nat gateway. Valid values are "PrePaid" and "PostPaid". Default to "PostPaid".
Declaration
public Input<string> InstanceChargeType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
Name of the nat gateway. The value can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with http:// or https://. Defaults to null.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Period
The duration that you will buy the resource, in month. It is valid when instance_charge_type is PrePaid. Default to 1. Valid values: [1-9, 12, 24, 36]. At present, the provider does not support modify "period" and you can do that via web console.
Declaration
public Input<int> Period { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Spec
It has been deprecated from provider version 1.7.1, and new field 'specification' can replace it.
Declaration
public Input<string> Spec { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Specification
The specification of the nat gateway. Valid values are Small, Middle and Large. Default to Small. Details refer to Nat Gateway Specification.
Declaration
public Input<string> Specification { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
VpcId
The VPC ID.
Declaration
public Input<string> VpcId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |