Instance

class Instance : KotlinCustomResource

Import

KVStore instance can be imported using the id, e.g.

$ pulumi import alicloud:kvstore/instance:Instance example r-abc12345678

Properties

Link copied to clipboard
val autoRenew: Output<Boolean>?

Whether to renewal a KVStore DBInstance automatically or not. It is valid when payment_type is PrePaid. Default value: false.

Link copied to clipboard
val autoRenewPeriod: Output<Int>?

Auto-renewal period of an KVStore DBInstance, in the unit of the month. It is valid when payment_type is PrePaid. Valid values: 1~12. Default value: 1.

Link copied to clipboard
val autoUseCoupon: Output<Boolean>?

Specifies whether to use a coupon. Default value: false.

Link copied to clipboard

It has been deprecated from provider version 1.101.0 and zone_id instead.

Link copied to clipboard
val backupId: Output<String>?

The ID of the backup file of the source instance.

Link copied to clipboard
val backupPeriods: Output<List<String>>

Backup period.

Link copied to clipboard
val backupTime: Output<String>

Backup time, the format is HH:mmZ-HH:mmZ (UTC time).

Link copied to clipboard
val bandwidth: Output<Int>

The total bandwidth of the instance. NOTE: From version 1.232.0, bandwidth can be set. If the instance is a cluster instance, bandwidth must be divisible by the number of shard_count in the instance, and if the instance is a read/write splitting instance, bandwidth cannot be set.

Link copied to clipboard
val businessInfo: Output<String>?

The ID of the event or the business information.

Link copied to clipboard
val capacity: Output<Int>

The storage capacity of the KVStore DBInstance. Unit: MB.

Link copied to clipboard
val config: Output<Map<String, String>>

The configuration of the KVStore DBInstance. Available parameters can refer to the latest docs Instance configurations table.

Link copied to clipboard

Intranet connection address of the KVStore instance.

Link copied to clipboard

Indicates whether the address is a private endpoint.

Link copied to clipboard

It has been deprecated from provider version 1.101.0 and resource alicloud.kvstore.Connection instead.

Link copied to clipboard
val couponNo: Output<String>?

The coupon code. NOTE: The default value youhuiquan_promotion_option_id_for_blank removed since v1.216.0, this can cause your status file to change even if it has not been modified, so please review your change plan before apply change plan.

Link copied to clipboard
val dbInstanceName: Output<String>

The name of KVStore DBInstance. It is a string of 2 to 256 characters.

Link copied to clipboard

The ID of the dedicated cluster. This parameter is required when you create a Tair (Redis OSS-Compatible) And Memcache (KVStore) Classic Instance in a dedicated cluster.

Link copied to clipboard
val dryRun: Output<Boolean>?

Specifies whether to precheck the request. Valid values:

Link copied to clipboard
val effectiveTime: Output<String>?

The time when the database is switched after the instance is migrated, or when the major version is upgraded, or when the instance class is upgraded. Valid values:

Link copied to clipboard
val enableBackupLog: Output<Int>?

Turn on or off incremental backup. Valid values: 1, 0. Default value: 0

Link copied to clipboard
val enablePublic: Output<Boolean>

It has been deprecated from provider version 1.101.0 and resource alicloud.kvstore.Connection instead.

Link copied to clipboard
val encryptionKey: Output<String>

The Custom key ID, which you can get by calling DescribeEncryptionKeyList.If this parameter is not passed, the key is automatically generated by the key management service. To create a custom key, you can call the CreateKey interface of the key management service.

Link copied to clipboard
val encryptionName: Output<String>

The Encryption algorithm, default AES-CTR-256.Note that this parameter is only available when the TDEStatus parameter is Enabled.

Link copied to clipboard
val endTime: Output<String>

The expiration time of the prepaid instance.

Link copied to clipboard
val engineVersion: Output<String>

The engine version of the KVStore DBInstance. Valid values: "2.8", "4.0", "5.0", "6.0", "7.0". Default value: 5.0. NOTE: When instance_type = Memcache, the engine_version only supports "4.0".

Link copied to clipboard
val forceUpgrade: Output<Boolean>?

Specifies whether to forcibly change the type. Default value: true.

Link copied to clipboard
val globalInstance: Output<Boolean>?

Whether to create a distributed cache. Default value: false.

Link copied to clipboard
val globalInstanceId: Output<String>?

The ID of distributed cache.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

It has been deprecated from provider version 1.101.0 and payment_type instead.

Link copied to clipboard
val instanceClass: Output<String>?

Type of the applied Tair (Redis OSS-Compatible) And Memcache (KVStore) Classic Instance. It can be retrieved by data source alicloud.kvstore.getInstanceClasses or referring to help-docs Instance type table.

Link copied to clipboard
val instanceName: Output<String>

It has been deprecated from provider version 1.101.0 and db_instance_name instead.

Link copied to clipboard

Whether to open the release protection.

Link copied to clipboard
val instanceType: Output<String>?

The engine type of the KVStore DBInstance. Valid values: Redis or Memcache. Default value: Redis.

Link copied to clipboard

Specifies whether to enable automatic minor version update. Valid values:

Link copied to clipboard

An KMS encrypts password used to an instance. If the password is filled in, this field will be ignored.

Link copied to clipboard

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.

Link copied to clipboard
val maintainEndTime: Output<String>

The end time of the operation and maintenance time period of the KVStore DBInstance, in the format of HH:mmZ (UTC time).

Link copied to clipboard

The start time of the operation and maintenance time period of the KVStore DBInstance, in the format of HH:mmZ (UTC time).

Link copied to clipboard
val nodeType: Output<String>

"Field node_type has been deprecated from version 1.120.1". This parameter is determined by the instance_class.

Link copied to clipboard
val orderType: Output<String>?

Specifies a change type when you change the configuration of a subscription instance. Valid values: UPGRADE, DOWNGRADE. Default value: UPGRADE. UPGRADE means upgrades the configuration of a subscription instance. DOWNGRADE means downgrades the configuration of a subscription instance.

Link copied to clipboard

It has been deprecated from provider version 1.101.0 and config instead. See parameters below.

Link copied to clipboard
val password: Output<String>?

The password of the KVStore DBInstance. The password that is used to connect to the instance. The password must be 8 to 32 characters in length and must contain at least three of the following character types: uppercase letters, lowercase letters, special characters, and digits. Special characters include: ! @ # $ % ^ & * ( ) _ + - =

Link copied to clipboard
val paymentType: Output<String>

The billing method of the KVStore DBInstance. Valid values: PrePaid, PostPaid. Default value: PostPaid.

Link copied to clipboard
val period: Output<String>?

The duration that you will buy KVStore DBInstance (in month). It is valid when payment_type is PrePaid. Valid values: [1~9], 12, 24, 36.

Link copied to clipboard
val port: Output<Int>?

It has been deprecated from provider version 1.101.0 and resource alicloud.kvstore.Connection instead.

Link copied to clipboard

Private network connection port, used to modify the private network connection port.

Link copied to clipboard

Private network connection prefix, used to modify the private network connection address. Only supports updating private network connections for existing instance.

Link copied to clipboard
val privateIp: Output<String>

The internal IP address of the instance.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val qps: Output<Int>

Theoretical maximum QPS value.

Link copied to clipboard
val readOnlyCount: Output<Int>?

The number of read replicas in the primary zone. Valid values: 1 to 9.

Link copied to clipboard
val resourceGroupId: Output<String>

The ID of resource group which the resource belongs.

Link copied to clipboard
val restoreTime: Output<String>?

The point in time of a backup file.

Link copied to clipboard
val roleArn: Output<String>

The Specify the global resource descriptor ARN (Alibaba Cloud Resource Name) information of the role to be authorized, and use the related key management services after the authorization is completed, in the format: acs:ram::$accountID:role/$roleName.

Link copied to clipboard
val secondaryZoneId: Output<String>?

The ID of the secondary zone to which you want to migrate the Tair (Redis OSS-Compatible) And Memcache (KVStore) Classic Instance.

Link copied to clipboard
val securityGroupId: Output<String>?

The ID of security groups. Separate multiple security group IDs with commas (,), such as sg-***,sg-***,sg-***.

Link copied to clipboard

The value of this parameter is empty by default. The attribute of the whitelist group. The console does not display the whitelist group whose value of this parameter is hidden.

Link copied to clipboard

The name of the whitelist group.

Link copied to clipboard
val securityIps: Output<List<String>>

The IP addresses in the whitelist group. The maximum number of IP addresses in the whitelist group is 1000.

Link copied to clipboard
val shardCount: Output<Int>

The number of data shards. This parameter is available only if you create a cluster instance that uses cloud disks. You can use this parameter to specify a custom number of data shards. NOTE: From version 1.216.0, shard_count can be modified.

Link copied to clipboard
val slaveReadOnlyCount: Output<Int>?

The number of read replicas in the secondary zone. NOTE:: When you create a multi-zone read/write splitting instance, you must specify both secondary_zone_id and slave_read_only_count.

Link copied to clipboard
val srcdbInstanceId: Output<String>?

The ID of the source instance.

Link copied to clipboard
val sslEnable: Output<String>

Modifies the SSL status. Valid values: Disable, Enable and Update. NOTE: This functionality is supported by Cluster mode (Redis 2.8, 4.0, 5.0) and Standard mode( Redis 2.8 only).

Link copied to clipboard
val status: Output<String>

The status of KVStore DBInstance.

Link copied to clipboard
val tags: Output<Map<String, String>>?

A mapping of tags to assign to the resource.

Link copied to clipboard
val tdeStatus: Output<String>

Specifies whether to enable TDE. Valid values: Enabled. NOTE:: TDE cannot be disabled after it is enabled. Before you enable it, evaluate whether this feature affects. your business. For more information, see Enable TDE.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val vpcAuthMode: Output<String>?

Only meaningful if instance_type is Redis and network type is VPC. Valid values: Close, Open. Default value: Open. Close means the redis instance can be accessed without authentication. Open means authentication is required.

Link copied to clipboard
val vswitchId: Output<String>?

The ID of VSwitch.

Link copied to clipboard
val zoneId: Output<String>

The ID of the zone.