InstanceArgs

data class InstanceArgs(val autoRenew: Output<Boolean>? = null, val autoRenewPeriod: Output<Int>? = null, val dataDiskSize: Output<Int>? = null, val imageId: Output<String>? = null, val instanceName: Output<String>? = null, val password: Output<String>? = null, val paymentType: Output<String>? = null, val period: Output<Int>? = null, val planId: Output<String>? = null, val status: Output<String>? = null) : ConvertibleToJava<InstanceArgs>

Import

Simple Application Server Instance can be imported using the id, e.g.

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

Constructors

Link copied to clipboard
constructor(autoRenew: Output<Boolean>? = null, autoRenewPeriod: Output<Int>? = null, dataDiskSize: Output<Int>? = null, imageId: Output<String>? = null, instanceName: Output<String>? = null, password: Output<String>? = null, paymentType: Output<String>? = null, period: Output<Int>? = null, planId: Output<String>? = null, status: Output<String>? = null)

Properties

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

Specifies whether to enable auto-renewal. Unit: months. Valid values: true and false.

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

The auto renew period. Valid values: 1,3, 6, 12, 24, 36. NOTE: The attribute auto_renew is valid when the attribute is true.

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

The size of the data disk. Unit: GB. Valid values: 0 to 16380.

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

The ID of the image. You can use the alicloud.simpleapplicationserver.getImages to query the available images in the specified region. The value must be an integral multiple of 20.

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

The name of the simple application server.

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

The password of the simple application server. The password must be 8 to 30 characters in length. It must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include: ( ) ~ ! @ # $ % ^ & * - + = | { } [ ] : ; < > , . ? /.

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

The paymen type of the resource. Valid values: Subscription.

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

The period. Unit: months. Valid values: 1,3, 6, 12, 24, 36.

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

The ID of the plan. You can use the alicloud.simpleapplicationserver.getServerPlans to query all the plans provided by Simple Application Server in the specified region.

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

The status of the simple application server. Valid values: Resetting, Running, Stopped.

Functions

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