TairInstance

class TairInstance : KotlinCustomResource

Import

Redis Tair Instance can be imported using the id, e.g.

$ pulumi import alicloud:redis/tairInstance:TairInstance example <id>

Properties

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

Specifies whether to enable auto-renewal for the instance. Default value: false. Valid values: true(enables auto-renewal), false(disables auto-renewal).

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

The subscription duration that is supported by auto-renewal. Unit: months. Valid values: 1, 2, 3, 6, and 12. This parameter is required only if the AutoRenew parameter is set to true.

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

The ID of the backup set of the cluster. .

Link copied to clipboard
val createTime: Output<String>

The time when the instance was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

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

The time when to change the configurations. Default value: Immediately. Valid values: Immediately (The configurations are immediately changed), MaintainTime (The configurations are changed within the maintenance window).

Link copied to clipboard
val engineVersion: Output<String>

Database version. Default value: 1.0. Rules for transferring parameters of different tair product types: tair_rdb: Compatible with the Redis5.0 and Redis6.0 protocols, and is transmitted to 5.0 or 6.0. tair_scm: The Tair persistent memory is compatible with the Redis6.0 protocol and is passed 1.0. tair_essd: The disk (ESSD/SSD) is compatible with the Redis4.0 and Redis6.0 protocols, and is transmitted to 1.0 and 2.0 respectively.

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

Specifies whether to forcefully change the configurations of the instance. Default value: true. Valid values: false (The system does not forcefully change the configurations), true (The system forcefully changes the configurations).

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

The instance type of the instance. For more information, see Instance types.

Link copied to clipboard
val instanceType: Output<String>

The storage medium of the instance. Valid values: tair_rdb, tair_scm, tair_essd.

Link copied to clipboard
val nodeType: Output<String>

Node type, value: MASTER_SLAVE: high availability (dual copy) STAND_ALONE: single copy double: double copy single: single copy Note For Cloud Native instances, select MASTER_SLAVE or STAND_ALONE. For Classic instances, select double or single.

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

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

Link copied to clipboard
val paymentType: Output<String>

The billing method of the instance. Default value: Subscription. Valid values: PayAsYouGo, Subscription.

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

The subscription duration. Unit: months. Valid values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24,36, and 60. This parameter is required only if you set the PaymentType parameter to Subscription.

Link copied to clipboard
val port: Output<Int>

The Tair service port. The service port of the instance. Valid values: 1024 to 65535. Default value: 6379.

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

Number of read-only nodes in the primary zone. Valid values: 0 to 5. This parameter is only applicable to the following conditions: If the instance is in the cloud disk version standard architecture, you can set this parameter to a value greater than 0 to enable the read/write splitting architecture. If the instance is a cloud disk version read/write splitting architecture instance, you can use this parameter to customize the number of read-only nodes, or set this parameter to 0 to disable the read/write splitting architecture and switch the instance to the standard architecture.

Link copied to clipboard
val resourceGroupId: Output<String>

The ID of the resource group to which the instance belongs.

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

The ID of the secondary zone.This parameter is returned only if the instance is deployed in two zones.

Link copied to clipboard
val shardCount: Output<Int>

The number of data nodes in the instance. When 1 is passed, it means that the instance created is a standard architecture with only one data node. You can create an instance in the standard architecture that contains only a single data node. 2 to 32: You can create an instance in the cluster architecture that contains the specified number of data nodes. Only persistent memory-optimized instances can use the cluster architecture. Therefore, you can set this parameter to an integer from 2 to 32 only if you set the InstanceType parameter to tair_scm. It is not allowed to modify the number of shards by modifying this parameter after creating a master-slave architecture instance with or without passing 1.

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

Specifies the number of read-only nodes in the secondary zone when creating a multi-zone read/write splitting instance. Note: To create a multi-zone read/write splitting instance, slaveadonlycount and SecondaryZoneId must be specified at the same time.

Link copied to clipboard
val status: Output<String>

The status of the resource.

Link copied to clipboard

The storage type. The value range is PL1, PL2, and PL3. The default value is PL1. When the value of instance_type is "tair_essd", this attribute takes effect and is required.

Link copied to clipboard
val storageSizeGb: Output<Int>

The value range of different specifications is different, see ESSD-based instances. When the value of instance_type is "tair_essd", this attribute takes effect and is required.

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

The tag of the resource.

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

The name of the resource.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val vpcId: Output<String>

The ID of the virtual private cloud (VPC).

Link copied to clipboard
val vswitchId: Output<String>

The ID of the vSwitch to which the instance is connected.

Link copied to clipboard
val zoneId: Output<String>

Zone ID.