1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. redis
  5. TairInstance
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

alicloud.redis.TairInstance

Explore with Pulumi AI

Import

Tair (Redis OSS-Compatible) And Memcache (KVStore) Tair Instance can be imported using the id, e.g.

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

Create TairInstance Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new TairInstance(name: string, args: TairInstanceArgs, opts?: CustomResourceOptions);
@overload
def TairInstance(resource_name: str,
                 args: TairInstanceArgs,
                 opts: Optional[ResourceOptions] = None)

@overload
def TairInstance(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 instance_class: Optional[str] = None,
                 zone_id: Optional[str] = None,
                 vswitch_id: Optional[str] = None,
                 vpc_id: Optional[str] = None,
                 instance_type: Optional[str] = None,
                 password: Optional[str] = None,
                 read_only_count: Optional[int] = None,
                 force_upgrade: Optional[bool] = None,
                 global_instance_id: Optional[str] = None,
                 effective_time: Optional[str] = None,
                 connection_string_prefix: Optional[str] = None,
                 intranet_bandwidth: Optional[int] = None,
                 modify_mode: Optional[str] = None,
                 node_type: Optional[str] = None,
                 param_no_loose_sentinel_enabled: Optional[str] = None,
                 param_no_loose_sentinel_password_free_access: Optional[str] = None,
                 param_no_loose_sentinel_password_free_commands: Optional[str] = None,
                 param_repl_mode: Optional[str] = None,
                 param_semisync_repl_timeout: Optional[str] = None,
                 param_sentinel_compat_enable: Optional[str] = None,
                 auto_renew: Optional[str] = None,
                 payment_type: Optional[str] = None,
                 period: Optional[int] = None,
                 port: Optional[int] = None,
                 engine_version: Optional[str] = None,
                 recover_config_mode: Optional[str] = None,
                 resource_group_id: Optional[str] = None,
                 secondary_zone_id: Optional[str] = None,
                 security_group_id: Optional[str] = None,
                 security_ip_group_name: Optional[str] = None,
                 security_ips: Optional[str] = None,
                 shard_count: Optional[int] = None,
                 slave_read_only_count: Optional[int] = None,
                 src_db_instance_id: Optional[str] = None,
                 ssl_enabled: Optional[str] = None,
                 storage_performance_level: Optional[str] = None,
                 storage_size_gb: Optional[int] = None,
                 tags: Optional[Mapping[str, str]] = None,
                 tair_instance_name: Optional[str] = None,
                 vpc_auth_mode: Optional[str] = None,
                 cluster_backup_id: Optional[str] = None,
                 backup_id: Optional[str] = None,
                 auto_renew_period: Optional[str] = None)
func NewTairInstance(ctx *Context, name string, args TairInstanceArgs, opts ...ResourceOption) (*TairInstance, error)
public TairInstance(string name, TairInstanceArgs args, CustomResourceOptions? opts = null)
public TairInstance(String name, TairInstanceArgs args)
public TairInstance(String name, TairInstanceArgs args, CustomResourceOptions options)
type: alicloud:redis:TairInstance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. TairInstanceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. TairInstanceArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. TairInstanceArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. TairInstanceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. TairInstanceArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var tairInstanceResource = new AliCloud.Redis.TairInstance("tairInstanceResource", new()
{
    InstanceClass = "string",
    ZoneId = "string",
    VswitchId = "string",
    VpcId = "string",
    InstanceType = "string",
    Password = "string",
    ReadOnlyCount = 0,
    ForceUpgrade = false,
    GlobalInstanceId = "string",
    EffectiveTime = "string",
    ConnectionStringPrefix = "string",
    IntranetBandwidth = 0,
    ModifyMode = "string",
    NodeType = "string",
    ParamNoLooseSentinelEnabled = "string",
    ParamNoLooseSentinelPasswordFreeAccess = "string",
    ParamNoLooseSentinelPasswordFreeCommands = "string",
    ParamReplMode = "string",
    ParamSemisyncReplTimeout = "string",
    ParamSentinelCompatEnable = "string",
    AutoRenew = "string",
    PaymentType = "string",
    Period = 0,
    Port = 0,
    EngineVersion = "string",
    RecoverConfigMode = "string",
    ResourceGroupId = "string",
    SecondaryZoneId = "string",
    SecurityGroupId = "string",
    SecurityIpGroupName = "string",
    SecurityIps = "string",
    ShardCount = 0,
    SlaveReadOnlyCount = 0,
    SrcDbInstanceId = "string",
    SslEnabled = "string",
    StoragePerformanceLevel = "string",
    StorageSizeGb = 0,
    Tags = 
    {
        { "string", "string" },
    },
    TairInstanceName = "string",
    VpcAuthMode = "string",
    ClusterBackupId = "string",
    BackupId = "string",
    AutoRenewPeriod = "string",
});
Copy
example, err := redis.NewTairInstance(ctx, "tairInstanceResource", &redis.TairInstanceArgs{
	InstanceClass:                            pulumi.String("string"),
	ZoneId:                                   pulumi.String("string"),
	VswitchId:                                pulumi.String("string"),
	VpcId:                                    pulumi.String("string"),
	InstanceType:                             pulumi.String("string"),
	Password:                                 pulumi.String("string"),
	ReadOnlyCount:                            pulumi.Int(0),
	ForceUpgrade:                             pulumi.Bool(false),
	GlobalInstanceId:                         pulumi.String("string"),
	EffectiveTime:                            pulumi.String("string"),
	ConnectionStringPrefix:                   pulumi.String("string"),
	IntranetBandwidth:                        pulumi.Int(0),
	ModifyMode:                               pulumi.String("string"),
	NodeType:                                 pulumi.String("string"),
	ParamNoLooseSentinelEnabled:              pulumi.String("string"),
	ParamNoLooseSentinelPasswordFreeAccess:   pulumi.String("string"),
	ParamNoLooseSentinelPasswordFreeCommands: pulumi.String("string"),
	ParamReplMode:                            pulumi.String("string"),
	ParamSemisyncReplTimeout:                 pulumi.String("string"),
	ParamSentinelCompatEnable:                pulumi.String("string"),
	AutoRenew:                                pulumi.String("string"),
	PaymentType:                              pulumi.String("string"),
	Period:                                   pulumi.Int(0),
	Port:                                     pulumi.Int(0),
	EngineVersion:                            pulumi.String("string"),
	RecoverConfigMode:                        pulumi.String("string"),
	ResourceGroupId:                          pulumi.String("string"),
	SecondaryZoneId:                          pulumi.String("string"),
	SecurityGroupId:                          pulumi.String("string"),
	SecurityIpGroupName:                      pulumi.String("string"),
	SecurityIps:                              pulumi.String("string"),
	ShardCount:                               pulumi.Int(0),
	SlaveReadOnlyCount:                       pulumi.Int(0),
	SrcDbInstanceId:                          pulumi.String("string"),
	SslEnabled:                               pulumi.String("string"),
	StoragePerformanceLevel:                  pulumi.String("string"),
	StorageSizeGb:                            pulumi.Int(0),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	TairInstanceName: pulumi.String("string"),
	VpcAuthMode:      pulumi.String("string"),
	ClusterBackupId:  pulumi.String("string"),
	BackupId:         pulumi.String("string"),
	AutoRenewPeriod:  pulumi.String("string"),
})
Copy
var tairInstanceResource = new TairInstance("tairInstanceResource", TairInstanceArgs.builder()
    .instanceClass("string")
    .zoneId("string")
    .vswitchId("string")
    .vpcId("string")
    .instanceType("string")
    .password("string")
    .readOnlyCount(0)
    .forceUpgrade(false)
    .globalInstanceId("string")
    .effectiveTime("string")
    .connectionStringPrefix("string")
    .intranetBandwidth(0)
    .modifyMode("string")
    .nodeType("string")
    .paramNoLooseSentinelEnabled("string")
    .paramNoLooseSentinelPasswordFreeAccess("string")
    .paramNoLooseSentinelPasswordFreeCommands("string")
    .paramReplMode("string")
    .paramSemisyncReplTimeout("string")
    .paramSentinelCompatEnable("string")
    .autoRenew("string")
    .paymentType("string")
    .period(0)
    .port(0)
    .engineVersion("string")
    .recoverConfigMode("string")
    .resourceGroupId("string")
    .secondaryZoneId("string")
    .securityGroupId("string")
    .securityIpGroupName("string")
    .securityIps("string")
    .shardCount(0)
    .slaveReadOnlyCount(0)
    .srcDbInstanceId("string")
    .sslEnabled("string")
    .storagePerformanceLevel("string")
    .storageSizeGb(0)
    .tags(Map.of("string", "string"))
    .tairInstanceName("string")
    .vpcAuthMode("string")
    .clusterBackupId("string")
    .backupId("string")
    .autoRenewPeriod("string")
    .build());
Copy
tair_instance_resource = alicloud.redis.TairInstance("tairInstanceResource",
    instance_class="string",
    zone_id="string",
    vswitch_id="string",
    vpc_id="string",
    instance_type="string",
    password="string",
    read_only_count=0,
    force_upgrade=False,
    global_instance_id="string",
    effective_time="string",
    connection_string_prefix="string",
    intranet_bandwidth=0,
    modify_mode="string",
    node_type="string",
    param_no_loose_sentinel_enabled="string",
    param_no_loose_sentinel_password_free_access="string",
    param_no_loose_sentinel_password_free_commands="string",
    param_repl_mode="string",
    param_semisync_repl_timeout="string",
    param_sentinel_compat_enable="string",
    auto_renew="string",
    payment_type="string",
    period=0,
    port=0,
    engine_version="string",
    recover_config_mode="string",
    resource_group_id="string",
    secondary_zone_id="string",
    security_group_id="string",
    security_ip_group_name="string",
    security_ips="string",
    shard_count=0,
    slave_read_only_count=0,
    src_db_instance_id="string",
    ssl_enabled="string",
    storage_performance_level="string",
    storage_size_gb=0,
    tags={
        "string": "string",
    },
    tair_instance_name="string",
    vpc_auth_mode="string",
    cluster_backup_id="string",
    backup_id="string",
    auto_renew_period="string")
Copy
const tairInstanceResource = new alicloud.redis.TairInstance("tairInstanceResource", {
    instanceClass: "string",
    zoneId: "string",
    vswitchId: "string",
    vpcId: "string",
    instanceType: "string",
    password: "string",
    readOnlyCount: 0,
    forceUpgrade: false,
    globalInstanceId: "string",
    effectiveTime: "string",
    connectionStringPrefix: "string",
    intranetBandwidth: 0,
    modifyMode: "string",
    nodeType: "string",
    paramNoLooseSentinelEnabled: "string",
    paramNoLooseSentinelPasswordFreeAccess: "string",
    paramNoLooseSentinelPasswordFreeCommands: "string",
    paramReplMode: "string",
    paramSemisyncReplTimeout: "string",
    paramSentinelCompatEnable: "string",
    autoRenew: "string",
    paymentType: "string",
    period: 0,
    port: 0,
    engineVersion: "string",
    recoverConfigMode: "string",
    resourceGroupId: "string",
    secondaryZoneId: "string",
    securityGroupId: "string",
    securityIpGroupName: "string",
    securityIps: "string",
    shardCount: 0,
    slaveReadOnlyCount: 0,
    srcDbInstanceId: "string",
    sslEnabled: "string",
    storagePerformanceLevel: "string",
    storageSizeGb: 0,
    tags: {
        string: "string",
    },
    tairInstanceName: "string",
    vpcAuthMode: "string",
    clusterBackupId: "string",
    backupId: "string",
    autoRenewPeriod: "string",
});
Copy
type: alicloud:redis:TairInstance
properties:
    autoRenew: string
    autoRenewPeriod: string
    backupId: string
    clusterBackupId: string
    connectionStringPrefix: string
    effectiveTime: string
    engineVersion: string
    forceUpgrade: false
    globalInstanceId: string
    instanceClass: string
    instanceType: string
    intranetBandwidth: 0
    modifyMode: string
    nodeType: string
    paramNoLooseSentinelEnabled: string
    paramNoLooseSentinelPasswordFreeAccess: string
    paramNoLooseSentinelPasswordFreeCommands: string
    paramReplMode: string
    paramSemisyncReplTimeout: string
    paramSentinelCompatEnable: string
    password: string
    paymentType: string
    period: 0
    port: 0
    readOnlyCount: 0
    recoverConfigMode: string
    resourceGroupId: string
    secondaryZoneId: string
    securityGroupId: string
    securityIpGroupName: string
    securityIps: string
    shardCount: 0
    slaveReadOnlyCount: 0
    srcDbInstanceId: string
    sslEnabled: string
    storagePerformanceLevel: string
    storageSizeGb: 0
    tags:
        string: string
    tairInstanceName: string
    vpcAuthMode: string
    vpcId: string
    vswitchId: string
    zoneId: string
Copy

TairInstance Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The TairInstance resource accepts the following input properties:

InstanceClass This property is required. string
The instance type of the instance. For more information, see Instance types.
InstanceType
This property is required.
Changes to this property will trigger replacement.
string
The storage medium of the instance. Valid values: tair_rdb, tair_scm, tair_essd.
VpcId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the virtual private cloud (VPC).
VswitchId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the vSwitch to which the instance is connected.
ZoneId
This property is required.
Changes to this property will trigger replacement.
string
Zone ID
AutoRenew string
Specifies whether to enable auto-renewal for the instance. Default value: false. Valid values: true(enables auto-renewal), false(disables auto-renewal).
AutoRenewPeriod 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.
BackupId string

You can set the BackupId parameter to the backup set ID of the source instance. The system uses the data stored in the backup set to create an instance. You can call the DescribeBackups operation to query backup set IDs. If the source instance is a cluster instance, set the BackupId parameter to the backup set IDs of all shards of the source instance, separated by commas (,).

If your instance is a cloud-native cluster instance, we recommend that you use DescribeClusterBackupList to query the backup set ID of the cluster instance. Then, set the ClusterBackupId request parameter to the backup set ID to clone the cluster instance. This eliminates the need to specify the backup set ID of each shard.

ClusterBackupId string
This parameter is supported for specific new cluster instances. You can query the backup set ID by calling the DescribeClusterBackupList operation. If this parameter is supported, you can specify the backup set ID. In this case, you do not need to specify the BackupId parameter. If this parameter is not supported, set the BackupId parameter to the IDs of backup sets in all shards of the source instance, separated by commas (,).
ConnectionStringPrefix string
The prefix of the endpoint the instance, which must consist of lowercase letters and numbers and start with a lowercase letter.
EffectiveTime 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).
EngineVersion 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.

ForceUpgrade bool
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).
GlobalInstanceId string

The ID of a distributed (Global Distributed Cache) instance, which indicates whether to use the newly created instance as a sub-instance of a distributed instance. You can use this method to create a distributed instance.

  1. Enter true if you want the new instance to be the first child instance.

  2. If you want the new instance to be used as the second and third sub-instances, enter the distributed instance ID.

  3. Not as a distributed instance, you do not need to enter any values.

IntranetBandwidth int
Instance intranet bandwidth
ModifyMode string
The modification method when modifying the IP whitelist. The value includes Cover (default): overwrite the original whitelist; Append: Append the whitelist; Delete: Delete the whitelist.
NodeType string
The node type. For cloud-native instances, input MASTER_SLAVE (master-replica) or STAND_ALONE (standalone). For classic instances, input double (master-replica) or single (standalone).
ParamNoLooseSentinelEnabled string
sentinel compatibility mode, applicable to non-cluster instances. For more information about parameters, see yes or no in the https://www.alibabacloud.com/help/en/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance, valid values: yes, no. The default value is no.
ParamNoLooseSentinelPasswordFreeAccess string
Whether to allow Sentinel commands to be executed without secrets when Sentinel mode is enabled. Value: yes: enabled. After the command is enabled, you can directly run the Sentinel command in the VPC without enabling the password-free feature. no: the default value, disabled. For parameters, see https://help.aliyun.com/zh/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance
ParamNoLooseSentinelPasswordFreeCommands string
After sentinel mode and the# no_loose_sentinel-password-free-access parameter are enabled, you can use this parameter to add additional secret-free command lists (empty by default). After setting, you can execute the corresponding command on any connection without secret, please operate carefully. Commands are written in lowercase letters, and multiple commands are separated by commas (,). See https://help.aliyun.com/zh/redis/user-guide/parameter-support for details
ParamReplMode string

The value is semisync or async. The default value is async.

The default data synchronization mode is asynchronous replication. To modify the data synchronization mode, refer to https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance.

ParamSemisyncReplTimeout string
The degradation threshold time of the semi-synchronous replication mode. This parameter value is required only when semi-synchronous replication is enabled. The unit is milliseconds, and the range is 10ms to 60000ms. The default value is 500ms. Please refer to: https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance.
ParamSentinelCompatEnable string
sentinel compatibility mode, applicable to instances in the cluster architecture proxy connection mode or read/write splitting architecture. For more information about the parameters, see https://www.alibabacloud.com/help/en/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance. The value is 0 or 1. The default value is 0.
Password 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 ! @ # $ % ^ & * ( ) _ + - =
PaymentType string
Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default Subscription.
Period 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.
Port Changes to this property will trigger replacement. int
The Tair service port. The service port of the instance. Valid values: 1024 to 65535. Default value: 6379.
ReadOnlyCount 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.

RecoverConfigMode string
Whether to restore the account, kernel parameters, and whitelist (config) information from the original backup set when creating an instance using a specified backup set. The default value is empty, indicating that the account, kernel parameters, and whitelist information are not restored from the original backup set. This parameter is only applicable to Cloud Native instances, and the account, kernel parameters, and whitelist information must have been saved in the original backup set.
ResourceGroupId string
The ID of the resource group to which the instance belongs.
SecondaryZoneId Changes to this property will trigger replacement. string
The ID of the secondary zone.This parameter is returned only if the instance is deployed in two zones.
SecurityGroupId string
Security group id
SecurityIpGroupName string
The name of the IP address whitelist. You cannot modify the whitelist that is generated by the system. If you do not specify this parameter, the default whitelist is modified by default.
SecurityIps string
The IP addresses in the whitelist. Up to 1,000 IP addresses can be specified in a whitelist. Separate multiple IP addresses with a comma (,). Specify an IP address in the 0.0.0.0/0, 10.23.12.24, or 10.23.12.24/24 format. In CIDR block 10.23.12.24/24, /24 specifies the length of the prefix of an IP address. The prefix length ranges from 1 to 32.
ShardCount 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.
SlaveReadOnlyCount 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.

SrcDbInstanceId string
If you want to create an instance based on the backup set of an existing instance, set this parameter to the ID of the source instance. preceding three parameters. After you specify the SrcDBInstanceId parameter, use the BackupId, ClusterBackupId (recommended for cloud-native cluster instances), or RestoreTime parameter to specify the backup set or the specific point in time that you want to use to create an instance. The SrcDBInstanceId parameter must be used in combination with one of the preceding three parameters.
SslEnabled string
Modifies SSL encryption configurations. Valid values: 1. Disable (The SSL encryption is disabled) 2. Enable (The SSL encryption is enabled) 3. Update (The SSL certificate is updated)
StoragePerformanceLevel Changes to this property will trigger replacement. string

The storage type. Valid values: PL1, PL2, and PL3. This parameter is available only when the value of InstanceType is tair_essd, that is, when an ESSD disk instance is selected.

If the ESSD instance type is 4C, 8C, or 16C, you can specify the storage type as PL1.

If the type of ESSD instance you select is 8C, 16C, 32C, or 52C, you can specify the storage type as PL2.

If the ESSD instance type is 16C, 32C, or 52C, you can specify the storage type as PL3.

StorageSizeGb Changes to this property will trigger replacement. int
Different specifications have different value ranges. When the instance_type value is tair_essd and the disk type is ESSD, this attribute takes effect and is required. When a Tair disk is an SSD, see-https://help.aliyun.com/zh/redis/product-overview/capacity-storage-type. The capacity field is defined as different fixed values according to different specifications, and does not need to be specified.
Tags Dictionary<string, string>
The tag of the resource
TairInstanceName string
The name of the resource.
VpcAuthMode string
The VPC authentication mode. Valid values: Open (enables password authentication), Close (disables password authentication and enables password-free access).
InstanceClass This property is required. string
The instance type of the instance. For more information, see Instance types.
InstanceType
This property is required.
Changes to this property will trigger replacement.
string
The storage medium of the instance. Valid values: tair_rdb, tair_scm, tair_essd.
VpcId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the virtual private cloud (VPC).
VswitchId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the vSwitch to which the instance is connected.
ZoneId
This property is required.
Changes to this property will trigger replacement.
string
Zone ID
AutoRenew string
Specifies whether to enable auto-renewal for the instance. Default value: false. Valid values: true(enables auto-renewal), false(disables auto-renewal).
AutoRenewPeriod 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.
BackupId string

You can set the BackupId parameter to the backup set ID of the source instance. The system uses the data stored in the backup set to create an instance. You can call the DescribeBackups operation to query backup set IDs. If the source instance is a cluster instance, set the BackupId parameter to the backup set IDs of all shards of the source instance, separated by commas (,).

If your instance is a cloud-native cluster instance, we recommend that you use DescribeClusterBackupList to query the backup set ID of the cluster instance. Then, set the ClusterBackupId request parameter to the backup set ID to clone the cluster instance. This eliminates the need to specify the backup set ID of each shard.

ClusterBackupId string
This parameter is supported for specific new cluster instances. You can query the backup set ID by calling the DescribeClusterBackupList operation. If this parameter is supported, you can specify the backup set ID. In this case, you do not need to specify the BackupId parameter. If this parameter is not supported, set the BackupId parameter to the IDs of backup sets in all shards of the source instance, separated by commas (,).
ConnectionStringPrefix string
The prefix of the endpoint the instance, which must consist of lowercase letters and numbers and start with a lowercase letter.
EffectiveTime 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).
EngineVersion 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.

ForceUpgrade bool
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).
GlobalInstanceId string

The ID of a distributed (Global Distributed Cache) instance, which indicates whether to use the newly created instance as a sub-instance of a distributed instance. You can use this method to create a distributed instance.

  1. Enter true if you want the new instance to be the first child instance.

  2. If you want the new instance to be used as the second and third sub-instances, enter the distributed instance ID.

  3. Not as a distributed instance, you do not need to enter any values.

IntranetBandwidth int
Instance intranet bandwidth
ModifyMode string
The modification method when modifying the IP whitelist. The value includes Cover (default): overwrite the original whitelist; Append: Append the whitelist; Delete: Delete the whitelist.
NodeType string
The node type. For cloud-native instances, input MASTER_SLAVE (master-replica) or STAND_ALONE (standalone). For classic instances, input double (master-replica) or single (standalone).
ParamNoLooseSentinelEnabled string
sentinel compatibility mode, applicable to non-cluster instances. For more information about parameters, see yes or no in the https://www.alibabacloud.com/help/en/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance, valid values: yes, no. The default value is no.
ParamNoLooseSentinelPasswordFreeAccess string
Whether to allow Sentinel commands to be executed without secrets when Sentinel mode is enabled. Value: yes: enabled. After the command is enabled, you can directly run the Sentinel command in the VPC without enabling the password-free feature. no: the default value, disabled. For parameters, see https://help.aliyun.com/zh/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance
ParamNoLooseSentinelPasswordFreeCommands string
After sentinel mode and the# no_loose_sentinel-password-free-access parameter are enabled, you can use this parameter to add additional secret-free command lists (empty by default). After setting, you can execute the corresponding command on any connection without secret, please operate carefully. Commands are written in lowercase letters, and multiple commands are separated by commas (,). See https://help.aliyun.com/zh/redis/user-guide/parameter-support for details
ParamReplMode string

The value is semisync or async. The default value is async.

The default data synchronization mode is asynchronous replication. To modify the data synchronization mode, refer to https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance.

ParamSemisyncReplTimeout string
The degradation threshold time of the semi-synchronous replication mode. This parameter value is required only when semi-synchronous replication is enabled. The unit is milliseconds, and the range is 10ms to 60000ms. The default value is 500ms. Please refer to: https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance.
ParamSentinelCompatEnable string
sentinel compatibility mode, applicable to instances in the cluster architecture proxy connection mode or read/write splitting architecture. For more information about the parameters, see https://www.alibabacloud.com/help/en/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance. The value is 0 or 1. The default value is 0.
Password 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 ! @ # $ % ^ & * ( ) _ + - =
PaymentType string
Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default Subscription.
Period 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.
Port Changes to this property will trigger replacement. int
The Tair service port. The service port of the instance. Valid values: 1024 to 65535. Default value: 6379.
ReadOnlyCount 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.

RecoverConfigMode string
Whether to restore the account, kernel parameters, and whitelist (config) information from the original backup set when creating an instance using a specified backup set. The default value is empty, indicating that the account, kernel parameters, and whitelist information are not restored from the original backup set. This parameter is only applicable to Cloud Native instances, and the account, kernel parameters, and whitelist information must have been saved in the original backup set.
ResourceGroupId string
The ID of the resource group to which the instance belongs.
SecondaryZoneId Changes to this property will trigger replacement. string
The ID of the secondary zone.This parameter is returned only if the instance is deployed in two zones.
SecurityGroupId string
Security group id
SecurityIpGroupName string
The name of the IP address whitelist. You cannot modify the whitelist that is generated by the system. If you do not specify this parameter, the default whitelist is modified by default.
SecurityIps string
The IP addresses in the whitelist. Up to 1,000 IP addresses can be specified in a whitelist. Separate multiple IP addresses with a comma (,). Specify an IP address in the 0.0.0.0/0, 10.23.12.24, or 10.23.12.24/24 format. In CIDR block 10.23.12.24/24, /24 specifies the length of the prefix of an IP address. The prefix length ranges from 1 to 32.
ShardCount 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.
SlaveReadOnlyCount 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.

SrcDbInstanceId string
If you want to create an instance based on the backup set of an existing instance, set this parameter to the ID of the source instance. preceding three parameters. After you specify the SrcDBInstanceId parameter, use the BackupId, ClusterBackupId (recommended for cloud-native cluster instances), or RestoreTime parameter to specify the backup set or the specific point in time that you want to use to create an instance. The SrcDBInstanceId parameter must be used in combination with one of the preceding three parameters.
SslEnabled string
Modifies SSL encryption configurations. Valid values: 1. Disable (The SSL encryption is disabled) 2. Enable (The SSL encryption is enabled) 3. Update (The SSL certificate is updated)
StoragePerformanceLevel Changes to this property will trigger replacement. string

The storage type. Valid values: PL1, PL2, and PL3. This parameter is available only when the value of InstanceType is tair_essd, that is, when an ESSD disk instance is selected.

If the ESSD instance type is 4C, 8C, or 16C, you can specify the storage type as PL1.

If the type of ESSD instance you select is 8C, 16C, 32C, or 52C, you can specify the storage type as PL2.

If the ESSD instance type is 16C, 32C, or 52C, you can specify the storage type as PL3.

StorageSizeGb Changes to this property will trigger replacement. int
Different specifications have different value ranges. When the instance_type value is tair_essd and the disk type is ESSD, this attribute takes effect and is required. When a Tair disk is an SSD, see-https://help.aliyun.com/zh/redis/product-overview/capacity-storage-type. The capacity field is defined as different fixed values according to different specifications, and does not need to be specified.
Tags map[string]string
The tag of the resource
TairInstanceName string
The name of the resource.
VpcAuthMode string
The VPC authentication mode. Valid values: Open (enables password authentication), Close (disables password authentication and enables password-free access).
instanceClass This property is required. String
The instance type of the instance. For more information, see Instance types.
instanceType
This property is required.
Changes to this property will trigger replacement.
String
The storage medium of the instance. Valid values: tair_rdb, tair_scm, tair_essd.
vpcId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the virtual private cloud (VPC).
vswitchId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the vSwitch to which the instance is connected.
zoneId
This property is required.
Changes to this property will trigger replacement.
String
Zone ID
autoRenew String
Specifies whether to enable auto-renewal for the instance. Default value: false. Valid values: true(enables auto-renewal), false(disables auto-renewal).
autoRenewPeriod 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.
backupId String

You can set the BackupId parameter to the backup set ID of the source instance. The system uses the data stored in the backup set to create an instance. You can call the DescribeBackups operation to query backup set IDs. If the source instance is a cluster instance, set the BackupId parameter to the backup set IDs of all shards of the source instance, separated by commas (,).

If your instance is a cloud-native cluster instance, we recommend that you use DescribeClusterBackupList to query the backup set ID of the cluster instance. Then, set the ClusterBackupId request parameter to the backup set ID to clone the cluster instance. This eliminates the need to specify the backup set ID of each shard.

clusterBackupId String
This parameter is supported for specific new cluster instances. You can query the backup set ID by calling the DescribeClusterBackupList operation. If this parameter is supported, you can specify the backup set ID. In this case, you do not need to specify the BackupId parameter. If this parameter is not supported, set the BackupId parameter to the IDs of backup sets in all shards of the source instance, separated by commas (,).
connectionStringPrefix String
The prefix of the endpoint the instance, which must consist of lowercase letters and numbers and start with a lowercase letter.
effectiveTime 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).
engineVersion 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.

forceUpgrade 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).
globalInstanceId String

The ID of a distributed (Global Distributed Cache) instance, which indicates whether to use the newly created instance as a sub-instance of a distributed instance. You can use this method to create a distributed instance.

  1. Enter true if you want the new instance to be the first child instance.

  2. If you want the new instance to be used as the second and third sub-instances, enter the distributed instance ID.

  3. Not as a distributed instance, you do not need to enter any values.

intranetBandwidth Integer
Instance intranet bandwidth
modifyMode String
The modification method when modifying the IP whitelist. The value includes Cover (default): overwrite the original whitelist; Append: Append the whitelist; Delete: Delete the whitelist.
nodeType String
The node type. For cloud-native instances, input MASTER_SLAVE (master-replica) or STAND_ALONE (standalone). For classic instances, input double (master-replica) or single (standalone).
paramNoLooseSentinelEnabled String
sentinel compatibility mode, applicable to non-cluster instances. For more information about parameters, see yes or no in the https://www.alibabacloud.com/help/en/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance, valid values: yes, no. The default value is no.
paramNoLooseSentinelPasswordFreeAccess String
Whether to allow Sentinel commands to be executed without secrets when Sentinel mode is enabled. Value: yes: enabled. After the command is enabled, you can directly run the Sentinel command in the VPC without enabling the password-free feature. no: the default value, disabled. For parameters, see https://help.aliyun.com/zh/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance
paramNoLooseSentinelPasswordFreeCommands String
After sentinel mode and the# no_loose_sentinel-password-free-access parameter are enabled, you can use this parameter to add additional secret-free command lists (empty by default). After setting, you can execute the corresponding command on any connection without secret, please operate carefully. Commands are written in lowercase letters, and multiple commands are separated by commas (,). See https://help.aliyun.com/zh/redis/user-guide/parameter-support for details
paramReplMode String

The value is semisync or async. The default value is async.

The default data synchronization mode is asynchronous replication. To modify the data synchronization mode, refer to https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance.

paramSemisyncReplTimeout String
The degradation threshold time of the semi-synchronous replication mode. This parameter value is required only when semi-synchronous replication is enabled. The unit is milliseconds, and the range is 10ms to 60000ms. The default value is 500ms. Please refer to: https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance.
paramSentinelCompatEnable String
sentinel compatibility mode, applicable to instances in the cluster architecture proxy connection mode or read/write splitting architecture. For more information about the parameters, see https://www.alibabacloud.com/help/en/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance. The value is 0 or 1. The default value is 0.
password 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 ! @ # $ % ^ & * ( ) _ + - =
paymentType String
Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default Subscription.
period Integer
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.
port Changes to this property will trigger replacement. Integer
The Tair service port. The service port of the instance. Valid values: 1024 to 65535. Default value: 6379.
readOnlyCount Integer

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.

recoverConfigMode String
Whether to restore the account, kernel parameters, and whitelist (config) information from the original backup set when creating an instance using a specified backup set. The default value is empty, indicating that the account, kernel parameters, and whitelist information are not restored from the original backup set. This parameter is only applicable to Cloud Native instances, and the account, kernel parameters, and whitelist information must have been saved in the original backup set.
resourceGroupId String
The ID of the resource group to which the instance belongs.
secondaryZoneId Changes to this property will trigger replacement. String
The ID of the secondary zone.This parameter is returned only if the instance is deployed in two zones.
securityGroupId String
Security group id
securityIpGroupName String
The name of the IP address whitelist. You cannot modify the whitelist that is generated by the system. If you do not specify this parameter, the default whitelist is modified by default.
securityIps String
The IP addresses in the whitelist. Up to 1,000 IP addresses can be specified in a whitelist. Separate multiple IP addresses with a comma (,). Specify an IP address in the 0.0.0.0/0, 10.23.12.24, or 10.23.12.24/24 format. In CIDR block 10.23.12.24/24, /24 specifies the length of the prefix of an IP address. The prefix length ranges from 1 to 32.
shardCount Integer
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.
slaveReadOnlyCount Integer

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.

srcDbInstanceId String
If you want to create an instance based on the backup set of an existing instance, set this parameter to the ID of the source instance. preceding three parameters. After you specify the SrcDBInstanceId parameter, use the BackupId, ClusterBackupId (recommended for cloud-native cluster instances), or RestoreTime parameter to specify the backup set or the specific point in time that you want to use to create an instance. The SrcDBInstanceId parameter must be used in combination with one of the preceding three parameters.
sslEnabled String
Modifies SSL encryption configurations. Valid values: 1. Disable (The SSL encryption is disabled) 2. Enable (The SSL encryption is enabled) 3. Update (The SSL certificate is updated)
storagePerformanceLevel Changes to this property will trigger replacement. String

The storage type. Valid values: PL1, PL2, and PL3. This parameter is available only when the value of InstanceType is tair_essd, that is, when an ESSD disk instance is selected.

If the ESSD instance type is 4C, 8C, or 16C, you can specify the storage type as PL1.

If the type of ESSD instance you select is 8C, 16C, 32C, or 52C, you can specify the storage type as PL2.

If the ESSD instance type is 16C, 32C, or 52C, you can specify the storage type as PL3.

storageSizeGb Changes to this property will trigger replacement. Integer
Different specifications have different value ranges. When the instance_type value is tair_essd and the disk type is ESSD, this attribute takes effect and is required. When a Tair disk is an SSD, see-https://help.aliyun.com/zh/redis/product-overview/capacity-storage-type. The capacity field is defined as different fixed values according to different specifications, and does not need to be specified.
tags Map<String,String>
The tag of the resource
tairInstanceName String
The name of the resource.
vpcAuthMode String
The VPC authentication mode. Valid values: Open (enables password authentication), Close (disables password authentication and enables password-free access).
instanceClass This property is required. string
The instance type of the instance. For more information, see Instance types.
instanceType
This property is required.
Changes to this property will trigger replacement.
string
The storage medium of the instance. Valid values: tair_rdb, tair_scm, tair_essd.
vpcId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the virtual private cloud (VPC).
vswitchId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the vSwitch to which the instance is connected.
zoneId
This property is required.
Changes to this property will trigger replacement.
string
Zone ID
autoRenew string
Specifies whether to enable auto-renewal for the instance. Default value: false. Valid values: true(enables auto-renewal), false(disables auto-renewal).
autoRenewPeriod 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.
backupId string

You can set the BackupId parameter to the backup set ID of the source instance. The system uses the data stored in the backup set to create an instance. You can call the DescribeBackups operation to query backup set IDs. If the source instance is a cluster instance, set the BackupId parameter to the backup set IDs of all shards of the source instance, separated by commas (,).

If your instance is a cloud-native cluster instance, we recommend that you use DescribeClusterBackupList to query the backup set ID of the cluster instance. Then, set the ClusterBackupId request parameter to the backup set ID to clone the cluster instance. This eliminates the need to specify the backup set ID of each shard.

clusterBackupId string
This parameter is supported for specific new cluster instances. You can query the backup set ID by calling the DescribeClusterBackupList operation. If this parameter is supported, you can specify the backup set ID. In this case, you do not need to specify the BackupId parameter. If this parameter is not supported, set the BackupId parameter to the IDs of backup sets in all shards of the source instance, separated by commas (,).
connectionStringPrefix string
The prefix of the endpoint the instance, which must consist of lowercase letters and numbers and start with a lowercase letter.
effectiveTime 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).
engineVersion 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.

forceUpgrade 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).
globalInstanceId string

The ID of a distributed (Global Distributed Cache) instance, which indicates whether to use the newly created instance as a sub-instance of a distributed instance. You can use this method to create a distributed instance.

  1. Enter true if you want the new instance to be the first child instance.

  2. If you want the new instance to be used as the second and third sub-instances, enter the distributed instance ID.

  3. Not as a distributed instance, you do not need to enter any values.

intranetBandwidth number
Instance intranet bandwidth
modifyMode string
The modification method when modifying the IP whitelist. The value includes Cover (default): overwrite the original whitelist; Append: Append the whitelist; Delete: Delete the whitelist.
nodeType string
The node type. For cloud-native instances, input MASTER_SLAVE (master-replica) or STAND_ALONE (standalone). For classic instances, input double (master-replica) or single (standalone).
paramNoLooseSentinelEnabled string
sentinel compatibility mode, applicable to non-cluster instances. For more information about parameters, see yes or no in the https://www.alibabacloud.com/help/en/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance, valid values: yes, no. The default value is no.
paramNoLooseSentinelPasswordFreeAccess string
Whether to allow Sentinel commands to be executed without secrets when Sentinel mode is enabled. Value: yes: enabled. After the command is enabled, you can directly run the Sentinel command in the VPC without enabling the password-free feature. no: the default value, disabled. For parameters, see https://help.aliyun.com/zh/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance
paramNoLooseSentinelPasswordFreeCommands string
After sentinel mode and the# no_loose_sentinel-password-free-access parameter are enabled, you can use this parameter to add additional secret-free command lists (empty by default). After setting, you can execute the corresponding command on any connection without secret, please operate carefully. Commands are written in lowercase letters, and multiple commands are separated by commas (,). See https://help.aliyun.com/zh/redis/user-guide/parameter-support for details
paramReplMode string

The value is semisync or async. The default value is async.

The default data synchronization mode is asynchronous replication. To modify the data synchronization mode, refer to https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance.

paramSemisyncReplTimeout string
The degradation threshold time of the semi-synchronous replication mode. This parameter value is required only when semi-synchronous replication is enabled. The unit is milliseconds, and the range is 10ms to 60000ms. The default value is 500ms. Please refer to: https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance.
paramSentinelCompatEnable string
sentinel compatibility mode, applicable to instances in the cluster architecture proxy connection mode or read/write splitting architecture. For more information about the parameters, see https://www.alibabacloud.com/help/en/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance. The value is 0 or 1. The default value is 0.
password 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 ! @ # $ % ^ & * ( ) _ + - =
paymentType string
Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default Subscription.
period number
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.
port Changes to this property will trigger replacement. number
The Tair service port. The service port of the instance. Valid values: 1024 to 65535. Default value: 6379.
readOnlyCount number

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.

recoverConfigMode string
Whether to restore the account, kernel parameters, and whitelist (config) information from the original backup set when creating an instance using a specified backup set. The default value is empty, indicating that the account, kernel parameters, and whitelist information are not restored from the original backup set. This parameter is only applicable to Cloud Native instances, and the account, kernel parameters, and whitelist information must have been saved in the original backup set.
resourceGroupId string
The ID of the resource group to which the instance belongs.
secondaryZoneId Changes to this property will trigger replacement. string
The ID of the secondary zone.This parameter is returned only if the instance is deployed in two zones.
securityGroupId string
Security group id
securityIpGroupName string
The name of the IP address whitelist. You cannot modify the whitelist that is generated by the system. If you do not specify this parameter, the default whitelist is modified by default.
securityIps string
The IP addresses in the whitelist. Up to 1,000 IP addresses can be specified in a whitelist. Separate multiple IP addresses with a comma (,). Specify an IP address in the 0.0.0.0/0, 10.23.12.24, or 10.23.12.24/24 format. In CIDR block 10.23.12.24/24, /24 specifies the length of the prefix of an IP address. The prefix length ranges from 1 to 32.
shardCount number
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.
slaveReadOnlyCount number

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.

srcDbInstanceId string
If you want to create an instance based on the backup set of an existing instance, set this parameter to the ID of the source instance. preceding three parameters. After you specify the SrcDBInstanceId parameter, use the BackupId, ClusterBackupId (recommended for cloud-native cluster instances), or RestoreTime parameter to specify the backup set or the specific point in time that you want to use to create an instance. The SrcDBInstanceId parameter must be used in combination with one of the preceding three parameters.
sslEnabled string
Modifies SSL encryption configurations. Valid values: 1. Disable (The SSL encryption is disabled) 2. Enable (The SSL encryption is enabled) 3. Update (The SSL certificate is updated)
storagePerformanceLevel Changes to this property will trigger replacement. string

The storage type. Valid values: PL1, PL2, and PL3. This parameter is available only when the value of InstanceType is tair_essd, that is, when an ESSD disk instance is selected.

If the ESSD instance type is 4C, 8C, or 16C, you can specify the storage type as PL1.

If the type of ESSD instance you select is 8C, 16C, 32C, or 52C, you can specify the storage type as PL2.

If the ESSD instance type is 16C, 32C, or 52C, you can specify the storage type as PL3.

storageSizeGb Changes to this property will trigger replacement. number
Different specifications have different value ranges. When the instance_type value is tair_essd and the disk type is ESSD, this attribute takes effect and is required. When a Tair disk is an SSD, see-https://help.aliyun.com/zh/redis/product-overview/capacity-storage-type. The capacity field is defined as different fixed values according to different specifications, and does not need to be specified.
tags {[key: string]: string}
The tag of the resource
tairInstanceName string
The name of the resource.
vpcAuthMode string
The VPC authentication mode. Valid values: Open (enables password authentication), Close (disables password authentication and enables password-free access).
instance_class This property is required. str
The instance type of the instance. For more information, see Instance types.
instance_type
This property is required.
Changes to this property will trigger replacement.
str
The storage medium of the instance. Valid values: tair_rdb, tair_scm, tair_essd.
vpc_id
This property is required.
Changes to this property will trigger replacement.
str
The ID of the virtual private cloud (VPC).
vswitch_id
This property is required.
Changes to this property will trigger replacement.
str
The ID of the vSwitch to which the instance is connected.
zone_id
This property is required.
Changes to this property will trigger replacement.
str
Zone ID
auto_renew str
Specifies whether to enable auto-renewal for the instance. Default value: false. Valid values: true(enables auto-renewal), false(disables auto-renewal).
auto_renew_period str
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.
backup_id str

You can set the BackupId parameter to the backup set ID of the source instance. The system uses the data stored in the backup set to create an instance. You can call the DescribeBackups operation to query backup set IDs. If the source instance is a cluster instance, set the BackupId parameter to the backup set IDs of all shards of the source instance, separated by commas (,).

If your instance is a cloud-native cluster instance, we recommend that you use DescribeClusterBackupList to query the backup set ID of the cluster instance. Then, set the ClusterBackupId request parameter to the backup set ID to clone the cluster instance. This eliminates the need to specify the backup set ID of each shard.

cluster_backup_id str
This parameter is supported for specific new cluster instances. You can query the backup set ID by calling the DescribeClusterBackupList operation. If this parameter is supported, you can specify the backup set ID. In this case, you do not need to specify the BackupId parameter. If this parameter is not supported, set the BackupId parameter to the IDs of backup sets in all shards of the source instance, separated by commas (,).
connection_string_prefix str
The prefix of the endpoint the instance, which must consist of lowercase letters and numbers and start with a lowercase letter.
effective_time str
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).
engine_version str

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.

force_upgrade bool
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).
global_instance_id str

The ID of a distributed (Global Distributed Cache) instance, which indicates whether to use the newly created instance as a sub-instance of a distributed instance. You can use this method to create a distributed instance.

  1. Enter true if you want the new instance to be the first child instance.

  2. If you want the new instance to be used as the second and third sub-instances, enter the distributed instance ID.

  3. Not as a distributed instance, you do not need to enter any values.

intranet_bandwidth int
Instance intranet bandwidth
modify_mode str
The modification method when modifying the IP whitelist. The value includes Cover (default): overwrite the original whitelist; Append: Append the whitelist; Delete: Delete the whitelist.
node_type str
The node type. For cloud-native instances, input MASTER_SLAVE (master-replica) or STAND_ALONE (standalone). For classic instances, input double (master-replica) or single (standalone).
param_no_loose_sentinel_enabled str
sentinel compatibility mode, applicable to non-cluster instances. For more information about parameters, see yes or no in the https://www.alibabacloud.com/help/en/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance, valid values: yes, no. The default value is no.
param_no_loose_sentinel_password_free_access str
Whether to allow Sentinel commands to be executed without secrets when Sentinel mode is enabled. Value: yes: enabled. After the command is enabled, you can directly run the Sentinel command in the VPC without enabling the password-free feature. no: the default value, disabled. For parameters, see https://help.aliyun.com/zh/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance
param_no_loose_sentinel_password_free_commands str
After sentinel mode and the# no_loose_sentinel-password-free-access parameter are enabled, you can use this parameter to add additional secret-free command lists (empty by default). After setting, you can execute the corresponding command on any connection without secret, please operate carefully. Commands are written in lowercase letters, and multiple commands are separated by commas (,). See https://help.aliyun.com/zh/redis/user-guide/parameter-support for details
param_repl_mode str

The value is semisync or async. The default value is async.

The default data synchronization mode is asynchronous replication. To modify the data synchronization mode, refer to https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance.

param_semisync_repl_timeout str
The degradation threshold time of the semi-synchronous replication mode. This parameter value is required only when semi-synchronous replication is enabled. The unit is milliseconds, and the range is 10ms to 60000ms. The default value is 500ms. Please refer to: https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance.
param_sentinel_compat_enable str
sentinel compatibility mode, applicable to instances in the cluster architecture proxy connection mode or read/write splitting architecture. For more information about the parameters, see https://www.alibabacloud.com/help/en/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance. The value is 0 or 1. The default value is 0.
password str
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 ! @ # $ % ^ & * ( ) _ + - =
payment_type str
Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default Subscription.
period 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.
port Changes to this property will trigger replacement. int
The Tair service port. The service port of the instance. Valid values: 1024 to 65535. Default value: 6379.
read_only_count 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.

recover_config_mode str
Whether to restore the account, kernel parameters, and whitelist (config) information from the original backup set when creating an instance using a specified backup set. The default value is empty, indicating that the account, kernel parameters, and whitelist information are not restored from the original backup set. This parameter is only applicable to Cloud Native instances, and the account, kernel parameters, and whitelist information must have been saved in the original backup set.
resource_group_id str
The ID of the resource group to which the instance belongs.
secondary_zone_id Changes to this property will trigger replacement. str
The ID of the secondary zone.This parameter is returned only if the instance is deployed in two zones.
security_group_id str
Security group id
security_ip_group_name str
The name of the IP address whitelist. You cannot modify the whitelist that is generated by the system. If you do not specify this parameter, the default whitelist is modified by default.
security_ips str
The IP addresses in the whitelist. Up to 1,000 IP addresses can be specified in a whitelist. Separate multiple IP addresses with a comma (,). Specify an IP address in the 0.0.0.0/0, 10.23.12.24, or 10.23.12.24/24 format. In CIDR block 10.23.12.24/24, /24 specifies the length of the prefix of an IP address. The prefix length ranges from 1 to 32.
shard_count 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.
slave_read_only_count 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.

src_db_instance_id str
If you want to create an instance based on the backup set of an existing instance, set this parameter to the ID of the source instance. preceding three parameters. After you specify the SrcDBInstanceId parameter, use the BackupId, ClusterBackupId (recommended for cloud-native cluster instances), or RestoreTime parameter to specify the backup set or the specific point in time that you want to use to create an instance. The SrcDBInstanceId parameter must be used in combination with one of the preceding three parameters.
ssl_enabled str
Modifies SSL encryption configurations. Valid values: 1. Disable (The SSL encryption is disabled) 2. Enable (The SSL encryption is enabled) 3. Update (The SSL certificate is updated)
storage_performance_level Changes to this property will trigger replacement. str

The storage type. Valid values: PL1, PL2, and PL3. This parameter is available only when the value of InstanceType is tair_essd, that is, when an ESSD disk instance is selected.

If the ESSD instance type is 4C, 8C, or 16C, you can specify the storage type as PL1.

If the type of ESSD instance you select is 8C, 16C, 32C, or 52C, you can specify the storage type as PL2.

If the ESSD instance type is 16C, 32C, or 52C, you can specify the storage type as PL3.

storage_size_gb Changes to this property will trigger replacement. int
Different specifications have different value ranges. When the instance_type value is tair_essd and the disk type is ESSD, this attribute takes effect and is required. When a Tair disk is an SSD, see-https://help.aliyun.com/zh/redis/product-overview/capacity-storage-type. The capacity field is defined as different fixed values according to different specifications, and does not need to be specified.
tags Mapping[str, str]
The tag of the resource
tair_instance_name str
The name of the resource.
vpc_auth_mode str
The VPC authentication mode. Valid values: Open (enables password authentication), Close (disables password authentication and enables password-free access).
instanceClass This property is required. String
The instance type of the instance. For more information, see Instance types.
instanceType
This property is required.
Changes to this property will trigger replacement.
String
The storage medium of the instance. Valid values: tair_rdb, tair_scm, tair_essd.
vpcId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the virtual private cloud (VPC).
vswitchId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the vSwitch to which the instance is connected.
zoneId
This property is required.
Changes to this property will trigger replacement.
String
Zone ID
autoRenew String
Specifies whether to enable auto-renewal for the instance. Default value: false. Valid values: true(enables auto-renewal), false(disables auto-renewal).
autoRenewPeriod 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.
backupId String

You can set the BackupId parameter to the backup set ID of the source instance. The system uses the data stored in the backup set to create an instance. You can call the DescribeBackups operation to query backup set IDs. If the source instance is a cluster instance, set the BackupId parameter to the backup set IDs of all shards of the source instance, separated by commas (,).

If your instance is a cloud-native cluster instance, we recommend that you use DescribeClusterBackupList to query the backup set ID of the cluster instance. Then, set the ClusterBackupId request parameter to the backup set ID to clone the cluster instance. This eliminates the need to specify the backup set ID of each shard.

clusterBackupId String
This parameter is supported for specific new cluster instances. You can query the backup set ID by calling the DescribeClusterBackupList operation. If this parameter is supported, you can specify the backup set ID. In this case, you do not need to specify the BackupId parameter. If this parameter is not supported, set the BackupId parameter to the IDs of backup sets in all shards of the source instance, separated by commas (,).
connectionStringPrefix String
The prefix of the endpoint the instance, which must consist of lowercase letters and numbers and start with a lowercase letter.
effectiveTime 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).
engineVersion 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.

forceUpgrade 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).
globalInstanceId String

The ID of a distributed (Global Distributed Cache) instance, which indicates whether to use the newly created instance as a sub-instance of a distributed instance. You can use this method to create a distributed instance.

  1. Enter true if you want the new instance to be the first child instance.

  2. If you want the new instance to be used as the second and third sub-instances, enter the distributed instance ID.

  3. Not as a distributed instance, you do not need to enter any values.

intranetBandwidth Number
Instance intranet bandwidth
modifyMode String
The modification method when modifying the IP whitelist. The value includes Cover (default): overwrite the original whitelist; Append: Append the whitelist; Delete: Delete the whitelist.
nodeType String
The node type. For cloud-native instances, input MASTER_SLAVE (master-replica) or STAND_ALONE (standalone). For classic instances, input double (master-replica) or single (standalone).
paramNoLooseSentinelEnabled String
sentinel compatibility mode, applicable to non-cluster instances. For more information about parameters, see yes or no in the https://www.alibabacloud.com/help/en/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance, valid values: yes, no. The default value is no.
paramNoLooseSentinelPasswordFreeAccess String
Whether to allow Sentinel commands to be executed without secrets when Sentinel mode is enabled. Value: yes: enabled. After the command is enabled, you can directly run the Sentinel command in the VPC without enabling the password-free feature. no: the default value, disabled. For parameters, see https://help.aliyun.com/zh/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance
paramNoLooseSentinelPasswordFreeCommands String
After sentinel mode and the# no_loose_sentinel-password-free-access parameter are enabled, you can use this parameter to add additional secret-free command lists (empty by default). After setting, you can execute the corresponding command on any connection without secret, please operate carefully. Commands are written in lowercase letters, and multiple commands are separated by commas (,). See https://help.aliyun.com/zh/redis/user-guide/parameter-support for details
paramReplMode String

The value is semisync or async. The default value is async.

The default data synchronization mode is asynchronous replication. To modify the data synchronization mode, refer to https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance.

paramSemisyncReplTimeout String
The degradation threshold time of the semi-synchronous replication mode. This parameter value is required only when semi-synchronous replication is enabled. The unit is milliseconds, and the range is 10ms to 60000ms. The default value is 500ms. Please refer to: https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance.
paramSentinelCompatEnable String
sentinel compatibility mode, applicable to instances in the cluster architecture proxy connection mode or read/write splitting architecture. For more information about the parameters, see https://www.alibabacloud.com/help/en/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance. The value is 0 or 1. The default value is 0.
password 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 ! @ # $ % ^ & * ( ) _ + - =
paymentType String
Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default Subscription.
period Number
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.
port Changes to this property will trigger replacement. Number
The Tair service port. The service port of the instance. Valid values: 1024 to 65535. Default value: 6379.
readOnlyCount Number

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.

recoverConfigMode String
Whether to restore the account, kernel parameters, and whitelist (config) information from the original backup set when creating an instance using a specified backup set. The default value is empty, indicating that the account, kernel parameters, and whitelist information are not restored from the original backup set. This parameter is only applicable to Cloud Native instances, and the account, kernel parameters, and whitelist information must have been saved in the original backup set.
resourceGroupId String
The ID of the resource group to which the instance belongs.
secondaryZoneId Changes to this property will trigger replacement. String
The ID of the secondary zone.This parameter is returned only if the instance is deployed in two zones.
securityGroupId String
Security group id
securityIpGroupName String
The name of the IP address whitelist. You cannot modify the whitelist that is generated by the system. If you do not specify this parameter, the default whitelist is modified by default.
securityIps String
The IP addresses in the whitelist. Up to 1,000 IP addresses can be specified in a whitelist. Separate multiple IP addresses with a comma (,). Specify an IP address in the 0.0.0.0/0, 10.23.12.24, or 10.23.12.24/24 format. In CIDR block 10.23.12.24/24, /24 specifies the length of the prefix of an IP address. The prefix length ranges from 1 to 32.
shardCount Number
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.
slaveReadOnlyCount Number

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.

srcDbInstanceId String
If you want to create an instance based on the backup set of an existing instance, set this parameter to the ID of the source instance. preceding three parameters. After you specify the SrcDBInstanceId parameter, use the BackupId, ClusterBackupId (recommended for cloud-native cluster instances), or RestoreTime parameter to specify the backup set or the specific point in time that you want to use to create an instance. The SrcDBInstanceId parameter must be used in combination with one of the preceding three parameters.
sslEnabled String
Modifies SSL encryption configurations. Valid values: 1. Disable (The SSL encryption is disabled) 2. Enable (The SSL encryption is enabled) 3. Update (The SSL certificate is updated)
storagePerformanceLevel Changes to this property will trigger replacement. String

The storage type. Valid values: PL1, PL2, and PL3. This parameter is available only when the value of InstanceType is tair_essd, that is, when an ESSD disk instance is selected.

If the ESSD instance type is 4C, 8C, or 16C, you can specify the storage type as PL1.

If the type of ESSD instance you select is 8C, 16C, 32C, or 52C, you can specify the storage type as PL2.

If the ESSD instance type is 16C, 32C, or 52C, you can specify the storage type as PL3.

storageSizeGb Changes to this property will trigger replacement. Number
Different specifications have different value ranges. When the instance_type value is tair_essd and the disk type is ESSD, this attribute takes effect and is required. When a Tair disk is an SSD, see-https://help.aliyun.com/zh/redis/product-overview/capacity-storage-type. The capacity field is defined as different fixed values according to different specifications, and does not need to be specified.
tags Map<String>
The tag of the resource
tairInstanceName String
The name of the resource.
vpcAuthMode String
The VPC authentication mode. Valid values: Open (enables password authentication), Close (disables password authentication and enables password-free access).

Outputs

All input properties are implicitly available as output properties. Additionally, the TairInstance resource produces the following output properties:

ArchitectureType string
The architecture of the instance. cluster, standard, rwsplit.
ConnectionDomain string
The internal endpoint of the instance.
CreateTime 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.
Id string
The provider-assigned unique ID for this managed resource.
MaxConnections int
The maximum number of connections supported by the instance.
NetworkType string
The network type of the instance. CLASSIC(classic network), VPC.
RegionId string
Region Id
Status string
The status of the resource
TairInstanceId string
The ID of the resource.
ArchitectureType string
The architecture of the instance. cluster, standard, rwsplit.
ConnectionDomain string
The internal endpoint of the instance.
CreateTime 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.
Id string
The provider-assigned unique ID for this managed resource.
MaxConnections int
The maximum number of connections supported by the instance.
NetworkType string
The network type of the instance. CLASSIC(classic network), VPC.
RegionId string
Region Id
Status string
The status of the resource
TairInstanceId string
The ID of the resource.
architectureType String
The architecture of the instance. cluster, standard, rwsplit.
connectionDomain String
The internal endpoint of the instance.
createTime 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.
id String
The provider-assigned unique ID for this managed resource.
maxConnections Integer
The maximum number of connections supported by the instance.
networkType String
The network type of the instance. CLASSIC(classic network), VPC.
regionId String
Region Id
status String
The status of the resource
tairInstanceId String
The ID of the resource.
architectureType string
The architecture of the instance. cluster, standard, rwsplit.
connectionDomain string
The internal endpoint of the instance.
createTime 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.
id string
The provider-assigned unique ID for this managed resource.
maxConnections number
The maximum number of connections supported by the instance.
networkType string
The network type of the instance. CLASSIC(classic network), VPC.
regionId string
Region Id
status string
The status of the resource
tairInstanceId string
The ID of the resource.
architecture_type str
The architecture of the instance. cluster, standard, rwsplit.
connection_domain str
The internal endpoint of the instance.
create_time str
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.
id str
The provider-assigned unique ID for this managed resource.
max_connections int
The maximum number of connections supported by the instance.
network_type str
The network type of the instance. CLASSIC(classic network), VPC.
region_id str
Region Id
status str
The status of the resource
tair_instance_id str
The ID of the resource.
architectureType String
The architecture of the instance. cluster, standard, rwsplit.
connectionDomain String
The internal endpoint of the instance.
createTime 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.
id String
The provider-assigned unique ID for this managed resource.
maxConnections Number
The maximum number of connections supported by the instance.
networkType String
The network type of the instance. CLASSIC(classic network), VPC.
regionId String
Region Id
status String
The status of the resource
tairInstanceId String
The ID of the resource.

Look up Existing TairInstance Resource

Get an existing TairInstance resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: TairInstanceState, opts?: CustomResourceOptions): TairInstance
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        architecture_type: Optional[str] = None,
        auto_renew: Optional[str] = None,
        auto_renew_period: Optional[str] = None,
        backup_id: Optional[str] = None,
        cluster_backup_id: Optional[str] = None,
        connection_domain: Optional[str] = None,
        connection_string_prefix: Optional[str] = None,
        create_time: Optional[str] = None,
        effective_time: Optional[str] = None,
        engine_version: Optional[str] = None,
        force_upgrade: Optional[bool] = None,
        global_instance_id: Optional[str] = None,
        instance_class: Optional[str] = None,
        instance_type: Optional[str] = None,
        intranet_bandwidth: Optional[int] = None,
        max_connections: Optional[int] = None,
        modify_mode: Optional[str] = None,
        network_type: Optional[str] = None,
        node_type: Optional[str] = None,
        param_no_loose_sentinel_enabled: Optional[str] = None,
        param_no_loose_sentinel_password_free_access: Optional[str] = None,
        param_no_loose_sentinel_password_free_commands: Optional[str] = None,
        param_repl_mode: Optional[str] = None,
        param_semisync_repl_timeout: Optional[str] = None,
        param_sentinel_compat_enable: Optional[str] = None,
        password: Optional[str] = None,
        payment_type: Optional[str] = None,
        period: Optional[int] = None,
        port: Optional[int] = None,
        read_only_count: Optional[int] = None,
        recover_config_mode: Optional[str] = None,
        region_id: Optional[str] = None,
        resource_group_id: Optional[str] = None,
        secondary_zone_id: Optional[str] = None,
        security_group_id: Optional[str] = None,
        security_ip_group_name: Optional[str] = None,
        security_ips: Optional[str] = None,
        shard_count: Optional[int] = None,
        slave_read_only_count: Optional[int] = None,
        src_db_instance_id: Optional[str] = None,
        ssl_enabled: Optional[str] = None,
        status: Optional[str] = None,
        storage_performance_level: Optional[str] = None,
        storage_size_gb: Optional[int] = None,
        tags: Optional[Mapping[str, str]] = None,
        tair_instance_id: Optional[str] = None,
        tair_instance_name: Optional[str] = None,
        vpc_auth_mode: Optional[str] = None,
        vpc_id: Optional[str] = None,
        vswitch_id: Optional[str] = None,
        zone_id: Optional[str] = None) -> TairInstance
func GetTairInstance(ctx *Context, name string, id IDInput, state *TairInstanceState, opts ...ResourceOption) (*TairInstance, error)
public static TairInstance Get(string name, Input<string> id, TairInstanceState? state, CustomResourceOptions? opts = null)
public static TairInstance get(String name, Output<String> id, TairInstanceState state, CustomResourceOptions options)
resources:  _:    type: alicloud:redis:TairInstance    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
ArchitectureType string
The architecture of the instance. cluster, standard, rwsplit.
AutoRenew string
Specifies whether to enable auto-renewal for the instance. Default value: false. Valid values: true(enables auto-renewal), false(disables auto-renewal).
AutoRenewPeriod 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.
BackupId string

You can set the BackupId parameter to the backup set ID of the source instance. The system uses the data stored in the backup set to create an instance. You can call the DescribeBackups operation to query backup set IDs. If the source instance is a cluster instance, set the BackupId parameter to the backup set IDs of all shards of the source instance, separated by commas (,).

If your instance is a cloud-native cluster instance, we recommend that you use DescribeClusterBackupList to query the backup set ID of the cluster instance. Then, set the ClusterBackupId request parameter to the backup set ID to clone the cluster instance. This eliminates the need to specify the backup set ID of each shard.

ClusterBackupId string
This parameter is supported for specific new cluster instances. You can query the backup set ID by calling the DescribeClusterBackupList operation. If this parameter is supported, you can specify the backup set ID. In this case, you do not need to specify the BackupId parameter. If this parameter is not supported, set the BackupId parameter to the IDs of backup sets in all shards of the source instance, separated by commas (,).
ConnectionDomain string
The internal endpoint of the instance.
ConnectionStringPrefix string
The prefix of the endpoint the instance, which must consist of lowercase letters and numbers and start with a lowercase letter.
CreateTime 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.
EffectiveTime 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).
EngineVersion 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.

ForceUpgrade bool
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).
GlobalInstanceId string

The ID of a distributed (Global Distributed Cache) instance, which indicates whether to use the newly created instance as a sub-instance of a distributed instance. You can use this method to create a distributed instance.

  1. Enter true if you want the new instance to be the first child instance.

  2. If you want the new instance to be used as the second and third sub-instances, enter the distributed instance ID.

  3. Not as a distributed instance, you do not need to enter any values.

InstanceClass string
The instance type of the instance. For more information, see Instance types.
InstanceType Changes to this property will trigger replacement. string
The storage medium of the instance. Valid values: tair_rdb, tair_scm, tair_essd.
IntranetBandwidth int
Instance intranet bandwidth
MaxConnections int
The maximum number of connections supported by the instance.
ModifyMode string
The modification method when modifying the IP whitelist. The value includes Cover (default): overwrite the original whitelist; Append: Append the whitelist; Delete: Delete the whitelist.
NetworkType string
The network type of the instance. CLASSIC(classic network), VPC.
NodeType string
The node type. For cloud-native instances, input MASTER_SLAVE (master-replica) or STAND_ALONE (standalone). For classic instances, input double (master-replica) or single (standalone).
ParamNoLooseSentinelEnabled string
sentinel compatibility mode, applicable to non-cluster instances. For more information about parameters, see yes or no in the https://www.alibabacloud.com/help/en/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance, valid values: yes, no. The default value is no.
ParamNoLooseSentinelPasswordFreeAccess string
Whether to allow Sentinel commands to be executed without secrets when Sentinel mode is enabled. Value: yes: enabled. After the command is enabled, you can directly run the Sentinel command in the VPC without enabling the password-free feature. no: the default value, disabled. For parameters, see https://help.aliyun.com/zh/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance
ParamNoLooseSentinelPasswordFreeCommands string
After sentinel mode and the# no_loose_sentinel-password-free-access parameter are enabled, you can use this parameter to add additional secret-free command lists (empty by default). After setting, you can execute the corresponding command on any connection without secret, please operate carefully. Commands are written in lowercase letters, and multiple commands are separated by commas (,). See https://help.aliyun.com/zh/redis/user-guide/parameter-support for details
ParamReplMode string

The value is semisync or async. The default value is async.

The default data synchronization mode is asynchronous replication. To modify the data synchronization mode, refer to https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance.

ParamSemisyncReplTimeout string
The degradation threshold time of the semi-synchronous replication mode. This parameter value is required only when semi-synchronous replication is enabled. The unit is milliseconds, and the range is 10ms to 60000ms. The default value is 500ms. Please refer to: https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance.
ParamSentinelCompatEnable string
sentinel compatibility mode, applicable to instances in the cluster architecture proxy connection mode or read/write splitting architecture. For more information about the parameters, see https://www.alibabacloud.com/help/en/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance. The value is 0 or 1. The default value is 0.
Password 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 ! @ # $ % ^ & * ( ) _ + - =
PaymentType string
Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default Subscription.
Period 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.
Port Changes to this property will trigger replacement. int
The Tair service port. The service port of the instance. Valid values: 1024 to 65535. Default value: 6379.
ReadOnlyCount 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.

RecoverConfigMode string
Whether to restore the account, kernel parameters, and whitelist (config) information from the original backup set when creating an instance using a specified backup set. The default value is empty, indicating that the account, kernel parameters, and whitelist information are not restored from the original backup set. This parameter is only applicable to Cloud Native instances, and the account, kernel parameters, and whitelist information must have been saved in the original backup set.
RegionId string
Region Id
ResourceGroupId string
The ID of the resource group to which the instance belongs.
SecondaryZoneId Changes to this property will trigger replacement. string
The ID of the secondary zone.This parameter is returned only if the instance is deployed in two zones.
SecurityGroupId string
Security group id
SecurityIpGroupName string
The name of the IP address whitelist. You cannot modify the whitelist that is generated by the system. If you do not specify this parameter, the default whitelist is modified by default.
SecurityIps string
The IP addresses in the whitelist. Up to 1,000 IP addresses can be specified in a whitelist. Separate multiple IP addresses with a comma (,). Specify an IP address in the 0.0.0.0/0, 10.23.12.24, or 10.23.12.24/24 format. In CIDR block 10.23.12.24/24, /24 specifies the length of the prefix of an IP address. The prefix length ranges from 1 to 32.
ShardCount 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.
SlaveReadOnlyCount 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.

SrcDbInstanceId string
If you want to create an instance based on the backup set of an existing instance, set this parameter to the ID of the source instance. preceding three parameters. After you specify the SrcDBInstanceId parameter, use the BackupId, ClusterBackupId (recommended for cloud-native cluster instances), or RestoreTime parameter to specify the backup set or the specific point in time that you want to use to create an instance. The SrcDBInstanceId parameter must be used in combination with one of the preceding three parameters.
SslEnabled string
Modifies SSL encryption configurations. Valid values: 1. Disable (The SSL encryption is disabled) 2. Enable (The SSL encryption is enabled) 3. Update (The SSL certificate is updated)
Status string
The status of the resource
StoragePerformanceLevel Changes to this property will trigger replacement. string

The storage type. Valid values: PL1, PL2, and PL3. This parameter is available only when the value of InstanceType is tair_essd, that is, when an ESSD disk instance is selected.

If the ESSD instance type is 4C, 8C, or 16C, you can specify the storage type as PL1.

If the type of ESSD instance you select is 8C, 16C, 32C, or 52C, you can specify the storage type as PL2.

If the ESSD instance type is 16C, 32C, or 52C, you can specify the storage type as PL3.

StorageSizeGb Changes to this property will trigger replacement. int
Different specifications have different value ranges. When the instance_type value is tair_essd and the disk type is ESSD, this attribute takes effect and is required. When a Tair disk is an SSD, see-https://help.aliyun.com/zh/redis/product-overview/capacity-storage-type. The capacity field is defined as different fixed values according to different specifications, and does not need to be specified.
Tags Dictionary<string, string>
The tag of the resource
TairInstanceId string
The ID of the resource.
TairInstanceName string
The name of the resource.
VpcAuthMode string
The VPC authentication mode. Valid values: Open (enables password authentication), Close (disables password authentication and enables password-free access).
VpcId Changes to this property will trigger replacement. string
The ID of the virtual private cloud (VPC).
VswitchId Changes to this property will trigger replacement. string
The ID of the vSwitch to which the instance is connected.
ZoneId Changes to this property will trigger replacement. string
Zone ID
ArchitectureType string
The architecture of the instance. cluster, standard, rwsplit.
AutoRenew string
Specifies whether to enable auto-renewal for the instance. Default value: false. Valid values: true(enables auto-renewal), false(disables auto-renewal).
AutoRenewPeriod 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.
BackupId string

You can set the BackupId parameter to the backup set ID of the source instance. The system uses the data stored in the backup set to create an instance. You can call the DescribeBackups operation to query backup set IDs. If the source instance is a cluster instance, set the BackupId parameter to the backup set IDs of all shards of the source instance, separated by commas (,).

If your instance is a cloud-native cluster instance, we recommend that you use DescribeClusterBackupList to query the backup set ID of the cluster instance. Then, set the ClusterBackupId request parameter to the backup set ID to clone the cluster instance. This eliminates the need to specify the backup set ID of each shard.

ClusterBackupId string
This parameter is supported for specific new cluster instances. You can query the backup set ID by calling the DescribeClusterBackupList operation. If this parameter is supported, you can specify the backup set ID. In this case, you do not need to specify the BackupId parameter. If this parameter is not supported, set the BackupId parameter to the IDs of backup sets in all shards of the source instance, separated by commas (,).
ConnectionDomain string
The internal endpoint of the instance.
ConnectionStringPrefix string
The prefix of the endpoint the instance, which must consist of lowercase letters and numbers and start with a lowercase letter.
CreateTime 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.
EffectiveTime 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).
EngineVersion 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.

ForceUpgrade bool
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).
GlobalInstanceId string

The ID of a distributed (Global Distributed Cache) instance, which indicates whether to use the newly created instance as a sub-instance of a distributed instance. You can use this method to create a distributed instance.

  1. Enter true if you want the new instance to be the first child instance.

  2. If you want the new instance to be used as the second and third sub-instances, enter the distributed instance ID.

  3. Not as a distributed instance, you do not need to enter any values.

InstanceClass string
The instance type of the instance. For more information, see Instance types.
InstanceType Changes to this property will trigger replacement. string
The storage medium of the instance. Valid values: tair_rdb, tair_scm, tair_essd.
IntranetBandwidth int
Instance intranet bandwidth
MaxConnections int
The maximum number of connections supported by the instance.
ModifyMode string
The modification method when modifying the IP whitelist. The value includes Cover (default): overwrite the original whitelist; Append: Append the whitelist; Delete: Delete the whitelist.
NetworkType string
The network type of the instance. CLASSIC(classic network), VPC.
NodeType string
The node type. For cloud-native instances, input MASTER_SLAVE (master-replica) or STAND_ALONE (standalone). For classic instances, input double (master-replica) or single (standalone).
ParamNoLooseSentinelEnabled string
sentinel compatibility mode, applicable to non-cluster instances. For more information about parameters, see yes or no in the https://www.alibabacloud.com/help/en/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance, valid values: yes, no. The default value is no.
ParamNoLooseSentinelPasswordFreeAccess string
Whether to allow Sentinel commands to be executed without secrets when Sentinel mode is enabled. Value: yes: enabled. After the command is enabled, you can directly run the Sentinel command in the VPC without enabling the password-free feature. no: the default value, disabled. For parameters, see https://help.aliyun.com/zh/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance
ParamNoLooseSentinelPasswordFreeCommands string
After sentinel mode and the# no_loose_sentinel-password-free-access parameter are enabled, you can use this parameter to add additional secret-free command lists (empty by default). After setting, you can execute the corresponding command on any connection without secret, please operate carefully. Commands are written in lowercase letters, and multiple commands are separated by commas (,). See https://help.aliyun.com/zh/redis/user-guide/parameter-support for details
ParamReplMode string

The value is semisync or async. The default value is async.

The default data synchronization mode is asynchronous replication. To modify the data synchronization mode, refer to https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance.

ParamSemisyncReplTimeout string
The degradation threshold time of the semi-synchronous replication mode. This parameter value is required only when semi-synchronous replication is enabled. The unit is milliseconds, and the range is 10ms to 60000ms. The default value is 500ms. Please refer to: https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance.
ParamSentinelCompatEnable string
sentinel compatibility mode, applicable to instances in the cluster architecture proxy connection mode or read/write splitting architecture. For more information about the parameters, see https://www.alibabacloud.com/help/en/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance. The value is 0 or 1. The default value is 0.
Password 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 ! @ # $ % ^ & * ( ) _ + - =
PaymentType string
Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default Subscription.
Period 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.
Port Changes to this property will trigger replacement. int
The Tair service port. The service port of the instance. Valid values: 1024 to 65535. Default value: 6379.
ReadOnlyCount 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.

RecoverConfigMode string
Whether to restore the account, kernel parameters, and whitelist (config) information from the original backup set when creating an instance using a specified backup set. The default value is empty, indicating that the account, kernel parameters, and whitelist information are not restored from the original backup set. This parameter is only applicable to Cloud Native instances, and the account, kernel parameters, and whitelist information must have been saved in the original backup set.
RegionId string
Region Id
ResourceGroupId string
The ID of the resource group to which the instance belongs.
SecondaryZoneId Changes to this property will trigger replacement. string
The ID of the secondary zone.This parameter is returned only if the instance is deployed in two zones.
SecurityGroupId string
Security group id
SecurityIpGroupName string
The name of the IP address whitelist. You cannot modify the whitelist that is generated by the system. If you do not specify this parameter, the default whitelist is modified by default.
SecurityIps string
The IP addresses in the whitelist. Up to 1,000 IP addresses can be specified in a whitelist. Separate multiple IP addresses with a comma (,). Specify an IP address in the 0.0.0.0/0, 10.23.12.24, or 10.23.12.24/24 format. In CIDR block 10.23.12.24/24, /24 specifies the length of the prefix of an IP address. The prefix length ranges from 1 to 32.
ShardCount 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.
SlaveReadOnlyCount 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.

SrcDbInstanceId string
If you want to create an instance based on the backup set of an existing instance, set this parameter to the ID of the source instance. preceding three parameters. After you specify the SrcDBInstanceId parameter, use the BackupId, ClusterBackupId (recommended for cloud-native cluster instances), or RestoreTime parameter to specify the backup set or the specific point in time that you want to use to create an instance. The SrcDBInstanceId parameter must be used in combination with one of the preceding three parameters.
SslEnabled string
Modifies SSL encryption configurations. Valid values: 1. Disable (The SSL encryption is disabled) 2. Enable (The SSL encryption is enabled) 3. Update (The SSL certificate is updated)
Status string
The status of the resource
StoragePerformanceLevel Changes to this property will trigger replacement. string

The storage type. Valid values: PL1, PL2, and PL3. This parameter is available only when the value of InstanceType is tair_essd, that is, when an ESSD disk instance is selected.

If the ESSD instance type is 4C, 8C, or 16C, you can specify the storage type as PL1.

If the type of ESSD instance you select is 8C, 16C, 32C, or 52C, you can specify the storage type as PL2.

If the ESSD instance type is 16C, 32C, or 52C, you can specify the storage type as PL3.

StorageSizeGb Changes to this property will trigger replacement. int
Different specifications have different value ranges. When the instance_type value is tair_essd and the disk type is ESSD, this attribute takes effect and is required. When a Tair disk is an SSD, see-https://help.aliyun.com/zh/redis/product-overview/capacity-storage-type. The capacity field is defined as different fixed values according to different specifications, and does not need to be specified.
Tags map[string]string
The tag of the resource
TairInstanceId string
The ID of the resource.
TairInstanceName string
The name of the resource.
VpcAuthMode string
The VPC authentication mode. Valid values: Open (enables password authentication), Close (disables password authentication and enables password-free access).
VpcId Changes to this property will trigger replacement. string
The ID of the virtual private cloud (VPC).
VswitchId Changes to this property will trigger replacement. string
The ID of the vSwitch to which the instance is connected.
ZoneId Changes to this property will trigger replacement. string
Zone ID
architectureType String
The architecture of the instance. cluster, standard, rwsplit.
autoRenew String
Specifies whether to enable auto-renewal for the instance. Default value: false. Valid values: true(enables auto-renewal), false(disables auto-renewal).
autoRenewPeriod 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.
backupId String

You can set the BackupId parameter to the backup set ID of the source instance. The system uses the data stored in the backup set to create an instance. You can call the DescribeBackups operation to query backup set IDs. If the source instance is a cluster instance, set the BackupId parameter to the backup set IDs of all shards of the source instance, separated by commas (,).

If your instance is a cloud-native cluster instance, we recommend that you use DescribeClusterBackupList to query the backup set ID of the cluster instance. Then, set the ClusterBackupId request parameter to the backup set ID to clone the cluster instance. This eliminates the need to specify the backup set ID of each shard.

clusterBackupId String
This parameter is supported for specific new cluster instances. You can query the backup set ID by calling the DescribeClusterBackupList operation. If this parameter is supported, you can specify the backup set ID. In this case, you do not need to specify the BackupId parameter. If this parameter is not supported, set the BackupId parameter to the IDs of backup sets in all shards of the source instance, separated by commas (,).
connectionDomain String
The internal endpoint of the instance.
connectionStringPrefix String
The prefix of the endpoint the instance, which must consist of lowercase letters and numbers and start with a lowercase letter.
createTime 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.
effectiveTime 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).
engineVersion 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.

forceUpgrade 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).
globalInstanceId String

The ID of a distributed (Global Distributed Cache) instance, which indicates whether to use the newly created instance as a sub-instance of a distributed instance. You can use this method to create a distributed instance.

  1. Enter true if you want the new instance to be the first child instance.

  2. If you want the new instance to be used as the second and third sub-instances, enter the distributed instance ID.

  3. Not as a distributed instance, you do not need to enter any values.

instanceClass String
The instance type of the instance. For more information, see Instance types.
instanceType Changes to this property will trigger replacement. String
The storage medium of the instance. Valid values: tair_rdb, tair_scm, tair_essd.
intranetBandwidth Integer
Instance intranet bandwidth
maxConnections Integer
The maximum number of connections supported by the instance.
modifyMode String
The modification method when modifying the IP whitelist. The value includes Cover (default): overwrite the original whitelist; Append: Append the whitelist; Delete: Delete the whitelist.
networkType String
The network type of the instance. CLASSIC(classic network), VPC.
nodeType String
The node type. For cloud-native instances, input MASTER_SLAVE (master-replica) or STAND_ALONE (standalone). For classic instances, input double (master-replica) or single (standalone).
paramNoLooseSentinelEnabled String
sentinel compatibility mode, applicable to non-cluster instances. For more information about parameters, see yes or no in the https://www.alibabacloud.com/help/en/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance, valid values: yes, no. The default value is no.
paramNoLooseSentinelPasswordFreeAccess String
Whether to allow Sentinel commands to be executed without secrets when Sentinel mode is enabled. Value: yes: enabled. After the command is enabled, you can directly run the Sentinel command in the VPC without enabling the password-free feature. no: the default value, disabled. For parameters, see https://help.aliyun.com/zh/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance
paramNoLooseSentinelPasswordFreeCommands String
After sentinel mode and the# no_loose_sentinel-password-free-access parameter are enabled, you can use this parameter to add additional secret-free command lists (empty by default). After setting, you can execute the corresponding command on any connection without secret, please operate carefully. Commands are written in lowercase letters, and multiple commands are separated by commas (,). See https://help.aliyun.com/zh/redis/user-guide/parameter-support for details
paramReplMode String

The value is semisync or async. The default value is async.

The default data synchronization mode is asynchronous replication. To modify the data synchronization mode, refer to https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance.

paramSemisyncReplTimeout String
The degradation threshold time of the semi-synchronous replication mode. This parameter value is required only when semi-synchronous replication is enabled. The unit is milliseconds, and the range is 10ms to 60000ms. The default value is 500ms. Please refer to: https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance.
paramSentinelCompatEnable String
sentinel compatibility mode, applicable to instances in the cluster architecture proxy connection mode or read/write splitting architecture. For more information about the parameters, see https://www.alibabacloud.com/help/en/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance. The value is 0 or 1. The default value is 0.
password 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 ! @ # $ % ^ & * ( ) _ + - =
paymentType String
Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default Subscription.
period Integer
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.
port Changes to this property will trigger replacement. Integer
The Tair service port. The service port of the instance. Valid values: 1024 to 65535. Default value: 6379.
readOnlyCount Integer

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.

recoverConfigMode String
Whether to restore the account, kernel parameters, and whitelist (config) information from the original backup set when creating an instance using a specified backup set. The default value is empty, indicating that the account, kernel parameters, and whitelist information are not restored from the original backup set. This parameter is only applicable to Cloud Native instances, and the account, kernel parameters, and whitelist information must have been saved in the original backup set.
regionId String
Region Id
resourceGroupId String
The ID of the resource group to which the instance belongs.
secondaryZoneId Changes to this property will trigger replacement. String
The ID of the secondary zone.This parameter is returned only if the instance is deployed in two zones.
securityGroupId String
Security group id
securityIpGroupName String
The name of the IP address whitelist. You cannot modify the whitelist that is generated by the system. If you do not specify this parameter, the default whitelist is modified by default.
securityIps String
The IP addresses in the whitelist. Up to 1,000 IP addresses can be specified in a whitelist. Separate multiple IP addresses with a comma (,). Specify an IP address in the 0.0.0.0/0, 10.23.12.24, or 10.23.12.24/24 format. In CIDR block 10.23.12.24/24, /24 specifies the length of the prefix of an IP address. The prefix length ranges from 1 to 32.
shardCount Integer
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.
slaveReadOnlyCount Integer

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.

srcDbInstanceId String
If you want to create an instance based on the backup set of an existing instance, set this parameter to the ID of the source instance. preceding three parameters. After you specify the SrcDBInstanceId parameter, use the BackupId, ClusterBackupId (recommended for cloud-native cluster instances), or RestoreTime parameter to specify the backup set or the specific point in time that you want to use to create an instance. The SrcDBInstanceId parameter must be used in combination with one of the preceding three parameters.
sslEnabled String
Modifies SSL encryption configurations. Valid values: 1. Disable (The SSL encryption is disabled) 2. Enable (The SSL encryption is enabled) 3. Update (The SSL certificate is updated)
status String
The status of the resource
storagePerformanceLevel Changes to this property will trigger replacement. String

The storage type. Valid values: PL1, PL2, and PL3. This parameter is available only when the value of InstanceType is tair_essd, that is, when an ESSD disk instance is selected.

If the ESSD instance type is 4C, 8C, or 16C, you can specify the storage type as PL1.

If the type of ESSD instance you select is 8C, 16C, 32C, or 52C, you can specify the storage type as PL2.

If the ESSD instance type is 16C, 32C, or 52C, you can specify the storage type as PL3.

storageSizeGb Changes to this property will trigger replacement. Integer
Different specifications have different value ranges. When the instance_type value is tair_essd and the disk type is ESSD, this attribute takes effect and is required. When a Tair disk is an SSD, see-https://help.aliyun.com/zh/redis/product-overview/capacity-storage-type. The capacity field is defined as different fixed values according to different specifications, and does not need to be specified.
tags Map<String,String>
The tag of the resource
tairInstanceId String
The ID of the resource.
tairInstanceName String
The name of the resource.
vpcAuthMode String
The VPC authentication mode. Valid values: Open (enables password authentication), Close (disables password authentication and enables password-free access).
vpcId Changes to this property will trigger replacement. String
The ID of the virtual private cloud (VPC).
vswitchId Changes to this property will trigger replacement. String
The ID of the vSwitch to which the instance is connected.
zoneId Changes to this property will trigger replacement. String
Zone ID
architectureType string
The architecture of the instance. cluster, standard, rwsplit.
autoRenew string
Specifies whether to enable auto-renewal for the instance. Default value: false. Valid values: true(enables auto-renewal), false(disables auto-renewal).
autoRenewPeriod 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.
backupId string

You can set the BackupId parameter to the backup set ID of the source instance. The system uses the data stored in the backup set to create an instance. You can call the DescribeBackups operation to query backup set IDs. If the source instance is a cluster instance, set the BackupId parameter to the backup set IDs of all shards of the source instance, separated by commas (,).

If your instance is a cloud-native cluster instance, we recommend that you use DescribeClusterBackupList to query the backup set ID of the cluster instance. Then, set the ClusterBackupId request parameter to the backup set ID to clone the cluster instance. This eliminates the need to specify the backup set ID of each shard.

clusterBackupId string
This parameter is supported for specific new cluster instances. You can query the backup set ID by calling the DescribeClusterBackupList operation. If this parameter is supported, you can specify the backup set ID. In this case, you do not need to specify the BackupId parameter. If this parameter is not supported, set the BackupId parameter to the IDs of backup sets in all shards of the source instance, separated by commas (,).
connectionDomain string
The internal endpoint of the instance.
connectionStringPrefix string
The prefix of the endpoint the instance, which must consist of lowercase letters and numbers and start with a lowercase letter.
createTime 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.
effectiveTime 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).
engineVersion 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.

forceUpgrade 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).
globalInstanceId string

The ID of a distributed (Global Distributed Cache) instance, which indicates whether to use the newly created instance as a sub-instance of a distributed instance. You can use this method to create a distributed instance.

  1. Enter true if you want the new instance to be the first child instance.

  2. If you want the new instance to be used as the second and third sub-instances, enter the distributed instance ID.

  3. Not as a distributed instance, you do not need to enter any values.

instanceClass string
The instance type of the instance. For more information, see Instance types.
instanceType Changes to this property will trigger replacement. string
The storage medium of the instance. Valid values: tair_rdb, tair_scm, tair_essd.
intranetBandwidth number
Instance intranet bandwidth
maxConnections number
The maximum number of connections supported by the instance.
modifyMode string
The modification method when modifying the IP whitelist. The value includes Cover (default): overwrite the original whitelist; Append: Append the whitelist; Delete: Delete the whitelist.
networkType string
The network type of the instance. CLASSIC(classic network), VPC.
nodeType string
The node type. For cloud-native instances, input MASTER_SLAVE (master-replica) or STAND_ALONE (standalone). For classic instances, input double (master-replica) or single (standalone).
paramNoLooseSentinelEnabled string
sentinel compatibility mode, applicable to non-cluster instances. For more information about parameters, see yes or no in the https://www.alibabacloud.com/help/en/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance, valid values: yes, no. The default value is no.
paramNoLooseSentinelPasswordFreeAccess string
Whether to allow Sentinel commands to be executed without secrets when Sentinel mode is enabled. Value: yes: enabled. After the command is enabled, you can directly run the Sentinel command in the VPC without enabling the password-free feature. no: the default value, disabled. For parameters, see https://help.aliyun.com/zh/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance
paramNoLooseSentinelPasswordFreeCommands string
After sentinel mode and the# no_loose_sentinel-password-free-access parameter are enabled, you can use this parameter to add additional secret-free command lists (empty by default). After setting, you can execute the corresponding command on any connection without secret, please operate carefully. Commands are written in lowercase letters, and multiple commands are separated by commas (,). See https://help.aliyun.com/zh/redis/user-guide/parameter-support for details
paramReplMode string

The value is semisync or async. The default value is async.

The default data synchronization mode is asynchronous replication. To modify the data synchronization mode, refer to https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance.

paramSemisyncReplTimeout string
The degradation threshold time of the semi-synchronous replication mode. This parameter value is required only when semi-synchronous replication is enabled. The unit is milliseconds, and the range is 10ms to 60000ms. The default value is 500ms. Please refer to: https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance.
paramSentinelCompatEnable string
sentinel compatibility mode, applicable to instances in the cluster architecture proxy connection mode or read/write splitting architecture. For more information about the parameters, see https://www.alibabacloud.com/help/en/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance. The value is 0 or 1. The default value is 0.
password 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 ! @ # $ % ^ & * ( ) _ + - =
paymentType string
Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default Subscription.
period number
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.
port Changes to this property will trigger replacement. number
The Tair service port. The service port of the instance. Valid values: 1024 to 65535. Default value: 6379.
readOnlyCount number

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.

recoverConfigMode string
Whether to restore the account, kernel parameters, and whitelist (config) information from the original backup set when creating an instance using a specified backup set. The default value is empty, indicating that the account, kernel parameters, and whitelist information are not restored from the original backup set. This parameter is only applicable to Cloud Native instances, and the account, kernel parameters, and whitelist information must have been saved in the original backup set.
regionId string
Region Id
resourceGroupId string
The ID of the resource group to which the instance belongs.
secondaryZoneId Changes to this property will trigger replacement. string
The ID of the secondary zone.This parameter is returned only if the instance is deployed in two zones.
securityGroupId string
Security group id
securityIpGroupName string
The name of the IP address whitelist. You cannot modify the whitelist that is generated by the system. If you do not specify this parameter, the default whitelist is modified by default.
securityIps string
The IP addresses in the whitelist. Up to 1,000 IP addresses can be specified in a whitelist. Separate multiple IP addresses with a comma (,). Specify an IP address in the 0.0.0.0/0, 10.23.12.24, or 10.23.12.24/24 format. In CIDR block 10.23.12.24/24, /24 specifies the length of the prefix of an IP address. The prefix length ranges from 1 to 32.
shardCount number
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.
slaveReadOnlyCount number

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.

srcDbInstanceId string
If you want to create an instance based on the backup set of an existing instance, set this parameter to the ID of the source instance. preceding three parameters. After you specify the SrcDBInstanceId parameter, use the BackupId, ClusterBackupId (recommended for cloud-native cluster instances), or RestoreTime parameter to specify the backup set or the specific point in time that you want to use to create an instance. The SrcDBInstanceId parameter must be used in combination with one of the preceding three parameters.
sslEnabled string
Modifies SSL encryption configurations. Valid values: 1. Disable (The SSL encryption is disabled) 2. Enable (The SSL encryption is enabled) 3. Update (The SSL certificate is updated)
status string
The status of the resource
storagePerformanceLevel Changes to this property will trigger replacement. string

The storage type. Valid values: PL1, PL2, and PL3. This parameter is available only when the value of InstanceType is tair_essd, that is, when an ESSD disk instance is selected.

If the ESSD instance type is 4C, 8C, or 16C, you can specify the storage type as PL1.

If the type of ESSD instance you select is 8C, 16C, 32C, or 52C, you can specify the storage type as PL2.

If the ESSD instance type is 16C, 32C, or 52C, you can specify the storage type as PL3.

storageSizeGb Changes to this property will trigger replacement. number
Different specifications have different value ranges. When the instance_type value is tair_essd and the disk type is ESSD, this attribute takes effect and is required. When a Tair disk is an SSD, see-https://help.aliyun.com/zh/redis/product-overview/capacity-storage-type. The capacity field is defined as different fixed values according to different specifications, and does not need to be specified.
tags {[key: string]: string}
The tag of the resource
tairInstanceId string
The ID of the resource.
tairInstanceName string
The name of the resource.
vpcAuthMode string
The VPC authentication mode. Valid values: Open (enables password authentication), Close (disables password authentication and enables password-free access).
vpcId Changes to this property will trigger replacement. string
The ID of the virtual private cloud (VPC).
vswitchId Changes to this property will trigger replacement. string
The ID of the vSwitch to which the instance is connected.
zoneId Changes to this property will trigger replacement. string
Zone ID
architecture_type str
The architecture of the instance. cluster, standard, rwsplit.
auto_renew str
Specifies whether to enable auto-renewal for the instance. Default value: false. Valid values: true(enables auto-renewal), false(disables auto-renewal).
auto_renew_period str
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.
backup_id str

You can set the BackupId parameter to the backup set ID of the source instance. The system uses the data stored in the backup set to create an instance. You can call the DescribeBackups operation to query backup set IDs. If the source instance is a cluster instance, set the BackupId parameter to the backup set IDs of all shards of the source instance, separated by commas (,).

If your instance is a cloud-native cluster instance, we recommend that you use DescribeClusterBackupList to query the backup set ID of the cluster instance. Then, set the ClusterBackupId request parameter to the backup set ID to clone the cluster instance. This eliminates the need to specify the backup set ID of each shard.

cluster_backup_id str
This parameter is supported for specific new cluster instances. You can query the backup set ID by calling the DescribeClusterBackupList operation. If this parameter is supported, you can specify the backup set ID. In this case, you do not need to specify the BackupId parameter. If this parameter is not supported, set the BackupId parameter to the IDs of backup sets in all shards of the source instance, separated by commas (,).
connection_domain str
The internal endpoint of the instance.
connection_string_prefix str
The prefix of the endpoint the instance, which must consist of lowercase letters and numbers and start with a lowercase letter.
create_time str
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.
effective_time str
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).
engine_version str

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.

force_upgrade bool
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).
global_instance_id str

The ID of a distributed (Global Distributed Cache) instance, which indicates whether to use the newly created instance as a sub-instance of a distributed instance. You can use this method to create a distributed instance.

  1. Enter true if you want the new instance to be the first child instance.

  2. If you want the new instance to be used as the second and third sub-instances, enter the distributed instance ID.

  3. Not as a distributed instance, you do not need to enter any values.

instance_class str
The instance type of the instance. For more information, see Instance types.
instance_type Changes to this property will trigger replacement. str
The storage medium of the instance. Valid values: tair_rdb, tair_scm, tair_essd.
intranet_bandwidth int
Instance intranet bandwidth
max_connections int
The maximum number of connections supported by the instance.
modify_mode str
The modification method when modifying the IP whitelist. The value includes Cover (default): overwrite the original whitelist; Append: Append the whitelist; Delete: Delete the whitelist.
network_type str
The network type of the instance. CLASSIC(classic network), VPC.
node_type str
The node type. For cloud-native instances, input MASTER_SLAVE (master-replica) or STAND_ALONE (standalone). For classic instances, input double (master-replica) or single (standalone).
param_no_loose_sentinel_enabled str
sentinel compatibility mode, applicable to non-cluster instances. For more information about parameters, see yes or no in the https://www.alibabacloud.com/help/en/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance, valid values: yes, no. The default value is no.
param_no_loose_sentinel_password_free_access str
Whether to allow Sentinel commands to be executed without secrets when Sentinel mode is enabled. Value: yes: enabled. After the command is enabled, you can directly run the Sentinel command in the VPC without enabling the password-free feature. no: the default value, disabled. For parameters, see https://help.aliyun.com/zh/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance
param_no_loose_sentinel_password_free_commands str
After sentinel mode and the# no_loose_sentinel-password-free-access parameter are enabled, you can use this parameter to add additional secret-free command lists (empty by default). After setting, you can execute the corresponding command on any connection without secret, please operate carefully. Commands are written in lowercase letters, and multiple commands are separated by commas (,). See https://help.aliyun.com/zh/redis/user-guide/parameter-support for details
param_repl_mode str

The value is semisync or async. The default value is async.

The default data synchronization mode is asynchronous replication. To modify the data synchronization mode, refer to https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance.

param_semisync_repl_timeout str
The degradation threshold time of the semi-synchronous replication mode. This parameter value is required only when semi-synchronous replication is enabled. The unit is milliseconds, and the range is 10ms to 60000ms. The default value is 500ms. Please refer to: https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance.
param_sentinel_compat_enable str
sentinel compatibility mode, applicable to instances in the cluster architecture proxy connection mode or read/write splitting architecture. For more information about the parameters, see https://www.alibabacloud.com/help/en/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance. The value is 0 or 1. The default value is 0.
password str
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 ! @ # $ % ^ & * ( ) _ + - =
payment_type str
Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default Subscription.
period 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.
port Changes to this property will trigger replacement. int
The Tair service port. The service port of the instance. Valid values: 1024 to 65535. Default value: 6379.
read_only_count 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.

recover_config_mode str
Whether to restore the account, kernel parameters, and whitelist (config) information from the original backup set when creating an instance using a specified backup set. The default value is empty, indicating that the account, kernel parameters, and whitelist information are not restored from the original backup set. This parameter is only applicable to Cloud Native instances, and the account, kernel parameters, and whitelist information must have been saved in the original backup set.
region_id str
Region Id
resource_group_id str
The ID of the resource group to which the instance belongs.
secondary_zone_id Changes to this property will trigger replacement. str
The ID of the secondary zone.This parameter is returned only if the instance is deployed in two zones.
security_group_id str
Security group id
security_ip_group_name str
The name of the IP address whitelist. You cannot modify the whitelist that is generated by the system. If you do not specify this parameter, the default whitelist is modified by default.
security_ips str
The IP addresses in the whitelist. Up to 1,000 IP addresses can be specified in a whitelist. Separate multiple IP addresses with a comma (,). Specify an IP address in the 0.0.0.0/0, 10.23.12.24, or 10.23.12.24/24 format. In CIDR block 10.23.12.24/24, /24 specifies the length of the prefix of an IP address. The prefix length ranges from 1 to 32.
shard_count 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.
slave_read_only_count 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.

src_db_instance_id str
If you want to create an instance based on the backup set of an existing instance, set this parameter to the ID of the source instance. preceding three parameters. After you specify the SrcDBInstanceId parameter, use the BackupId, ClusterBackupId (recommended for cloud-native cluster instances), or RestoreTime parameter to specify the backup set or the specific point in time that you want to use to create an instance. The SrcDBInstanceId parameter must be used in combination with one of the preceding three parameters.
ssl_enabled str
Modifies SSL encryption configurations. Valid values: 1. Disable (The SSL encryption is disabled) 2. Enable (The SSL encryption is enabled) 3. Update (The SSL certificate is updated)
status str
The status of the resource
storage_performance_level Changes to this property will trigger replacement. str

The storage type. Valid values: PL1, PL2, and PL3. This parameter is available only when the value of InstanceType is tair_essd, that is, when an ESSD disk instance is selected.

If the ESSD instance type is 4C, 8C, or 16C, you can specify the storage type as PL1.

If the type of ESSD instance you select is 8C, 16C, 32C, or 52C, you can specify the storage type as PL2.

If the ESSD instance type is 16C, 32C, or 52C, you can specify the storage type as PL3.

storage_size_gb Changes to this property will trigger replacement. int
Different specifications have different value ranges. When the instance_type value is tair_essd and the disk type is ESSD, this attribute takes effect and is required. When a Tair disk is an SSD, see-https://help.aliyun.com/zh/redis/product-overview/capacity-storage-type. The capacity field is defined as different fixed values according to different specifications, and does not need to be specified.
tags Mapping[str, str]
The tag of the resource
tair_instance_id str
The ID of the resource.
tair_instance_name str
The name of the resource.
vpc_auth_mode str
The VPC authentication mode. Valid values: Open (enables password authentication), Close (disables password authentication and enables password-free access).
vpc_id Changes to this property will trigger replacement. str
The ID of the virtual private cloud (VPC).
vswitch_id Changes to this property will trigger replacement. str
The ID of the vSwitch to which the instance is connected.
zone_id Changes to this property will trigger replacement. str
Zone ID
architectureType String
The architecture of the instance. cluster, standard, rwsplit.
autoRenew String
Specifies whether to enable auto-renewal for the instance. Default value: false. Valid values: true(enables auto-renewal), false(disables auto-renewal).
autoRenewPeriod 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.
backupId String

You can set the BackupId parameter to the backup set ID of the source instance. The system uses the data stored in the backup set to create an instance. You can call the DescribeBackups operation to query backup set IDs. If the source instance is a cluster instance, set the BackupId parameter to the backup set IDs of all shards of the source instance, separated by commas (,).

If your instance is a cloud-native cluster instance, we recommend that you use DescribeClusterBackupList to query the backup set ID of the cluster instance. Then, set the ClusterBackupId request parameter to the backup set ID to clone the cluster instance. This eliminates the need to specify the backup set ID of each shard.

clusterBackupId String
This parameter is supported for specific new cluster instances. You can query the backup set ID by calling the DescribeClusterBackupList operation. If this parameter is supported, you can specify the backup set ID. In this case, you do not need to specify the BackupId parameter. If this parameter is not supported, set the BackupId parameter to the IDs of backup sets in all shards of the source instance, separated by commas (,).
connectionDomain String
The internal endpoint of the instance.
connectionStringPrefix String
The prefix of the endpoint the instance, which must consist of lowercase letters and numbers and start with a lowercase letter.
createTime 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.
effectiveTime 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).
engineVersion 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.

forceUpgrade 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).
globalInstanceId String

The ID of a distributed (Global Distributed Cache) instance, which indicates whether to use the newly created instance as a sub-instance of a distributed instance. You can use this method to create a distributed instance.

  1. Enter true if you want the new instance to be the first child instance.

  2. If you want the new instance to be used as the second and third sub-instances, enter the distributed instance ID.

  3. Not as a distributed instance, you do not need to enter any values.

instanceClass String
The instance type of the instance. For more information, see Instance types.
instanceType Changes to this property will trigger replacement. String
The storage medium of the instance. Valid values: tair_rdb, tair_scm, tair_essd.
intranetBandwidth Number
Instance intranet bandwidth
maxConnections Number
The maximum number of connections supported by the instance.
modifyMode String
The modification method when modifying the IP whitelist. The value includes Cover (default): overwrite the original whitelist; Append: Append the whitelist; Delete: Delete the whitelist.
networkType String
The network type of the instance. CLASSIC(classic network), VPC.
nodeType String
The node type. For cloud-native instances, input MASTER_SLAVE (master-replica) or STAND_ALONE (standalone). For classic instances, input double (master-replica) or single (standalone).
paramNoLooseSentinelEnabled String
sentinel compatibility mode, applicable to non-cluster instances. For more information about parameters, see yes or no in the https://www.alibabacloud.com/help/en/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance, valid values: yes, no. The default value is no.
paramNoLooseSentinelPasswordFreeAccess String
Whether to allow Sentinel commands to be executed without secrets when Sentinel mode is enabled. Value: yes: enabled. After the command is enabled, you can directly run the Sentinel command in the VPC without enabling the password-free feature. no: the default value, disabled. For parameters, see https://help.aliyun.com/zh/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance
paramNoLooseSentinelPasswordFreeCommands String
After sentinel mode and the# no_loose_sentinel-password-free-access parameter are enabled, you can use this parameter to add additional secret-free command lists (empty by default). After setting, you can execute the corresponding command on any connection without secret, please operate carefully. Commands are written in lowercase letters, and multiple commands are separated by commas (,). See https://help.aliyun.com/zh/redis/user-guide/parameter-support for details
paramReplMode String

The value is semisync or async. The default value is async.

The default data synchronization mode is asynchronous replication. To modify the data synchronization mode, refer to https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance.

paramSemisyncReplTimeout String
The degradation threshold time of the semi-synchronous replication mode. This parameter value is required only when semi-synchronous replication is enabled. The unit is milliseconds, and the range is 10ms to 60000ms. The default value is 500ms. Please refer to: https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance.
paramSentinelCompatEnable String
sentinel compatibility mode, applicable to instances in the cluster architecture proxy connection mode or read/write splitting architecture. For more information about the parameters, see https://www.alibabacloud.com/help/en/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance. The value is 0 or 1. The default value is 0.
password 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 ! @ # $ % ^ & * ( ) _ + - =
paymentType String
Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default Subscription.
period Number
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.
port Changes to this property will trigger replacement. Number
The Tair service port. The service port of the instance. Valid values: 1024 to 65535. Default value: 6379.
readOnlyCount Number

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.

recoverConfigMode String
Whether to restore the account, kernel parameters, and whitelist (config) information from the original backup set when creating an instance using a specified backup set. The default value is empty, indicating that the account, kernel parameters, and whitelist information are not restored from the original backup set. This parameter is only applicable to Cloud Native instances, and the account, kernel parameters, and whitelist information must have been saved in the original backup set.
regionId String
Region Id
resourceGroupId String
The ID of the resource group to which the instance belongs.
secondaryZoneId Changes to this property will trigger replacement. String
The ID of the secondary zone.This parameter is returned only if the instance is deployed in two zones.
securityGroupId String
Security group id
securityIpGroupName String
The name of the IP address whitelist. You cannot modify the whitelist that is generated by the system. If you do not specify this parameter, the default whitelist is modified by default.
securityIps String
The IP addresses in the whitelist. Up to 1,000 IP addresses can be specified in a whitelist. Separate multiple IP addresses with a comma (,). Specify an IP address in the 0.0.0.0/0, 10.23.12.24, or 10.23.12.24/24 format. In CIDR block 10.23.12.24/24, /24 specifies the length of the prefix of an IP address. The prefix length ranges from 1 to 32.
shardCount Number
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.
slaveReadOnlyCount Number

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.

srcDbInstanceId String
If you want to create an instance based on the backup set of an existing instance, set this parameter to the ID of the source instance. preceding three parameters. After you specify the SrcDBInstanceId parameter, use the BackupId, ClusterBackupId (recommended for cloud-native cluster instances), or RestoreTime parameter to specify the backup set or the specific point in time that you want to use to create an instance. The SrcDBInstanceId parameter must be used in combination with one of the preceding three parameters.
sslEnabled String
Modifies SSL encryption configurations. Valid values: 1. Disable (The SSL encryption is disabled) 2. Enable (The SSL encryption is enabled) 3. Update (The SSL certificate is updated)
status String
The status of the resource
storagePerformanceLevel Changes to this property will trigger replacement. String

The storage type. Valid values: PL1, PL2, and PL3. This parameter is available only when the value of InstanceType is tair_essd, that is, when an ESSD disk instance is selected.

If the ESSD instance type is 4C, 8C, or 16C, you can specify the storage type as PL1.

If the type of ESSD instance you select is 8C, 16C, 32C, or 52C, you can specify the storage type as PL2.

If the ESSD instance type is 16C, 32C, or 52C, you can specify the storage type as PL3.

storageSizeGb Changes to this property will trigger replacement. Number
Different specifications have different value ranges. When the instance_type value is tair_essd and the disk type is ESSD, this attribute takes effect and is required. When a Tair disk is an SSD, see-https://help.aliyun.com/zh/redis/product-overview/capacity-storage-type. The capacity field is defined as different fixed values according to different specifications, and does not need to be specified.
tags Map<String>
The tag of the resource
tairInstanceId String
The ID of the resource.
tairInstanceName String
The name of the resource.
vpcAuthMode String
The VPC authentication mode. Valid values: Open (enables password authentication), Close (disables password authentication and enables password-free access).
vpcId Changes to this property will trigger replacement. String
The ID of the virtual private cloud (VPC).
vswitchId Changes to this property will trigger replacement. String
The ID of the vSwitch to which the instance is connected.
zoneId Changes to this property will trigger replacement. String
Zone ID

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.