Class AccountState
Inherited Members
Namespace: Pulumi.AliCloud.KVStore
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class AccountState : ResourceArgs
Constructors
View SourceAccountState()
Declaration
public AccountState()
Properties
View SourceAccountName
Operation account requiring a uniqueness check. It may consist of lower case letters, numbers, and underlines, and must start with a letter and have no more than 16 characters.
Declaration
public Input<string> AccountName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
AccountPassword
Operation password. It may consist of letters, digits, or underlines, with a length of 6 to 32 characters. You have to specify one of account_password and kms_encrypted_password fields.
Declaration
public Input<string> AccountPassword { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
AccountPrivilege
The privilege of account access database. Valid values:
- RoleReadOnly: This value is only for Redis and Memcache
- RoleReadWrite: This value is only for Redis and Memcache
- RoleRepl: This value supports instance to read, write, and open SYNC / PSYNC commands. Only for Redis which engine version is 4.0 and architecture type is standard
Declaration
public Input<string> AccountPrivilege { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
AccountType
Privilege type of account.
- Normal: Common privilege. Default to Normal.
Declaration
public Input<string> AccountType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Description
Database description. It cannot begin with https://. It must start with a Chinese character or English letter. It can include Chinese and English characters, underlines (_), hyphens (-), and numbers. The length may be 2-256 characters.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
InstanceId
The Id of instance in which account belongs. (The engine version of instance must be 4.0 or 4.0+)
Declaration
public Input<string> InstanceId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
KmsEncryptedPassword
An KMS encrypts password used to a KVStore account. 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 a KVStore account 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> |