pulumi-alicloud 3.65.1a1731504533__py3-none-any.whl → 3.66.0a1730783952__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-alicloud might be problematic. Click here for more details.

Files changed (35) hide show
  1. pulumi_alicloud/alb/load_balancer.py +1 -1
  2. pulumi_alicloud/arms/environment.py +7 -7
  3. pulumi_alicloud/arms/get_remote_writes.py +4 -4
  4. pulumi_alicloud/arms/prometheus_alert_rule.py +0 -58
  5. pulumi_alicloud/arms/remote_write.py +2 -2
  6. pulumi_alicloud/cen/transit_router_vbr_attachment.py +74 -96
  7. pulumi_alicloud/cms/hybrid_monitor_fc_task.py +26 -28
  8. pulumi_alicloud/cr/chain.py +14 -22
  9. pulumi_alicloud/cr/chart_repository.py +6 -14
  10. pulumi_alicloud/cr/repo.py +8 -8
  11. pulumi_alicloud/cr/vpc_endpoint_linked_vpc.py +6 -14
  12. pulumi_alicloud/databasefilesystem/instance_attachment.py +63 -59
  13. pulumi_alicloud/databasefilesystem/snapshot.py +109 -53
  14. pulumi_alicloud/ecs/instance.py +7 -7
  15. pulumi_alicloud/ess/scaling_configuration.py +7 -7
  16. pulumi_alicloud/fc/trigger.py +138 -202
  17. pulumi_alicloud/ga/custom_routing_endpoint_traffic_policy.py +44 -48
  18. pulumi_alicloud/governance/_inputs.py +0 -54
  19. pulumi_alicloud/governance/account.py +14 -49
  20. pulumi_alicloud/governance/outputs.py +0 -51
  21. pulumi_alicloud/gpdb/instance.py +15 -196
  22. pulumi_alicloud/kms/instance.py +0 -28
  23. pulumi_alicloud/nas/data_flow.py +6 -6
  24. pulumi_alicloud/nas/fileset.py +6 -6
  25. pulumi_alicloud/nas/lifecycle_policy.py +6 -6
  26. pulumi_alicloud/nas/recycle_bin.py +6 -6
  27. pulumi_alicloud/nas/snapshot.py +6 -6
  28. pulumi_alicloud/pulumi-plugin.json +1 -1
  29. pulumi_alicloud/redis/tair_instance.py +71 -1102
  30. pulumi_alicloud/threatdetection/honeypot_preset.py +0 -2
  31. pulumi_alicloud/vpn/gateway_vco_route.py +8 -28
  32. {pulumi_alicloud-3.65.1a1731504533.dist-info → pulumi_alicloud-3.66.0a1730783952.dist-info}/METADATA +1 -1
  33. {pulumi_alicloud-3.65.1a1731504533.dist-info → pulumi_alicloud-3.66.0a1730783952.dist-info}/RECORD +35 -35
  34. {pulumi_alicloud-3.65.1a1731504533.dist-info → pulumi_alicloud-3.66.0a1730783952.dist-info}/WHEEL +1 -1
  35. {pulumi_alicloud-3.65.1a1731504533.dist-info → pulumi_alicloud-3.66.0a1730783952.dist-info}/top_level.txt +0 -0
@@ -26,39 +26,26 @@ class TairInstanceArgs:
26
26
  zone_id: pulumi.Input[str],
27
27
  auto_renew: Optional[pulumi.Input[str]] = None,
28
28
  auto_renew_period: Optional[pulumi.Input[str]] = None,
29
- backup_id: Optional[pulumi.Input[str]] = None,
30
29
  cluster_backup_id: Optional[pulumi.Input[str]] = None,
31
30
  effective_time: Optional[pulumi.Input[str]] = None,
32
31
  engine_version: Optional[pulumi.Input[str]] = None,
33
32
  force_upgrade: Optional[pulumi.Input[bool]] = None,
34
- global_instance_id: Optional[pulumi.Input[str]] = None,
35
- intranet_bandwidth: Optional[pulumi.Input[int]] = None,
36
- modify_mode: Optional[pulumi.Input[str]] = None,
37
33
  node_type: Optional[pulumi.Input[str]] = None,
38
- param_no_loose_sentinel_enabled: Optional[pulumi.Input[str]] = None,
39
- param_repl_mode: Optional[pulumi.Input[str]] = None,
40
- param_semisync_repl_timeout: Optional[pulumi.Input[str]] = None,
41
- param_sentinel_compat_enable: Optional[pulumi.Input[str]] = None,
42
34
  password: Optional[pulumi.Input[str]] = None,
43
35
  payment_type: Optional[pulumi.Input[str]] = None,
44
36
  period: Optional[pulumi.Input[int]] = None,
45
37
  port: Optional[pulumi.Input[int]] = None,
46
38
  read_only_count: Optional[pulumi.Input[int]] = None,
47
- recover_config_mode: Optional[pulumi.Input[str]] = None,
48
39
  resource_group_id: Optional[pulumi.Input[str]] = None,
49
40
  secondary_zone_id: Optional[pulumi.Input[str]] = None,
50
41
  security_group_id: Optional[pulumi.Input[str]] = None,
51
- security_ip_group_name: Optional[pulumi.Input[str]] = None,
52
- security_ips: Optional[pulumi.Input[str]] = None,
53
42
  shard_count: Optional[pulumi.Input[int]] = None,
54
43
  slave_read_only_count: Optional[pulumi.Input[int]] = None,
55
- src_db_instance_id: Optional[pulumi.Input[str]] = None,
56
44
  ssl_enabled: Optional[pulumi.Input[str]] = None,
57
45
  storage_performance_level: Optional[pulumi.Input[str]] = None,
58
46
  storage_size_gb: Optional[pulumi.Input[int]] = None,
59
47
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
60
- tair_instance_name: Optional[pulumi.Input[str]] = None,
61
- vpc_auth_mode: Optional[pulumi.Input[str]] = None):
48
+ tair_instance_name: Optional[pulumi.Input[str]] = None):
62
49
  """
63
50
  The set of arguments for constructing a TairInstance resource.
64
51
  :param pulumi.Input[str] instance_class: The instance type of the instance. For more information, see [Instance types](https://www.alibabacloud.com/help/en/apsaradb-for-redis/latest/instance-types).
@@ -68,79 +55,26 @@ class TairInstanceArgs:
68
55
  :param pulumi.Input[str] zone_id: Zone ID
69
56
  :param pulumi.Input[str] auto_renew: Specifies whether to enable auto-renewal for the instance. Default value: false. Valid values: true(enables auto-renewal), false(disables auto-renewal).
70
57
  :param pulumi.Input[str] auto_renew_period: 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.
71
- :param pulumi.Input[str] backup_id: 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 (,).
72
-
73
- 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.
74
- :param pulumi.Input[str] cluster_backup_id: 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 (,).
58
+ :param pulumi.Input[str] cluster_backup_id: The ID of the backup set of the cluster.
75
59
  :param pulumi.Input[str] effective_time: 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).
76
- :param pulumi.Input[str] engine_version: Database version. Default value: 1.0.
77
-
78
- Rules for transferring parameters of different tair product types:
79
-
80
- tair_rdb: Compatible with the Redis5.0 and Redis6.0 protocols, and is transmitted to 5.0 or 6.0.
81
-
82
- tair_scm: The Tair persistent memory is compatible with the Redis6.0 protocol and is passed 1.0.
83
-
84
- 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.
60
+ :param pulumi.Input[str] engine_version: 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.
85
61
  :param pulumi.Input[bool] force_upgrade: 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).
86
- :param pulumi.Input[str] global_instance_id: 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.
87
-
88
- 1. Enter true if you want the new instance to be the first child instance.
89
-
90
- 2. If you want the new instance to be used as the second and third sub-instances, enter the distributed instance ID.
91
-
92
- 3. Not as a distributed instance, you do not need to enter any values.
93
- :param pulumi.Input[int] intranet_bandwidth: Instance intranet bandwidth
94
- :param pulumi.Input[str] modify_mode: 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.
95
- :param pulumi.Input[str] node_type: Node type, value:
96
-
97
- MASTER_SLAVE: high availability (dual copy)
98
-
99
- STAND_ALONE: single copy
100
-
101
- double: double copy
102
-
103
- single: single copy
104
-
105
- Note For Cloud Native instances, select MASTER_SLAVE or STAND_ALONE. For Classic instances, select double or single.
106
- :param pulumi.Input[str] param_no_loose_sentinel_enabled: 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, 取值为. The default value is no.
107
- :param pulumi.Input[str] param_repl_mode: The value is semisync or async. The default value is async.
108
-
109
- 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 。
110
- :param pulumi.Input[str] param_semisync_repl_timeout: 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。
111
- :param pulumi.Input[str] param_sentinel_compat_enable: 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.
62
+ :param pulumi.Input[str] node_type: Node type, value: MASTER_SLAVE: high availability (dual copy) STAND_ALONE: single copy double: double copy single: single copy Note For Cloud Native instances, select MASTER_SLAVE or STAND_ALONE. For Classic instances, select double or single.
112
63
  :param pulumi.Input[str] password: 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 ! @ # $ % ^ & * ( ) _ + - =
113
- :param pulumi.Input[str] payment_type: Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default Subscription.
64
+ :param pulumi.Input[str] payment_type: Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default PayAsYouGo. Since version 1.227.0, you can transfer prepaid instance to postpaid.
114
65
  :param pulumi.Input[int] period: 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.
115
66
  :param pulumi.Input[int] port: The Tair service port. The service port of the instance. Valid values: 1024 to 65535. Default value: 6379.
116
- :param pulumi.Input[int] read_only_count: Number of read-only nodes in the primary zone. Valid values: 0 to 5. This parameter is only applicable to the following conditions:
117
-
118
- 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.
119
-
120
- 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.
121
- :param pulumi.Input[str] recover_config_mode: 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.
67
+ :param pulumi.Input[int] read_only_count: 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.
122
68
  :param pulumi.Input[str] resource_group_id: The ID of the resource group to which the instance belongs.
123
69
  :param pulumi.Input[str] secondary_zone_id: The ID of the secondary zone.This parameter is returned only if the instance is deployed in two zones.
124
- :param pulumi.Input[str] security_group_id: Security group id
125
- :param pulumi.Input[str] security_ip_group_name: 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.
126
- :param pulumi.Input[str] security_ips: 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.
70
+ :param pulumi.Input[str] security_group_id: Security group ID
127
71
  :param pulumi.Input[int] shard_count: 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.
128
- :param pulumi.Input[int] slave_read_only_count: Specifies the number of read-only nodes in the secondary zone when creating a multi-zone read/write splitting instance.
129
-
130
- Note: To create a multi-zone read/write splitting instance, slaveadonlycount and SecondaryZoneId must be specified at the same time.
131
- :param pulumi.Input[str] src_db_instance_id: 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.
132
- :param pulumi.Input[str] ssl_enabled: 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)
133
- :param pulumi.Input[str] storage_performance_level: 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.
134
-
135
- If the ESSD instance type is 4C, 8C, or 16C, you can specify the storage type as PL1.
136
-
137
- If the type of ESSD instance you select is 8C, 16C, 32C, or 52C, you can specify the storage type as PL2.
138
-
139
- If the ESSD instance type is 16C, 32C, or 52C, you can specify the storage type as PL3.
140
- :param pulumi.Input[int] storage_size_gb: 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.
72
+ :param pulumi.Input[int] slave_read_only_count: 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.
73
+ :param pulumi.Input[str] ssl_enabled: Modify the TLS(SSL) setting. Value: Expand Details Example values: Enable Enumeration value: Disable Enable Update Reference value Source: DescribeInstanceSSL
74
+ :param pulumi.Input[str] storage_performance_level: The storage type. The value is set to essd_pl1. Note This parameter is only available when the value of InstanceType is tair_essd.
75
+ :param pulumi.Input[int] storage_size_gb: The value range of different specifications is different, see [ESSD-based instances](https://www.alibabacloud.com/help/en/tair/product-overview/essd-based-instances). When the value of instance_type is "tair_essd", this attribute takes effect and is required.
141
76
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource
142
77
  :param pulumi.Input[str] tair_instance_name: The name of the resource.
143
- :param pulumi.Input[str] vpc_auth_mode: The VPC authentication mode. Valid values: Open (enables password authentication), Close (disables password authentication and enables [password-free access](https://www.alibabacloud.com/help/en/apsaradb-for-redis/latest/enable-password-free-access)).
144
78
  """
145
79
  pulumi.set(__self__, "instance_class", instance_class)
146
80
  pulumi.set(__self__, "instance_type", instance_type)
@@ -151,8 +85,6 @@ class TairInstanceArgs:
151
85
  pulumi.set(__self__, "auto_renew", auto_renew)
152
86
  if auto_renew_period is not None:
153
87
  pulumi.set(__self__, "auto_renew_period", auto_renew_period)
154
- if backup_id is not None:
155
- pulumi.set(__self__, "backup_id", backup_id)
156
88
  if cluster_backup_id is not None:
157
89
  pulumi.set(__self__, "cluster_backup_id", cluster_backup_id)
158
90
  if effective_time is not None:
@@ -161,22 +93,8 @@ class TairInstanceArgs:
161
93
  pulumi.set(__self__, "engine_version", engine_version)
162
94
  if force_upgrade is not None:
163
95
  pulumi.set(__self__, "force_upgrade", force_upgrade)
164
- if global_instance_id is not None:
165
- pulumi.set(__self__, "global_instance_id", global_instance_id)
166
- if intranet_bandwidth is not None:
167
- pulumi.set(__self__, "intranet_bandwidth", intranet_bandwidth)
168
- if modify_mode is not None:
169
- pulumi.set(__self__, "modify_mode", modify_mode)
170
96
  if node_type is not None:
171
97
  pulumi.set(__self__, "node_type", node_type)
172
- if param_no_loose_sentinel_enabled is not None:
173
- pulumi.set(__self__, "param_no_loose_sentinel_enabled", param_no_loose_sentinel_enabled)
174
- if param_repl_mode is not None:
175
- pulumi.set(__self__, "param_repl_mode", param_repl_mode)
176
- if param_semisync_repl_timeout is not None:
177
- pulumi.set(__self__, "param_semisync_repl_timeout", param_semisync_repl_timeout)
178
- if param_sentinel_compat_enable is not None:
179
- pulumi.set(__self__, "param_sentinel_compat_enable", param_sentinel_compat_enable)
180
98
  if password is not None:
181
99
  pulumi.set(__self__, "password", password)
182
100
  if payment_type is not None:
@@ -187,24 +105,16 @@ class TairInstanceArgs:
187
105
  pulumi.set(__self__, "port", port)
188
106
  if read_only_count is not None:
189
107
  pulumi.set(__self__, "read_only_count", read_only_count)
190
- if recover_config_mode is not None:
191
- pulumi.set(__self__, "recover_config_mode", recover_config_mode)
192
108
  if resource_group_id is not None:
193
109
  pulumi.set(__self__, "resource_group_id", resource_group_id)
194
110
  if secondary_zone_id is not None:
195
111
  pulumi.set(__self__, "secondary_zone_id", secondary_zone_id)
196
112
  if security_group_id is not None:
197
113
  pulumi.set(__self__, "security_group_id", security_group_id)
198
- if security_ip_group_name is not None:
199
- pulumi.set(__self__, "security_ip_group_name", security_ip_group_name)
200
- if security_ips is not None:
201
- pulumi.set(__self__, "security_ips", security_ips)
202
114
  if shard_count is not None:
203
115
  pulumi.set(__self__, "shard_count", shard_count)
204
116
  if slave_read_only_count is not None:
205
117
  pulumi.set(__self__, "slave_read_only_count", slave_read_only_count)
206
- if src_db_instance_id is not None:
207
- pulumi.set(__self__, "src_db_instance_id", src_db_instance_id)
208
118
  if ssl_enabled is not None:
209
119
  pulumi.set(__self__, "ssl_enabled", ssl_enabled)
210
120
  if storage_performance_level is not None:
@@ -215,8 +125,6 @@ class TairInstanceArgs:
215
125
  pulumi.set(__self__, "tags", tags)
216
126
  if tair_instance_name is not None:
217
127
  pulumi.set(__self__, "tair_instance_name", tair_instance_name)
218
- if vpc_auth_mode is not None:
219
- pulumi.set(__self__, "vpc_auth_mode", vpc_auth_mode)
220
128
 
221
129
  @property
222
130
  @pulumi.getter(name="instanceClass")
@@ -302,25 +210,11 @@ class TairInstanceArgs:
302
210
  def auto_renew_period(self, value: Optional[pulumi.Input[str]]):
303
211
  pulumi.set(self, "auto_renew_period", value)
304
212
 
305
- @property
306
- @pulumi.getter(name="backupId")
307
- def backup_id(self) -> Optional[pulumi.Input[str]]:
308
- """
309
- 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 (,).
310
-
311
- 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.
312
- """
313
- return pulumi.get(self, "backup_id")
314
-
315
- @backup_id.setter
316
- def backup_id(self, value: Optional[pulumi.Input[str]]):
317
- pulumi.set(self, "backup_id", value)
318
-
319
213
  @property
320
214
  @pulumi.getter(name="clusterBackupId")
321
215
  def cluster_backup_id(self) -> Optional[pulumi.Input[str]]:
322
216
  """
323
- 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 (,).
217
+ The ID of the backup set of the cluster.
324
218
  """
325
219
  return pulumi.get(self, "cluster_backup_id")
326
220
 
@@ -344,15 +238,7 @@ class TairInstanceArgs:
344
238
  @pulumi.getter(name="engineVersion")
345
239
  def engine_version(self) -> Optional[pulumi.Input[str]]:
346
240
  """
347
- Database version. Default value: 1.0.
348
-
349
- Rules for transferring parameters of different tair product types:
350
-
351
- tair_rdb: Compatible with the Redis5.0 and Redis6.0 protocols, and is transmitted to 5.0 or 6.0.
352
-
353
- tair_scm: The Tair persistent memory is compatible with the Redis6.0 protocol and is passed 1.0.
354
-
355
- 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.
241
+ 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.
356
242
  """
357
243
  return pulumi.get(self, "engine_version")
358
244
 
@@ -372,63 +258,11 @@ class TairInstanceArgs:
372
258
  def force_upgrade(self, value: Optional[pulumi.Input[bool]]):
373
259
  pulumi.set(self, "force_upgrade", value)
374
260
 
375
- @property
376
- @pulumi.getter(name="globalInstanceId")
377
- def global_instance_id(self) -> Optional[pulumi.Input[str]]:
378
- """
379
- 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.
380
-
381
- 1. Enter true if you want the new instance to be the first child instance.
382
-
383
- 2. If you want the new instance to be used as the second and third sub-instances, enter the distributed instance ID.
384
-
385
- 3. Not as a distributed instance, you do not need to enter any values.
386
- """
387
- return pulumi.get(self, "global_instance_id")
388
-
389
- @global_instance_id.setter
390
- def global_instance_id(self, value: Optional[pulumi.Input[str]]):
391
- pulumi.set(self, "global_instance_id", value)
392
-
393
- @property
394
- @pulumi.getter(name="intranetBandwidth")
395
- def intranet_bandwidth(self) -> Optional[pulumi.Input[int]]:
396
- """
397
- Instance intranet bandwidth
398
- """
399
- return pulumi.get(self, "intranet_bandwidth")
400
-
401
- @intranet_bandwidth.setter
402
- def intranet_bandwidth(self, value: Optional[pulumi.Input[int]]):
403
- pulumi.set(self, "intranet_bandwidth", value)
404
-
405
- @property
406
- @pulumi.getter(name="modifyMode")
407
- def modify_mode(self) -> Optional[pulumi.Input[str]]:
408
- """
409
- 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.
410
- """
411
- return pulumi.get(self, "modify_mode")
412
-
413
- @modify_mode.setter
414
- def modify_mode(self, value: Optional[pulumi.Input[str]]):
415
- pulumi.set(self, "modify_mode", value)
416
-
417
261
  @property
418
262
  @pulumi.getter(name="nodeType")
419
263
  def node_type(self) -> Optional[pulumi.Input[str]]:
420
264
  """
421
- Node type, value:
422
-
423
- MASTER_SLAVE: high availability (dual copy)
424
-
425
- STAND_ALONE: single copy
426
-
427
- double: double copy
428
-
429
- single: single copy
430
-
431
- Note For Cloud Native instances, select MASTER_SLAVE or STAND_ALONE. For Classic instances, select double or single.
265
+ Node type, value: MASTER_SLAVE: high availability (dual copy) STAND_ALONE: single copy double: double copy single: single copy Note For Cloud Native instances, select MASTER_SLAVE or STAND_ALONE. For Classic instances, select double or single.
432
266
  """
433
267
  return pulumi.get(self, "node_type")
434
268
 
@@ -436,56 +270,6 @@ class TairInstanceArgs:
436
270
  def node_type(self, value: Optional[pulumi.Input[str]]):
437
271
  pulumi.set(self, "node_type", value)
438
272
 
439
- @property
440
- @pulumi.getter(name="paramNoLooseSentinelEnabled")
441
- def param_no_loose_sentinel_enabled(self) -> Optional[pulumi.Input[str]]:
442
- """
443
- 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, 取值为. The default value is no.
444
- """
445
- return pulumi.get(self, "param_no_loose_sentinel_enabled")
446
-
447
- @param_no_loose_sentinel_enabled.setter
448
- def param_no_loose_sentinel_enabled(self, value: Optional[pulumi.Input[str]]):
449
- pulumi.set(self, "param_no_loose_sentinel_enabled", value)
450
-
451
- @property
452
- @pulumi.getter(name="paramReplMode")
453
- def param_repl_mode(self) -> Optional[pulumi.Input[str]]:
454
- """
455
- The value is semisync or async. The default value is async.
456
-
457
- 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 。
458
- """
459
- return pulumi.get(self, "param_repl_mode")
460
-
461
- @param_repl_mode.setter
462
- def param_repl_mode(self, value: Optional[pulumi.Input[str]]):
463
- pulumi.set(self, "param_repl_mode", value)
464
-
465
- @property
466
- @pulumi.getter(name="paramSemisyncReplTimeout")
467
- def param_semisync_repl_timeout(self) -> Optional[pulumi.Input[str]]:
468
- """
469
- 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。
470
- """
471
- return pulumi.get(self, "param_semisync_repl_timeout")
472
-
473
- @param_semisync_repl_timeout.setter
474
- def param_semisync_repl_timeout(self, value: Optional[pulumi.Input[str]]):
475
- pulumi.set(self, "param_semisync_repl_timeout", value)
476
-
477
- @property
478
- @pulumi.getter(name="paramSentinelCompatEnable")
479
- def param_sentinel_compat_enable(self) -> Optional[pulumi.Input[str]]:
480
- """
481
- 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.
482
- """
483
- return pulumi.get(self, "param_sentinel_compat_enable")
484
-
485
- @param_sentinel_compat_enable.setter
486
- def param_sentinel_compat_enable(self, value: Optional[pulumi.Input[str]]):
487
- pulumi.set(self, "param_sentinel_compat_enable", value)
488
-
489
273
  @property
490
274
  @pulumi.getter
491
275
  def password(self) -> Optional[pulumi.Input[str]]:
@@ -502,7 +286,7 @@ class TairInstanceArgs:
502
286
  @pulumi.getter(name="paymentType")
503
287
  def payment_type(self) -> Optional[pulumi.Input[str]]:
504
288
  """
505
- Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default Subscription.
289
+ Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default PayAsYouGo. Since version 1.227.0, you can transfer prepaid instance to postpaid.
506
290
  """
507
291
  return pulumi.get(self, "payment_type")
508
292
 
@@ -538,11 +322,7 @@ class TairInstanceArgs:
538
322
  @pulumi.getter(name="readOnlyCount")
539
323
  def read_only_count(self) -> Optional[pulumi.Input[int]]:
540
324
  """
541
- Number of read-only nodes in the primary zone. Valid values: 0 to 5. This parameter is only applicable to the following conditions:
542
-
543
- 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.
544
-
545
- 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.
325
+ 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.
546
326
  """
547
327
  return pulumi.get(self, "read_only_count")
548
328
 
@@ -550,18 +330,6 @@ class TairInstanceArgs:
550
330
  def read_only_count(self, value: Optional[pulumi.Input[int]]):
551
331
  pulumi.set(self, "read_only_count", value)
552
332
 
553
- @property
554
- @pulumi.getter(name="recoverConfigMode")
555
- def recover_config_mode(self) -> Optional[pulumi.Input[str]]:
556
- """
557
- 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.
558
- """
559
- return pulumi.get(self, "recover_config_mode")
560
-
561
- @recover_config_mode.setter
562
- def recover_config_mode(self, value: Optional[pulumi.Input[str]]):
563
- pulumi.set(self, "recover_config_mode", value)
564
-
565
333
  @property
566
334
  @pulumi.getter(name="resourceGroupId")
567
335
  def resource_group_id(self) -> Optional[pulumi.Input[str]]:
@@ -590,7 +358,7 @@ class TairInstanceArgs:
590
358
  @pulumi.getter(name="securityGroupId")
591
359
  def security_group_id(self) -> Optional[pulumi.Input[str]]:
592
360
  """
593
- Security group id
361
+ Security group ID
594
362
  """
595
363
  return pulumi.get(self, "security_group_id")
596
364
 
@@ -598,30 +366,6 @@ class TairInstanceArgs:
598
366
  def security_group_id(self, value: Optional[pulumi.Input[str]]):
599
367
  pulumi.set(self, "security_group_id", value)
600
368
 
601
- @property
602
- @pulumi.getter(name="securityIpGroupName")
603
- def security_ip_group_name(self) -> Optional[pulumi.Input[str]]:
604
- """
605
- 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.
606
- """
607
- return pulumi.get(self, "security_ip_group_name")
608
-
609
- @security_ip_group_name.setter
610
- def security_ip_group_name(self, value: Optional[pulumi.Input[str]]):
611
- pulumi.set(self, "security_ip_group_name", value)
612
-
613
- @property
614
- @pulumi.getter(name="securityIps")
615
- def security_ips(self) -> Optional[pulumi.Input[str]]:
616
- """
617
- 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.
618
- """
619
- return pulumi.get(self, "security_ips")
620
-
621
- @security_ips.setter
622
- def security_ips(self, value: Optional[pulumi.Input[str]]):
623
- pulumi.set(self, "security_ips", value)
624
-
625
369
  @property
626
370
  @pulumi.getter(name="shardCount")
627
371
  def shard_count(self) -> Optional[pulumi.Input[int]]:
@@ -638,9 +382,7 @@ class TairInstanceArgs:
638
382
  @pulumi.getter(name="slaveReadOnlyCount")
639
383
  def slave_read_only_count(self) -> Optional[pulumi.Input[int]]:
640
384
  """
641
- Specifies the number of read-only nodes in the secondary zone when creating a multi-zone read/write splitting instance.
642
-
643
- Note: To create a multi-zone read/write splitting instance, slaveadonlycount and SecondaryZoneId must be specified at the same time.
385
+ 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.
644
386
  """
645
387
  return pulumi.get(self, "slave_read_only_count")
646
388
 
@@ -648,23 +390,11 @@ class TairInstanceArgs:
648
390
  def slave_read_only_count(self, value: Optional[pulumi.Input[int]]):
649
391
  pulumi.set(self, "slave_read_only_count", value)
650
392
 
651
- @property
652
- @pulumi.getter(name="srcDbInstanceId")
653
- def src_db_instance_id(self) -> Optional[pulumi.Input[str]]:
654
- """
655
- 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.
656
- """
657
- return pulumi.get(self, "src_db_instance_id")
658
-
659
- @src_db_instance_id.setter
660
- def src_db_instance_id(self, value: Optional[pulumi.Input[str]]):
661
- pulumi.set(self, "src_db_instance_id", value)
662
-
663
393
  @property
664
394
  @pulumi.getter(name="sslEnabled")
665
395
  def ssl_enabled(self) -> Optional[pulumi.Input[str]]:
666
396
  """
667
- 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)
397
+ Modify the TLS(SSL) setting. Value: Expand Details Example values: Enable Enumeration value: Disable Enable Update Reference value Source: DescribeInstanceSSL
668
398
  """
669
399
  return pulumi.get(self, "ssl_enabled")
670
400
 
@@ -676,13 +406,7 @@ class TairInstanceArgs:
676
406
  @pulumi.getter(name="storagePerformanceLevel")
677
407
  def storage_performance_level(self) -> Optional[pulumi.Input[str]]:
678
408
  """
679
- 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.
680
-
681
- If the ESSD instance type is 4C, 8C, or 16C, you can specify the storage type as PL1.
682
-
683
- If the type of ESSD instance you select is 8C, 16C, 32C, or 52C, you can specify the storage type as PL2.
684
-
685
- If the ESSD instance type is 16C, 32C, or 52C, you can specify the storage type as PL3.
409
+ The storage type. The value is set to essd_pl1. Note This parameter is only available when the value of InstanceType is tair_essd.
686
410
  """
687
411
  return pulumi.get(self, "storage_performance_level")
688
412
 
@@ -694,7 +418,7 @@ class TairInstanceArgs:
694
418
  @pulumi.getter(name="storageSizeGb")
695
419
  def storage_size_gb(self) -> Optional[pulumi.Input[int]]:
696
420
  """
697
- 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.
421
+ The value range of different specifications is different, see [ESSD-based instances](https://www.alibabacloud.com/help/en/tair/product-overview/essd-based-instances). When the value of instance_type is "tair_essd", this attribute takes effect and is required.
698
422
  """
699
423
  return pulumi.get(self, "storage_size_gb")
700
424
 
@@ -726,171 +450,77 @@ class TairInstanceArgs:
726
450
  def tair_instance_name(self, value: Optional[pulumi.Input[str]]):
727
451
  pulumi.set(self, "tair_instance_name", value)
728
452
 
729
- @property
730
- @pulumi.getter(name="vpcAuthMode")
731
- def vpc_auth_mode(self) -> Optional[pulumi.Input[str]]:
732
- """
733
- The VPC authentication mode. Valid values: Open (enables password authentication), Close (disables password authentication and enables [password-free access](https://www.alibabacloud.com/help/en/apsaradb-for-redis/latest/enable-password-free-access)).
734
- """
735
- return pulumi.get(self, "vpc_auth_mode")
736
-
737
- @vpc_auth_mode.setter
738
- def vpc_auth_mode(self, value: Optional[pulumi.Input[str]]):
739
- pulumi.set(self, "vpc_auth_mode", value)
740
-
741
453
 
742
454
  @pulumi.input_type
743
455
  class _TairInstanceState:
744
456
  def __init__(__self__, *,
745
- architecture_type: Optional[pulumi.Input[str]] = None,
746
457
  auto_renew: Optional[pulumi.Input[str]] = None,
747
458
  auto_renew_period: Optional[pulumi.Input[str]] = None,
748
- backup_id: Optional[pulumi.Input[str]] = None,
749
459
  cluster_backup_id: Optional[pulumi.Input[str]] = None,
750
- connection_domain: Optional[pulumi.Input[str]] = None,
751
460
  create_time: Optional[pulumi.Input[str]] = None,
752
461
  effective_time: Optional[pulumi.Input[str]] = None,
753
462
  engine_version: Optional[pulumi.Input[str]] = None,
754
463
  force_upgrade: Optional[pulumi.Input[bool]] = None,
755
- global_instance_id: Optional[pulumi.Input[str]] = None,
756
464
  instance_class: Optional[pulumi.Input[str]] = None,
757
465
  instance_type: Optional[pulumi.Input[str]] = None,
758
- intranet_bandwidth: Optional[pulumi.Input[int]] = None,
759
- max_connections: Optional[pulumi.Input[int]] = None,
760
- modify_mode: Optional[pulumi.Input[str]] = None,
761
- network_type: Optional[pulumi.Input[str]] = None,
762
466
  node_type: Optional[pulumi.Input[str]] = None,
763
- param_no_loose_sentinel_enabled: Optional[pulumi.Input[str]] = None,
764
- param_repl_mode: Optional[pulumi.Input[str]] = None,
765
- param_semisync_repl_timeout: Optional[pulumi.Input[str]] = None,
766
- param_sentinel_compat_enable: Optional[pulumi.Input[str]] = None,
767
467
  password: Optional[pulumi.Input[str]] = None,
768
468
  payment_type: Optional[pulumi.Input[str]] = None,
769
469
  period: Optional[pulumi.Input[int]] = None,
770
470
  port: Optional[pulumi.Input[int]] = None,
771
471
  read_only_count: Optional[pulumi.Input[int]] = None,
772
- recover_config_mode: Optional[pulumi.Input[str]] = None,
773
472
  resource_group_id: Optional[pulumi.Input[str]] = None,
774
473
  secondary_zone_id: Optional[pulumi.Input[str]] = None,
775
474
  security_group_id: Optional[pulumi.Input[str]] = None,
776
- security_ip_group_name: Optional[pulumi.Input[str]] = None,
777
- security_ips: Optional[pulumi.Input[str]] = None,
778
475
  shard_count: Optional[pulumi.Input[int]] = None,
779
476
  slave_read_only_count: Optional[pulumi.Input[int]] = None,
780
- src_db_instance_id: Optional[pulumi.Input[str]] = None,
781
477
  ssl_enabled: Optional[pulumi.Input[str]] = None,
782
478
  status: Optional[pulumi.Input[str]] = None,
783
479
  storage_performance_level: Optional[pulumi.Input[str]] = None,
784
480
  storage_size_gb: Optional[pulumi.Input[int]] = None,
785
481
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
786
- tair_instance_id: Optional[pulumi.Input[str]] = None,
787
482
  tair_instance_name: Optional[pulumi.Input[str]] = None,
788
- vpc_auth_mode: Optional[pulumi.Input[str]] = None,
789
483
  vpc_id: Optional[pulumi.Input[str]] = None,
790
484
  vswitch_id: Optional[pulumi.Input[str]] = None,
791
485
  zone_id: Optional[pulumi.Input[str]] = None):
792
486
  """
793
487
  Input properties used for looking up and filtering TairInstance resources.
794
- :param pulumi.Input[str] architecture_type: The architecture of the instance. cluster, standard, rwsplit.
795
488
  :param pulumi.Input[str] auto_renew: Specifies whether to enable auto-renewal for the instance. Default value: false. Valid values: true(enables auto-renewal), false(disables auto-renewal).
796
489
  :param pulumi.Input[str] auto_renew_period: 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.
797
- :param pulumi.Input[str] backup_id: 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 (,).
798
-
799
- 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.
800
- :param pulumi.Input[str] cluster_backup_id: 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 (,).
801
- :param pulumi.Input[str] connection_domain: The internal endpoint of the instance.
490
+ :param pulumi.Input[str] cluster_backup_id: The ID of the backup set of the cluster.
802
491
  :param pulumi.Input[str] create_time: 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.
803
492
  :param pulumi.Input[str] effective_time: 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).
804
- :param pulumi.Input[str] engine_version: Database version. Default value: 1.0.
805
-
806
- Rules for transferring parameters of different tair product types:
807
-
808
- tair_rdb: Compatible with the Redis5.0 and Redis6.0 protocols, and is transmitted to 5.0 or 6.0.
809
-
810
- tair_scm: The Tair persistent memory is compatible with the Redis6.0 protocol and is passed 1.0.
811
-
812
- 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.
493
+ :param pulumi.Input[str] engine_version: 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.
813
494
  :param pulumi.Input[bool] force_upgrade: 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).
814
- :param pulumi.Input[str] global_instance_id: 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.
815
-
816
- 1. Enter true if you want the new instance to be the first child instance.
817
-
818
- 2. If you want the new instance to be used as the second and third sub-instances, enter the distributed instance ID.
819
-
820
- 3. Not as a distributed instance, you do not need to enter any values.
821
495
  :param pulumi.Input[str] instance_class: The instance type of the instance. For more information, see [Instance types](https://www.alibabacloud.com/help/en/apsaradb-for-redis/latest/instance-types).
822
496
  :param pulumi.Input[str] instance_type: The storage medium of the instance. Valid values: tair_rdb, tair_scm, tair_essd.
823
- :param pulumi.Input[int] intranet_bandwidth: Instance intranet bandwidth
824
- :param pulumi.Input[int] max_connections: The maximum number of connections supported by the instance.
825
- :param pulumi.Input[str] modify_mode: 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.
826
- :param pulumi.Input[str] network_type: The network type of the instance. CLASSIC(classic network), VPC.
827
- :param pulumi.Input[str] node_type: Node type, value:
828
-
829
- MASTER_SLAVE: high availability (dual copy)
830
-
831
- STAND_ALONE: single copy
832
-
833
- double: double copy
834
-
835
- single: single copy
836
-
837
- Note For Cloud Native instances, select MASTER_SLAVE or STAND_ALONE. For Classic instances, select double or single.
838
- :param pulumi.Input[str] param_no_loose_sentinel_enabled: 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, 取值为. The default value is no.
839
- :param pulumi.Input[str] param_repl_mode: The value is semisync or async. The default value is async.
840
-
841
- 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 。
842
- :param pulumi.Input[str] param_semisync_repl_timeout: 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。
843
- :param pulumi.Input[str] param_sentinel_compat_enable: 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.
497
+ :param pulumi.Input[str] node_type: Node type, value: MASTER_SLAVE: high availability (dual copy) STAND_ALONE: single copy double: double copy single: single copy Note For Cloud Native instances, select MASTER_SLAVE or STAND_ALONE. For Classic instances, select double or single.
844
498
  :param pulumi.Input[str] password: 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 ! @ # $ % ^ & * ( ) _ + - =
845
- :param pulumi.Input[str] payment_type: Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default Subscription.
499
+ :param pulumi.Input[str] payment_type: Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default PayAsYouGo. Since version 1.227.0, you can transfer prepaid instance to postpaid.
846
500
  :param pulumi.Input[int] period: 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.
847
501
  :param pulumi.Input[int] port: The Tair service port. The service port of the instance. Valid values: 1024 to 65535. Default value: 6379.
848
- :param pulumi.Input[int] read_only_count: Number of read-only nodes in the primary zone. Valid values: 0 to 5. This parameter is only applicable to the following conditions:
849
-
850
- 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.
851
-
852
- 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.
853
- :param pulumi.Input[str] recover_config_mode: 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.
502
+ :param pulumi.Input[int] read_only_count: 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.
854
503
  :param pulumi.Input[str] resource_group_id: The ID of the resource group to which the instance belongs.
855
504
  :param pulumi.Input[str] secondary_zone_id: The ID of the secondary zone.This parameter is returned only if the instance is deployed in two zones.
856
- :param pulumi.Input[str] security_group_id: Security group id
857
- :param pulumi.Input[str] security_ip_group_name: 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.
858
- :param pulumi.Input[str] security_ips: 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.
505
+ :param pulumi.Input[str] security_group_id: Security group ID
859
506
  :param pulumi.Input[int] shard_count: 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.
860
- :param pulumi.Input[int] slave_read_only_count: Specifies the number of read-only nodes in the secondary zone when creating a multi-zone read/write splitting instance.
861
-
862
- Note: To create a multi-zone read/write splitting instance, slaveadonlycount and SecondaryZoneId must be specified at the same time.
863
- :param pulumi.Input[str] src_db_instance_id: 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.
864
- :param pulumi.Input[str] ssl_enabled: 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)
507
+ :param pulumi.Input[int] slave_read_only_count: 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.
508
+ :param pulumi.Input[str] ssl_enabled: Modify the TLS(SSL) setting. Value: Expand Details Example values: Enable Enumeration value: Disable Enable Update Reference value Source: DescribeInstanceSSL
865
509
  :param pulumi.Input[str] status: The status of the resource
866
- :param pulumi.Input[str] storage_performance_level: 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.
867
-
868
- If the ESSD instance type is 4C, 8C, or 16C, you can specify the storage type as PL1.
869
-
870
- If the type of ESSD instance you select is 8C, 16C, 32C, or 52C, you can specify the storage type as PL2.
871
-
872
- If the ESSD instance type is 16C, 32C, or 52C, you can specify the storage type as PL3.
873
- :param pulumi.Input[int] storage_size_gb: 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.
510
+ :param pulumi.Input[str] storage_performance_level: The storage type. The value is set to essd_pl1. Note This parameter is only available when the value of InstanceType is tair_essd.
511
+ :param pulumi.Input[int] storage_size_gb: The value range of different specifications is different, see [ESSD-based instances](https://www.alibabacloud.com/help/en/tair/product-overview/essd-based-instances). When the value of instance_type is "tair_essd", this attribute takes effect and is required.
874
512
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource
875
- :param pulumi.Input[str] tair_instance_id: The ID of the resource.
876
513
  :param pulumi.Input[str] tair_instance_name: The name of the resource.
877
- :param pulumi.Input[str] vpc_auth_mode: The VPC authentication mode. Valid values: Open (enables password authentication), Close (disables password authentication and enables [password-free access](https://www.alibabacloud.com/help/en/apsaradb-for-redis/latest/enable-password-free-access)).
878
514
  :param pulumi.Input[str] vpc_id: The ID of the virtual private cloud (VPC).
879
515
  :param pulumi.Input[str] vswitch_id: The ID of the vSwitch to which the instance is connected.
880
516
  :param pulumi.Input[str] zone_id: Zone ID
881
517
  """
882
- if architecture_type is not None:
883
- pulumi.set(__self__, "architecture_type", architecture_type)
884
518
  if auto_renew is not None:
885
519
  pulumi.set(__self__, "auto_renew", auto_renew)
886
520
  if auto_renew_period is not None:
887
521
  pulumi.set(__self__, "auto_renew_period", auto_renew_period)
888
- if backup_id is not None:
889
- pulumi.set(__self__, "backup_id", backup_id)
890
522
  if cluster_backup_id is not None:
891
523
  pulumi.set(__self__, "cluster_backup_id", cluster_backup_id)
892
- if connection_domain is not None:
893
- pulumi.set(__self__, "connection_domain", connection_domain)
894
524
  if create_time is not None:
895
525
  pulumi.set(__self__, "create_time", create_time)
896
526
  if effective_time is not None:
@@ -899,30 +529,12 @@ class _TairInstanceState:
899
529
  pulumi.set(__self__, "engine_version", engine_version)
900
530
  if force_upgrade is not None:
901
531
  pulumi.set(__self__, "force_upgrade", force_upgrade)
902
- if global_instance_id is not None:
903
- pulumi.set(__self__, "global_instance_id", global_instance_id)
904
532
  if instance_class is not None:
905
533
  pulumi.set(__self__, "instance_class", instance_class)
906
534
  if instance_type is not None:
907
535
  pulumi.set(__self__, "instance_type", instance_type)
908
- if intranet_bandwidth is not None:
909
- pulumi.set(__self__, "intranet_bandwidth", intranet_bandwidth)
910
- if max_connections is not None:
911
- pulumi.set(__self__, "max_connections", max_connections)
912
- if modify_mode is not None:
913
- pulumi.set(__self__, "modify_mode", modify_mode)
914
- if network_type is not None:
915
- pulumi.set(__self__, "network_type", network_type)
916
536
  if node_type is not None:
917
537
  pulumi.set(__self__, "node_type", node_type)
918
- if param_no_loose_sentinel_enabled is not None:
919
- pulumi.set(__self__, "param_no_loose_sentinel_enabled", param_no_loose_sentinel_enabled)
920
- if param_repl_mode is not None:
921
- pulumi.set(__self__, "param_repl_mode", param_repl_mode)
922
- if param_semisync_repl_timeout is not None:
923
- pulumi.set(__self__, "param_semisync_repl_timeout", param_semisync_repl_timeout)
924
- if param_sentinel_compat_enable is not None:
925
- pulumi.set(__self__, "param_sentinel_compat_enable", param_sentinel_compat_enable)
926
538
  if password is not None:
927
539
  pulumi.set(__self__, "password", password)
928
540
  if payment_type is not None:
@@ -933,24 +545,16 @@ class _TairInstanceState:
933
545
  pulumi.set(__self__, "port", port)
934
546
  if read_only_count is not None:
935
547
  pulumi.set(__self__, "read_only_count", read_only_count)
936
- if recover_config_mode is not None:
937
- pulumi.set(__self__, "recover_config_mode", recover_config_mode)
938
548
  if resource_group_id is not None:
939
549
  pulumi.set(__self__, "resource_group_id", resource_group_id)
940
550
  if secondary_zone_id is not None:
941
551
  pulumi.set(__self__, "secondary_zone_id", secondary_zone_id)
942
552
  if security_group_id is not None:
943
553
  pulumi.set(__self__, "security_group_id", security_group_id)
944
- if security_ip_group_name is not None:
945
- pulumi.set(__self__, "security_ip_group_name", security_ip_group_name)
946
- if security_ips is not None:
947
- pulumi.set(__self__, "security_ips", security_ips)
948
554
  if shard_count is not None:
949
555
  pulumi.set(__self__, "shard_count", shard_count)
950
556
  if slave_read_only_count is not None:
951
557
  pulumi.set(__self__, "slave_read_only_count", slave_read_only_count)
952
- if src_db_instance_id is not None:
953
- pulumi.set(__self__, "src_db_instance_id", src_db_instance_id)
954
558
  if ssl_enabled is not None:
955
559
  pulumi.set(__self__, "ssl_enabled", ssl_enabled)
956
560
  if status is not None:
@@ -961,12 +565,8 @@ class _TairInstanceState:
961
565
  pulumi.set(__self__, "storage_size_gb", storage_size_gb)
962
566
  if tags is not None:
963
567
  pulumi.set(__self__, "tags", tags)
964
- if tair_instance_id is not None:
965
- pulumi.set(__self__, "tair_instance_id", tair_instance_id)
966
568
  if tair_instance_name is not None:
967
569
  pulumi.set(__self__, "tair_instance_name", tair_instance_name)
968
- if vpc_auth_mode is not None:
969
- pulumi.set(__self__, "vpc_auth_mode", vpc_auth_mode)
970
570
  if vpc_id is not None:
971
571
  pulumi.set(__self__, "vpc_id", vpc_id)
972
572
  if vswitch_id is not None:
@@ -974,18 +574,6 @@ class _TairInstanceState:
974
574
  if zone_id is not None:
975
575
  pulumi.set(__self__, "zone_id", zone_id)
976
576
 
977
- @property
978
- @pulumi.getter(name="architectureType")
979
- def architecture_type(self) -> Optional[pulumi.Input[str]]:
980
- """
981
- The architecture of the instance. cluster, standard, rwsplit.
982
- """
983
- return pulumi.get(self, "architecture_type")
984
-
985
- @architecture_type.setter
986
- def architecture_type(self, value: Optional[pulumi.Input[str]]):
987
- pulumi.set(self, "architecture_type", value)
988
-
989
577
  @property
990
578
  @pulumi.getter(name="autoRenew")
991
579
  def auto_renew(self) -> Optional[pulumi.Input[str]]:
@@ -1010,25 +598,11 @@ class _TairInstanceState:
1010
598
  def auto_renew_period(self, value: Optional[pulumi.Input[str]]):
1011
599
  pulumi.set(self, "auto_renew_period", value)
1012
600
 
1013
- @property
1014
- @pulumi.getter(name="backupId")
1015
- def backup_id(self) -> Optional[pulumi.Input[str]]:
1016
- """
1017
- 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 (,).
1018
-
1019
- 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.
1020
- """
1021
- return pulumi.get(self, "backup_id")
1022
-
1023
- @backup_id.setter
1024
- def backup_id(self, value: Optional[pulumi.Input[str]]):
1025
- pulumi.set(self, "backup_id", value)
1026
-
1027
601
  @property
1028
602
  @pulumi.getter(name="clusterBackupId")
1029
603
  def cluster_backup_id(self) -> Optional[pulumi.Input[str]]:
1030
604
  """
1031
- 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 (,).
605
+ The ID of the backup set of the cluster.
1032
606
  """
1033
607
  return pulumi.get(self, "cluster_backup_id")
1034
608
 
@@ -1036,18 +610,6 @@ class _TairInstanceState:
1036
610
  def cluster_backup_id(self, value: Optional[pulumi.Input[str]]):
1037
611
  pulumi.set(self, "cluster_backup_id", value)
1038
612
 
1039
- @property
1040
- @pulumi.getter(name="connectionDomain")
1041
- def connection_domain(self) -> Optional[pulumi.Input[str]]:
1042
- """
1043
- The internal endpoint of the instance.
1044
- """
1045
- return pulumi.get(self, "connection_domain")
1046
-
1047
- @connection_domain.setter
1048
- def connection_domain(self, value: Optional[pulumi.Input[str]]):
1049
- pulumi.set(self, "connection_domain", value)
1050
-
1051
613
  @property
1052
614
  @pulumi.getter(name="createTime")
1053
615
  def create_time(self) -> Optional[pulumi.Input[str]]:
@@ -1076,15 +638,7 @@ class _TairInstanceState:
1076
638
  @pulumi.getter(name="engineVersion")
1077
639
  def engine_version(self) -> Optional[pulumi.Input[str]]:
1078
640
  """
1079
- Database version. Default value: 1.0.
1080
-
1081
- Rules for transferring parameters of different tair product types:
1082
-
1083
- tair_rdb: Compatible with the Redis5.0 and Redis6.0 protocols, and is transmitted to 5.0 or 6.0.
1084
-
1085
- tair_scm: The Tair persistent memory is compatible with the Redis6.0 protocol and is passed 1.0.
1086
-
1087
- 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.
641
+ 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.
1088
642
  """
1089
643
  return pulumi.get(self, "engine_version")
1090
644
 
@@ -1104,24 +658,6 @@ class _TairInstanceState:
1104
658
  def force_upgrade(self, value: Optional[pulumi.Input[bool]]):
1105
659
  pulumi.set(self, "force_upgrade", value)
1106
660
 
1107
- @property
1108
- @pulumi.getter(name="globalInstanceId")
1109
- def global_instance_id(self) -> Optional[pulumi.Input[str]]:
1110
- """
1111
- 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.
1112
-
1113
- 1. Enter true if you want the new instance to be the first child instance.
1114
-
1115
- 2. If you want the new instance to be used as the second and third sub-instances, enter the distributed instance ID.
1116
-
1117
- 3. Not as a distributed instance, you do not need to enter any values.
1118
- """
1119
- return pulumi.get(self, "global_instance_id")
1120
-
1121
- @global_instance_id.setter
1122
- def global_instance_id(self, value: Optional[pulumi.Input[str]]):
1123
- pulumi.set(self, "global_instance_id", value)
1124
-
1125
661
  @property
1126
662
  @pulumi.getter(name="instanceClass")
1127
663
  def instance_class(self) -> Optional[pulumi.Input[str]]:
@@ -1146,69 +682,11 @@ class _TairInstanceState:
1146
682
  def instance_type(self, value: Optional[pulumi.Input[str]]):
1147
683
  pulumi.set(self, "instance_type", value)
1148
684
 
1149
- @property
1150
- @pulumi.getter(name="intranetBandwidth")
1151
- def intranet_bandwidth(self) -> Optional[pulumi.Input[int]]:
1152
- """
1153
- Instance intranet bandwidth
1154
- """
1155
- return pulumi.get(self, "intranet_bandwidth")
1156
-
1157
- @intranet_bandwidth.setter
1158
- def intranet_bandwidth(self, value: Optional[pulumi.Input[int]]):
1159
- pulumi.set(self, "intranet_bandwidth", value)
1160
-
1161
- @property
1162
- @pulumi.getter(name="maxConnections")
1163
- def max_connections(self) -> Optional[pulumi.Input[int]]:
1164
- """
1165
- The maximum number of connections supported by the instance.
1166
- """
1167
- return pulumi.get(self, "max_connections")
1168
-
1169
- @max_connections.setter
1170
- def max_connections(self, value: Optional[pulumi.Input[int]]):
1171
- pulumi.set(self, "max_connections", value)
1172
-
1173
- @property
1174
- @pulumi.getter(name="modifyMode")
1175
- def modify_mode(self) -> Optional[pulumi.Input[str]]:
1176
- """
1177
- 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.
1178
- """
1179
- return pulumi.get(self, "modify_mode")
1180
-
1181
- @modify_mode.setter
1182
- def modify_mode(self, value: Optional[pulumi.Input[str]]):
1183
- pulumi.set(self, "modify_mode", value)
1184
-
1185
- @property
1186
- @pulumi.getter(name="networkType")
1187
- def network_type(self) -> Optional[pulumi.Input[str]]:
1188
- """
1189
- The network type of the instance. CLASSIC(classic network), VPC.
1190
- """
1191
- return pulumi.get(self, "network_type")
1192
-
1193
- @network_type.setter
1194
- def network_type(self, value: Optional[pulumi.Input[str]]):
1195
- pulumi.set(self, "network_type", value)
1196
-
1197
685
  @property
1198
686
  @pulumi.getter(name="nodeType")
1199
687
  def node_type(self) -> Optional[pulumi.Input[str]]:
1200
688
  """
1201
- Node type, value:
1202
-
1203
- MASTER_SLAVE: high availability (dual copy)
1204
-
1205
- STAND_ALONE: single copy
1206
-
1207
- double: double copy
1208
-
1209
- single: single copy
1210
-
1211
- Note For Cloud Native instances, select MASTER_SLAVE or STAND_ALONE. For Classic instances, select double or single.
689
+ Node type, value: MASTER_SLAVE: high availability (dual copy) STAND_ALONE: single copy double: double copy single: single copy Note For Cloud Native instances, select MASTER_SLAVE or STAND_ALONE. For Classic instances, select double or single.
1212
690
  """
1213
691
  return pulumi.get(self, "node_type")
1214
692
 
@@ -1216,56 +694,6 @@ class _TairInstanceState:
1216
694
  def node_type(self, value: Optional[pulumi.Input[str]]):
1217
695
  pulumi.set(self, "node_type", value)
1218
696
 
1219
- @property
1220
- @pulumi.getter(name="paramNoLooseSentinelEnabled")
1221
- def param_no_loose_sentinel_enabled(self) -> Optional[pulumi.Input[str]]:
1222
- """
1223
- 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, 取值为. The default value is no.
1224
- """
1225
- return pulumi.get(self, "param_no_loose_sentinel_enabled")
1226
-
1227
- @param_no_loose_sentinel_enabled.setter
1228
- def param_no_loose_sentinel_enabled(self, value: Optional[pulumi.Input[str]]):
1229
- pulumi.set(self, "param_no_loose_sentinel_enabled", value)
1230
-
1231
- @property
1232
- @pulumi.getter(name="paramReplMode")
1233
- def param_repl_mode(self) -> Optional[pulumi.Input[str]]:
1234
- """
1235
- The value is semisync or async. The default value is async.
1236
-
1237
- 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 。
1238
- """
1239
- return pulumi.get(self, "param_repl_mode")
1240
-
1241
- @param_repl_mode.setter
1242
- def param_repl_mode(self, value: Optional[pulumi.Input[str]]):
1243
- pulumi.set(self, "param_repl_mode", value)
1244
-
1245
- @property
1246
- @pulumi.getter(name="paramSemisyncReplTimeout")
1247
- def param_semisync_repl_timeout(self) -> Optional[pulumi.Input[str]]:
1248
- """
1249
- 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。
1250
- """
1251
- return pulumi.get(self, "param_semisync_repl_timeout")
1252
-
1253
- @param_semisync_repl_timeout.setter
1254
- def param_semisync_repl_timeout(self, value: Optional[pulumi.Input[str]]):
1255
- pulumi.set(self, "param_semisync_repl_timeout", value)
1256
-
1257
- @property
1258
- @pulumi.getter(name="paramSentinelCompatEnable")
1259
- def param_sentinel_compat_enable(self) -> Optional[pulumi.Input[str]]:
1260
- """
1261
- 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.
1262
- """
1263
- return pulumi.get(self, "param_sentinel_compat_enable")
1264
-
1265
- @param_sentinel_compat_enable.setter
1266
- def param_sentinel_compat_enable(self, value: Optional[pulumi.Input[str]]):
1267
- pulumi.set(self, "param_sentinel_compat_enable", value)
1268
-
1269
697
  @property
1270
698
  @pulumi.getter
1271
699
  def password(self) -> Optional[pulumi.Input[str]]:
@@ -1282,7 +710,7 @@ class _TairInstanceState:
1282
710
  @pulumi.getter(name="paymentType")
1283
711
  def payment_type(self) -> Optional[pulumi.Input[str]]:
1284
712
  """
1285
- Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default Subscription.
713
+ Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default PayAsYouGo. Since version 1.227.0, you can transfer prepaid instance to postpaid.
1286
714
  """
1287
715
  return pulumi.get(self, "payment_type")
1288
716
 
@@ -1318,11 +746,7 @@ class _TairInstanceState:
1318
746
  @pulumi.getter(name="readOnlyCount")
1319
747
  def read_only_count(self) -> Optional[pulumi.Input[int]]:
1320
748
  """
1321
- Number of read-only nodes in the primary zone. Valid values: 0 to 5. This parameter is only applicable to the following conditions:
1322
-
1323
- 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.
1324
-
1325
- 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.
749
+ 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.
1326
750
  """
1327
751
  return pulumi.get(self, "read_only_count")
1328
752
 
@@ -1330,18 +754,6 @@ class _TairInstanceState:
1330
754
  def read_only_count(self, value: Optional[pulumi.Input[int]]):
1331
755
  pulumi.set(self, "read_only_count", value)
1332
756
 
1333
- @property
1334
- @pulumi.getter(name="recoverConfigMode")
1335
- def recover_config_mode(self) -> Optional[pulumi.Input[str]]:
1336
- """
1337
- 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.
1338
- """
1339
- return pulumi.get(self, "recover_config_mode")
1340
-
1341
- @recover_config_mode.setter
1342
- def recover_config_mode(self, value: Optional[pulumi.Input[str]]):
1343
- pulumi.set(self, "recover_config_mode", value)
1344
-
1345
757
  @property
1346
758
  @pulumi.getter(name="resourceGroupId")
1347
759
  def resource_group_id(self) -> Optional[pulumi.Input[str]]:
@@ -1370,7 +782,7 @@ class _TairInstanceState:
1370
782
  @pulumi.getter(name="securityGroupId")
1371
783
  def security_group_id(self) -> Optional[pulumi.Input[str]]:
1372
784
  """
1373
- Security group id
785
+ Security group ID
1374
786
  """
1375
787
  return pulumi.get(self, "security_group_id")
1376
788
 
@@ -1378,30 +790,6 @@ class _TairInstanceState:
1378
790
  def security_group_id(self, value: Optional[pulumi.Input[str]]):
1379
791
  pulumi.set(self, "security_group_id", value)
1380
792
 
1381
- @property
1382
- @pulumi.getter(name="securityIpGroupName")
1383
- def security_ip_group_name(self) -> Optional[pulumi.Input[str]]:
1384
- """
1385
- 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.
1386
- """
1387
- return pulumi.get(self, "security_ip_group_name")
1388
-
1389
- @security_ip_group_name.setter
1390
- def security_ip_group_name(self, value: Optional[pulumi.Input[str]]):
1391
- pulumi.set(self, "security_ip_group_name", value)
1392
-
1393
- @property
1394
- @pulumi.getter(name="securityIps")
1395
- def security_ips(self) -> Optional[pulumi.Input[str]]:
1396
- """
1397
- 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.
1398
- """
1399
- return pulumi.get(self, "security_ips")
1400
-
1401
- @security_ips.setter
1402
- def security_ips(self, value: Optional[pulumi.Input[str]]):
1403
- pulumi.set(self, "security_ips", value)
1404
-
1405
793
  @property
1406
794
  @pulumi.getter(name="shardCount")
1407
795
  def shard_count(self) -> Optional[pulumi.Input[int]]:
@@ -1418,9 +806,7 @@ class _TairInstanceState:
1418
806
  @pulumi.getter(name="slaveReadOnlyCount")
1419
807
  def slave_read_only_count(self) -> Optional[pulumi.Input[int]]:
1420
808
  """
1421
- Specifies the number of read-only nodes in the secondary zone when creating a multi-zone read/write splitting instance.
1422
-
1423
- Note: To create a multi-zone read/write splitting instance, slaveadonlycount and SecondaryZoneId must be specified at the same time.
809
+ 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.
1424
810
  """
1425
811
  return pulumi.get(self, "slave_read_only_count")
1426
812
 
@@ -1428,23 +814,11 @@ class _TairInstanceState:
1428
814
  def slave_read_only_count(self, value: Optional[pulumi.Input[int]]):
1429
815
  pulumi.set(self, "slave_read_only_count", value)
1430
816
 
1431
- @property
1432
- @pulumi.getter(name="srcDbInstanceId")
1433
- def src_db_instance_id(self) -> Optional[pulumi.Input[str]]:
1434
- """
1435
- 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.
1436
- """
1437
- return pulumi.get(self, "src_db_instance_id")
1438
-
1439
- @src_db_instance_id.setter
1440
- def src_db_instance_id(self, value: Optional[pulumi.Input[str]]):
1441
- pulumi.set(self, "src_db_instance_id", value)
1442
-
1443
817
  @property
1444
818
  @pulumi.getter(name="sslEnabled")
1445
819
  def ssl_enabled(self) -> Optional[pulumi.Input[str]]:
1446
820
  """
1447
- 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)
821
+ Modify the TLS(SSL) setting. Value: Expand Details Example values: Enable Enumeration value: Disable Enable Update Reference value Source: DescribeInstanceSSL
1448
822
  """
1449
823
  return pulumi.get(self, "ssl_enabled")
1450
824
 
@@ -1468,13 +842,7 @@ class _TairInstanceState:
1468
842
  @pulumi.getter(name="storagePerformanceLevel")
1469
843
  def storage_performance_level(self) -> Optional[pulumi.Input[str]]:
1470
844
  """
1471
- 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.
1472
-
1473
- If the ESSD instance type is 4C, 8C, or 16C, you can specify the storage type as PL1.
1474
-
1475
- If the type of ESSD instance you select is 8C, 16C, 32C, or 52C, you can specify the storage type as PL2.
1476
-
1477
- If the ESSD instance type is 16C, 32C, or 52C, you can specify the storage type as PL3.
845
+ The storage type. The value is set to essd_pl1. Note This parameter is only available when the value of InstanceType is tair_essd.
1478
846
  """
1479
847
  return pulumi.get(self, "storage_performance_level")
1480
848
 
@@ -1486,7 +854,7 @@ class _TairInstanceState:
1486
854
  @pulumi.getter(name="storageSizeGb")
1487
855
  def storage_size_gb(self) -> Optional[pulumi.Input[int]]:
1488
856
  """
1489
- 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.
857
+ The value range of different specifications is different, see [ESSD-based instances](https://www.alibabacloud.com/help/en/tair/product-overview/essd-based-instances). When the value of instance_type is "tair_essd", this attribute takes effect and is required.
1490
858
  """
1491
859
  return pulumi.get(self, "storage_size_gb")
1492
860
 
@@ -1506,18 +874,6 @@ class _TairInstanceState:
1506
874
  def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
1507
875
  pulumi.set(self, "tags", value)
1508
876
 
1509
- @property
1510
- @pulumi.getter(name="tairInstanceId")
1511
- def tair_instance_id(self) -> Optional[pulumi.Input[str]]:
1512
- """
1513
- The ID of the resource.
1514
- """
1515
- return pulumi.get(self, "tair_instance_id")
1516
-
1517
- @tair_instance_id.setter
1518
- def tair_instance_id(self, value: Optional[pulumi.Input[str]]):
1519
- pulumi.set(self, "tair_instance_id", value)
1520
-
1521
877
  @property
1522
878
  @pulumi.getter(name="tairInstanceName")
1523
879
  def tair_instance_name(self) -> Optional[pulumi.Input[str]]:
@@ -1530,18 +886,6 @@ class _TairInstanceState:
1530
886
  def tair_instance_name(self, value: Optional[pulumi.Input[str]]):
1531
887
  pulumi.set(self, "tair_instance_name", value)
1532
888
 
1533
- @property
1534
- @pulumi.getter(name="vpcAuthMode")
1535
- def vpc_auth_mode(self) -> Optional[pulumi.Input[str]]:
1536
- """
1537
- The VPC authentication mode. Valid values: Open (enables password authentication), Close (disables password authentication and enables [password-free access](https://www.alibabacloud.com/help/en/apsaradb-for-redis/latest/enable-password-free-access)).
1538
- """
1539
- return pulumi.get(self, "vpc_auth_mode")
1540
-
1541
- @vpc_auth_mode.setter
1542
- def vpc_auth_mode(self, value: Optional[pulumi.Input[str]]):
1543
- pulumi.set(self, "vpc_auth_mode", value)
1544
-
1545
889
  @property
1546
890
  @pulumi.getter(name="vpcId")
1547
891
  def vpc_id(self) -> Optional[pulumi.Input[str]]:
@@ -1586,41 +930,28 @@ class TairInstance(pulumi.CustomResource):
1586
930
  opts: Optional[pulumi.ResourceOptions] = None,
1587
931
  auto_renew: Optional[pulumi.Input[str]] = None,
1588
932
  auto_renew_period: Optional[pulumi.Input[str]] = None,
1589
- backup_id: Optional[pulumi.Input[str]] = None,
1590
933
  cluster_backup_id: Optional[pulumi.Input[str]] = None,
1591
934
  effective_time: Optional[pulumi.Input[str]] = None,
1592
935
  engine_version: Optional[pulumi.Input[str]] = None,
1593
936
  force_upgrade: Optional[pulumi.Input[bool]] = None,
1594
- global_instance_id: Optional[pulumi.Input[str]] = None,
1595
937
  instance_class: Optional[pulumi.Input[str]] = None,
1596
938
  instance_type: Optional[pulumi.Input[str]] = None,
1597
- intranet_bandwidth: Optional[pulumi.Input[int]] = None,
1598
- modify_mode: Optional[pulumi.Input[str]] = None,
1599
939
  node_type: Optional[pulumi.Input[str]] = None,
1600
- param_no_loose_sentinel_enabled: Optional[pulumi.Input[str]] = None,
1601
- param_repl_mode: Optional[pulumi.Input[str]] = None,
1602
- param_semisync_repl_timeout: Optional[pulumi.Input[str]] = None,
1603
- param_sentinel_compat_enable: Optional[pulumi.Input[str]] = None,
1604
940
  password: Optional[pulumi.Input[str]] = None,
1605
941
  payment_type: Optional[pulumi.Input[str]] = None,
1606
942
  period: Optional[pulumi.Input[int]] = None,
1607
943
  port: Optional[pulumi.Input[int]] = None,
1608
944
  read_only_count: Optional[pulumi.Input[int]] = None,
1609
- recover_config_mode: Optional[pulumi.Input[str]] = None,
1610
945
  resource_group_id: Optional[pulumi.Input[str]] = None,
1611
946
  secondary_zone_id: Optional[pulumi.Input[str]] = None,
1612
947
  security_group_id: Optional[pulumi.Input[str]] = None,
1613
- security_ip_group_name: Optional[pulumi.Input[str]] = None,
1614
- security_ips: Optional[pulumi.Input[str]] = None,
1615
948
  shard_count: Optional[pulumi.Input[int]] = None,
1616
949
  slave_read_only_count: Optional[pulumi.Input[int]] = None,
1617
- src_db_instance_id: Optional[pulumi.Input[str]] = None,
1618
950
  ssl_enabled: Optional[pulumi.Input[str]] = None,
1619
951
  storage_performance_level: Optional[pulumi.Input[str]] = None,
1620
952
  storage_size_gb: Optional[pulumi.Input[int]] = None,
1621
953
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1622
954
  tair_instance_name: Optional[pulumi.Input[str]] = None,
1623
- vpc_auth_mode: Optional[pulumi.Input[str]] = None,
1624
955
  vpc_id: Optional[pulumi.Input[str]] = None,
1625
956
  vswitch_id: Optional[pulumi.Input[str]] = None,
1626
957
  zone_id: Optional[pulumi.Input[str]] = None,
@@ -1638,81 +969,28 @@ class TairInstance(pulumi.CustomResource):
1638
969
  :param pulumi.ResourceOptions opts: Options for the resource.
1639
970
  :param pulumi.Input[str] auto_renew: Specifies whether to enable auto-renewal for the instance. Default value: false. Valid values: true(enables auto-renewal), false(disables auto-renewal).
1640
971
  :param pulumi.Input[str] auto_renew_period: 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.
1641
- :param pulumi.Input[str] backup_id: 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 (,).
1642
-
1643
- 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.
1644
- :param pulumi.Input[str] cluster_backup_id: 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 (,).
972
+ :param pulumi.Input[str] cluster_backup_id: The ID of the backup set of the cluster.
1645
973
  :param pulumi.Input[str] effective_time: 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).
1646
- :param pulumi.Input[str] engine_version: Database version. Default value: 1.0.
1647
-
1648
- Rules for transferring parameters of different tair product types:
1649
-
1650
- tair_rdb: Compatible with the Redis5.0 and Redis6.0 protocols, and is transmitted to 5.0 or 6.0.
1651
-
1652
- tair_scm: The Tair persistent memory is compatible with the Redis6.0 protocol and is passed 1.0.
1653
-
1654
- 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.
974
+ :param pulumi.Input[str] engine_version: 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.
1655
975
  :param pulumi.Input[bool] force_upgrade: 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).
1656
- :param pulumi.Input[str] global_instance_id: 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.
1657
-
1658
- 1. Enter true if you want the new instance to be the first child instance.
1659
-
1660
- 2. If you want the new instance to be used as the second and third sub-instances, enter the distributed instance ID.
1661
-
1662
- 3. Not as a distributed instance, you do not need to enter any values.
1663
976
  :param pulumi.Input[str] instance_class: The instance type of the instance. For more information, see [Instance types](https://www.alibabacloud.com/help/en/apsaradb-for-redis/latest/instance-types).
1664
977
  :param pulumi.Input[str] instance_type: The storage medium of the instance. Valid values: tair_rdb, tair_scm, tair_essd.
1665
- :param pulumi.Input[int] intranet_bandwidth: Instance intranet bandwidth
1666
- :param pulumi.Input[str] modify_mode: 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.
1667
- :param pulumi.Input[str] node_type: Node type, value:
1668
-
1669
- MASTER_SLAVE: high availability (dual copy)
1670
-
1671
- STAND_ALONE: single copy
1672
-
1673
- double: double copy
1674
-
1675
- single: single copy
1676
-
1677
- Note For Cloud Native instances, select MASTER_SLAVE or STAND_ALONE. For Classic instances, select double or single.
1678
- :param pulumi.Input[str] param_no_loose_sentinel_enabled: 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, 取值为. The default value is no.
1679
- :param pulumi.Input[str] param_repl_mode: The value is semisync or async. The default value is async.
1680
-
1681
- 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 。
1682
- :param pulumi.Input[str] param_semisync_repl_timeout: 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。
1683
- :param pulumi.Input[str] param_sentinel_compat_enable: 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.
978
+ :param pulumi.Input[str] node_type: Node type, value: MASTER_SLAVE: high availability (dual copy) STAND_ALONE: single copy double: double copy single: single copy Note For Cloud Native instances, select MASTER_SLAVE or STAND_ALONE. For Classic instances, select double or single.
1684
979
  :param pulumi.Input[str] password: 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 ! @ # $ % ^ & * ( ) _ + - =
1685
- :param pulumi.Input[str] payment_type: Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default Subscription.
980
+ :param pulumi.Input[str] payment_type: Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default PayAsYouGo. Since version 1.227.0, you can transfer prepaid instance to postpaid.
1686
981
  :param pulumi.Input[int] period: 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.
1687
982
  :param pulumi.Input[int] port: The Tair service port. The service port of the instance. Valid values: 1024 to 65535. Default value: 6379.
1688
- :param pulumi.Input[int] read_only_count: Number of read-only nodes in the primary zone. Valid values: 0 to 5. This parameter is only applicable to the following conditions:
1689
-
1690
- 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.
1691
-
1692
- 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.
1693
- :param pulumi.Input[str] recover_config_mode: 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.
983
+ :param pulumi.Input[int] read_only_count: 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.
1694
984
  :param pulumi.Input[str] resource_group_id: The ID of the resource group to which the instance belongs.
1695
985
  :param pulumi.Input[str] secondary_zone_id: The ID of the secondary zone.This parameter is returned only if the instance is deployed in two zones.
1696
- :param pulumi.Input[str] security_group_id: Security group id
1697
- :param pulumi.Input[str] security_ip_group_name: 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.
1698
- :param pulumi.Input[str] security_ips: 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.
986
+ :param pulumi.Input[str] security_group_id: Security group ID
1699
987
  :param pulumi.Input[int] shard_count: 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.
1700
- :param pulumi.Input[int] slave_read_only_count: Specifies the number of read-only nodes in the secondary zone when creating a multi-zone read/write splitting instance.
1701
-
1702
- Note: To create a multi-zone read/write splitting instance, slaveadonlycount and SecondaryZoneId must be specified at the same time.
1703
- :param pulumi.Input[str] src_db_instance_id: 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.
1704
- :param pulumi.Input[str] ssl_enabled: 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)
1705
- :param pulumi.Input[str] storage_performance_level: 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.
1706
-
1707
- If the ESSD instance type is 4C, 8C, or 16C, you can specify the storage type as PL1.
1708
-
1709
- If the type of ESSD instance you select is 8C, 16C, 32C, or 52C, you can specify the storage type as PL2.
1710
-
1711
- If the ESSD instance type is 16C, 32C, or 52C, you can specify the storage type as PL3.
1712
- :param pulumi.Input[int] storage_size_gb: 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.
988
+ :param pulumi.Input[int] slave_read_only_count: 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.
989
+ :param pulumi.Input[str] ssl_enabled: Modify the TLS(SSL) setting. Value: Expand Details Example values: Enable Enumeration value: Disable Enable Update Reference value Source: DescribeInstanceSSL
990
+ :param pulumi.Input[str] storage_performance_level: The storage type. The value is set to essd_pl1. Note This parameter is only available when the value of InstanceType is tair_essd.
991
+ :param pulumi.Input[int] storage_size_gb: The value range of different specifications is different, see [ESSD-based instances](https://www.alibabacloud.com/help/en/tair/product-overview/essd-based-instances). When the value of instance_type is "tair_essd", this attribute takes effect and is required.
1713
992
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource
1714
993
  :param pulumi.Input[str] tair_instance_name: The name of the resource.
1715
- :param pulumi.Input[str] vpc_auth_mode: The VPC authentication mode. Valid values: Open (enables password authentication), Close (disables password authentication and enables [password-free access](https://www.alibabacloud.com/help/en/apsaradb-for-redis/latest/enable-password-free-access)).
1716
994
  :param pulumi.Input[str] vpc_id: The ID of the virtual private cloud (VPC).
1717
995
  :param pulumi.Input[str] vswitch_id: The ID of the vSwitch to which the instance is connected.
1718
996
  :param pulumi.Input[str] zone_id: Zone ID
@@ -1749,41 +1027,28 @@ class TairInstance(pulumi.CustomResource):
1749
1027
  opts: Optional[pulumi.ResourceOptions] = None,
1750
1028
  auto_renew: Optional[pulumi.Input[str]] = None,
1751
1029
  auto_renew_period: Optional[pulumi.Input[str]] = None,
1752
- backup_id: Optional[pulumi.Input[str]] = None,
1753
1030
  cluster_backup_id: Optional[pulumi.Input[str]] = None,
1754
1031
  effective_time: Optional[pulumi.Input[str]] = None,
1755
1032
  engine_version: Optional[pulumi.Input[str]] = None,
1756
1033
  force_upgrade: Optional[pulumi.Input[bool]] = None,
1757
- global_instance_id: Optional[pulumi.Input[str]] = None,
1758
1034
  instance_class: Optional[pulumi.Input[str]] = None,
1759
1035
  instance_type: Optional[pulumi.Input[str]] = None,
1760
- intranet_bandwidth: Optional[pulumi.Input[int]] = None,
1761
- modify_mode: Optional[pulumi.Input[str]] = None,
1762
1036
  node_type: Optional[pulumi.Input[str]] = None,
1763
- param_no_loose_sentinel_enabled: Optional[pulumi.Input[str]] = None,
1764
- param_repl_mode: Optional[pulumi.Input[str]] = None,
1765
- param_semisync_repl_timeout: Optional[pulumi.Input[str]] = None,
1766
- param_sentinel_compat_enable: Optional[pulumi.Input[str]] = None,
1767
1037
  password: Optional[pulumi.Input[str]] = None,
1768
1038
  payment_type: Optional[pulumi.Input[str]] = None,
1769
1039
  period: Optional[pulumi.Input[int]] = None,
1770
1040
  port: Optional[pulumi.Input[int]] = None,
1771
1041
  read_only_count: Optional[pulumi.Input[int]] = None,
1772
- recover_config_mode: Optional[pulumi.Input[str]] = None,
1773
1042
  resource_group_id: Optional[pulumi.Input[str]] = None,
1774
1043
  secondary_zone_id: Optional[pulumi.Input[str]] = None,
1775
1044
  security_group_id: Optional[pulumi.Input[str]] = None,
1776
- security_ip_group_name: Optional[pulumi.Input[str]] = None,
1777
- security_ips: Optional[pulumi.Input[str]] = None,
1778
1045
  shard_count: Optional[pulumi.Input[int]] = None,
1779
1046
  slave_read_only_count: Optional[pulumi.Input[int]] = None,
1780
- src_db_instance_id: Optional[pulumi.Input[str]] = None,
1781
1047
  ssl_enabled: Optional[pulumi.Input[str]] = None,
1782
1048
  storage_performance_level: Optional[pulumi.Input[str]] = None,
1783
1049
  storage_size_gb: Optional[pulumi.Input[int]] = None,
1784
1050
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1785
1051
  tair_instance_name: Optional[pulumi.Input[str]] = None,
1786
- vpc_auth_mode: Optional[pulumi.Input[str]] = None,
1787
1052
  vpc_id: Optional[pulumi.Input[str]] = None,
1788
1053
  vswitch_id: Optional[pulumi.Input[str]] = None,
1789
1054
  zone_id: Optional[pulumi.Input[str]] = None,
@@ -1798,45 +1063,32 @@ class TairInstance(pulumi.CustomResource):
1798
1063
 
1799
1064
  __props__.__dict__["auto_renew"] = auto_renew
1800
1065
  __props__.__dict__["auto_renew_period"] = auto_renew_period
1801
- __props__.__dict__["backup_id"] = backup_id
1802
1066
  __props__.__dict__["cluster_backup_id"] = cluster_backup_id
1803
1067
  __props__.__dict__["effective_time"] = effective_time
1804
1068
  __props__.__dict__["engine_version"] = engine_version
1805
1069
  __props__.__dict__["force_upgrade"] = force_upgrade
1806
- __props__.__dict__["global_instance_id"] = global_instance_id
1807
1070
  if instance_class is None and not opts.urn:
1808
1071
  raise TypeError("Missing required property 'instance_class'")
1809
1072
  __props__.__dict__["instance_class"] = instance_class
1810
1073
  if instance_type is None and not opts.urn:
1811
1074
  raise TypeError("Missing required property 'instance_type'")
1812
1075
  __props__.__dict__["instance_type"] = instance_type
1813
- __props__.__dict__["intranet_bandwidth"] = intranet_bandwidth
1814
- __props__.__dict__["modify_mode"] = modify_mode
1815
1076
  __props__.__dict__["node_type"] = node_type
1816
- __props__.__dict__["param_no_loose_sentinel_enabled"] = param_no_loose_sentinel_enabled
1817
- __props__.__dict__["param_repl_mode"] = param_repl_mode
1818
- __props__.__dict__["param_semisync_repl_timeout"] = param_semisync_repl_timeout
1819
- __props__.__dict__["param_sentinel_compat_enable"] = param_sentinel_compat_enable
1820
1077
  __props__.__dict__["password"] = None if password is None else pulumi.Output.secret(password)
1821
1078
  __props__.__dict__["payment_type"] = payment_type
1822
1079
  __props__.__dict__["period"] = period
1823
1080
  __props__.__dict__["port"] = port
1824
1081
  __props__.__dict__["read_only_count"] = read_only_count
1825
- __props__.__dict__["recover_config_mode"] = recover_config_mode
1826
1082
  __props__.__dict__["resource_group_id"] = resource_group_id
1827
1083
  __props__.__dict__["secondary_zone_id"] = secondary_zone_id
1828
1084
  __props__.__dict__["security_group_id"] = security_group_id
1829
- __props__.__dict__["security_ip_group_name"] = security_ip_group_name
1830
- __props__.__dict__["security_ips"] = security_ips
1831
1085
  __props__.__dict__["shard_count"] = shard_count
1832
1086
  __props__.__dict__["slave_read_only_count"] = slave_read_only_count
1833
- __props__.__dict__["src_db_instance_id"] = src_db_instance_id
1834
1087
  __props__.__dict__["ssl_enabled"] = ssl_enabled
1835
1088
  __props__.__dict__["storage_performance_level"] = storage_performance_level
1836
1089
  __props__.__dict__["storage_size_gb"] = storage_size_gb
1837
1090
  __props__.__dict__["tags"] = tags
1838
1091
  __props__.__dict__["tair_instance_name"] = tair_instance_name
1839
- __props__.__dict__["vpc_auth_mode"] = vpc_auth_mode
1840
1092
  if vpc_id is None and not opts.urn:
1841
1093
  raise TypeError("Missing required property 'vpc_id'")
1842
1094
  __props__.__dict__["vpc_id"] = vpc_id
@@ -1846,13 +1098,8 @@ class TairInstance(pulumi.CustomResource):
1846
1098
  if zone_id is None and not opts.urn:
1847
1099
  raise TypeError("Missing required property 'zone_id'")
1848
1100
  __props__.__dict__["zone_id"] = zone_id
1849
- __props__.__dict__["architecture_type"] = None
1850
- __props__.__dict__["connection_domain"] = None
1851
1101
  __props__.__dict__["create_time"] = None
1852
- __props__.__dict__["max_connections"] = None
1853
- __props__.__dict__["network_type"] = None
1854
1102
  __props__.__dict__["status"] = None
1855
- __props__.__dict__["tair_instance_id"] = None
1856
1103
  secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["password"])
1857
1104
  opts = pulumi.ResourceOptions.merge(opts, secret_opts)
1858
1105
  super(TairInstance, __self__).__init__(
@@ -1865,50 +1112,32 @@ class TairInstance(pulumi.CustomResource):
1865
1112
  def get(resource_name: str,
1866
1113
  id: pulumi.Input[str],
1867
1114
  opts: Optional[pulumi.ResourceOptions] = None,
1868
- architecture_type: Optional[pulumi.Input[str]] = None,
1869
1115
  auto_renew: Optional[pulumi.Input[str]] = None,
1870
1116
  auto_renew_period: Optional[pulumi.Input[str]] = None,
1871
- backup_id: Optional[pulumi.Input[str]] = None,
1872
1117
  cluster_backup_id: Optional[pulumi.Input[str]] = None,
1873
- connection_domain: Optional[pulumi.Input[str]] = None,
1874
1118
  create_time: Optional[pulumi.Input[str]] = None,
1875
1119
  effective_time: Optional[pulumi.Input[str]] = None,
1876
1120
  engine_version: Optional[pulumi.Input[str]] = None,
1877
1121
  force_upgrade: Optional[pulumi.Input[bool]] = None,
1878
- global_instance_id: Optional[pulumi.Input[str]] = None,
1879
1122
  instance_class: Optional[pulumi.Input[str]] = None,
1880
1123
  instance_type: Optional[pulumi.Input[str]] = None,
1881
- intranet_bandwidth: Optional[pulumi.Input[int]] = None,
1882
- max_connections: Optional[pulumi.Input[int]] = None,
1883
- modify_mode: Optional[pulumi.Input[str]] = None,
1884
- network_type: Optional[pulumi.Input[str]] = None,
1885
1124
  node_type: Optional[pulumi.Input[str]] = None,
1886
- param_no_loose_sentinel_enabled: Optional[pulumi.Input[str]] = None,
1887
- param_repl_mode: Optional[pulumi.Input[str]] = None,
1888
- param_semisync_repl_timeout: Optional[pulumi.Input[str]] = None,
1889
- param_sentinel_compat_enable: Optional[pulumi.Input[str]] = None,
1890
1125
  password: Optional[pulumi.Input[str]] = None,
1891
1126
  payment_type: Optional[pulumi.Input[str]] = None,
1892
1127
  period: Optional[pulumi.Input[int]] = None,
1893
1128
  port: Optional[pulumi.Input[int]] = None,
1894
1129
  read_only_count: Optional[pulumi.Input[int]] = None,
1895
- recover_config_mode: Optional[pulumi.Input[str]] = None,
1896
1130
  resource_group_id: Optional[pulumi.Input[str]] = None,
1897
1131
  secondary_zone_id: Optional[pulumi.Input[str]] = None,
1898
1132
  security_group_id: Optional[pulumi.Input[str]] = None,
1899
- security_ip_group_name: Optional[pulumi.Input[str]] = None,
1900
- security_ips: Optional[pulumi.Input[str]] = None,
1901
1133
  shard_count: Optional[pulumi.Input[int]] = None,
1902
1134
  slave_read_only_count: Optional[pulumi.Input[int]] = None,
1903
- src_db_instance_id: Optional[pulumi.Input[str]] = None,
1904
1135
  ssl_enabled: Optional[pulumi.Input[str]] = None,
1905
1136
  status: Optional[pulumi.Input[str]] = None,
1906
1137
  storage_performance_level: Optional[pulumi.Input[str]] = None,
1907
1138
  storage_size_gb: Optional[pulumi.Input[int]] = None,
1908
1139
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1909
- tair_instance_id: Optional[pulumi.Input[str]] = None,
1910
1140
  tair_instance_name: Optional[pulumi.Input[str]] = None,
1911
- vpc_auth_mode: Optional[pulumi.Input[str]] = None,
1912
1141
  vpc_id: Optional[pulumi.Input[str]] = None,
1913
1142
  vswitch_id: Optional[pulumi.Input[str]] = None,
1914
1143
  zone_id: Optional[pulumi.Input[str]] = None) -> 'TairInstance':
@@ -1919,90 +1148,32 @@ class TairInstance(pulumi.CustomResource):
1919
1148
  :param str resource_name: The unique name of the resulting resource.
1920
1149
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
1921
1150
  :param pulumi.ResourceOptions opts: Options for the resource.
1922
- :param pulumi.Input[str] architecture_type: The architecture of the instance. cluster, standard, rwsplit.
1923
1151
  :param pulumi.Input[str] auto_renew: Specifies whether to enable auto-renewal for the instance. Default value: false. Valid values: true(enables auto-renewal), false(disables auto-renewal).
1924
1152
  :param pulumi.Input[str] auto_renew_period: 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.
1925
- :param pulumi.Input[str] backup_id: 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 (,).
1926
-
1927
- 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.
1928
- :param pulumi.Input[str] cluster_backup_id: 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 (,).
1929
- :param pulumi.Input[str] connection_domain: The internal endpoint of the instance.
1153
+ :param pulumi.Input[str] cluster_backup_id: The ID of the backup set of the cluster.
1930
1154
  :param pulumi.Input[str] create_time: 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.
1931
1155
  :param pulumi.Input[str] effective_time: 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).
1932
- :param pulumi.Input[str] engine_version: Database version. Default value: 1.0.
1933
-
1934
- Rules for transferring parameters of different tair product types:
1935
-
1936
- tair_rdb: Compatible with the Redis5.0 and Redis6.0 protocols, and is transmitted to 5.0 or 6.0.
1937
-
1938
- tair_scm: The Tair persistent memory is compatible with the Redis6.0 protocol and is passed 1.0.
1939
-
1940
- 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.
1156
+ :param pulumi.Input[str] engine_version: 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.
1941
1157
  :param pulumi.Input[bool] force_upgrade: 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).
1942
- :param pulumi.Input[str] global_instance_id: 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.
1943
-
1944
- 1. Enter true if you want the new instance to be the first child instance.
1945
-
1946
- 2. If you want the new instance to be used as the second and third sub-instances, enter the distributed instance ID.
1947
-
1948
- 3. Not as a distributed instance, you do not need to enter any values.
1949
1158
  :param pulumi.Input[str] instance_class: The instance type of the instance. For more information, see [Instance types](https://www.alibabacloud.com/help/en/apsaradb-for-redis/latest/instance-types).
1950
1159
  :param pulumi.Input[str] instance_type: The storage medium of the instance. Valid values: tair_rdb, tair_scm, tair_essd.
1951
- :param pulumi.Input[int] intranet_bandwidth: Instance intranet bandwidth
1952
- :param pulumi.Input[int] max_connections: The maximum number of connections supported by the instance.
1953
- :param pulumi.Input[str] modify_mode: 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.
1954
- :param pulumi.Input[str] network_type: The network type of the instance. CLASSIC(classic network), VPC.
1955
- :param pulumi.Input[str] node_type: Node type, value:
1956
-
1957
- MASTER_SLAVE: high availability (dual copy)
1958
-
1959
- STAND_ALONE: single copy
1960
-
1961
- double: double copy
1962
-
1963
- single: single copy
1964
-
1965
- Note For Cloud Native instances, select MASTER_SLAVE or STAND_ALONE. For Classic instances, select double or single.
1966
- :param pulumi.Input[str] param_no_loose_sentinel_enabled: 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, 取值为. The default value is no.
1967
- :param pulumi.Input[str] param_repl_mode: The value is semisync or async. The default value is async.
1968
-
1969
- 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 。
1970
- :param pulumi.Input[str] param_semisync_repl_timeout: 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。
1971
- :param pulumi.Input[str] param_sentinel_compat_enable: 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.
1160
+ :param pulumi.Input[str] node_type: Node type, value: MASTER_SLAVE: high availability (dual copy) STAND_ALONE: single copy double: double copy single: single copy Note For Cloud Native instances, select MASTER_SLAVE or STAND_ALONE. For Classic instances, select double or single.
1972
1161
  :param pulumi.Input[str] password: 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 ! @ # $ % ^ & * ( ) _ + - =
1973
- :param pulumi.Input[str] payment_type: Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default Subscription.
1162
+ :param pulumi.Input[str] payment_type: Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default PayAsYouGo. Since version 1.227.0, you can transfer prepaid instance to postpaid.
1974
1163
  :param pulumi.Input[int] period: 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.
1975
1164
  :param pulumi.Input[int] port: The Tair service port. The service port of the instance. Valid values: 1024 to 65535. Default value: 6379.
1976
- :param pulumi.Input[int] read_only_count: Number of read-only nodes in the primary zone. Valid values: 0 to 5. This parameter is only applicable to the following conditions:
1977
-
1978
- 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.
1979
-
1980
- 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.
1981
- :param pulumi.Input[str] recover_config_mode: 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.
1165
+ :param pulumi.Input[int] read_only_count: 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.
1982
1166
  :param pulumi.Input[str] resource_group_id: The ID of the resource group to which the instance belongs.
1983
1167
  :param pulumi.Input[str] secondary_zone_id: The ID of the secondary zone.This parameter is returned only if the instance is deployed in two zones.
1984
- :param pulumi.Input[str] security_group_id: Security group id
1985
- :param pulumi.Input[str] security_ip_group_name: 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.
1986
- :param pulumi.Input[str] security_ips: 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.
1168
+ :param pulumi.Input[str] security_group_id: Security group ID
1987
1169
  :param pulumi.Input[int] shard_count: 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.
1988
- :param pulumi.Input[int] slave_read_only_count: Specifies the number of read-only nodes in the secondary zone when creating a multi-zone read/write splitting instance.
1989
-
1990
- Note: To create a multi-zone read/write splitting instance, slaveadonlycount and SecondaryZoneId must be specified at the same time.
1991
- :param pulumi.Input[str] src_db_instance_id: 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.
1992
- :param pulumi.Input[str] ssl_enabled: 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)
1170
+ :param pulumi.Input[int] slave_read_only_count: 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.
1171
+ :param pulumi.Input[str] ssl_enabled: Modify the TLS(SSL) setting. Value: Expand Details Example values: Enable Enumeration value: Disable Enable Update Reference value Source: DescribeInstanceSSL
1993
1172
  :param pulumi.Input[str] status: The status of the resource
1994
- :param pulumi.Input[str] storage_performance_level: 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.
1995
-
1996
- If the ESSD instance type is 4C, 8C, or 16C, you can specify the storage type as PL1.
1997
-
1998
- If the type of ESSD instance you select is 8C, 16C, 32C, or 52C, you can specify the storage type as PL2.
1999
-
2000
- If the ESSD instance type is 16C, 32C, or 52C, you can specify the storage type as PL3.
2001
- :param pulumi.Input[int] storage_size_gb: 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.
1173
+ :param pulumi.Input[str] storage_performance_level: The storage type. The value is set to essd_pl1. Note This parameter is only available when the value of InstanceType is tair_essd.
1174
+ :param pulumi.Input[int] storage_size_gb: The value range of different specifications is different, see [ESSD-based instances](https://www.alibabacloud.com/help/en/tair/product-overview/essd-based-instances). When the value of instance_type is "tair_essd", this attribute takes effect and is required.
2002
1175
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource
2003
- :param pulumi.Input[str] tair_instance_id: The ID of the resource.
2004
1176
  :param pulumi.Input[str] tair_instance_name: The name of the resource.
2005
- :param pulumi.Input[str] vpc_auth_mode: The VPC authentication mode. Valid values: Open (enables password authentication), Close (disables password authentication and enables [password-free access](https://www.alibabacloud.com/help/en/apsaradb-for-redis/latest/enable-password-free-access)).
2006
1177
  :param pulumi.Input[str] vpc_id: The ID of the virtual private cloud (VPC).
2007
1178
  :param pulumi.Input[str] vswitch_id: The ID of the vSwitch to which the instance is connected.
2008
1179
  :param pulumi.Input[str] zone_id: Zone ID
@@ -2011,63 +1182,37 @@ class TairInstance(pulumi.CustomResource):
2011
1182
 
2012
1183
  __props__ = _TairInstanceState.__new__(_TairInstanceState)
2013
1184
 
2014
- __props__.__dict__["architecture_type"] = architecture_type
2015
1185
  __props__.__dict__["auto_renew"] = auto_renew
2016
1186
  __props__.__dict__["auto_renew_period"] = auto_renew_period
2017
- __props__.__dict__["backup_id"] = backup_id
2018
1187
  __props__.__dict__["cluster_backup_id"] = cluster_backup_id
2019
- __props__.__dict__["connection_domain"] = connection_domain
2020
1188
  __props__.__dict__["create_time"] = create_time
2021
1189
  __props__.__dict__["effective_time"] = effective_time
2022
1190
  __props__.__dict__["engine_version"] = engine_version
2023
1191
  __props__.__dict__["force_upgrade"] = force_upgrade
2024
- __props__.__dict__["global_instance_id"] = global_instance_id
2025
1192
  __props__.__dict__["instance_class"] = instance_class
2026
1193
  __props__.__dict__["instance_type"] = instance_type
2027
- __props__.__dict__["intranet_bandwidth"] = intranet_bandwidth
2028
- __props__.__dict__["max_connections"] = max_connections
2029
- __props__.__dict__["modify_mode"] = modify_mode
2030
- __props__.__dict__["network_type"] = network_type
2031
1194
  __props__.__dict__["node_type"] = node_type
2032
- __props__.__dict__["param_no_loose_sentinel_enabled"] = param_no_loose_sentinel_enabled
2033
- __props__.__dict__["param_repl_mode"] = param_repl_mode
2034
- __props__.__dict__["param_semisync_repl_timeout"] = param_semisync_repl_timeout
2035
- __props__.__dict__["param_sentinel_compat_enable"] = param_sentinel_compat_enable
2036
1195
  __props__.__dict__["password"] = password
2037
1196
  __props__.__dict__["payment_type"] = payment_type
2038
1197
  __props__.__dict__["period"] = period
2039
1198
  __props__.__dict__["port"] = port
2040
1199
  __props__.__dict__["read_only_count"] = read_only_count
2041
- __props__.__dict__["recover_config_mode"] = recover_config_mode
2042
1200
  __props__.__dict__["resource_group_id"] = resource_group_id
2043
1201
  __props__.__dict__["secondary_zone_id"] = secondary_zone_id
2044
1202
  __props__.__dict__["security_group_id"] = security_group_id
2045
- __props__.__dict__["security_ip_group_name"] = security_ip_group_name
2046
- __props__.__dict__["security_ips"] = security_ips
2047
1203
  __props__.__dict__["shard_count"] = shard_count
2048
1204
  __props__.__dict__["slave_read_only_count"] = slave_read_only_count
2049
- __props__.__dict__["src_db_instance_id"] = src_db_instance_id
2050
1205
  __props__.__dict__["ssl_enabled"] = ssl_enabled
2051
1206
  __props__.__dict__["status"] = status
2052
1207
  __props__.__dict__["storage_performance_level"] = storage_performance_level
2053
1208
  __props__.__dict__["storage_size_gb"] = storage_size_gb
2054
1209
  __props__.__dict__["tags"] = tags
2055
- __props__.__dict__["tair_instance_id"] = tair_instance_id
2056
1210
  __props__.__dict__["tair_instance_name"] = tair_instance_name
2057
- __props__.__dict__["vpc_auth_mode"] = vpc_auth_mode
2058
1211
  __props__.__dict__["vpc_id"] = vpc_id
2059
1212
  __props__.__dict__["vswitch_id"] = vswitch_id
2060
1213
  __props__.__dict__["zone_id"] = zone_id
2061
1214
  return TairInstance(resource_name, opts=opts, __props__=__props__)
2062
1215
 
2063
- @property
2064
- @pulumi.getter(name="architectureType")
2065
- def architecture_type(self) -> pulumi.Output[str]:
2066
- """
2067
- The architecture of the instance. cluster, standard, rwsplit.
2068
- """
2069
- return pulumi.get(self, "architecture_type")
2070
-
2071
1216
  @property
2072
1217
  @pulumi.getter(name="autoRenew")
2073
1218
  def auto_renew(self) -> pulumi.Output[Optional[str]]:
@@ -2084,32 +1229,14 @@ class TairInstance(pulumi.CustomResource):
2084
1229
  """
2085
1230
  return pulumi.get(self, "auto_renew_period")
2086
1231
 
2087
- @property
2088
- @pulumi.getter(name="backupId")
2089
- def backup_id(self) -> pulumi.Output[Optional[str]]:
2090
- """
2091
- 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 (,).
2092
-
2093
- 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.
2094
- """
2095
- return pulumi.get(self, "backup_id")
2096
-
2097
1232
  @property
2098
1233
  @pulumi.getter(name="clusterBackupId")
2099
1234
  def cluster_backup_id(self) -> pulumi.Output[Optional[str]]:
2100
1235
  """
2101
- 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 (,).
1236
+ The ID of the backup set of the cluster.
2102
1237
  """
2103
1238
  return pulumi.get(self, "cluster_backup_id")
2104
1239
 
2105
- @property
2106
- @pulumi.getter(name="connectionDomain")
2107
- def connection_domain(self) -> pulumi.Output[str]:
2108
- """
2109
- The internal endpoint of the instance.
2110
- """
2111
- return pulumi.get(self, "connection_domain")
2112
-
2113
1240
  @property
2114
1241
  @pulumi.getter(name="createTime")
2115
1242
  def create_time(self) -> pulumi.Output[str]:
@@ -2130,15 +1257,7 @@ class TairInstance(pulumi.CustomResource):
2130
1257
  @pulumi.getter(name="engineVersion")
2131
1258
  def engine_version(self) -> pulumi.Output[str]:
2132
1259
  """
2133
- Database version. Default value: 1.0.
2134
-
2135
- Rules for transferring parameters of different tair product types:
2136
-
2137
- tair_rdb: Compatible with the Redis5.0 and Redis6.0 protocols, and is transmitted to 5.0 or 6.0.
2138
-
2139
- tair_scm: The Tair persistent memory is compatible with the Redis6.0 protocol and is passed 1.0.
2140
-
2141
- 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.
1260
+ 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.
2142
1261
  """
2143
1262
  return pulumi.get(self, "engine_version")
2144
1263
 
@@ -2150,20 +1269,6 @@ class TairInstance(pulumi.CustomResource):
2150
1269
  """
2151
1270
  return pulumi.get(self, "force_upgrade")
2152
1271
 
2153
- @property
2154
- @pulumi.getter(name="globalInstanceId")
2155
- def global_instance_id(self) -> pulumi.Output[Optional[str]]:
2156
- """
2157
- 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.
2158
-
2159
- 1. Enter true if you want the new instance to be the first child instance.
2160
-
2161
- 2. If you want the new instance to be used as the second and third sub-instances, enter the distributed instance ID.
2162
-
2163
- 3. Not as a distributed instance, you do not need to enter any values.
2164
- """
2165
- return pulumi.get(self, "global_instance_id")
2166
-
2167
1272
  @property
2168
1273
  @pulumi.getter(name="instanceClass")
2169
1274
  def instance_class(self) -> pulumi.Output[str]:
@@ -2180,90 +1285,14 @@ class TairInstance(pulumi.CustomResource):
2180
1285
  """
2181
1286
  return pulumi.get(self, "instance_type")
2182
1287
 
2183
- @property
2184
- @pulumi.getter(name="intranetBandwidth")
2185
- def intranet_bandwidth(self) -> pulumi.Output[int]:
2186
- """
2187
- Instance intranet bandwidth
2188
- """
2189
- return pulumi.get(self, "intranet_bandwidth")
2190
-
2191
- @property
2192
- @pulumi.getter(name="maxConnections")
2193
- def max_connections(self) -> pulumi.Output[int]:
2194
- """
2195
- The maximum number of connections supported by the instance.
2196
- """
2197
- return pulumi.get(self, "max_connections")
2198
-
2199
- @property
2200
- @pulumi.getter(name="modifyMode")
2201
- def modify_mode(self) -> pulumi.Output[Optional[str]]:
2202
- """
2203
- 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.
2204
- """
2205
- return pulumi.get(self, "modify_mode")
2206
-
2207
- @property
2208
- @pulumi.getter(name="networkType")
2209
- def network_type(self) -> pulumi.Output[str]:
2210
- """
2211
- The network type of the instance. CLASSIC(classic network), VPC.
2212
- """
2213
- return pulumi.get(self, "network_type")
2214
-
2215
1288
  @property
2216
1289
  @pulumi.getter(name="nodeType")
2217
1290
  def node_type(self) -> pulumi.Output[str]:
2218
1291
  """
2219
- Node type, value:
2220
-
2221
- MASTER_SLAVE: high availability (dual copy)
2222
-
2223
- STAND_ALONE: single copy
2224
-
2225
- double: double copy
2226
-
2227
- single: single copy
2228
-
2229
- Note For Cloud Native instances, select MASTER_SLAVE or STAND_ALONE. For Classic instances, select double or single.
1292
+ Node type, value: MASTER_SLAVE: high availability (dual copy) STAND_ALONE: single copy double: double copy single: single copy Note For Cloud Native instances, select MASTER_SLAVE or STAND_ALONE. For Classic instances, select double or single.
2230
1293
  """
2231
1294
  return pulumi.get(self, "node_type")
2232
1295
 
2233
- @property
2234
- @pulumi.getter(name="paramNoLooseSentinelEnabled")
2235
- def param_no_loose_sentinel_enabled(self) -> pulumi.Output[str]:
2236
- """
2237
- 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, 取值为. The default value is no.
2238
- """
2239
- return pulumi.get(self, "param_no_loose_sentinel_enabled")
2240
-
2241
- @property
2242
- @pulumi.getter(name="paramReplMode")
2243
- def param_repl_mode(self) -> pulumi.Output[str]:
2244
- """
2245
- The value is semisync or async. The default value is async.
2246
-
2247
- 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 。
2248
- """
2249
- return pulumi.get(self, "param_repl_mode")
2250
-
2251
- @property
2252
- @pulumi.getter(name="paramSemisyncReplTimeout")
2253
- def param_semisync_repl_timeout(self) -> pulumi.Output[str]:
2254
- """
2255
- 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。
2256
- """
2257
- return pulumi.get(self, "param_semisync_repl_timeout")
2258
-
2259
- @property
2260
- @pulumi.getter(name="paramSentinelCompatEnable")
2261
- def param_sentinel_compat_enable(self) -> pulumi.Output[Optional[str]]:
2262
- """
2263
- 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.
2264
- """
2265
- return pulumi.get(self, "param_sentinel_compat_enable")
2266
-
2267
1296
  @property
2268
1297
  @pulumi.getter
2269
1298
  def password(self) -> pulumi.Output[Optional[str]]:
@@ -2276,7 +1305,7 @@ class TairInstance(pulumi.CustomResource):
2276
1305
  @pulumi.getter(name="paymentType")
2277
1306
  def payment_type(self) -> pulumi.Output[str]:
2278
1307
  """
2279
- Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default Subscription.
1308
+ Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default PayAsYouGo. Since version 1.227.0, you can transfer prepaid instance to postpaid.
2280
1309
  """
2281
1310
  return pulumi.get(self, "payment_type")
2282
1311
 
@@ -2300,22 +1329,10 @@ class TairInstance(pulumi.CustomResource):
2300
1329
  @pulumi.getter(name="readOnlyCount")
2301
1330
  def read_only_count(self) -> pulumi.Output[Optional[int]]:
2302
1331
  """
2303
- Number of read-only nodes in the primary zone. Valid values: 0 to 5. This parameter is only applicable to the following conditions:
2304
-
2305
- 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.
2306
-
2307
- 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.
1332
+ 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.
2308
1333
  """
2309
1334
  return pulumi.get(self, "read_only_count")
2310
1335
 
2311
- @property
2312
- @pulumi.getter(name="recoverConfigMode")
2313
- def recover_config_mode(self) -> pulumi.Output[Optional[str]]:
2314
- """
2315
- 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.
2316
- """
2317
- return pulumi.get(self, "recover_config_mode")
2318
-
2319
1336
  @property
2320
1337
  @pulumi.getter(name="resourceGroupId")
2321
1338
  def resource_group_id(self) -> pulumi.Output[str]:
@@ -2336,26 +1353,10 @@ class TairInstance(pulumi.CustomResource):
2336
1353
  @pulumi.getter(name="securityGroupId")
2337
1354
  def security_group_id(self) -> pulumi.Output[Optional[str]]:
2338
1355
  """
2339
- Security group id
1356
+ Security group ID
2340
1357
  """
2341
1358
  return pulumi.get(self, "security_group_id")
2342
1359
 
2343
- @property
2344
- @pulumi.getter(name="securityIpGroupName")
2345
- def security_ip_group_name(self) -> pulumi.Output[str]:
2346
- """
2347
- 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.
2348
- """
2349
- return pulumi.get(self, "security_ip_group_name")
2350
-
2351
- @property
2352
- @pulumi.getter(name="securityIps")
2353
- def security_ips(self) -> pulumi.Output[str]:
2354
- """
2355
- 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.
2356
- """
2357
- return pulumi.get(self, "security_ips")
2358
-
2359
1360
  @property
2360
1361
  @pulumi.getter(name="shardCount")
2361
1362
  def shard_count(self) -> pulumi.Output[int]:
@@ -2368,25 +1369,15 @@ class TairInstance(pulumi.CustomResource):
2368
1369
  @pulumi.getter(name="slaveReadOnlyCount")
2369
1370
  def slave_read_only_count(self) -> pulumi.Output[Optional[int]]:
2370
1371
  """
2371
- Specifies the number of read-only nodes in the secondary zone when creating a multi-zone read/write splitting instance.
2372
-
2373
- Note: To create a multi-zone read/write splitting instance, slaveadonlycount and SecondaryZoneId must be specified at the same time.
1372
+ 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.
2374
1373
  """
2375
1374
  return pulumi.get(self, "slave_read_only_count")
2376
1375
 
2377
- @property
2378
- @pulumi.getter(name="srcDbInstanceId")
2379
- def src_db_instance_id(self) -> pulumi.Output[Optional[str]]:
2380
- """
2381
- 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.
2382
- """
2383
- return pulumi.get(self, "src_db_instance_id")
2384
-
2385
1376
  @property
2386
1377
  @pulumi.getter(name="sslEnabled")
2387
1378
  def ssl_enabled(self) -> pulumi.Output[str]:
2388
1379
  """
2389
- 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)
1380
+ Modify the TLS(SSL) setting. Value: Expand Details Example values: Enable Enumeration value: Disable Enable Update Reference value Source: DescribeInstanceSSL
2390
1381
  """
2391
1382
  return pulumi.get(self, "ssl_enabled")
2392
1383
 
@@ -2402,13 +1393,7 @@ class TairInstance(pulumi.CustomResource):
2402
1393
  @pulumi.getter(name="storagePerformanceLevel")
2403
1394
  def storage_performance_level(self) -> pulumi.Output[Optional[str]]:
2404
1395
  """
2405
- 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.
2406
-
2407
- If the ESSD instance type is 4C, 8C, or 16C, you can specify the storage type as PL1.
2408
-
2409
- If the type of ESSD instance you select is 8C, 16C, 32C, or 52C, you can specify the storage type as PL2.
2410
-
2411
- If the ESSD instance type is 16C, 32C, or 52C, you can specify the storage type as PL3.
1396
+ The storage type. The value is set to essd_pl1. Note This parameter is only available when the value of InstanceType is tair_essd.
2412
1397
  """
2413
1398
  return pulumi.get(self, "storage_performance_level")
2414
1399
 
@@ -2416,7 +1401,7 @@ class TairInstance(pulumi.CustomResource):
2416
1401
  @pulumi.getter(name="storageSizeGb")
2417
1402
  def storage_size_gb(self) -> pulumi.Output[int]:
2418
1403
  """
2419
- 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.
1404
+ The value range of different specifications is different, see [ESSD-based instances](https://www.alibabacloud.com/help/en/tair/product-overview/essd-based-instances). When the value of instance_type is "tair_essd", this attribute takes effect and is required.
2420
1405
  """
2421
1406
  return pulumi.get(self, "storage_size_gb")
2422
1407
 
@@ -2428,14 +1413,6 @@ class TairInstance(pulumi.CustomResource):
2428
1413
  """
2429
1414
  return pulumi.get(self, "tags")
2430
1415
 
2431
- @property
2432
- @pulumi.getter(name="tairInstanceId")
2433
- def tair_instance_id(self) -> pulumi.Output[str]:
2434
- """
2435
- The ID of the resource.
2436
- """
2437
- return pulumi.get(self, "tair_instance_id")
2438
-
2439
1416
  @property
2440
1417
  @pulumi.getter(name="tairInstanceName")
2441
1418
  def tair_instance_name(self) -> pulumi.Output[Optional[str]]:
@@ -2444,14 +1421,6 @@ class TairInstance(pulumi.CustomResource):
2444
1421
  """
2445
1422
  return pulumi.get(self, "tair_instance_name")
2446
1423
 
2447
- @property
2448
- @pulumi.getter(name="vpcAuthMode")
2449
- def vpc_auth_mode(self) -> pulumi.Output[str]:
2450
- """
2451
- The VPC authentication mode. Valid values: Open (enables password authentication), Close (disables password authentication and enables [password-free access](https://www.alibabacloud.com/help/en/apsaradb-for-redis/latest/enable-password-free-access)).
2452
- """
2453
- return pulumi.get(self, "vpc_auth_mode")
2454
-
2455
1424
  @property
2456
1425
  @pulumi.getter(name="vpcId")
2457
1426
  def vpc_id(self) -> pulumi.Output[str]: