Show / Hide Table of Contents

Class ShardingInstanceState

Inheritance
System.Object
InputArgs
ResourceArgs
ShardingInstanceState
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.MongoDB
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class ShardingInstanceState : ResourceArgs

Constructors

View Source

ShardingInstanceState()

Declaration
public ShardingInstanceState()

Properties

View Source

AccountPassword

Password of the root account. It is a string of 6 to 32 characters and is composed of letters, numbers, and underlines.

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

BackupPeriods

MongoDB Instance backup period. It is required when backup_time was existed. Valid values: [Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday]. Default to [Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday]

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

BackupTime

MongoDB instance backup time. It is required when backup_period was existed. In the format of HH:mmZ- HH:mmZ. Time setting interval is one hour. If not set, the system will return a default, like "23:00Z-24:00Z".

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

EngineVersion

Database version. Value options can refer to the latest docs CreateDBInstance EngineVersion.

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

InstanceChargeType

Valid values are PrePaid, PostPaid,System default to PostPaid.

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

KmsEncryptedPassword

An KMS encrypts password used to a instance. If the account_password is filled in, this field will be ignored.

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

KmsEncryptionContext

An KMS encryption context used to decrypt kms_encrypted_password before creating or updating instance with kms_encrypted_password. See Encryption Context. It is valid when kms_encrypted_password is set.

Declaration
public InputMap<object> KmsEncryptionContext { get; set; }
Property Value
Type Description
InputMap<System.Object>
View Source

MongoLists

The mongo-node count can be purchased is in range of [2, 32].

Declaration
public InputList<ShardingInstanceMongoListGetArgs> MongoLists { get; set; }
Property Value
Type Description
InputList<ShardingInstanceMongoListGetArgs>
View Source

Name

The name of DB instance. It a string of 2 to 256 characters.

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

Period

The duration that you will buy DB instance (in month). It is valid when instance_charge_type is PrePaid. Valid values: [1~9], 12, 24, 36. System default to 1.

Declaration
public Input<int> Period { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

RetentionPeriod

Instance log backup retention days. Available in 1.42.0+.

Declaration
public Input<int> RetentionPeriod { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

SecurityGroupId

The Security Group ID of ECS.

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

SecurityIpLists

List of IP addresses allowed to access all databases of an instance. 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]). System default to [&quot;127.0.0.1&quot;].

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

ShardLists

the shard-node count can be purchased is in range of [2, 32].

Declaration
public InputList<ShardingInstanceShardListGetArgs> ShardLists { get; set; }
Property Value
Type Description
InputList<ShardingInstanceShardListGetArgs>
View Source

StorageEngine

Storage engine: WiredTiger or RocksDB. System Default value: WiredTiger.

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

TdeStatus

The TDE(Transparent Data Encryption) status.

Declaration
public Input<string> TdeStatus { get; set; }
Property Value
Type Description
Input<System.String>
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 instance. MongoDB sharding instance does not support multiple-zone. If it is a multi-zone and vswitch_id is specified, the vswitch must in one of them.

Declaration
public Input<string> ZoneId { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.