DBClusterArgs

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>

Import

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

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

Constructors

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

Properties

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

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>? = null

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
val dbClusterCategory: Output<String>? = null

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

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

It duplicates with attribute db_node_class and is deprecated from 1.121.2.

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

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

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

The db node class. For more information, see DBClusterClass

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

The db node count.

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

The db node storage.

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

The description of DBCluster.

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

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

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

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

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

The elastic io resource.

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

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

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

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

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

The minor version to which you want to update.

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

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>? = null

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

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

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

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

The modify type.

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

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>? = null

Field pay_type has been deprecated. New field payment_type instead.

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

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 renewalStatus: Output<String>? = null

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

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

The ID of the resource group.

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

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 switchMode: Output<Int>? = null

The time when to perform the update. Valid values:

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

A mapping of tags to assign to the resource.

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

The vpc ID of the resource.

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

The vswitch id.

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

The zone ID of the resource.

Functions

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