Class ClusterArgs
Inherited Members
Namespace: Pulumi.AliCloud.PolarDB
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class ClusterArgs : ResourceArgs
Constructors
View SourceClusterArgs()
Declaration
public ClusterArgs()
Properties
View SourceAutoRenewPeriod
Auto-renewal period of an cluster, in the unit of the month. It is valid when pay_type is PrePaid. Valid value:1, 2, 3, 6, 12, 24, 36, Default to 1.
Declaration
public Input<int> AutoRenewPeriod { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
DbNodeClass
The db_node_class of cluster node.
Declaration
public Input<string> DbNodeClass { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
DbType
Database type. Value options: MySQL, Oracle, PostgreSQL.
Declaration
public Input<string> DbType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
DbVersion
Database version. Value options can refer to the latest docs CreateDBCluster DBVersion.
Declaration
public Input<string> DbVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Description
The description of cluster.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
MaintainTime
Maintainable time period format of the instance: HH:MMZ-HH:MMZ (UTC time)
Declaration
public Input<string> MaintainTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ModifyType
Use as db_node_class change class , define upgrade or downgrade. Valid values are Upgrade, Downgrade, Default to Upgrade.
Declaration
public Input<string> ModifyType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Parameters
Set of parameters needs to be set after DB cluster was launched. Available parameters can refer to the latest docs View database parameter templates .
Declaration
public InputList<ClusterParameterArgs> Parameters { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<ClusterParameterArgs> |
PayType
Valid values are PrePaid, PostPaid, Default to PostPaid. Currently, the resource can not supports change pay type.
Declaration
public Input<string> PayType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Period
The duration that you will buy DB cluster (in month). It is valid when pay_type is PrePaid. Valid values: [1~9], 12, 24, 36. Default to 1.
Declaration
public Input<int> Period { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
RenewalStatus
Valid values are AutoRenewal, Normal, NotRenewal, Default to NotRenewal.
Declaration
public Input<string> RenewalStatus { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SecurityIps
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]).
Declaration
public InputList<string> SecurityIps { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
Tags
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.
Declaration
public InputMap<object> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |
VswitchId
The virtual switch ID to launch DB instances in one VPC.
Declaration
public Input<string> VswitchId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ZoneId
The Zone to launch the DB cluster. it supports multiple zone.
Declaration
public Input<string> ZoneId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |