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 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>

The database engine version of the instance. Default value: 1.0. The default version is developed by Alibaba Cloud and compatible with Redis 5.0.

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 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>

Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default PayAsYouGo.

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 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 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.