InstanceArgs

data class InstanceArgs(val amount: Output<Int>? = null, val autoReleaseTime: Output<String>? = null, val autoRenew: Output<Boolean>? = null, val autoUseCoupon: Output<String>? = null, val billingCycle: Output<String>? = null, val carrier: Output<String>? = null, val dataDisks: Output<List<InstanceDataDiskArgs>>? = null, val ensRegionId: Output<String>? = null, val forceStop: Output<String>? = null, val hostName: Output<String>? = null, val imageId: Output<String>? = null, val includeDataDisks: Output<Boolean>? = null, val instanceChargeStrategy: Output<String>? = null, val instanceName: Output<String>? = null, val instanceType: Output<String>? = null, val internetChargeType: Output<String>? = null, val internetMaxBandwidthOut: Output<Int>? = null, val ipType: Output<String>? = null, val keyPairName: Output<String>? = null, val netDistrictCode: Output<String>? = null, val netWorkId: Output<String>? = null, val password: Output<String>? = null, val passwordInherit: Output<Boolean>? = null, val paymentType: Output<String>? = null, val period: Output<Int>? = null, val periodUnit: Output<String>? = null, val privateIpAddress: Output<String>? = null, val publicIpIdentification: Output<Boolean>? = null, val scheduleAreaLevel: Output<String>? = null, val schedulingPriceStrategy: Output<String>? = null, val schedulingStrategy: Output<String>? = null, val securityId: Output<String>? = null, val spotStrategy: Output<String>? = null, val status: Output<String>? = null, val systemDisk: Output<InstanceSystemDiskArgs>? = null, val tags: Output<Map<String, String>>? = null, val uniqueSuffix: Output<Boolean>? = null, val userData: Output<String>? = null, val vswitchId: Output<String>? = null) : ConvertibleToJava<InstanceArgs>

Import

Ens Instance can be imported using the id, e.g.

$ pulumi import alicloud:ens/instance:Instance example <id>

Constructors

Link copied to clipboard
constructor(amount: Output<Int>? = null, autoReleaseTime: Output<String>? = null, autoRenew: Output<Boolean>? = null, autoUseCoupon: Output<String>? = null, billingCycle: Output<String>? = null, carrier: Output<String>? = null, dataDisks: Output<List<InstanceDataDiskArgs>>? = null, ensRegionId: Output<String>? = null, forceStop: Output<String>? = null, hostName: Output<String>? = null, imageId: Output<String>? = null, includeDataDisks: Output<Boolean>? = null, instanceChargeStrategy: Output<String>? = null, instanceName: Output<String>? = null, instanceType: Output<String>? = null, internetChargeType: Output<String>? = null, internetMaxBandwidthOut: Output<Int>? = null, ipType: Output<String>? = null, keyPairName: Output<String>? = null, netDistrictCode: Output<String>? = null, netWorkId: Output<String>? = null, password: Output<String>? = null, passwordInherit: Output<Boolean>? = null, paymentType: Output<String>? = null, period: Output<Int>? = null, periodUnit: Output<String>? = null, privateIpAddress: Output<String>? = null, publicIpIdentification: Output<Boolean>? = null, scheduleAreaLevel: Output<String>? = null, schedulingPriceStrategy: Output<String>? = null, schedulingStrategy: Output<String>? = null, securityId: Output<String>? = null, spotStrategy: Output<String>? = null, status: Output<String>? = null, systemDisk: Output<InstanceSystemDiskArgs>? = null, tags: Output<Map<String, String>>? = null, uniqueSuffix: Output<Boolean>? = null, userData: Output<String>? = null, vswitchId: Output<String>? = null)

Properties

Link copied to clipboard
val amount: Output<Int>? = null

The number of instances created, with a minimum of 1 and a maximum of 100

Link copied to clipboard
val autoReleaseTime: Output<String>? = null

The automatic release time of the pay-as-you-go instance. According to the ISO 8601 standard, UTC +0 time is used. The format is: 'yyyy-MM-ddTHH:mm:ssZ '.

Link copied to clipboard
val autoRenew: Output<Boolean>? = null

Whether to automatically renew the logo. The default value is false. This parameter is invalid when you pay by volume.

Link copied to clipboard
val autoUseCoupon: Output<String>? = null

Whether to use vouchers. The default is to use. Value:

Link copied to clipboard
val billingCycle: Output<String>? = null

The billing cycle for instance computing resources. Only instance-level pay-as-you-go is supported. Value

Link copied to clipboard
val carrier: Output<String>? = null

Operator, required for regional scheduling. Optional values:

Link copied to clipboard
val dataDisks: Output<List<InstanceDataDiskArgs>>? = null

Data disk specifications See data_disk below.

Link copied to clipboard
val ensRegionId: Output<String>? = null

The node ID. When ScheduleAreaLevel is Region, EnsRegionId is required. When ScheduleAreaLevel is Big,Middle,Small, EnsRegionId is invalid.

Link copied to clipboard
val forceStop: Output<String>? = null

Whether to force the identity when operating the instance. Optional values:

Link copied to clipboard
val hostName: Output<String>? = null

The host name of the instance. Example value: test-HostName

Link copied to clipboard
val imageId: Output<String>? = null

The image ID of the instance. The arm version card cannot be filled in. Other specifications are required. Example value: m-5si16wo6simkt267p8b7h * * * *

Link copied to clipboard
val includeDataDisks: Output<Boolean>? = null

Whether the Payment type of the disk created with the instance is converted.

Link copied to clipboard
val instanceChargeStrategy: Output<String>? = null

The instance billing policy. Optional values:

Link copied to clipboard
val instanceName: Output<String>? = null

The instance name. Example value: test-InstanceName. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-width colons (:), underscores (_), periods (.), or hyphens (-) The default value is the InstanceId of the instance.

Link copied to clipboard
val instanceType: Output<String>? = null

The specification of the instance. Example value: ens.sn1.small

Link copied to clipboard
val internetChargeType: Output<String>? = null

Instance bandwidth billing method. If the billing method can be selected for the first purchase, the subsequent value of this field will be processed by default according to the billing method selected for the first time. Optional values:

Link copied to clipboard
val internetMaxBandwidthOut: Output<Int>? = null

Maximum public network bandwidth. The field type is Long, and the precision may be lost during serialization/deserialization. Please note that the value must not be greater than 9007199254740991

Link copied to clipboard
val ipType: Output<String>? = null

The IP type. Value:

Link copied to clipboard
val keyPairName: Output<String>? = null

The key pair name.

Link copied to clipboard
val netDistrictCode: Output<String>? = null

The area code. Example value: 350000. Required for regional-level scheduling, invalid for node-level scheduling

Link copied to clipboard
val netWorkId: Output<String>? = null

The network ID of the instance. Can only be used in node-level scheduling

Link copied to clipboard
val password: Output<String>? = null

The instance password. At least one of Password, KeyPairName, and PasswordInherit

Link copied to clipboard
val passwordInherit: Output<Boolean>? = null

Whether to use image preset password prompt: Password and KeyPairNamePasswordInherit must be passed

Link copied to clipboard
val paymentType: Output<String>? = null

Instance payment method. Since v1.230.0, you can modify payment_type. Optional values:

Link copied to clipboard
val period: Output<Int>? = null

The duration of the resource purchase. Value method:

Link copied to clipboard
val periodUnit: Output<String>? = null

The unit of time for purchasing resources. Value:

Link copied to clipboard
val privateIpAddress: Output<String>? = null

The private IP address. Can only be used for node-level scheduling. If a private IP address is specified, the number of instances can only be one, and both the private IP address and the vSwitch ID are not empty, the private IP address takes effect.

Link copied to clipboard
val publicIpIdentification: Output<Boolean>? = null

Whether to assign a public IP identifier. Value:

Link copied to clipboard
val scheduleAreaLevel: Output<String>? = null

Scheduling level, through which node-level scheduling or area scheduling is performed. Optional values:

Link copied to clipboard
val schedulingPriceStrategy: Output<String>? = null

Scheduling price policy. If it is not filled in, the default priority is low price. Value:

Link copied to clipboard
val schedulingStrategy: Output<String>? = null

Scheduling policy. Optional values:

Link copied to clipboard
val securityId: Output<String>? = null

ID of the security group to which the instance belongs.

Link copied to clipboard
val spotStrategy: Output<String>? = null

The bidding strategy for pay-as-you-go instances. It takes effect when the value of the 'InstanceChargeType' parameter is set to 'PostPaid. Value range:

Link copied to clipboard
val status: Output<String>? = null

Status of the instance

Link copied to clipboard
val systemDisk: Output<InstanceSystemDiskArgs>? = null

System Disk Specification. SystemDisk is a non-required parameter when InstanceType is x86_pm,x86_bmi,x86_bm,pc_bmi, or arm_bmi. SystemDisk is a required parameter when instanceType is other specification families. See system_disk below.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

The tag bound to the instance

Link copied to clipboard
val uniqueSuffix: Output<Boolean>? = null

Indicates whether to add an ordered suffix to HostName and InstanceName. The ordered suffix starts from 001 and cannot exceed 999.

Link copied to clipboard
val userData: Output<String>? = null

User-defined data, maximum support 16KB. You can pass in the UserData information. The UserData is encoded in Base64 format.

Link copied to clipboard
val vswitchId: Output<String>? = null

The ID of the vSwitch to which the instance belongs. Can only be used in node-level scheduling

Functions

Link copied to clipboard
open override fun toJava(): InstanceArgs