InstanceArgs

data class InstanceArgs(val autoRenew: Output<Boolean>? = null, val carrier: Output<String>? = null, val dataDisks: Output<List<InstanceDataDiskArgs>>? = null, val ensRegionId: Output<String>? = null, val hostName: Output<String>? = null, val imageId: Output<String>? = 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 netDistrictCode: 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 publicIpIdentification: Output<Boolean>? = null, val quantity: Output<String>? = null, val scheduleAreaLevel: Output<String>? = null, val schedulingPriceStrategy: Output<String>? = null, val schedulingStrategy: Output<String>? = null, val systemDisk: Output<InstanceSystemDiskArgs>? = null, val uniqueSuffix: Output<Boolean>? = null, val userData: 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
fun InstanceArgs(autoRenew: Output<Boolean>? = null, carrier: Output<String>? = null, dataDisks: Output<List<InstanceDataDiskArgs>>? = null, ensRegionId: Output<String>? = null, hostName: Output<String>? = null, imageId: Output<String>? = null, instanceChargeStrategy: Output<String>? = null, instanceName: Output<String>? = null, instanceType: Output<String>? = null, internetChargeType: Output<String>? = null, internetMaxBandwidthOut: Output<Int>? = null, netDistrictCode: Output<String>? = null, password: Output<String>? = null, passwordInherit: Output<Boolean>? = null, paymentType: Output<String>? = null, period: Output<Int>? = null, periodUnit: Output<String>? = null, publicIpIdentification: Output<Boolean>? = null, quantity: Output<String>? = null, scheduleAreaLevel: Output<String>? = null, schedulingPriceStrategy: Output<String>? = null, schedulingStrategy: Output<String>? = null, systemDisk: Output<InstanceSystemDiskArgs>? = null, uniqueSuffix: Output<Boolean>? = null, userData: Output<String>? = null)

Functions

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

Properties

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

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

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

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

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

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

Host Name.

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

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
val instanceChargeStrategy: Output<String>? = null

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

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

Instance specifications type.

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

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

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

The maximum public network bandwidth.

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

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

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

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

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

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

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
val publicIpIdentification: Output<Boolean>? = null

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

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

Number of instances.

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

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

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

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
val schedulingStrategy: Output<String>? = null

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 systemDisk: Output<InstanceSystemDiskArgs>? = null

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

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 userData: Output<String>? = null

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