Package com.pulumi.alicloud.vpc
Class NatGatewayArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.alicloud.vpc.NatGatewayArgs
-
public final class NatGatewayArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NatGatewayArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static NatGatewayArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NatGatewayArgs.Builder
builder()
static NatGatewayArgs.Builder
builder(NatGatewayArgs defaults)
java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>
deletionProtection()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
description()
java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>
dryRun()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
eipBindMode()
java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>
force()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
instanceChargeType()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
internetChargeType()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
name()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
natGatewayName()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
natType()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
networkType()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
paymentType()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
period()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
specification()
java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>>>
tags()
com.pulumi.core.Output<java.lang.String>
vpcId()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
vswitchId()
-
-
-
Field Detail
-
Empty
public static final NatGatewayArgs Empty
-
-
Method Detail
-
deletionProtection
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> deletionProtection()
- Returns:
- Whether enable the deletion protection or not. Default value: `false`. - true: Enable deletion protection. - false: Disable deletion protection.
-
description
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
- Returns:
- 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.
-
dryRun
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> dryRun()
- Returns:
- Specifies whether to only precheck this request. Default value: `false`.
-
eipBindMode
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> eipBindMode()
- Returns:
- The EIP binding mode of the NAT gateway. Default value: `MULTI_BINDED`. Valid values:
-
force
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> force()
- Returns:
- Specifies whether to forcefully delete the NAT gateway.
-
instanceChargeType
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> instanceChargeType()
- Returns:
- Field `instance_charge_type` has been deprecated from provider version 1.121.0. New field `payment_type` instead.
-
internetChargeType
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> internetChargeType()
- Returns:
- The internet charge type. Valid values `PayByLcu` and `PayBySpec`. The `PayByLcu` is only support enhanced NAT. **NOTE:** From 1.137.0+, The `PayBySpec` has been deprecated.
-
name
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
- Returns:
- Field `name` has been deprecated from provider version 1.121.0. New field `nat_gateway_name` instead.
-
natGatewayName
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> natGatewayName()
- Returns:
- 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.
-
natType
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> natType()
- Returns:
- The type of NAT gateway. Valid values: `Normal` and `Enhanced`. **NOTE:** From 1.137.0+, The `Normal` has been deprecated.
-
networkType
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> networkType()
- Returns:
- Indicates the type of the created NAT gateway. Valid values `internet` and `intranet`. `internet`: Internet NAT Gateway. `intranet`: VPC NAT Gateway.
-
paymentType
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> paymentType()
- Returns:
- The billing method of the NAT gateway. Valid values are `PayAsYouGo` and `Subscription`. Default to `PayAsYouGo`.
-
period
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> period()
- Returns:
- The duration that you will buy the resource, in month. It is valid when `payment_type` is `Subscription`. Valid values: [1-9, 12, 24, 36]. At present, the provider does not support modify "period" and you can do that via web console. **NOTE:** International station only supports `Subscription`. > **NOTE:** The attribute `period` is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running `pulumi up` will not effect the resource.
-
specification
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> specification()
- Returns:
- The specification of the nat gateway. Valid values are `Small`, `Middle` and `Large`. Effective when `internet_charge_type` is `PayBySpec` and `network_type` is `internet`. Details refer to [Nat Gateway Specification](https://help.aliyun.com/document_detail/203500.html).
-
tags
public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>>> tags()
- Returns:
- The tags of NAT gateway.
-
vpcId
public com.pulumi.core.Output<java.lang.String> vpcId()
- Returns:
- The VPC ID.
-
vswitchId
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> vswitchId()
- Returns:
- The id of VSwitch.
-
builder
public static NatGatewayArgs.Builder builder()
-
builder
public static NatGatewayArgs.Builder builder(NatGatewayArgs defaults)
-
-