Instance

class Instance : KotlinCustomResource

Import

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

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

Properties

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

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

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

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>?

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>?

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

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

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>?

Operator, required for regional scheduling. Optional values:

Link copied to clipboard

Data disk specifications See data_disk below.

Link copied to clipboard
val ensRegionId: Output<String>

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>?

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

Link copied to clipboard
val hostName: Output<String>

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

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

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

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

Link copied to clipboard

The instance billing policy. Optional values:

Link copied to clipboard
val instanceName: Output<String>

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>

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

Link copied to clipboard

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

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>?

The IP type. Value:

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

The key pair name.

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

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

Link copied to clipboard
val netWorkId: Output<String>

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

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

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

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

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

Link copied to clipboard
val paymentType: Output<String>

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

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

The duration of the resource purchase. Value method:

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

The unit of time for purchasing resources. Value:

Link copied to clipboard

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

Whether to assign a public IP identifier. Value:

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Scheduling policy. Optional values:

Link copied to clipboard
val securityId: Output<String>

ID of the security group to which the instance belongs.

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

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>

Status of the instance

Link copied to clipboard

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>>?

The tag bound to the instance

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

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 urn: Output<String>
Link copied to clipboard
val userData: Output<String>?

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>

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