Package-level declarations

Types

Link copied to clipboard
class Account : KotlinCustomResource

Provides a ADB account resource and used to manage databases.

Link copied to clipboard
data class AccountArgs(val accountDescription: Output<String>? = null, val accountName: Output<String>? = null, val accountPassword: Output<String>? = null, val dbClusterId: Output<String>? = null, val kmsEncryptedPassword: Output<String>? = null, val kmsEncryptionContext: Output<Map<String, String>>? = null) : ConvertibleToJava<AccountArgs>

Provides a ADB account resource and used to manage databases.

Link copied to clipboard
Link copied to clipboard
object AccountMapper : ResourceMapper<Account>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class BackupPolicy : KotlinCustomResource

ADB backup policy can be imported using the id or cluster id, e.g.

Link copied to clipboard
data class BackupPolicyArgs(val dbClusterId: Output<String>? = null, val preferredBackupPeriods: Output<List<String>>? = null, val preferredBackupTime: Output<String>? = null) : ConvertibleToJava<BackupPolicyArgs>

ADB backup policy can be imported using the id or cluster id, e.g.

Link copied to clipboard
Link copied to clipboard
object BackupPolicyMapper : ResourceMapper<BackupPolicy>
Link copied to clipboard
Link copied to clipboard
class Cluster : KotlinCustomResource

Provides a ADB cluster resource. An ADB cluster is an isolated database environment in the cloud. An ADB cluster can contain multiple user-created databases.

Link copied to clipboard
data class ClusterArgs(val autoRenewPeriod: Output<Int>? = null, val computeResource: Output<String>? = null, val dbClusterCategory: Output<String>? = null, val dbClusterClass: Output<String>? = null, val dbClusterVersion: Output<String>? = null, val dbNodeClass: Output<String>? = null, val dbNodeCount: Output<Int>? = null, val dbNodeStorage: Output<Int>? = null, val description: Output<String>? = null, val diskEncryption: Output<Boolean>? = null, val diskPerformanceLevel: Output<String>? = null, val elasticIoResource: Output<Int>? = null, val elasticIoResourceSize: Output<String>? = null, val enableSsl: Output<Boolean>? = null, val kernelVersion: Output<String>? = null, val kmsId: Output<String>? = null, val maintainTime: Output<String>? = null, val mode: Output<String>? = null, val modifyType: Output<String>? = null, val payType: Output<String>? = null, val paymentType: Output<String>? = null, val period: Output<Int>? = null, val renewalStatus: Output<String>? = null, val resourceGroupId: Output<String>? = null, val securityIps: Output<List<String>>? = null, val switchMode: Output<Int>? = null, val tags: Output<Map<String, String>>? = null, val vpcId: Output<String>? = null, val vswitchId: Output<String>? = null, val zoneId: Output<String>? = null) : ConvertibleToJava<ClusterArgs>

Provides a ADB cluster resource. An ADB cluster is an isolated database environment in the cloud. An ADB cluster can contain multiple user-created databases.

Link copied to clipboard
Link copied to clipboard
object ClusterMapper : ResourceMapper<Cluster>
Link copied to clipboard
Link copied to clipboard
class Connection : KotlinCustomResource

Provides an ADB connection resource to allocate an Internet connection string for ADB cluster.

Link copied to clipboard
data class ConnectionArgs(val connectionPrefix: Output<String>? = null, val dbClusterId: Output<String>? = null) : ConvertibleToJava<ConnectionArgs>

Provides an ADB connection resource to allocate an Internet connection string for ADB cluster.

Link copied to clipboard
Link copied to clipboard
object ConnectionMapper : ResourceMapper<Connection>
Link copied to clipboard
Link copied to clipboard
class DBCluster : KotlinCustomResource

AnalyticDB for MySQL (ADB) DBCluster can be imported using the id, e.g.

Link copied to clipboard
data class DBClusterArgs(val autoRenewPeriod: Output<Int>? = null, val computeResource: Output<String>? = null, val dbClusterCategory: Output<String>? = null, val dbClusterClass: Output<String>? = null, val dbClusterVersion: Output<String>? = null, val dbNodeClass: Output<String>? = null, val dbNodeCount: Output<Int>? = null, val dbNodeStorage: Output<Int>? = null, val description: Output<String>? = null, val diskEncryption: Output<Boolean>? = null, val diskPerformanceLevel: Output<String>? = null, val elasticIoResource: Output<Int>? = null, val elasticIoResourceSize: Output<String>? = null, val enableSsl: Output<Boolean>? = null, val kernelVersion: Output<String>? = null, val kmsId: Output<String>? = null, val maintainTime: Output<String>? = null, val mode: Output<String>? = null, val modifyType: Output<String>? = null, val payType: Output<String>? = null, val paymentType: Output<String>? = null, val period: Output<Int>? = null, val renewalStatus: Output<String>? = null, val resourceGroupId: Output<String>? = null, val securityIps: Output<List<String>>? = null, val switchMode: Output<Int>? = null, val tags: Output<Map<String, String>>? = null, val vpcId: Output<String>? = null, val vswitchId: Output<String>? = null, val zoneId: Output<String>? = null) : ConvertibleToJava<DBClusterArgs>

AnalyticDB for MySQL (ADB) DBCluster can be imported using the id, e.g.

Link copied to clipboard
Link copied to clipboard
class DBClusterLakeVersion : KotlinCustomResource

Provides a AnalyticDB for MySQL (ADB) DB Cluster Lake Version resource. For information about AnalyticDB for MySQL (ADB) DB Cluster Lake Version and how to use it, see What is DB Cluster Lake Version.

Link copied to clipboard
data class DBClusterLakeVersionArgs(val backupSetId: Output<String>? = null, val computeResource: Output<String>? = null, val dbClusterDescription: Output<String>? = null, val dbClusterVersion: Output<String>? = null, val diskEncryption: Output<Boolean>? = null, val enableDefaultResourceGroup: Output<Boolean>? = null, val enableSsl: Output<Boolean>? = null, val kmsId: Output<String>? = null, val paymentType: Output<String>? = null, val period: Output<Int>? = null, val productForm: Output<String>? = null, val productVersion: Output<String>? = null, val reservedNodeCount: Output<Int>? = null, val reservedNodeSize: Output<String>? = null, val resourceGroupId: Output<String>? = null, val restoreToTime: Output<String>? = null, val restoreType: Output<String>? = null, val secondaryVswitchId: Output<String>? = null, val secondaryZoneId: Output<String>? = null, val securityIps: Output<String>? = null, val sourceDbClusterId: Output<String>? = null, val storageResource: Output<String>? = null, val vpcId: Output<String>? = null, val vswitchId: Output<String>? = null, val zoneId: Output<String>? = null) : ConvertibleToJava<DBClusterLakeVersionArgs>

Provides a AnalyticDB for MySQL (ADB) DB Cluster Lake Version resource. For information about AnalyticDB for MySQL (ADB) DB Cluster Lake Version and how to use it, see What is DB Cluster Lake Version.

Link copied to clipboard
Link copied to clipboard
object DBClusterMapper : ResourceMapper<DBCluster>
Link copied to clipboard
Link copied to clipboard
class LakeAccount : KotlinCustomResource

Provides a ADB Lake Account resource. Account of the DBClusterLakeVesion. For information about ADB Lake Account and how to use it, see What is Lake Account. For information about ADB Lake Account Privileges and how to use it, see What are Lake Account Privileges.

Link copied to clipboard
data class LakeAccountArgs(val accountDescription: Output<String>? = null, val accountName: Output<String>? = null, val accountPassword: Output<String>? = null, val accountPrivileges: Output<List<LakeAccountAccountPrivilegeArgs>>? = null, val accountType: Output<String>? = null, val dbClusterId: Output<String>? = null) : ConvertibleToJava<LakeAccountArgs>

Provides a ADB Lake Account resource. Account of the DBClusterLakeVesion. For information about ADB Lake Account and how to use it, see What is Lake Account. For information about ADB Lake Account Privileges and how to use it, see What are Lake Account Privileges.

Link copied to clipboard
Link copied to clipboard
object LakeAccountMapper : ResourceMapper<LakeAccount>
Link copied to clipboard
Link copied to clipboard
class ResourceGroup : KotlinCustomResource

Provides a AnalyticDB for MySQL (ADB) Resource Group resource. For information about AnalyticDB for MySQL (ADB) Resource Group and how to use it, see What is Resource Group.

Link copied to clipboard
data class ResourceGroupArgs(val dbClusterId: Output<String>? = null, val groupName: Output<String>? = null, val groupType: Output<String>? = null, val nodeNum: Output<Int>? = null, val users: Output<List<String>>? = null) : ConvertibleToJava<ResourceGroupArgs>

Provides a AnalyticDB for MySQL (ADB) Resource Group resource. For information about AnalyticDB for MySQL (ADB) Resource Group and how to use it, see What is Resource Group.

Link copied to clipboard
Link copied to clipboard
object ResourceGroupMapper : ResourceMapper<ResourceGroup>
Link copied to clipboard

Functions

Link copied to clipboard
fun account(name: String): Account
suspend fun account(name: String, block: suspend AccountResourceBuilder.() -> Unit): Account
Link copied to clipboard
Link copied to clipboard
fun cluster(name: String): Cluster
suspend fun cluster(name: String, block: suspend ClusterResourceBuilder.() -> Unit): Cluster
Link copied to clipboard
suspend fun connection(name: String, block: suspend ConnectionResourceBuilder.() -> Unit): Connection
Link copied to clipboard
suspend fun dbCluster(name: String, block: suspend DBClusterResourceBuilder.() -> Unit): DBCluster
Link copied to clipboard
suspend fun lakeAccount(name: String, block: suspend LakeAccountResourceBuilder.() -> Unit): LakeAccount
Link copied to clipboard