Class ShardingInstanceState
Inherited Members
Namespace: Pulumi.AliCloud.MongoDB
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class ShardingInstanceState : ResourceArgs
Constructors
View SourceShardingInstanceState()
Declaration
public ShardingInstanceState()
Properties
View SourceAccountPassword
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> |
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> |
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> |
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> |
InstanceChargeType
Valid values are PrePaid, PostPaid,System default to PostPaid.
Declaration
public Input<string> InstanceChargeType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
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> |
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> |
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> |
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> |
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> |
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> |
SecurityGroupId
The Security Group ID of ECS.
Declaration
public Input<string> SecurityGroupId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
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 ["127.0.0.1"].
Declaration
public InputList<string> SecurityIpLists { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
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> |
StorageEngine
Storage engine: WiredTiger or RocksDB. System Default value: WiredTiger.
Declaration
public Input<string> StorageEngine { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
TdeStatus
The TDE(Transparent Data Encryption) status.
Declaration
public Input<string> TdeStatus { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
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 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> |