Package-level declarations

Types

Link copied to clipboard
class CustomImage : KotlinCustomResource

Provides a Simple Application Server Custom Image resource. For information about Simple Application Server Custom Image and how to use it, see What is Custom Image.

Link copied to clipboard
data class CustomImageArgs(val customImageName: Output<String>? = null, val description: Output<String>? = null, val instanceId: Output<String>? = null, val status: Output<String>? = null, val systemSnapshotId: Output<String>? = null) : ConvertibleToJava<CustomImageArgs>

Provides a Simple Application Server Custom Image resource. For information about Simple Application Server Custom Image and how to use it, see What is Custom Image.

Link copied to clipboard
Link copied to clipboard
object CustomImageMapper : ResourceMapper<CustomImage>
Link copied to clipboard
Link copied to clipboard
class FirewallRule : KotlinCustomResource

Provides a Simple Application Server Firewall Rule resource. For information about Simple Application Server Firewall Rule and how to use it, see What is Firewall Rule.

Link copied to clipboard
data class FirewallRuleArgs(val instanceId: Output<String>? = null, val port: Output<String>? = null, val remark: Output<String>? = null, val ruleProtocol: Output<String>? = null) : ConvertibleToJava<FirewallRuleArgs>

Provides a Simple Application Server Firewall Rule resource. For information about Simple Application Server Firewall Rule and how to use it, see What is Firewall Rule.

Link copied to clipboard
Link copied to clipboard
object FirewallRuleMapper : ResourceMapper<FirewallRule>
Link copied to clipboard
Link copied to clipboard
class Instance : KotlinCustomResource

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

Link copied to clipboard
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>

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

Link copied to clipboard
Link copied to clipboard
object InstanceMapper : ResourceMapper<Instance>
Link copied to clipboard
Link copied to clipboard
class Snapshot : KotlinCustomResource

Provides a Simple Application Server Snapshot resource. For information about Simple Application Server Snapshot and how to use it, see What is Snapshot.

Link copied to clipboard
data class SnapshotArgs(val diskId: Output<String>? = null, val snapshotName: Output<String>? = null) : ConvertibleToJava<SnapshotArgs>

Provides a Simple Application Server Snapshot resource. For information about Simple Application Server Snapshot and how to use it, see What is Snapshot.

Link copied to clipboard
Link copied to clipboard
object SnapshotMapper : ResourceMapper<Snapshot>
Link copied to clipboard

Functions

Link copied to clipboard
suspend fun customImage(name: String, block: suspend CustomImageResourceBuilder.() -> Unit): CustomImage
Link copied to clipboard
Link copied to clipboard
suspend fun instance(name: String, block: suspend InstanceResourceBuilder.() -> Unit): Instance
Link copied to clipboard
suspend fun snapshot(name: String, block: suspend SnapshotResourceBuilder.() -> Unit): Snapshot