Package-level declarations

Types

Link copied to clipboard
class Disk : KotlinCustomResource

Provides a ENS Disk resource. The disk. When you use it for the first time, please contact the product classmates to add a resource whitelist. For information about ENS Disk and how to use it, see What is Disk.

Link copied to clipboard
data class DiskArgs(val category: Output<String>? = null, val diskName: Output<String>? = null, val encrypted: Output<Boolean>? = null, val ensRegionId: Output<String>? = null, val kmsKeyId: Output<String>? = null, val paymentType: Output<String>? = null, val size: Output<Int>? = null, val snapshotId: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<DiskArgs>

Provides a ENS Disk resource. The disk. When you use it for the first time, please contact the product classmates to add a resource whitelist. For information about ENS Disk and how to use it, see What is Disk.

Link copied to clipboard

Builder for DiskArgs.

Link copied to clipboard
class DiskInstanceAttachment : KotlinCustomResource

Provides a ENS Disk Instance Attachment resource. Disk instance mount. For information about ENS Disk Instance Attachment and how to use it, see What is Disk Instance Attachment.

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

Provides a ENS Disk Instance Attachment resource. Disk instance mount. For information about ENS Disk Instance Attachment and how to use it, see What is Disk Instance Attachment.

Link copied to clipboard
Link copied to clipboard
object DiskMapper : ResourceMapper<Disk>
Link copied to clipboard

Builder for Disk.

Link copied to clipboard
class Eip : KotlinCustomResource

Provides a ENS Eip resource. Edge elastic public network IP. When you use it for the first time, please contact the product classmates to add a resource whitelist. For information about ENS Eip and how to use it, see What is Eip.

Link copied to clipboard
data class EipArgs(val bandwidth: Output<Int>? = null, val description: Output<String>? = null, val eipName: Output<String>? = null, val ensRegionId: Output<String>? = null, val internetChargeType: Output<String>? = null, val isp: Output<String>? = null, val paymentType: Output<String>? = null) : ConvertibleToJava<EipArgs>

Provides a ENS Eip resource. Edge elastic public network IP. When you use it for the first time, please contact the product classmates to add a resource whitelist. For information about ENS Eip and how to use it, see What is Eip.

Link copied to clipboard

Builder for EipArgs.

Link copied to clipboard
class EipInstanceAttachment : KotlinCustomResource

Provides a Ens Eip Instance Attachment resource. Bind an EIP to an instance. For information about Ens Eip Instance Attachment and how to use it, see What is Eip Instance Attachment.

Link copied to clipboard
data class EipInstanceAttachmentArgs(val allocationId: Output<String>? = null, val instanceId: Output<String>? = null, val instanceType: Output<String>? = null, val standby: Output<Boolean>? = null) : ConvertibleToJava<EipInstanceAttachmentArgs>

Provides a Ens Eip Instance Attachment resource. Bind an EIP to an instance. For information about Ens Eip Instance Attachment and how to use it, see What is Eip Instance Attachment.

Link copied to clipboard
Link copied to clipboard
object EipMapper : ResourceMapper<Eip>
Link copied to clipboard

Builder for Eip.

Link copied to clipboard
Link copied to clipboard
class Image : KotlinCustomResource

Provides a ENS Image resource. For information about ENS Image and how to use it, see What is Image.

Link copied to clipboard
data class ImageArgs(val deleteAfterImageUpload: Output<String>? = null, val imageName: Output<String>? = null, val instanceId: Output<String>? = null, val targetOssRegionId: Output<String>? = null) : ConvertibleToJava<ImageArgs>

Provides a ENS Image resource. For information about ENS Image and how to use it, see What is Image.

Link copied to clipboard

Builder for ImageArgs.

Link copied to clipboard
object ImageMapper : ResourceMapper<Image>
Link copied to clipboard

Builder for Image.

Link copied to clipboard
class Instance : KotlinCustomResource

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

Link copied to clipboard
data class InstanceArgs(val amount: Output<Int>? = null, val autoReleaseTime: Output<String>? = null, val autoRenew: Output<Boolean>? = null, val autoUseCoupon: Output<String>? = null, val billingCycle: Output<String>? = null, val carrier: Output<String>? = null, val dataDisks: Output<List<InstanceDataDiskArgs>>? = null, val ensRegionId: Output<String>? = null, val forceStop: Output<String>? = null, val hostName: Output<String>? = null, val imageId: Output<String>? = null, val includeDataDisks: Output<Boolean>? = 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 ipType: Output<String>? = null, val keyPairName: Output<String>? = null, val netDistrictCode: Output<String>? = null, val netWorkId: 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 privateIpAddress: Output<String>? = null, val publicIpIdentification: Output<Boolean>? = null, val scheduleAreaLevel: Output<String>? = null, val schedulingPriceStrategy: Output<String>? = null, val schedulingStrategy: Output<String>? = null, val securityId: Output<String>? = null, val spotStrategy: Output<String>? = null, val status: Output<String>? = null, val systemDisk: Output<InstanceSystemDiskArgs>? = null, val tags: Output<Map<String, String>>? = null, val uniqueSuffix: Output<Boolean>? = null, val userData: Output<String>? = null, val vswitchId: Output<String>? = null) : ConvertibleToJava<InstanceArgs>

Ens 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 InstanceSecurityGroupAttachment : KotlinCustomResource

Provides a ENS Instance Security Group Attachment resource. Bind instance and security group. For information about ENS Instance Security Group Attachment and how to use it, see What is Instance Security Group Attachment.

Link copied to clipboard
data class InstanceSecurityGroupAttachmentArgs(val instanceId: Output<String>? = null, val securityGroupId: Output<String>? = null) : ConvertibleToJava<InstanceSecurityGroupAttachmentArgs>

Provides a ENS Instance Security Group Attachment resource. Bind instance and security group. For information about ENS Instance Security Group Attachment and how to use it, see What is Instance Security Group Attachment.

Link copied to clipboard
class KeyPair : KotlinCustomResource

Provides a ENS Key Pair resource. For information about ENS Key Pair and how to use it, see What is Key Pair.

Link copied to clipboard
data class KeyPairArgs(val keyPairName: Output<String>? = null, val version: Output<String>? = null) : ConvertibleToJava<KeyPairArgs>

Provides a ENS Key Pair resource. For information about ENS Key Pair and how to use it, see What is Key Pair.

Link copied to clipboard
Link copied to clipboard
object KeyPairMapper : ResourceMapper<KeyPair>
Link copied to clipboard
Link copied to clipboard
class LoadBalancer : KotlinCustomResource

Provides a Ens Load Balancer resource. For information about ENS Load Balancer and how to use it, see What is Load Balancer.

Link copied to clipboard
data class LoadBalancerArgs(val backendServers: Output<List<LoadBalancerBackendServerArgs>>? = null, val ensRegionId: Output<String>? = null, val loadBalancerName: Output<String>? = null, val loadBalancerSpec: Output<String>? = null, val networkId: Output<String>? = null, val paymentType: Output<String>? = null, val vswitchId: Output<String>? = null) : ConvertibleToJava<LoadBalancerArgs>

Provides a Ens Load Balancer resource. For information about ENS Load Balancer and how to use it, see What is Load Balancer.

Link copied to clipboard
Link copied to clipboard
object LoadBalancerMapper : ResourceMapper<LoadBalancer>
Link copied to clipboard
Link copied to clipboard
class NatGateway : KotlinCustomResource

Provides a ENS Nat Gateway resource. Nat gateway of ENS. For information about ENS Nat Gateway and how to use it, see What is Nat Gateway.

Link copied to clipboard
data class NatGatewayArgs(val ensRegionId: Output<String>? = null, val instanceType: Output<String>? = null, val natName: Output<String>? = null, val networkId: Output<String>? = null, val vswitchId: Output<String>? = null) : ConvertibleToJava<NatGatewayArgs>

Provides a ENS Nat Gateway resource. Nat gateway of ENS. For information about ENS Nat Gateway and how to use it, see What is Nat Gateway.

Link copied to clipboard
Link copied to clipboard
object NatGatewayMapper : ResourceMapper<NatGateway>
Link copied to clipboard
Link copied to clipboard
class Network : KotlinCustomResource

Provides a ENS Network resource. For information about ENS Network and how to use it, see What is Network.

Link copied to clipboard
data class NetworkArgs(val cidrBlock: Output<String>? = null, val description: Output<String>? = null, val ensRegionId: Output<String>? = null, val networkName: Output<String>? = null) : ConvertibleToJava<NetworkArgs>

Provides a ENS Network resource. For information about ENS Network and how to use it, see What is Network.

Link copied to clipboard
Link copied to clipboard
object NetworkMapper : ResourceMapper<Network>
Link copied to clipboard
Link copied to clipboard
class SecurityGroup : KotlinCustomResource

Provides a ENS Security Group resource. For information about ENS Security Group and how to use it, see What is Security Group.

Link copied to clipboard
data class SecurityGroupArgs(val description: Output<String>? = null, val securityGroupName: Output<String>? = null) : ConvertibleToJava<SecurityGroupArgs>

Provides a ENS Security Group resource. For information about ENS Security Group and how to use it, see What is Security Group.

Link copied to clipboard
Link copied to clipboard
object SecurityGroupMapper : ResourceMapper<SecurityGroup>
Link copied to clipboard
Link copied to clipboard
class Snapshot : KotlinCustomResource

Provides a ENS Snapshot resource. Snapshot. When you use it for the first time, please contact the product classmates to add a resource whitelist. For information about ENS Snapshot and how to use it, see What is Snapshot.

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

Provides a ENS Snapshot resource. Snapshot. When you use it for the first time, please contact the product classmates to add a resource whitelist. For information about ENS 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
Link copied to clipboard
class Vswitch : KotlinCustomResource

Provides a ENS Vswitch resource. For information about ENS Vswitch and how to use it, see What is Vswitch.

Link copied to clipboard
data class VswitchArgs(val cidrBlock: Output<String>? = null, val description: Output<String>? = null, val ensRegionId: Output<String>? = null, val networkId: Output<String>? = null, val vswitchName: Output<String>? = null) : ConvertibleToJava<VswitchArgs>

Provides a ENS Vswitch resource. For information about ENS Vswitch and how to use it, see What is Vswitch.

Link copied to clipboard
Link copied to clipboard
object VswitchMapper : ResourceMapper<Vswitch>
Link copied to clipboard

Functions

Link copied to clipboard
fun disk(name: String): Disk
suspend fun disk(name: String, block: suspend DiskResourceBuilder.() -> Unit): Disk
Link copied to clipboard
fun eip(name: String): Eip
suspend fun eip(name: String, block: suspend EipResourceBuilder.() -> Unit): Eip
Link copied to clipboard
fun image(name: String): Image
suspend fun image(name: String, block: suspend ImageResourceBuilder.() -> Unit): Image
Link copied to clipboard
suspend fun instance(name: String, block: suspend InstanceResourceBuilder.() -> Unit): Instance
Link copied to clipboard
fun keyPair(name: String): KeyPair
suspend fun keyPair(name: String, block: suspend KeyPairResourceBuilder.() -> Unit): KeyPair
Link copied to clipboard
Link copied to clipboard
suspend fun natGateway(name: String, block: suspend NatGatewayResourceBuilder.() -> Unit): NatGateway
Link copied to clipboard
fun network(name: String): Network
suspend fun network(name: String, block: suspend NetworkResourceBuilder.() -> Unit): Network
Link copied to clipboard
Link copied to clipboard
suspend fun snapshot(name: String, block: suspend SnapshotResourceBuilder.() -> Unit): Snapshot
Link copied to clipboard
fun vswitch(name: String): Vswitch
suspend fun vswitch(name: String, block: suspend VswitchResourceBuilder.() -> Unit): Vswitch