Package com.pulumi.alicloud.adb.inputs
Class DBClusterState
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.alicloud.adb.inputs.DBClusterState
-
public final class DBClusterState extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DBClusterState.Builder
-
Field Summary
Fields Modifier and Type Field Description static DBClusterState
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
autoRenewPeriod()
static DBClusterState.Builder
builder()
static DBClusterState.Builder
builder(DBClusterState defaults)
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
computeResource()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
connectionString()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
dbClusterCategory()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
dbClusterClass()
Deprecated.It duplicates with attribute db_node_class and is deprecated from 1.121.2.java.util.Optional<com.pulumi.core.Output<java.lang.String>>
dbClusterVersion()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
dbNodeClass()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
dbNodeCount()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
dbNodeStorage()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
description()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
diskPerformanceLevel()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
elasticIoResource()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
elasticIoResourceSize()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
maintainTime()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
mode()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
modifyType()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
paymentType()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
payType()
Deprecated.Attribute 'pay_type' has been deprecated from the provider version 1.166.0 and it will be remove in the future version.java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
period()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
port()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
renewalStatus()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
resourceGroupId()
java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>
securityIps()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
status()
java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>>>
tags()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
vpcId()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
vswitchId()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
zoneId()
-
-
-
Field Detail
-
Empty
public static final DBClusterState Empty
-
-
Method Detail
-
autoRenewPeriod
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> autoRenewPeriod()
- Returns:
- 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`.
-
computeResource
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> computeResource()
- Returns:
- 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](https://www.alibabacloud.com/help/en/analyticdb-for-mysql/developer-reference/api-adb-2019-03-15-describecomputeresource)
-
connectionString
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> connectionString()
- Returns:
- The connection string of the cluster.
-
dbClusterCategory
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> dbClusterCategory()
- Returns:
- The db cluster category. Valid values: `Basic`, `Cluster`, `MixedStorage`.
-
dbClusterClass
@Deprecated public java.util.Optional<com.pulumi.core.Output<java.lang.String>> dbClusterClass()
Deprecated.It duplicates with attribute db_node_class and is deprecated from 1.121.2.- Returns:
- It duplicates with attribute db_node_class and is deprecated from 1.121.2.
-
dbClusterVersion
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> dbClusterVersion()
- Returns:
- The db cluster version. Valid values: `3.0`. Default Value: `3.0`.
-
dbNodeClass
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> dbNodeClass()
- Returns:
- The db node class. For more information, see [DBClusterClass](https://help.aliyun.com/document_detail/190519.html)
-
dbNodeCount
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> dbNodeCount()
- Returns:
- The db node count.
-
dbNodeStorage
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> dbNodeStorage()
- Returns:
- The db node storage.
-
description
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
- Returns:
- The description of DBCluster.
-
diskPerformanceLevel
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> diskPerformanceLevel()
- Returns:
- The ESSD performance level. Default Value: `PL1`. Valid values: `PL1`, `PL2`, `PL3`.
-
elasticIoResource
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> elasticIoResource()
- Returns:
- The elastic io resource.
-
elasticIoResourceSize
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> elasticIoResourceSize()
- Returns:
- The specifications of a single elastic resource node. Default Value: `8Core64GB`. Valid values:
-
maintainTime
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> maintainTime()
- Returns:
- The maintenance window of the cluster. Format: hh:mmZ-hh:mmZ.
-
mode
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> mode()
- Returns:
- The mode of the cluster. Valid values: `reserver`, `flexible`.
-
modifyType
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> modifyType()
- Returns:
- The modify type.
-
payType
@Deprecated public java.util.Optional<com.pulumi.core.Output<java.lang.String>> payType()
Deprecated.Attribute 'pay_type' has been deprecated from the provider version 1.166.0 and it will be remove in the future version. Please use the new attribute 'payment_type' instead.- Returns:
- Field `pay_type` has been deprecated. New field `payment_type` instead.
-
paymentType
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> paymentType()
- Returns:
- The payment type of the resource. Valid values: `PayAsYouGo` and `Subscription`. Default Value: `PayAsYouGo`. **Note:** The `payment_type` supports updating from v1.166.0+.
-
period
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> period()
- Returns:
- 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. > **NOTE:** The attribute `period` is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running `pulumi up` will not affect the resource.
-
port
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> port()
- Returns:
- (Available since v1.196.0) The connection port of the ADB cluster.
-
renewalStatus
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> renewalStatus()
- Returns:
- Valid values are `AutoRenewal`, `Normal`, `NotRenewal`, Default to `NotRenewal`.
-
resourceGroupId
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> resourceGroupId()
- Returns:
- The ID of the resource group.
-
securityIps
public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> securityIps()
- Returns:
- 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]).
-
status
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> status()
- Returns:
- The status of the resource.
-
tags
public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>>> tags()
- Returns:
- A mapping of tags to assign to the resource. - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string. - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string. > **NOTE:** Because of data backup and migration, change DB cluster type and storage would cost 15~30 minutes. Please make full preparation before changing them.
-
vpcId
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> vpcId()
- Returns:
- The vpc ID of the resource.
-
vswitchId
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> vswitchId()
- Returns:
- The vswitch id.
-
zoneId
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> zoneId()
- Returns:
- The zone ID of the resource.
-
builder
public static DBClusterState.Builder builder()
-
builder
public static DBClusterState.Builder builder(DBClusterState defaults)
-
-