Package com.pulumi.alicloud.kvstore
Class AccountArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.alicloud.kvstore.AccountArgs
-
public final class AccountArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AccountArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static AccountArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.lang.String>
accountName()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
accountPassword()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
accountPrivilege()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
accountType()
static AccountArgs.Builder
builder()
static AccountArgs.Builder
builder(AccountArgs defaults)
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
description()
com.pulumi.core.Output<java.lang.String>
instanceId()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
kmsEncryptedPassword()
java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>>>
kmsEncryptionContext()
-
-
-
Field Detail
-
Empty
public static final AccountArgs Empty
-
-
Method Detail
-
accountName
public com.pulumi.core.Output<java.lang.String> accountName()
- Returns:
- The name of the account. The name must meet the following requirements: * The name can contain lowercase letters, digits, and hyphens (-), and must start with a lowercase letter. * The name can be up to 100 characters in length. * The name cannot be one of the reserved words in the [Reserved words for Redis account names](https://www.alibabacloud.com/help/zh/doc-detail/92665.htm) section.
-
accountPassword
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> accountPassword()
- Returns:
- The password of the account. The password must be 8 to 32 characters in length. It must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include `!@ # $ % ^ & * ( ) _ + - =`. You have to specify one of `account_password` and `kms_encrypted_password` fields.
-
accountPrivilege
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> accountPrivilege()
- Returns:
- The privilege of account access database. Default value: `RoleReadWrite`
-
accountType
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> accountType()
- Returns:
- Privilege type of account. - Normal: Common privilege. Default to Normal.
-
description
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
- Returns:
- 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.
-
instanceId
public com.pulumi.core.Output<java.lang.String> instanceId()
- Returns:
- The Id of instance in which account belongs (The engine version of instance must be 4.0 or 4.0+).
-
kmsEncryptedPassword
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> kmsEncryptedPassword()
- Returns:
- An KMS encrypts password used to a KVStore account. If the `account_password` is filled in, this field will be ignored.
-
kmsEncryptionContext
public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>>> kmsEncryptionContext()
- Returns:
- An KMS encryption context used to decrypt `kms_encrypted_password` before creating or updating a KVStore account with `kms_encrypted_password`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kms_encrypted_password` is set.
-
builder
public static AccountArgs.Builder builder()
-
builder
public static AccountArgs.Builder builder(AccountArgs defaults)
-
-