Class InstanceArgs
Inherited Members
Namespace: Pulumi.AliCloud.MongoDB
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class InstanceArgs : ResourceArgs
Constructors
View SourceInstanceArgs()
Declaration
public InstanceArgs()
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> |
DbInstanceClass
Instance specification. see Instance specifications.
Declaration
public Input<string> DbInstanceClass { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
DbInstanceStorage
User-defined DB instance storage space.Unit: GB. Value range:
- Custom storage space; value range: [10,2000]
- 10-GB increments.
Declaration
public Input<int> DbInstanceStorage { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
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. It can be modified from PostPaid to PrePaid after version 1.63.0.
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> |
MaintainEndTime
The end time of the operation and maintenance time period of the instance, in the format of HH:mmZ (UTC time).
Declaration
public Input<string> MaintainEndTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
MaintainStartTime
The start time of the operation and maintenance time period of the instance, in the format of HH:mmZ (UTC time).
Declaration
public Input<string> MaintainStartTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
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> |
ReplicationFactor
Number of replica set nodes. Valid values: [3, 5, 7]
Declaration
public Input<int> ReplicationFactor { 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]).
Declaration
public InputList<string> SecurityIpLists { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
SslAction
Actions performed on SSL functions, Valid values: Open: turn on SSL encryption; Close: turn off SSL encryption; Update: update SSL certificate.
Declaration
public Input<string> SslAction { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
StorageEngine
Storage engine: WiredTiger or RocksDB. System Default value: WiredTiger.
Declaration
public Input<string> StorageEngine { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Tags
A mapping of tags to assign to the resource.
Declaration
public InputMap<object> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |
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. it supports multiple zone.
If it is a multi-zone and vswitch_id is specified, the vswitch must in one of them.
The multiple zone ID can be retrieved by setting multi to "true" in the data source alicloud..getZones.
Declaration
public Input<string> ZoneId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |