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 autoRenew: Output<Boolean>?

Whether to automatically renew, default to False, this parameter is invalid when paying by volume.

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

Operator, required for regional level scheduling, invalid for node level scheduling.

Link copied to clipboard

Data disk specifications. See data_disk below.

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

Node id. When ScheduleAreaLevel is Region, EnsRegionId is required. When ScheduleAreaLevel is Big, Middle, Small, EnsRegionId is not required.

Link copied to clipboard
val hostName: Output<String>

Host Name.

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

The Image Id field. If InstanceType is arm_bmi, the image Id is a non-required parameter. If instanceType is another specification value, the image Id is a required parameter.

Link copied to clipboard

Instance billing strategy, instance: instance granularity (prepaid method currently does not support instance), user: by user dimension (not transferred or prepaid method supports user).

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

The instance name. 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. It 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>

Instance specifications type.

Link copied to clipboard

Instance Charge type.it could be BandwidthByDay, 95BandwidthByMonth, PayByBandwidth4thMonth.

Link copied to clipboard

The maximum public network bandwidth.

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

Region code, required for regional level scheduling, invalid for node level scheduling.

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

The password of the instance。It is 8 to 30 characters in length and must contain three types of characters: uppercase and lowercase letters, numbers, and special symbols. The following special symbols can be set: '''()'~! @#$%^& *-_+ =|{}[]:;',.? /'''.

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, Subscription: prepaid, monthly package; PayAsYouGo: Pay as you go.

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

The duration of purchasing resources. If PeriodUnit is not specified, it defaults to purchasing on a monthly basis. Currently, only days and months are supported. If PeriodUnit=Day, Period can only be 3. If PeriodUnit=Monthc, then Period can be 1-9,12.

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

The unit of time for purchasing resources. If PeriodUnit is not specified, it defaults to purchasing by Month. Currently, only days and months are supported. If PeriodUnit=Day, Period can only be 3. If PeriodUnit=Month, then Period can be 1-9,12.

Link copied to clipboard

Whether to allocate public IP. Value:true (default): can be assigned,false: cannot be assigned.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val quantity: Output<String>?

Number of instances.

Link copied to clipboard

Scheduling level, which is used to perform node level or regional scheduling.

Link copied to clipboard

Dispatch price strategy. If left blank, it defaults to prioritizing low prices. Values: PriceLowPriority (priority high price), PriceLowPriority (priority low price).

Link copied to clipboard

When scheduling at the node level, it is Concentrate. When scheduling at the regional level, it is selected according to customer needs. Concentrate: Centralized; Disperse: Disperse.

Link copied to clipboard
val status: Output<String>

the status of the resource.

Link copied to clipboard

The field representing the 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 uniqueSuffix: Output<Boolean>?

Specifies whether to automatically append sequential suffixes to the hostnames specified by the HostName parameter and instance names specified by the InstanceName parameter when you create multiple instances at a time. The sequential suffix ranges from 001 to 999. Valid values: true false Default value: false.

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

User defined data, with a maximum support of 16KB. You can input UserData information. UserData encoded in Base64 format.