Show / Hide Table of Contents

Class ClusterState

Inheritance
System.Object
InputArgs
ResourceArgs
ClusterState
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.PolarDB
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class ClusterState : ResourceArgs

Constructors

View Source

ClusterState()

Declaration
public ClusterState()

Properties

View Source

AutoRenewPeriod

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>
View Source

ConnectionString

(Available in 1.81.0+) PolarDB cluster connection string. When security_ips is configured, the address of cluster type endpoint will be returned, and if only "127.0.0.1" is configured, it will also be an empty string.

Declaration
public Input<string> ConnectionString { get; set; }
Property Value
Type Description
Input<System.String>
View Source

DbNodeClass

The db_node_class of cluster node.

Declaration
public Input<string> DbNodeClass { get; set; }
Property Value
Type Description
Input<System.String>
View Source

DbType

Database type. Value options: MySQL, Oracle, PostgreSQL.

Declaration
public Input<string> DbType { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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>
View Source

Description

The description of cluster.

Declaration
public Input<string> Description { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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>
View Source

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>
View Source

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<ClusterParameterGetArgs> Parameters { get; set; }
Property Value
Type Description
InputList<ClusterParameterGetArgs>
View Source

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>
View Source

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>
View Source

RenewalStatus

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

Declaration
public Input<string> RenewalStatus { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.