Class InstanceArgs
Inheritance
System.Object
InstanceArgs
Inherited Members
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()
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class InstanceArgs : ResourceArgs
Constructors
View Source
InstanceArgs()
Declaration
Properties
View Source
AutoRenew
Whether to renewal a DB instance automatically or not. It is valid when instance_charge_type is PrePaid. Default to false.
Declaration
public Input<bool> AutoRenew { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
AutoRenewPeriod
Auto-renewal period of an instance, in the unit of the month. It is valid when instance_charge_type is PrePaid. Valid value:[1~12], Default to 1.
Declaration
public Input<int> AutoRenewPeriod { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
AvailabilityZone
The Zone to launch the DB instance.
Declaration
public Input<string> AvailabilityZone { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
BackupId
If an instance created based on a backup set generated by another instance is valid, this parameter indicates the ID of the generated backup set.
Declaration
public Input<string> BackupId { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
EngineVersion
Engine version. Supported values: 2.8, 4.0 and 5.0. Default value: 2.8. Only 2.8 can be supported for Memcache Instance.
Declaration
public Input<string> EngineVersion { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
InstanceChargeType
Valid values are PrePaid, PostPaid, Default to PostPaid.
Declaration
public Input<string> InstanceChargeType { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
InstanceClass
Declaration
public Input<string> InstanceClass { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
InstanceName
The name of DB instance. It a string of 2 to 256 characters.
Declaration
public Input<string> InstanceName { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
InstanceType
The engine to use: Redis or Memcache. Defaults to Redis.
Declaration
public Input<string> InstanceType { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
KmsEncryptedPassword
An KMS encrypts password used to a instance. If the 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
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> |
|
View Source
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> |
|
View Source
Parameters
Declaration
public InputList<InstanceParameterArgs> Parameters { get; set; }
Property Value
View Source
Password
The password of the DB instance. The password is a string of 8 to 30 characters and must contain uppercase letters, lowercase letters, and numbers.
Declaration
public Input<string> Password { 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. Default to 1.
Declaration
public Input<int> Period { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
PrivateIp
Set the instance's private IP.
Declaration
public Input<string> PrivateIp { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
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
SecurityIps
Set the instance's IP whitelist of the default security group.
Declaration
public InputList<string> SecurityIps { get; set; }
Property Value
View Source
A mapping of tags to assign to the resource.
Declaration
public InputMap<object> Tags { get; set; }
Property Value
| Type |
Description |
| InputMap<System.Object> |
|
View Source
VpcAuthMode
Only meaningful if instance_type is Redis and network type is VPC. Valid values are Close, Open. Defaults to Open. Close means the redis instance can be accessed without authentication. Open means authentication is required.
Declaration
public Input<string> VpcAuthMode { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
VswitchId
Declaration
public Input<string> VswitchId { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|