DBCluster

class DBCluster : KotlinCustomResource

Import

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

$ pulumi import alicloud:adb/dBCluster:DBCluster example <id>

Properties

Link copied to clipboard
val autoRenewPeriod: Output<Int>

Auto-renewal period of an cluster, in the unit of the month. It is valid when payment_type is Subscription. Valid values: 1, 2, 3, 6, 12, 24, 36. Default Value: 1.

Link copied to clipboard
val computeResource: Output<String>?

The specifications of computing resources in elastic mode. The increase of resources can speed up queries. AnalyticDB for MySQL automatically scales computing resources. For more information, see ComputeResource

Link copied to clipboard

The connection string of the cluster.

Link copied to clipboard

The db cluster category. Valid values: Basic, Cluster, MixedStorage.

Link copied to clipboard
val dbClusterClass: Output<String>?

It duplicates with attribute db_node_class and is deprecated from 1.121.2.

Link copied to clipboard
val dbClusterVersion: Output<String>?

The db cluster version. Valid values: 3.0. Default Value: 3.0.

Link copied to clipboard
val dbNodeClass: Output<String>

The db node class. For more information, see DBClusterClass

Link copied to clipboard
val dbNodeCount: Output<Int>

The db node count.

Link copied to clipboard
val dbNodeStorage: Output<Int>

The db node storage.

Link copied to clipboard
val description: Output<String>

The description of DBCluster.

Link copied to clipboard
val diskEncryption: Output<Boolean>?

Specifies whether to enable disk encryption. Default Value: false. Valid values: true, false.

Link copied to clipboard

The ESSD performance level. Default Value: PL1. Valid values: PL1, PL2, PL3.

Link copied to clipboard
val elasticIoResource: Output<Int>

The elastic io resource.

Link copied to clipboard

The specifications of a single elastic resource node. Default Value: 8Core64GB. Valid values:

Link copied to clipboard
val enableSsl: Output<Boolean>?

Specifies whether to enable SSL encryption. Default Value: false. Valid values: true, false.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val kernelVersion: Output<String>

The minor version to which you want to update.

Link copied to clipboard
val kmsId: Output<String>?

The Key Management Service (KMS) ID that is used for disk encryption. kms_id is valid only when disk_encryption is set to true.

Link copied to clipboard
val maintainTime: Output<String>

The maintenance window of the cluster. Format: hh:mmZ-hh:mmZ.

Link copied to clipboard
val mode: Output<String>

The mode of the cluster. Valid values: reserver, flexible.

Link copied to clipboard
val modifyType: Output<String>?

The modify type.

Link copied to clipboard
val paymentType: Output<String>

The payment type of the resource. Valid values: PayAsYouGo and Subscription. Default Value: PayAsYouGo. Note: The payment_type supports updating from v1.166.0+.

Link copied to clipboard
val payType: Output<String>

Field pay_type has been deprecated. New field payment_type instead.

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

The duration that you will buy DB cluster (in month). It is valid when payment_type is Subscription. Valid values: 1~9, 12, 24, 36.

Link copied to clipboard
val port: Output<String>

(Available since v1.196.0) The connection port of the ADB cluster.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val renewalStatus: Output<String>

Valid values are AutoRenewal, Normal, NotRenewal, Default to NotRenewal.

Link copied to clipboard
val resourceGroupId: Output<String>

The ID of the resource group.

Link copied to clipboard
val securityIps: Output<List<String>>

List of IP addresses allowed to access all databases of an cluster. The list contains up to 1,000 IP addresses, separated by commas. Supported formats include 0.0.0.0/0, 10.23.12.24 (IP), and 10.23.12.24/24 (Classless Inter-Domain Routing (CIDR) mode. /24 represents the length of the prefix in an IP address. The range of the prefix length is 1,32).

Link copied to clipboard
val status: Output<String>

The status of the resource.

Link copied to clipboard
val switchMode: Output<Int>?

The time when to perform the update. Valid values:

Link copied to clipboard
val tags: Output<Map<String, String>>?

A mapping of tags to assign to the resource.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val vpcId: Output<String>

The vpc ID of the resource.

Link copied to clipboard
val vswitchId: Output<String>?

The vswitch id.

Link copied to clipboard
val zoneId: Output<String>

The zone ID of the resource.