pulumi-alicloud 3.66.0__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 (73) hide show
  1. pulumi_alicloud/__init__.py +0 -94
  2. pulumi_alicloud/alb/load_balancer.py +1 -1
  3. pulumi_alicloud/alikafka/instance.py +0 -112
  4. pulumi_alicloud/arms/environment.py +7 -7
  5. pulumi_alicloud/arms/get_remote_writes.py +4 -4
  6. pulumi_alicloud/arms/prometheus_alert_rule.py +0 -58
  7. pulumi_alicloud/arms/remote_write.py +2 -2
  8. pulumi_alicloud/cen/transit_router_vbr_attachment.py +74 -96
  9. pulumi_alicloud/cloudsso/_inputs.py +9 -9
  10. pulumi_alicloud/cloudsso/access_configuration.py +34 -100
  11. pulumi_alicloud/cloudsso/outputs.py +6 -6
  12. pulumi_alicloud/cms/hybrid_monitor_fc_task.py +26 -28
  13. pulumi_alicloud/cr/chain.py +14 -22
  14. pulumi_alicloud/cr/chart_repository.py +6 -14
  15. pulumi_alicloud/cr/repo.py +8 -8
  16. pulumi_alicloud/cr/vpc_endpoint_linked_vpc.py +6 -14
  17. pulumi_alicloud/databasefilesystem/instance_attachment.py +63 -59
  18. pulumi_alicloud/databasefilesystem/snapshot.py +109 -53
  19. pulumi_alicloud/ecs/instance.py +7 -7
  20. pulumi_alicloud/ess/scaling_configuration.py +7 -7
  21. pulumi_alicloud/fc/_inputs.py +135 -243
  22. pulumi_alicloud/fc/outputs.py +90 -173
  23. pulumi_alicloud/fc/trigger.py +138 -202
  24. pulumi_alicloud/fc/v3_alias.py +0 -28
  25. pulumi_alicloud/fc/v3_async_invoke_config.py +0 -56
  26. pulumi_alicloud/fc/v3_concurrency_config.py +0 -28
  27. pulumi_alicloud/fc/v3_custom_domain.py +6 -118
  28. pulumi_alicloud/fc/v3_function.py +0 -308
  29. pulumi_alicloud/fc/v3_function_version.py +2 -30
  30. pulumi_alicloud/fc/v3_layer_version.py +1 -104
  31. pulumi_alicloud/fc/v3_provision_config.py +2 -86
  32. pulumi_alicloud/fc/v3_trigger.py +0 -114
  33. pulumi_alicloud/ga/custom_routing_endpoint_traffic_policy.py +44 -48
  34. pulumi_alicloud/governance/_inputs.py +0 -54
  35. pulumi_alicloud/governance/account.py +14 -49
  36. pulumi_alicloud/governance/outputs.py +0 -51
  37. pulumi_alicloud/gpdb/instance.py +15 -196
  38. pulumi_alicloud/kms/instance.py +0 -28
  39. pulumi_alicloud/nas/data_flow.py +6 -6
  40. pulumi_alicloud/nas/fileset.py +6 -6
  41. pulumi_alicloud/nas/lifecycle_policy.py +6 -6
  42. pulumi_alicloud/nas/recycle_bin.py +6 -6
  43. pulumi_alicloud/nas/snapshot.py +6 -6
  44. pulumi_alicloud/oss/__init__.py +0 -2
  45. pulumi_alicloud/oss/_inputs.py +0 -194
  46. pulumi_alicloud/oss/outputs.py +0 -141
  47. pulumi_alicloud/pulumi-plugin.json +1 -1
  48. pulumi_alicloud/quotas/_inputs.py +6 -6
  49. pulumi_alicloud/quotas/outputs.py +4 -4
  50. pulumi_alicloud/quotas/quota_application.py +28 -21
  51. pulumi_alicloud/redis/tair_instance.py +71 -1046
  52. pulumi_alicloud/threatdetection/honeypot_preset.py +0 -2
  53. pulumi_alicloud/vpc/__init__.py +0 -4
  54. pulumi_alicloud/vpn/gateway_vco_route.py +8 -28
  55. {pulumi_alicloud-3.66.0.dist-info → pulumi_alicloud-3.66.0a1730783952.dist-info}/METADATA +1 -1
  56. {pulumi_alicloud-3.66.0.dist-info → pulumi_alicloud-3.66.0a1730783952.dist-info}/RECORD +58 -73
  57. {pulumi_alicloud-3.66.0.dist-info → pulumi_alicloud-3.66.0a1730783952.dist-info}/WHEEL +1 -1
  58. pulumi_alicloud/esa/__init__.py +0 -9
  59. pulumi_alicloud/esa/rate_plan_instance.py +0 -626
  60. pulumi_alicloud/esa/site.py +0 -533
  61. pulumi_alicloud/gwlb/__init__.py +0 -12
  62. pulumi_alicloud/gwlb/_inputs.py +0 -673
  63. pulumi_alicloud/gwlb/listener.py +0 -434
  64. pulumi_alicloud/gwlb/load_balancer.py +0 -537
  65. pulumi_alicloud/gwlb/outputs.py +0 -533
  66. pulumi_alicloud/gwlb/server_group.py +0 -780
  67. pulumi_alicloud/oss/bucket_cname.py +0 -509
  68. pulumi_alicloud/oss/bucket_cname_token.py +0 -239
  69. pulumi_alicloud/vpc/ipam_ipam.py +0 -531
  70. pulumi_alicloud/vpc/ipam_ipam_pool.py +0 -850
  71. pulumi_alicloud/vpc/ipam_ipam_pool_cidr.py +0 -313
  72. pulumi_alicloud/vpc/ipam_ipam_scope.py +0 -537
  73. {pulumi_alicloud-3.66.0.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,71 +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
- - `MASTER_SLAVE`: high availability (dual copy)
97
- - `STAND_ALONE`: single copy
98
- :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, valid values: yes or no. The default value is no.
99
- :param pulumi.Input[str] param_repl_mode: The value is semisync or async. The default value is async.
100
-
101
- 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 。
102
- :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。
103
- :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.
104
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 ! @ # $ % ^ & * ( ) _ + - =
105
- :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.
106
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.
107
66
  :param pulumi.Input[int] port: The Tair service port. The service port of the instance. Valid values: 1024 to 65535. Default value: 6379.
108
- :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:
109
-
110
- 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.
111
-
112
- 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.
113
- :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.
114
68
  :param pulumi.Input[str] resource_group_id: The ID of the resource group to which the instance belongs.
115
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.
116
- :param pulumi.Input[str] security_group_id: Security group id
117
- :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.
118
- :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
119
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.
120
- :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.
121
-
122
- Note: To create a multi-zone read/write splitting instance, slaveadonlycount and SecondaryZoneId must be specified at the same time.
123
- :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.
124
- :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)
125
- :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.
126
-
127
- If the ESSD instance type is 4C, 8C, or 16C, you can specify the storage type as PL1.
128
-
129
- If the type of ESSD instance you select is 8C, 16C, 32C, or 52C, you can specify the storage type as PL2.
130
-
131
- If the ESSD instance type is 16C, 32C, or 52C, you can specify the storage type as PL3.
132
- :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.
133
76
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource
134
77
  :param pulumi.Input[str] tair_instance_name: The name of the resource.
135
- :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)).
136
78
  """
137
79
  pulumi.set(__self__, "instance_class", instance_class)
138
80
  pulumi.set(__self__, "instance_type", instance_type)
@@ -143,8 +85,6 @@ class TairInstanceArgs:
143
85
  pulumi.set(__self__, "auto_renew", auto_renew)
144
86
  if auto_renew_period is not None:
145
87
  pulumi.set(__self__, "auto_renew_period", auto_renew_period)
146
- if backup_id is not None:
147
- pulumi.set(__self__, "backup_id", backup_id)
148
88
  if cluster_backup_id is not None:
149
89
  pulumi.set(__self__, "cluster_backup_id", cluster_backup_id)
150
90
  if effective_time is not None:
@@ -153,22 +93,8 @@ class TairInstanceArgs:
153
93
  pulumi.set(__self__, "engine_version", engine_version)
154
94
  if force_upgrade is not None:
155
95
  pulumi.set(__self__, "force_upgrade", force_upgrade)
156
- if global_instance_id is not None:
157
- pulumi.set(__self__, "global_instance_id", global_instance_id)
158
- if intranet_bandwidth is not None:
159
- pulumi.set(__self__, "intranet_bandwidth", intranet_bandwidth)
160
- if modify_mode is not None:
161
- pulumi.set(__self__, "modify_mode", modify_mode)
162
96
  if node_type is not None:
163
97
  pulumi.set(__self__, "node_type", node_type)
164
- if param_no_loose_sentinel_enabled is not None:
165
- pulumi.set(__self__, "param_no_loose_sentinel_enabled", param_no_loose_sentinel_enabled)
166
- if param_repl_mode is not None:
167
- pulumi.set(__self__, "param_repl_mode", param_repl_mode)
168
- if param_semisync_repl_timeout is not None:
169
- pulumi.set(__self__, "param_semisync_repl_timeout", param_semisync_repl_timeout)
170
- if param_sentinel_compat_enable is not None:
171
- pulumi.set(__self__, "param_sentinel_compat_enable", param_sentinel_compat_enable)
172
98
  if password is not None:
173
99
  pulumi.set(__self__, "password", password)
174
100
  if payment_type is not None:
@@ -179,24 +105,16 @@ class TairInstanceArgs:
179
105
  pulumi.set(__self__, "port", port)
180
106
  if read_only_count is not None:
181
107
  pulumi.set(__self__, "read_only_count", read_only_count)
182
- if recover_config_mode is not None:
183
- pulumi.set(__self__, "recover_config_mode", recover_config_mode)
184
108
  if resource_group_id is not None:
185
109
  pulumi.set(__self__, "resource_group_id", resource_group_id)
186
110
  if secondary_zone_id is not None:
187
111
  pulumi.set(__self__, "secondary_zone_id", secondary_zone_id)
188
112
  if security_group_id is not None:
189
113
  pulumi.set(__self__, "security_group_id", security_group_id)
190
- if security_ip_group_name is not None:
191
- pulumi.set(__self__, "security_ip_group_name", security_ip_group_name)
192
- if security_ips is not None:
193
- pulumi.set(__self__, "security_ips", security_ips)
194
114
  if shard_count is not None:
195
115
  pulumi.set(__self__, "shard_count", shard_count)
196
116
  if slave_read_only_count is not None:
197
117
  pulumi.set(__self__, "slave_read_only_count", slave_read_only_count)
198
- if src_db_instance_id is not None:
199
- pulumi.set(__self__, "src_db_instance_id", src_db_instance_id)
200
118
  if ssl_enabled is not None:
201
119
  pulumi.set(__self__, "ssl_enabled", ssl_enabled)
202
120
  if storage_performance_level is not None:
@@ -207,8 +125,6 @@ class TairInstanceArgs:
207
125
  pulumi.set(__self__, "tags", tags)
208
126
  if tair_instance_name is not None:
209
127
  pulumi.set(__self__, "tair_instance_name", tair_instance_name)
210
- if vpc_auth_mode is not None:
211
- pulumi.set(__self__, "vpc_auth_mode", vpc_auth_mode)
212
128
 
213
129
  @property
214
130
  @pulumi.getter(name="instanceClass")
@@ -294,25 +210,11 @@ class TairInstanceArgs:
294
210
  def auto_renew_period(self, value: Optional[pulumi.Input[str]]):
295
211
  pulumi.set(self, "auto_renew_period", value)
296
212
 
297
- @property
298
- @pulumi.getter(name="backupId")
299
- def backup_id(self) -> Optional[pulumi.Input[str]]:
300
- """
301
- 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 (,).
302
-
303
- 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.
304
- """
305
- return pulumi.get(self, "backup_id")
306
-
307
- @backup_id.setter
308
- def backup_id(self, value: Optional[pulumi.Input[str]]):
309
- pulumi.set(self, "backup_id", value)
310
-
311
213
  @property
312
214
  @pulumi.getter(name="clusterBackupId")
313
215
  def cluster_backup_id(self) -> Optional[pulumi.Input[str]]:
314
216
  """
315
- 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.
316
218
  """
317
219
  return pulumi.get(self, "cluster_backup_id")
318
220
 
@@ -336,15 +238,7 @@ class TairInstanceArgs:
336
238
  @pulumi.getter(name="engineVersion")
337
239
  def engine_version(self) -> Optional[pulumi.Input[str]]:
338
240
  """
339
- Database version. Default value: 1.0.
340
-
341
- Rules for transferring parameters of different tair product types:
342
-
343
- tair_rdb: Compatible with the Redis5.0 and Redis6.0 protocols, and is transmitted to 5.0 or 6.0.
344
-
345
- tair_scm: The Tair persistent memory is compatible with the Redis6.0 protocol and is passed 1.0.
346
-
347
- 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.
348
242
  """
349
243
  return pulumi.get(self, "engine_version")
350
244
 
@@ -364,55 +258,11 @@ class TairInstanceArgs:
364
258
  def force_upgrade(self, value: Optional[pulumi.Input[bool]]):
365
259
  pulumi.set(self, "force_upgrade", value)
366
260
 
367
- @property
368
- @pulumi.getter(name="globalInstanceId")
369
- def global_instance_id(self) -> Optional[pulumi.Input[str]]:
370
- """
371
- 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.
372
-
373
- 1. Enter true if you want the new instance to be the first child instance.
374
-
375
- 2. If you want the new instance to be used as the second and third sub-instances, enter the distributed instance ID.
376
-
377
- 3. Not as a distributed instance, you do not need to enter any values.
378
- """
379
- return pulumi.get(self, "global_instance_id")
380
-
381
- @global_instance_id.setter
382
- def global_instance_id(self, value: Optional[pulumi.Input[str]]):
383
- pulumi.set(self, "global_instance_id", value)
384
-
385
- @property
386
- @pulumi.getter(name="intranetBandwidth")
387
- def intranet_bandwidth(self) -> Optional[pulumi.Input[int]]:
388
- """
389
- Instance intranet bandwidth
390
- """
391
- return pulumi.get(self, "intranet_bandwidth")
392
-
393
- @intranet_bandwidth.setter
394
- def intranet_bandwidth(self, value: Optional[pulumi.Input[int]]):
395
- pulumi.set(self, "intranet_bandwidth", value)
396
-
397
- @property
398
- @pulumi.getter(name="modifyMode")
399
- def modify_mode(self) -> Optional[pulumi.Input[str]]:
400
- """
401
- 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.
402
- """
403
- return pulumi.get(self, "modify_mode")
404
-
405
- @modify_mode.setter
406
- def modify_mode(self, value: Optional[pulumi.Input[str]]):
407
- pulumi.set(self, "modify_mode", value)
408
-
409
261
  @property
410
262
  @pulumi.getter(name="nodeType")
411
263
  def node_type(self) -> Optional[pulumi.Input[str]]:
412
264
  """
413
- Node type, value:
414
- - `MASTER_SLAVE`: high availability (dual copy)
415
- - `STAND_ALONE`: single copy
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.
416
266
  """
417
267
  return pulumi.get(self, "node_type")
418
268
 
@@ -420,56 +270,6 @@ class TairInstanceArgs:
420
270
  def node_type(self, value: Optional[pulumi.Input[str]]):
421
271
  pulumi.set(self, "node_type", value)
422
272
 
423
- @property
424
- @pulumi.getter(name="paramNoLooseSentinelEnabled")
425
- def param_no_loose_sentinel_enabled(self) -> Optional[pulumi.Input[str]]:
426
- """
427
- sentinel compatibility mode, applicable to non-cluster instances. For more information about parameters, see yes or no in the https://www.alibabacloud.com/help/en/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance, valid values: yes or no. The default value is no.
428
- """
429
- return pulumi.get(self, "param_no_loose_sentinel_enabled")
430
-
431
- @param_no_loose_sentinel_enabled.setter
432
- def param_no_loose_sentinel_enabled(self, value: Optional[pulumi.Input[str]]):
433
- pulumi.set(self, "param_no_loose_sentinel_enabled", value)
434
-
435
- @property
436
- @pulumi.getter(name="paramReplMode")
437
- def param_repl_mode(self) -> Optional[pulumi.Input[str]]:
438
- """
439
- The value is semisync or async. The default value is async.
440
-
441
- 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 。
442
- """
443
- return pulumi.get(self, "param_repl_mode")
444
-
445
- @param_repl_mode.setter
446
- def param_repl_mode(self, value: Optional[pulumi.Input[str]]):
447
- pulumi.set(self, "param_repl_mode", value)
448
-
449
- @property
450
- @pulumi.getter(name="paramSemisyncReplTimeout")
451
- def param_semisync_repl_timeout(self) -> Optional[pulumi.Input[str]]:
452
- """
453
- 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。
454
- """
455
- return pulumi.get(self, "param_semisync_repl_timeout")
456
-
457
- @param_semisync_repl_timeout.setter
458
- def param_semisync_repl_timeout(self, value: Optional[pulumi.Input[str]]):
459
- pulumi.set(self, "param_semisync_repl_timeout", value)
460
-
461
- @property
462
- @pulumi.getter(name="paramSentinelCompatEnable")
463
- def param_sentinel_compat_enable(self) -> Optional[pulumi.Input[str]]:
464
- """
465
- 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.
466
- """
467
- return pulumi.get(self, "param_sentinel_compat_enable")
468
-
469
- @param_sentinel_compat_enable.setter
470
- def param_sentinel_compat_enable(self, value: Optional[pulumi.Input[str]]):
471
- pulumi.set(self, "param_sentinel_compat_enable", value)
472
-
473
273
  @property
474
274
  @pulumi.getter
475
275
  def password(self) -> Optional[pulumi.Input[str]]:
@@ -486,7 +286,7 @@ class TairInstanceArgs:
486
286
  @pulumi.getter(name="paymentType")
487
287
  def payment_type(self) -> Optional[pulumi.Input[str]]:
488
288
  """
489
- 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.
490
290
  """
491
291
  return pulumi.get(self, "payment_type")
492
292
 
@@ -522,11 +322,7 @@ class TairInstanceArgs:
522
322
  @pulumi.getter(name="readOnlyCount")
523
323
  def read_only_count(self) -> Optional[pulumi.Input[int]]:
524
324
  """
525
- Number of read-only nodes in the primary zone. Valid values: 0 to 5. This parameter is only applicable to the following conditions:
526
-
527
- 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.
528
-
529
- 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.
530
326
  """
531
327
  return pulumi.get(self, "read_only_count")
532
328
 
@@ -534,18 +330,6 @@ class TairInstanceArgs:
534
330
  def read_only_count(self, value: Optional[pulumi.Input[int]]):
535
331
  pulumi.set(self, "read_only_count", value)
536
332
 
537
- @property
538
- @pulumi.getter(name="recoverConfigMode")
539
- def recover_config_mode(self) -> Optional[pulumi.Input[str]]:
540
- """
541
- 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.
542
- """
543
- return pulumi.get(self, "recover_config_mode")
544
-
545
- @recover_config_mode.setter
546
- def recover_config_mode(self, value: Optional[pulumi.Input[str]]):
547
- pulumi.set(self, "recover_config_mode", value)
548
-
549
333
  @property
550
334
  @pulumi.getter(name="resourceGroupId")
551
335
  def resource_group_id(self) -> Optional[pulumi.Input[str]]:
@@ -574,7 +358,7 @@ class TairInstanceArgs:
574
358
  @pulumi.getter(name="securityGroupId")
575
359
  def security_group_id(self) -> Optional[pulumi.Input[str]]:
576
360
  """
577
- Security group id
361
+ Security group ID
578
362
  """
579
363
  return pulumi.get(self, "security_group_id")
580
364
 
@@ -582,30 +366,6 @@ class TairInstanceArgs:
582
366
  def security_group_id(self, value: Optional[pulumi.Input[str]]):
583
367
  pulumi.set(self, "security_group_id", value)
584
368
 
585
- @property
586
- @pulumi.getter(name="securityIpGroupName")
587
- def security_ip_group_name(self) -> Optional[pulumi.Input[str]]:
588
- """
589
- 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.
590
- """
591
- return pulumi.get(self, "security_ip_group_name")
592
-
593
- @security_ip_group_name.setter
594
- def security_ip_group_name(self, value: Optional[pulumi.Input[str]]):
595
- pulumi.set(self, "security_ip_group_name", value)
596
-
597
- @property
598
- @pulumi.getter(name="securityIps")
599
- def security_ips(self) -> Optional[pulumi.Input[str]]:
600
- """
601
- 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.
602
- """
603
- return pulumi.get(self, "security_ips")
604
-
605
- @security_ips.setter
606
- def security_ips(self, value: Optional[pulumi.Input[str]]):
607
- pulumi.set(self, "security_ips", value)
608
-
609
369
  @property
610
370
  @pulumi.getter(name="shardCount")
611
371
  def shard_count(self) -> Optional[pulumi.Input[int]]:
@@ -622,9 +382,7 @@ class TairInstanceArgs:
622
382
  @pulumi.getter(name="slaveReadOnlyCount")
623
383
  def slave_read_only_count(self) -> Optional[pulumi.Input[int]]:
624
384
  """
625
- Specifies the number of read-only nodes in the secondary zone when creating a multi-zone read/write splitting instance.
626
-
627
- 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.
628
386
  """
629
387
  return pulumi.get(self, "slave_read_only_count")
630
388
 
@@ -632,23 +390,11 @@ class TairInstanceArgs:
632
390
  def slave_read_only_count(self, value: Optional[pulumi.Input[int]]):
633
391
  pulumi.set(self, "slave_read_only_count", value)
634
392
 
635
- @property
636
- @pulumi.getter(name="srcDbInstanceId")
637
- def src_db_instance_id(self) -> Optional[pulumi.Input[str]]:
638
- """
639
- 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.
640
- """
641
- return pulumi.get(self, "src_db_instance_id")
642
-
643
- @src_db_instance_id.setter
644
- def src_db_instance_id(self, value: Optional[pulumi.Input[str]]):
645
- pulumi.set(self, "src_db_instance_id", value)
646
-
647
393
  @property
648
394
  @pulumi.getter(name="sslEnabled")
649
395
  def ssl_enabled(self) -> Optional[pulumi.Input[str]]:
650
396
  """
651
- 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
652
398
  """
653
399
  return pulumi.get(self, "ssl_enabled")
654
400
 
@@ -660,13 +406,7 @@ class TairInstanceArgs:
660
406
  @pulumi.getter(name="storagePerformanceLevel")
661
407
  def storage_performance_level(self) -> Optional[pulumi.Input[str]]:
662
408
  """
663
- 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.
664
-
665
- If the ESSD instance type is 4C, 8C, or 16C, you can specify the storage type as PL1.
666
-
667
- If the type of ESSD instance you select is 8C, 16C, 32C, or 52C, you can specify the storage type as PL2.
668
-
669
- 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.
670
410
  """
671
411
  return pulumi.get(self, "storage_performance_level")
672
412
 
@@ -678,7 +418,7 @@ class TairInstanceArgs:
678
418
  @pulumi.getter(name="storageSizeGb")
679
419
  def storage_size_gb(self) -> Optional[pulumi.Input[int]]:
680
420
  """
681
- 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.
682
422
  """
683
423
  return pulumi.get(self, "storage_size_gb")
684
424
 
@@ -710,163 +450,77 @@ class TairInstanceArgs:
710
450
  def tair_instance_name(self, value: Optional[pulumi.Input[str]]):
711
451
  pulumi.set(self, "tair_instance_name", value)
712
452
 
713
- @property
714
- @pulumi.getter(name="vpcAuthMode")
715
- def vpc_auth_mode(self) -> Optional[pulumi.Input[str]]:
716
- """
717
- 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)).
718
- """
719
- return pulumi.get(self, "vpc_auth_mode")
720
-
721
- @vpc_auth_mode.setter
722
- def vpc_auth_mode(self, value: Optional[pulumi.Input[str]]):
723
- pulumi.set(self, "vpc_auth_mode", value)
724
-
725
453
 
726
454
  @pulumi.input_type
727
455
  class _TairInstanceState:
728
456
  def __init__(__self__, *,
729
- architecture_type: Optional[pulumi.Input[str]] = None,
730
457
  auto_renew: Optional[pulumi.Input[str]] = None,
731
458
  auto_renew_period: Optional[pulumi.Input[str]] = None,
732
- backup_id: Optional[pulumi.Input[str]] = None,
733
459
  cluster_backup_id: Optional[pulumi.Input[str]] = None,
734
- connection_domain: Optional[pulumi.Input[str]] = None,
735
460
  create_time: Optional[pulumi.Input[str]] = None,
736
461
  effective_time: Optional[pulumi.Input[str]] = None,
737
462
  engine_version: Optional[pulumi.Input[str]] = None,
738
463
  force_upgrade: Optional[pulumi.Input[bool]] = None,
739
- global_instance_id: Optional[pulumi.Input[str]] = None,
740
464
  instance_class: Optional[pulumi.Input[str]] = None,
741
465
  instance_type: Optional[pulumi.Input[str]] = None,
742
- intranet_bandwidth: Optional[pulumi.Input[int]] = None,
743
- max_connections: Optional[pulumi.Input[int]] = None,
744
- modify_mode: Optional[pulumi.Input[str]] = None,
745
- network_type: Optional[pulumi.Input[str]] = None,
746
466
  node_type: Optional[pulumi.Input[str]] = None,
747
- param_no_loose_sentinel_enabled: Optional[pulumi.Input[str]] = None,
748
- param_repl_mode: Optional[pulumi.Input[str]] = None,
749
- param_semisync_repl_timeout: Optional[pulumi.Input[str]] = None,
750
- param_sentinel_compat_enable: Optional[pulumi.Input[str]] = None,
751
467
  password: Optional[pulumi.Input[str]] = None,
752
468
  payment_type: Optional[pulumi.Input[str]] = None,
753
469
  period: Optional[pulumi.Input[int]] = None,
754
470
  port: Optional[pulumi.Input[int]] = None,
755
471
  read_only_count: Optional[pulumi.Input[int]] = None,
756
- recover_config_mode: Optional[pulumi.Input[str]] = None,
757
472
  resource_group_id: Optional[pulumi.Input[str]] = None,
758
473
  secondary_zone_id: Optional[pulumi.Input[str]] = None,
759
474
  security_group_id: Optional[pulumi.Input[str]] = None,
760
- security_ip_group_name: Optional[pulumi.Input[str]] = None,
761
- security_ips: Optional[pulumi.Input[str]] = None,
762
475
  shard_count: Optional[pulumi.Input[int]] = None,
763
476
  slave_read_only_count: Optional[pulumi.Input[int]] = None,
764
- src_db_instance_id: Optional[pulumi.Input[str]] = None,
765
477
  ssl_enabled: Optional[pulumi.Input[str]] = None,
766
478
  status: Optional[pulumi.Input[str]] = None,
767
479
  storage_performance_level: Optional[pulumi.Input[str]] = None,
768
480
  storage_size_gb: Optional[pulumi.Input[int]] = None,
769
481
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
770
- tair_instance_id: Optional[pulumi.Input[str]] = None,
771
482
  tair_instance_name: Optional[pulumi.Input[str]] = None,
772
- vpc_auth_mode: Optional[pulumi.Input[str]] = None,
773
483
  vpc_id: Optional[pulumi.Input[str]] = None,
774
484
  vswitch_id: Optional[pulumi.Input[str]] = None,
775
485
  zone_id: Optional[pulumi.Input[str]] = None):
776
486
  """
777
487
  Input properties used for looking up and filtering TairInstance resources.
778
- :param pulumi.Input[str] architecture_type: The architecture of the instance. cluster, standard, rwsplit.
779
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).
780
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.
781
- :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 (,).
782
-
783
- 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.
784
- :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 (,).
785
- :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.
786
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.
787
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).
788
- :param pulumi.Input[str] engine_version: Database version. Default value: 1.0.
789
-
790
- Rules for transferring parameters of different tair product types:
791
-
792
- tair_rdb: Compatible with the Redis5.0 and Redis6.0 protocols, and is transmitted to 5.0 or 6.0.
793
-
794
- tair_scm: The Tair persistent memory is compatible with the Redis6.0 protocol and is passed 1.0.
795
-
796
- 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.
797
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).
798
- :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.
799
-
800
- 1. Enter true if you want the new instance to be the first child instance.
801
-
802
- 2. If you want the new instance to be used as the second and third sub-instances, enter the distributed instance ID.
803
-
804
- 3. Not as a distributed instance, you do not need to enter any values.
805
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).
806
496
  :param pulumi.Input[str] instance_type: The storage medium of the instance. Valid values: tair_rdb, tair_scm, tair_essd.
807
- :param pulumi.Input[int] intranet_bandwidth: Instance intranet bandwidth
808
- :param pulumi.Input[int] max_connections: The maximum number of connections supported by the instance.
809
- :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.
810
- :param pulumi.Input[str] network_type: The network type of the instance. CLASSIC(classic network), VPC.
811
- :param pulumi.Input[str] node_type: Node type, value:
812
- - `MASTER_SLAVE`: high availability (dual copy)
813
- - `STAND_ALONE`: single copy
814
- :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, valid values: yes or no. The default value is no.
815
- :param pulumi.Input[str] param_repl_mode: The value is semisync or async. The default value is async.
816
-
817
- 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 。
818
- :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。
819
- :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.
820
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 ! @ # $ % ^ & * ( ) _ + - =
821
- :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.
822
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.
823
501
  :param pulumi.Input[int] port: The Tair service port. The service port of the instance. Valid values: 1024 to 65535. Default value: 6379.
824
- :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:
825
-
826
- 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.
827
-
828
- 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.
829
- :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.
830
503
  :param pulumi.Input[str] resource_group_id: The ID of the resource group to which the instance belongs.
831
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.
832
- :param pulumi.Input[str] security_group_id: Security group id
833
- :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.
834
- :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
835
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.
836
- :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.
837
-
838
- Note: To create a multi-zone read/write splitting instance, slaveadonlycount and SecondaryZoneId must be specified at the same time.
839
- :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.
840
- :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
841
509
  :param pulumi.Input[str] status: The status of the resource
842
- :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.
843
-
844
- If the ESSD instance type is 4C, 8C, or 16C, you can specify the storage type as PL1.
845
-
846
- If the type of ESSD instance you select is 8C, 16C, 32C, or 52C, you can specify the storage type as PL2.
847
-
848
- If the ESSD instance type is 16C, 32C, or 52C, you can specify the storage type as PL3.
849
- :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.
850
512
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource
851
- :param pulumi.Input[str] tair_instance_id: The ID of the resource.
852
513
  :param pulumi.Input[str] tair_instance_name: The name of the resource.
853
- :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)).
854
514
  :param pulumi.Input[str] vpc_id: The ID of the virtual private cloud (VPC).
855
515
  :param pulumi.Input[str] vswitch_id: The ID of the vSwitch to which the instance is connected.
856
516
  :param pulumi.Input[str] zone_id: Zone ID
857
517
  """
858
- if architecture_type is not None:
859
- pulumi.set(__self__, "architecture_type", architecture_type)
860
518
  if auto_renew is not None:
861
519
  pulumi.set(__self__, "auto_renew", auto_renew)
862
520
  if auto_renew_period is not None:
863
521
  pulumi.set(__self__, "auto_renew_period", auto_renew_period)
864
- if backup_id is not None:
865
- pulumi.set(__self__, "backup_id", backup_id)
866
522
  if cluster_backup_id is not None:
867
523
  pulumi.set(__self__, "cluster_backup_id", cluster_backup_id)
868
- if connection_domain is not None:
869
- pulumi.set(__self__, "connection_domain", connection_domain)
870
524
  if create_time is not None:
871
525
  pulumi.set(__self__, "create_time", create_time)
872
526
  if effective_time is not None:
@@ -875,30 +529,12 @@ class _TairInstanceState:
875
529
  pulumi.set(__self__, "engine_version", engine_version)
876
530
  if force_upgrade is not None:
877
531
  pulumi.set(__self__, "force_upgrade", force_upgrade)
878
- if global_instance_id is not None:
879
- pulumi.set(__self__, "global_instance_id", global_instance_id)
880
532
  if instance_class is not None:
881
533
  pulumi.set(__self__, "instance_class", instance_class)
882
534
  if instance_type is not None:
883
535
  pulumi.set(__self__, "instance_type", instance_type)
884
- if intranet_bandwidth is not None:
885
- pulumi.set(__self__, "intranet_bandwidth", intranet_bandwidth)
886
- if max_connections is not None:
887
- pulumi.set(__self__, "max_connections", max_connections)
888
- if modify_mode is not None:
889
- pulumi.set(__self__, "modify_mode", modify_mode)
890
- if network_type is not None:
891
- pulumi.set(__self__, "network_type", network_type)
892
536
  if node_type is not None:
893
537
  pulumi.set(__self__, "node_type", node_type)
894
- if param_no_loose_sentinel_enabled is not None:
895
- pulumi.set(__self__, "param_no_loose_sentinel_enabled", param_no_loose_sentinel_enabled)
896
- if param_repl_mode is not None:
897
- pulumi.set(__self__, "param_repl_mode", param_repl_mode)
898
- if param_semisync_repl_timeout is not None:
899
- pulumi.set(__self__, "param_semisync_repl_timeout", param_semisync_repl_timeout)
900
- if param_sentinel_compat_enable is not None:
901
- pulumi.set(__self__, "param_sentinel_compat_enable", param_sentinel_compat_enable)
902
538
  if password is not None:
903
539
  pulumi.set(__self__, "password", password)
904
540
  if payment_type is not None:
@@ -909,24 +545,16 @@ class _TairInstanceState:
909
545
  pulumi.set(__self__, "port", port)
910
546
  if read_only_count is not None:
911
547
  pulumi.set(__self__, "read_only_count", read_only_count)
912
- if recover_config_mode is not None:
913
- pulumi.set(__self__, "recover_config_mode", recover_config_mode)
914
548
  if resource_group_id is not None:
915
549
  pulumi.set(__self__, "resource_group_id", resource_group_id)
916
550
  if secondary_zone_id is not None:
917
551
  pulumi.set(__self__, "secondary_zone_id", secondary_zone_id)
918
552
  if security_group_id is not None:
919
553
  pulumi.set(__self__, "security_group_id", security_group_id)
920
- if security_ip_group_name is not None:
921
- pulumi.set(__self__, "security_ip_group_name", security_ip_group_name)
922
- if security_ips is not None:
923
- pulumi.set(__self__, "security_ips", security_ips)
924
554
  if shard_count is not None:
925
555
  pulumi.set(__self__, "shard_count", shard_count)
926
556
  if slave_read_only_count is not None:
927
557
  pulumi.set(__self__, "slave_read_only_count", slave_read_only_count)
928
- if src_db_instance_id is not None:
929
- pulumi.set(__self__, "src_db_instance_id", src_db_instance_id)
930
558
  if ssl_enabled is not None:
931
559
  pulumi.set(__self__, "ssl_enabled", ssl_enabled)
932
560
  if status is not None:
@@ -937,12 +565,8 @@ class _TairInstanceState:
937
565
  pulumi.set(__self__, "storage_size_gb", storage_size_gb)
938
566
  if tags is not None:
939
567
  pulumi.set(__self__, "tags", tags)
940
- if tair_instance_id is not None:
941
- pulumi.set(__self__, "tair_instance_id", tair_instance_id)
942
568
  if tair_instance_name is not None:
943
569
  pulumi.set(__self__, "tair_instance_name", tair_instance_name)
944
- if vpc_auth_mode is not None:
945
- pulumi.set(__self__, "vpc_auth_mode", vpc_auth_mode)
946
570
  if vpc_id is not None:
947
571
  pulumi.set(__self__, "vpc_id", vpc_id)
948
572
  if vswitch_id is not None:
@@ -950,18 +574,6 @@ class _TairInstanceState:
950
574
  if zone_id is not None:
951
575
  pulumi.set(__self__, "zone_id", zone_id)
952
576
 
953
- @property
954
- @pulumi.getter(name="architectureType")
955
- def architecture_type(self) -> Optional[pulumi.Input[str]]:
956
- """
957
- The architecture of the instance. cluster, standard, rwsplit.
958
- """
959
- return pulumi.get(self, "architecture_type")
960
-
961
- @architecture_type.setter
962
- def architecture_type(self, value: Optional[pulumi.Input[str]]):
963
- pulumi.set(self, "architecture_type", value)
964
-
965
577
  @property
966
578
  @pulumi.getter(name="autoRenew")
967
579
  def auto_renew(self) -> Optional[pulumi.Input[str]]:
@@ -986,25 +598,11 @@ class _TairInstanceState:
986
598
  def auto_renew_period(self, value: Optional[pulumi.Input[str]]):
987
599
  pulumi.set(self, "auto_renew_period", value)
988
600
 
989
- @property
990
- @pulumi.getter(name="backupId")
991
- def backup_id(self) -> Optional[pulumi.Input[str]]:
992
- """
993
- 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 (,).
994
-
995
- 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.
996
- """
997
- return pulumi.get(self, "backup_id")
998
-
999
- @backup_id.setter
1000
- def backup_id(self, value: Optional[pulumi.Input[str]]):
1001
- pulumi.set(self, "backup_id", value)
1002
-
1003
601
  @property
1004
602
  @pulumi.getter(name="clusterBackupId")
1005
603
  def cluster_backup_id(self) -> Optional[pulumi.Input[str]]:
1006
604
  """
1007
- 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.
1008
606
  """
1009
607
  return pulumi.get(self, "cluster_backup_id")
1010
608
 
@@ -1012,18 +610,6 @@ class _TairInstanceState:
1012
610
  def cluster_backup_id(self, value: Optional[pulumi.Input[str]]):
1013
611
  pulumi.set(self, "cluster_backup_id", value)
1014
612
 
1015
- @property
1016
- @pulumi.getter(name="connectionDomain")
1017
- def connection_domain(self) -> Optional[pulumi.Input[str]]:
1018
- """
1019
- The internal endpoint of the instance.
1020
- """
1021
- return pulumi.get(self, "connection_domain")
1022
-
1023
- @connection_domain.setter
1024
- def connection_domain(self, value: Optional[pulumi.Input[str]]):
1025
- pulumi.set(self, "connection_domain", value)
1026
-
1027
613
  @property
1028
614
  @pulumi.getter(name="createTime")
1029
615
  def create_time(self) -> Optional[pulumi.Input[str]]:
@@ -1052,15 +638,7 @@ class _TairInstanceState:
1052
638
  @pulumi.getter(name="engineVersion")
1053
639
  def engine_version(self) -> Optional[pulumi.Input[str]]:
1054
640
  """
1055
- Database version. Default value: 1.0.
1056
-
1057
- Rules for transferring parameters of different tair product types:
1058
-
1059
- tair_rdb: Compatible with the Redis5.0 and Redis6.0 protocols, and is transmitted to 5.0 or 6.0.
1060
-
1061
- tair_scm: The Tair persistent memory is compatible with the Redis6.0 protocol and is passed 1.0.
1062
-
1063
- 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.
1064
642
  """
1065
643
  return pulumi.get(self, "engine_version")
1066
644
 
@@ -1080,24 +658,6 @@ class _TairInstanceState:
1080
658
  def force_upgrade(self, value: Optional[pulumi.Input[bool]]):
1081
659
  pulumi.set(self, "force_upgrade", value)
1082
660
 
1083
- @property
1084
- @pulumi.getter(name="globalInstanceId")
1085
- def global_instance_id(self) -> Optional[pulumi.Input[str]]:
1086
- """
1087
- 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.
1088
-
1089
- 1. Enter true if you want the new instance to be the first child instance.
1090
-
1091
- 2. If you want the new instance to be used as the second and third sub-instances, enter the distributed instance ID.
1092
-
1093
- 3. Not as a distributed instance, you do not need to enter any values.
1094
- """
1095
- return pulumi.get(self, "global_instance_id")
1096
-
1097
- @global_instance_id.setter
1098
- def global_instance_id(self, value: Optional[pulumi.Input[str]]):
1099
- pulumi.set(self, "global_instance_id", value)
1100
-
1101
661
  @property
1102
662
  @pulumi.getter(name="instanceClass")
1103
663
  def instance_class(self) -> Optional[pulumi.Input[str]]:
@@ -1122,61 +682,11 @@ class _TairInstanceState:
1122
682
  def instance_type(self, value: Optional[pulumi.Input[str]]):
1123
683
  pulumi.set(self, "instance_type", value)
1124
684
 
1125
- @property
1126
- @pulumi.getter(name="intranetBandwidth")
1127
- def intranet_bandwidth(self) -> Optional[pulumi.Input[int]]:
1128
- """
1129
- Instance intranet bandwidth
1130
- """
1131
- return pulumi.get(self, "intranet_bandwidth")
1132
-
1133
- @intranet_bandwidth.setter
1134
- def intranet_bandwidth(self, value: Optional[pulumi.Input[int]]):
1135
- pulumi.set(self, "intranet_bandwidth", value)
1136
-
1137
- @property
1138
- @pulumi.getter(name="maxConnections")
1139
- def max_connections(self) -> Optional[pulumi.Input[int]]:
1140
- """
1141
- The maximum number of connections supported by the instance.
1142
- """
1143
- return pulumi.get(self, "max_connections")
1144
-
1145
- @max_connections.setter
1146
- def max_connections(self, value: Optional[pulumi.Input[int]]):
1147
- pulumi.set(self, "max_connections", value)
1148
-
1149
- @property
1150
- @pulumi.getter(name="modifyMode")
1151
- def modify_mode(self) -> Optional[pulumi.Input[str]]:
1152
- """
1153
- 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.
1154
- """
1155
- return pulumi.get(self, "modify_mode")
1156
-
1157
- @modify_mode.setter
1158
- def modify_mode(self, value: Optional[pulumi.Input[str]]):
1159
- pulumi.set(self, "modify_mode", value)
1160
-
1161
- @property
1162
- @pulumi.getter(name="networkType")
1163
- def network_type(self) -> Optional[pulumi.Input[str]]:
1164
- """
1165
- The network type of the instance. CLASSIC(classic network), VPC.
1166
- """
1167
- return pulumi.get(self, "network_type")
1168
-
1169
- @network_type.setter
1170
- def network_type(self, value: Optional[pulumi.Input[str]]):
1171
- pulumi.set(self, "network_type", value)
1172
-
1173
685
  @property
1174
686
  @pulumi.getter(name="nodeType")
1175
687
  def node_type(self) -> Optional[pulumi.Input[str]]:
1176
688
  """
1177
- Node type, value:
1178
- - `MASTER_SLAVE`: high availability (dual copy)
1179
- - `STAND_ALONE`: single copy
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.
1180
690
  """
1181
691
  return pulumi.get(self, "node_type")
1182
692
 
@@ -1184,56 +694,6 @@ class _TairInstanceState:
1184
694
  def node_type(self, value: Optional[pulumi.Input[str]]):
1185
695
  pulumi.set(self, "node_type", value)
1186
696
 
1187
- @property
1188
- @pulumi.getter(name="paramNoLooseSentinelEnabled")
1189
- def param_no_loose_sentinel_enabled(self) -> Optional[pulumi.Input[str]]:
1190
- """
1191
- sentinel compatibility mode, applicable to non-cluster instances. For more information about parameters, see yes or no in the https://www.alibabacloud.com/help/en/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance, valid values: yes or no. The default value is no.
1192
- """
1193
- return pulumi.get(self, "param_no_loose_sentinel_enabled")
1194
-
1195
- @param_no_loose_sentinel_enabled.setter
1196
- def param_no_loose_sentinel_enabled(self, value: Optional[pulumi.Input[str]]):
1197
- pulumi.set(self, "param_no_loose_sentinel_enabled", value)
1198
-
1199
- @property
1200
- @pulumi.getter(name="paramReplMode")
1201
- def param_repl_mode(self) -> Optional[pulumi.Input[str]]:
1202
- """
1203
- The value is semisync or async. The default value is async.
1204
-
1205
- 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 。
1206
- """
1207
- return pulumi.get(self, "param_repl_mode")
1208
-
1209
- @param_repl_mode.setter
1210
- def param_repl_mode(self, value: Optional[pulumi.Input[str]]):
1211
- pulumi.set(self, "param_repl_mode", value)
1212
-
1213
- @property
1214
- @pulumi.getter(name="paramSemisyncReplTimeout")
1215
- def param_semisync_repl_timeout(self) -> Optional[pulumi.Input[str]]:
1216
- """
1217
- 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。
1218
- """
1219
- return pulumi.get(self, "param_semisync_repl_timeout")
1220
-
1221
- @param_semisync_repl_timeout.setter
1222
- def param_semisync_repl_timeout(self, value: Optional[pulumi.Input[str]]):
1223
- pulumi.set(self, "param_semisync_repl_timeout", value)
1224
-
1225
- @property
1226
- @pulumi.getter(name="paramSentinelCompatEnable")
1227
- def param_sentinel_compat_enable(self) -> Optional[pulumi.Input[str]]:
1228
- """
1229
- 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.
1230
- """
1231
- return pulumi.get(self, "param_sentinel_compat_enable")
1232
-
1233
- @param_sentinel_compat_enable.setter
1234
- def param_sentinel_compat_enable(self, value: Optional[pulumi.Input[str]]):
1235
- pulumi.set(self, "param_sentinel_compat_enable", value)
1236
-
1237
697
  @property
1238
698
  @pulumi.getter
1239
699
  def password(self) -> Optional[pulumi.Input[str]]:
@@ -1250,7 +710,7 @@ class _TairInstanceState:
1250
710
  @pulumi.getter(name="paymentType")
1251
711
  def payment_type(self) -> Optional[pulumi.Input[str]]:
1252
712
  """
1253
- 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.
1254
714
  """
1255
715
  return pulumi.get(self, "payment_type")
1256
716
 
@@ -1286,11 +746,7 @@ class _TairInstanceState:
1286
746
  @pulumi.getter(name="readOnlyCount")
1287
747
  def read_only_count(self) -> Optional[pulumi.Input[int]]:
1288
748
  """
1289
- Number of read-only nodes in the primary zone. Valid values: 0 to 5. This parameter is only applicable to the following conditions:
1290
-
1291
- 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.
1292
-
1293
- 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.
1294
750
  """
1295
751
  return pulumi.get(self, "read_only_count")
1296
752
 
@@ -1298,18 +754,6 @@ class _TairInstanceState:
1298
754
  def read_only_count(self, value: Optional[pulumi.Input[int]]):
1299
755
  pulumi.set(self, "read_only_count", value)
1300
756
 
1301
- @property
1302
- @pulumi.getter(name="recoverConfigMode")
1303
- def recover_config_mode(self) -> Optional[pulumi.Input[str]]:
1304
- """
1305
- 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.
1306
- """
1307
- return pulumi.get(self, "recover_config_mode")
1308
-
1309
- @recover_config_mode.setter
1310
- def recover_config_mode(self, value: Optional[pulumi.Input[str]]):
1311
- pulumi.set(self, "recover_config_mode", value)
1312
-
1313
757
  @property
1314
758
  @pulumi.getter(name="resourceGroupId")
1315
759
  def resource_group_id(self) -> Optional[pulumi.Input[str]]:
@@ -1338,7 +782,7 @@ class _TairInstanceState:
1338
782
  @pulumi.getter(name="securityGroupId")
1339
783
  def security_group_id(self) -> Optional[pulumi.Input[str]]:
1340
784
  """
1341
- Security group id
785
+ Security group ID
1342
786
  """
1343
787
  return pulumi.get(self, "security_group_id")
1344
788
 
@@ -1346,30 +790,6 @@ class _TairInstanceState:
1346
790
  def security_group_id(self, value: Optional[pulumi.Input[str]]):
1347
791
  pulumi.set(self, "security_group_id", value)
1348
792
 
1349
- @property
1350
- @pulumi.getter(name="securityIpGroupName")
1351
- def security_ip_group_name(self) -> Optional[pulumi.Input[str]]:
1352
- """
1353
- 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.
1354
- """
1355
- return pulumi.get(self, "security_ip_group_name")
1356
-
1357
- @security_ip_group_name.setter
1358
- def security_ip_group_name(self, value: Optional[pulumi.Input[str]]):
1359
- pulumi.set(self, "security_ip_group_name", value)
1360
-
1361
- @property
1362
- @pulumi.getter(name="securityIps")
1363
- def security_ips(self) -> Optional[pulumi.Input[str]]:
1364
- """
1365
- 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.
1366
- """
1367
- return pulumi.get(self, "security_ips")
1368
-
1369
- @security_ips.setter
1370
- def security_ips(self, value: Optional[pulumi.Input[str]]):
1371
- pulumi.set(self, "security_ips", value)
1372
-
1373
793
  @property
1374
794
  @pulumi.getter(name="shardCount")
1375
795
  def shard_count(self) -> Optional[pulumi.Input[int]]:
@@ -1386,9 +806,7 @@ class _TairInstanceState:
1386
806
  @pulumi.getter(name="slaveReadOnlyCount")
1387
807
  def slave_read_only_count(self) -> Optional[pulumi.Input[int]]:
1388
808
  """
1389
- Specifies the number of read-only nodes in the secondary zone when creating a multi-zone read/write splitting instance.
1390
-
1391
- 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.
1392
810
  """
1393
811
  return pulumi.get(self, "slave_read_only_count")
1394
812
 
@@ -1396,23 +814,11 @@ class _TairInstanceState:
1396
814
  def slave_read_only_count(self, value: Optional[pulumi.Input[int]]):
1397
815
  pulumi.set(self, "slave_read_only_count", value)
1398
816
 
1399
- @property
1400
- @pulumi.getter(name="srcDbInstanceId")
1401
- def src_db_instance_id(self) -> Optional[pulumi.Input[str]]:
1402
- """
1403
- 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.
1404
- """
1405
- return pulumi.get(self, "src_db_instance_id")
1406
-
1407
- @src_db_instance_id.setter
1408
- def src_db_instance_id(self, value: Optional[pulumi.Input[str]]):
1409
- pulumi.set(self, "src_db_instance_id", value)
1410
-
1411
817
  @property
1412
818
  @pulumi.getter(name="sslEnabled")
1413
819
  def ssl_enabled(self) -> Optional[pulumi.Input[str]]:
1414
820
  """
1415
- 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
1416
822
  """
1417
823
  return pulumi.get(self, "ssl_enabled")
1418
824
 
@@ -1436,13 +842,7 @@ class _TairInstanceState:
1436
842
  @pulumi.getter(name="storagePerformanceLevel")
1437
843
  def storage_performance_level(self) -> Optional[pulumi.Input[str]]:
1438
844
  """
1439
- 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.
1440
-
1441
- If the ESSD instance type is 4C, 8C, or 16C, you can specify the storage type as PL1.
1442
-
1443
- If the type of ESSD instance you select is 8C, 16C, 32C, or 52C, you can specify the storage type as PL2.
1444
-
1445
- 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.
1446
846
  """
1447
847
  return pulumi.get(self, "storage_performance_level")
1448
848
 
@@ -1454,7 +854,7 @@ class _TairInstanceState:
1454
854
  @pulumi.getter(name="storageSizeGb")
1455
855
  def storage_size_gb(self) -> Optional[pulumi.Input[int]]:
1456
856
  """
1457
- 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.
1458
858
  """
1459
859
  return pulumi.get(self, "storage_size_gb")
1460
860
 
@@ -1474,18 +874,6 @@ class _TairInstanceState:
1474
874
  def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
1475
875
  pulumi.set(self, "tags", value)
1476
876
 
1477
- @property
1478
- @pulumi.getter(name="tairInstanceId")
1479
- def tair_instance_id(self) -> Optional[pulumi.Input[str]]:
1480
- """
1481
- The ID of the resource.
1482
- """
1483
- return pulumi.get(self, "tair_instance_id")
1484
-
1485
- @tair_instance_id.setter
1486
- def tair_instance_id(self, value: Optional[pulumi.Input[str]]):
1487
- pulumi.set(self, "tair_instance_id", value)
1488
-
1489
877
  @property
1490
878
  @pulumi.getter(name="tairInstanceName")
1491
879
  def tair_instance_name(self) -> Optional[pulumi.Input[str]]:
@@ -1498,18 +886,6 @@ class _TairInstanceState:
1498
886
  def tair_instance_name(self, value: Optional[pulumi.Input[str]]):
1499
887
  pulumi.set(self, "tair_instance_name", value)
1500
888
 
1501
- @property
1502
- @pulumi.getter(name="vpcAuthMode")
1503
- def vpc_auth_mode(self) -> Optional[pulumi.Input[str]]:
1504
- """
1505
- 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)).
1506
- """
1507
- return pulumi.get(self, "vpc_auth_mode")
1508
-
1509
- @vpc_auth_mode.setter
1510
- def vpc_auth_mode(self, value: Optional[pulumi.Input[str]]):
1511
- pulumi.set(self, "vpc_auth_mode", value)
1512
-
1513
889
  @property
1514
890
  @pulumi.getter(name="vpcId")
1515
891
  def vpc_id(self) -> Optional[pulumi.Input[str]]:
@@ -1554,41 +930,28 @@ class TairInstance(pulumi.CustomResource):
1554
930
  opts: Optional[pulumi.ResourceOptions] = None,
1555
931
  auto_renew: Optional[pulumi.Input[str]] = None,
1556
932
  auto_renew_period: Optional[pulumi.Input[str]] = None,
1557
- backup_id: Optional[pulumi.Input[str]] = None,
1558
933
  cluster_backup_id: Optional[pulumi.Input[str]] = None,
1559
934
  effective_time: Optional[pulumi.Input[str]] = None,
1560
935
  engine_version: Optional[pulumi.Input[str]] = None,
1561
936
  force_upgrade: Optional[pulumi.Input[bool]] = None,
1562
- global_instance_id: Optional[pulumi.Input[str]] = None,
1563
937
  instance_class: Optional[pulumi.Input[str]] = None,
1564
938
  instance_type: Optional[pulumi.Input[str]] = None,
1565
- intranet_bandwidth: Optional[pulumi.Input[int]] = None,
1566
- modify_mode: Optional[pulumi.Input[str]] = None,
1567
939
  node_type: Optional[pulumi.Input[str]] = None,
1568
- param_no_loose_sentinel_enabled: Optional[pulumi.Input[str]] = None,
1569
- param_repl_mode: Optional[pulumi.Input[str]] = None,
1570
- param_semisync_repl_timeout: Optional[pulumi.Input[str]] = None,
1571
- param_sentinel_compat_enable: Optional[pulumi.Input[str]] = None,
1572
940
  password: Optional[pulumi.Input[str]] = None,
1573
941
  payment_type: Optional[pulumi.Input[str]] = None,
1574
942
  period: Optional[pulumi.Input[int]] = None,
1575
943
  port: Optional[pulumi.Input[int]] = None,
1576
944
  read_only_count: Optional[pulumi.Input[int]] = None,
1577
- recover_config_mode: Optional[pulumi.Input[str]] = None,
1578
945
  resource_group_id: Optional[pulumi.Input[str]] = None,
1579
946
  secondary_zone_id: Optional[pulumi.Input[str]] = None,
1580
947
  security_group_id: Optional[pulumi.Input[str]] = None,
1581
- security_ip_group_name: Optional[pulumi.Input[str]] = None,
1582
- security_ips: Optional[pulumi.Input[str]] = None,
1583
948
  shard_count: Optional[pulumi.Input[int]] = None,
1584
949
  slave_read_only_count: Optional[pulumi.Input[int]] = None,
1585
- src_db_instance_id: Optional[pulumi.Input[str]] = None,
1586
950
  ssl_enabled: Optional[pulumi.Input[str]] = None,
1587
951
  storage_performance_level: Optional[pulumi.Input[str]] = None,
1588
952
  storage_size_gb: Optional[pulumi.Input[int]] = None,
1589
953
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1590
954
  tair_instance_name: Optional[pulumi.Input[str]] = None,
1591
- vpc_auth_mode: Optional[pulumi.Input[str]] = None,
1592
955
  vpc_id: Optional[pulumi.Input[str]] = None,
1593
956
  vswitch_id: Optional[pulumi.Input[str]] = None,
1594
957
  zone_id: Optional[pulumi.Input[str]] = None,
@@ -1606,73 +969,28 @@ class TairInstance(pulumi.CustomResource):
1606
969
  :param pulumi.ResourceOptions opts: Options for the resource.
1607
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).
1608
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.
1609
- :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 (,).
1610
-
1611
- 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.
1612
- :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.
1613
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).
1614
- :param pulumi.Input[str] engine_version: Database version. Default value: 1.0.
1615
-
1616
- Rules for transferring parameters of different tair product types:
1617
-
1618
- tair_rdb: Compatible with the Redis5.0 and Redis6.0 protocols, and is transmitted to 5.0 or 6.0.
1619
-
1620
- tair_scm: The Tair persistent memory is compatible with the Redis6.0 protocol and is passed 1.0.
1621
-
1622
- 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.
1623
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).
1624
- :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.
1625
-
1626
- 1. Enter true if you want the new instance to be the first child instance.
1627
-
1628
- 2. If you want the new instance to be used as the second and third sub-instances, enter the distributed instance ID.
1629
-
1630
- 3. Not as a distributed instance, you do not need to enter any values.
1631
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).
1632
977
  :param pulumi.Input[str] instance_type: The storage medium of the instance. Valid values: tair_rdb, tair_scm, tair_essd.
1633
- :param pulumi.Input[int] intranet_bandwidth: Instance intranet bandwidth
1634
- :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.
1635
- :param pulumi.Input[str] node_type: Node type, value:
1636
- - `MASTER_SLAVE`: high availability (dual copy)
1637
- - `STAND_ALONE`: single copy
1638
- :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, valid values: yes or no. The default value is no.
1639
- :param pulumi.Input[str] param_repl_mode: The value is semisync or async. The default value is async.
1640
-
1641
- 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 。
1642
- :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。
1643
- :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.
1644
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 ! @ # $ % ^ & * ( ) _ + - =
1645
- :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.
1646
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.
1647
982
  :param pulumi.Input[int] port: The Tair service port. The service port of the instance. Valid values: 1024 to 65535. Default value: 6379.
1648
- :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:
1649
-
1650
- 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.
1651
-
1652
- 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.
1653
- :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.
1654
984
  :param pulumi.Input[str] resource_group_id: The ID of the resource group to which the instance belongs.
1655
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.
1656
- :param pulumi.Input[str] security_group_id: Security group id
1657
- :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.
1658
- :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
1659
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.
1660
- :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.
1661
-
1662
- Note: To create a multi-zone read/write splitting instance, slaveadonlycount and SecondaryZoneId must be specified at the same time.
1663
- :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.
1664
- :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)
1665
- :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.
1666
-
1667
- If the ESSD instance type is 4C, 8C, or 16C, you can specify the storage type as PL1.
1668
-
1669
- If the type of ESSD instance you select is 8C, 16C, 32C, or 52C, you can specify the storage type as PL2.
1670
-
1671
- If the ESSD instance type is 16C, 32C, or 52C, you can specify the storage type as PL3.
1672
- :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.
1673
992
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource
1674
993
  :param pulumi.Input[str] tair_instance_name: The name of the resource.
1675
- :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)).
1676
994
  :param pulumi.Input[str] vpc_id: The ID of the virtual private cloud (VPC).
1677
995
  :param pulumi.Input[str] vswitch_id: The ID of the vSwitch to which the instance is connected.
1678
996
  :param pulumi.Input[str] zone_id: Zone ID
@@ -1709,41 +1027,28 @@ class TairInstance(pulumi.CustomResource):
1709
1027
  opts: Optional[pulumi.ResourceOptions] = None,
1710
1028
  auto_renew: Optional[pulumi.Input[str]] = None,
1711
1029
  auto_renew_period: Optional[pulumi.Input[str]] = None,
1712
- backup_id: Optional[pulumi.Input[str]] = None,
1713
1030
  cluster_backup_id: Optional[pulumi.Input[str]] = None,
1714
1031
  effective_time: Optional[pulumi.Input[str]] = None,
1715
1032
  engine_version: Optional[pulumi.Input[str]] = None,
1716
1033
  force_upgrade: Optional[pulumi.Input[bool]] = None,
1717
- global_instance_id: Optional[pulumi.Input[str]] = None,
1718
1034
  instance_class: Optional[pulumi.Input[str]] = None,
1719
1035
  instance_type: Optional[pulumi.Input[str]] = None,
1720
- intranet_bandwidth: Optional[pulumi.Input[int]] = None,
1721
- modify_mode: Optional[pulumi.Input[str]] = None,
1722
1036
  node_type: Optional[pulumi.Input[str]] = None,
1723
- param_no_loose_sentinel_enabled: Optional[pulumi.Input[str]] = None,
1724
- param_repl_mode: Optional[pulumi.Input[str]] = None,
1725
- param_semisync_repl_timeout: Optional[pulumi.Input[str]] = None,
1726
- param_sentinel_compat_enable: Optional[pulumi.Input[str]] = None,
1727
1037
  password: Optional[pulumi.Input[str]] = None,
1728
1038
  payment_type: Optional[pulumi.Input[str]] = None,
1729
1039
  period: Optional[pulumi.Input[int]] = None,
1730
1040
  port: Optional[pulumi.Input[int]] = None,
1731
1041
  read_only_count: Optional[pulumi.Input[int]] = None,
1732
- recover_config_mode: Optional[pulumi.Input[str]] = None,
1733
1042
  resource_group_id: Optional[pulumi.Input[str]] = None,
1734
1043
  secondary_zone_id: Optional[pulumi.Input[str]] = None,
1735
1044
  security_group_id: Optional[pulumi.Input[str]] = None,
1736
- security_ip_group_name: Optional[pulumi.Input[str]] = None,
1737
- security_ips: Optional[pulumi.Input[str]] = None,
1738
1045
  shard_count: Optional[pulumi.Input[int]] = None,
1739
1046
  slave_read_only_count: Optional[pulumi.Input[int]] = None,
1740
- src_db_instance_id: Optional[pulumi.Input[str]] = None,
1741
1047
  ssl_enabled: Optional[pulumi.Input[str]] = None,
1742
1048
  storage_performance_level: Optional[pulumi.Input[str]] = None,
1743
1049
  storage_size_gb: Optional[pulumi.Input[int]] = None,
1744
1050
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1745
1051
  tair_instance_name: Optional[pulumi.Input[str]] = None,
1746
- vpc_auth_mode: Optional[pulumi.Input[str]] = None,
1747
1052
  vpc_id: Optional[pulumi.Input[str]] = None,
1748
1053
  vswitch_id: Optional[pulumi.Input[str]] = None,
1749
1054
  zone_id: Optional[pulumi.Input[str]] = None,
@@ -1758,45 +1063,32 @@ class TairInstance(pulumi.CustomResource):
1758
1063
 
1759
1064
  __props__.__dict__["auto_renew"] = auto_renew
1760
1065
  __props__.__dict__["auto_renew_period"] = auto_renew_period
1761
- __props__.__dict__["backup_id"] = backup_id
1762
1066
  __props__.__dict__["cluster_backup_id"] = cluster_backup_id
1763
1067
  __props__.__dict__["effective_time"] = effective_time
1764
1068
  __props__.__dict__["engine_version"] = engine_version
1765
1069
  __props__.__dict__["force_upgrade"] = force_upgrade
1766
- __props__.__dict__["global_instance_id"] = global_instance_id
1767
1070
  if instance_class is None and not opts.urn:
1768
1071
  raise TypeError("Missing required property 'instance_class'")
1769
1072
  __props__.__dict__["instance_class"] = instance_class
1770
1073
  if instance_type is None and not opts.urn:
1771
1074
  raise TypeError("Missing required property 'instance_type'")
1772
1075
  __props__.__dict__["instance_type"] = instance_type
1773
- __props__.__dict__["intranet_bandwidth"] = intranet_bandwidth
1774
- __props__.__dict__["modify_mode"] = modify_mode
1775
1076
  __props__.__dict__["node_type"] = node_type
1776
- __props__.__dict__["param_no_loose_sentinel_enabled"] = param_no_loose_sentinel_enabled
1777
- __props__.__dict__["param_repl_mode"] = param_repl_mode
1778
- __props__.__dict__["param_semisync_repl_timeout"] = param_semisync_repl_timeout
1779
- __props__.__dict__["param_sentinel_compat_enable"] = param_sentinel_compat_enable
1780
1077
  __props__.__dict__["password"] = None if password is None else pulumi.Output.secret(password)
1781
1078
  __props__.__dict__["payment_type"] = payment_type
1782
1079
  __props__.__dict__["period"] = period
1783
1080
  __props__.__dict__["port"] = port
1784
1081
  __props__.__dict__["read_only_count"] = read_only_count
1785
- __props__.__dict__["recover_config_mode"] = recover_config_mode
1786
1082
  __props__.__dict__["resource_group_id"] = resource_group_id
1787
1083
  __props__.__dict__["secondary_zone_id"] = secondary_zone_id
1788
1084
  __props__.__dict__["security_group_id"] = security_group_id
1789
- __props__.__dict__["security_ip_group_name"] = security_ip_group_name
1790
- __props__.__dict__["security_ips"] = security_ips
1791
1085
  __props__.__dict__["shard_count"] = shard_count
1792
1086
  __props__.__dict__["slave_read_only_count"] = slave_read_only_count
1793
- __props__.__dict__["src_db_instance_id"] = src_db_instance_id
1794
1087
  __props__.__dict__["ssl_enabled"] = ssl_enabled
1795
1088
  __props__.__dict__["storage_performance_level"] = storage_performance_level
1796
1089
  __props__.__dict__["storage_size_gb"] = storage_size_gb
1797
1090
  __props__.__dict__["tags"] = tags
1798
1091
  __props__.__dict__["tair_instance_name"] = tair_instance_name
1799
- __props__.__dict__["vpc_auth_mode"] = vpc_auth_mode
1800
1092
  if vpc_id is None and not opts.urn:
1801
1093
  raise TypeError("Missing required property 'vpc_id'")
1802
1094
  __props__.__dict__["vpc_id"] = vpc_id
@@ -1806,13 +1098,8 @@ class TairInstance(pulumi.CustomResource):
1806
1098
  if zone_id is None and not opts.urn:
1807
1099
  raise TypeError("Missing required property 'zone_id'")
1808
1100
  __props__.__dict__["zone_id"] = zone_id
1809
- __props__.__dict__["architecture_type"] = None
1810
- __props__.__dict__["connection_domain"] = None
1811
1101
  __props__.__dict__["create_time"] = None
1812
- __props__.__dict__["max_connections"] = None
1813
- __props__.__dict__["network_type"] = None
1814
1102
  __props__.__dict__["status"] = None
1815
- __props__.__dict__["tair_instance_id"] = None
1816
1103
  secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["password"])
1817
1104
  opts = pulumi.ResourceOptions.merge(opts, secret_opts)
1818
1105
  super(TairInstance, __self__).__init__(
@@ -1825,50 +1112,32 @@ class TairInstance(pulumi.CustomResource):
1825
1112
  def get(resource_name: str,
1826
1113
  id: pulumi.Input[str],
1827
1114
  opts: Optional[pulumi.ResourceOptions] = None,
1828
- architecture_type: Optional[pulumi.Input[str]] = None,
1829
1115
  auto_renew: Optional[pulumi.Input[str]] = None,
1830
1116
  auto_renew_period: Optional[pulumi.Input[str]] = None,
1831
- backup_id: Optional[pulumi.Input[str]] = None,
1832
1117
  cluster_backup_id: Optional[pulumi.Input[str]] = None,
1833
- connection_domain: Optional[pulumi.Input[str]] = None,
1834
1118
  create_time: Optional[pulumi.Input[str]] = None,
1835
1119
  effective_time: Optional[pulumi.Input[str]] = None,
1836
1120
  engine_version: Optional[pulumi.Input[str]] = None,
1837
1121
  force_upgrade: Optional[pulumi.Input[bool]] = None,
1838
- global_instance_id: Optional[pulumi.Input[str]] = None,
1839
1122
  instance_class: Optional[pulumi.Input[str]] = None,
1840
1123
  instance_type: Optional[pulumi.Input[str]] = None,
1841
- intranet_bandwidth: Optional[pulumi.Input[int]] = None,
1842
- max_connections: Optional[pulumi.Input[int]] = None,
1843
- modify_mode: Optional[pulumi.Input[str]] = None,
1844
- network_type: Optional[pulumi.Input[str]] = None,
1845
1124
  node_type: Optional[pulumi.Input[str]] = None,
1846
- param_no_loose_sentinel_enabled: Optional[pulumi.Input[str]] = None,
1847
- param_repl_mode: Optional[pulumi.Input[str]] = None,
1848
- param_semisync_repl_timeout: Optional[pulumi.Input[str]] = None,
1849
- param_sentinel_compat_enable: Optional[pulumi.Input[str]] = None,
1850
1125
  password: Optional[pulumi.Input[str]] = None,
1851
1126
  payment_type: Optional[pulumi.Input[str]] = None,
1852
1127
  period: Optional[pulumi.Input[int]] = None,
1853
1128
  port: Optional[pulumi.Input[int]] = None,
1854
1129
  read_only_count: Optional[pulumi.Input[int]] = None,
1855
- recover_config_mode: Optional[pulumi.Input[str]] = None,
1856
1130
  resource_group_id: Optional[pulumi.Input[str]] = None,
1857
1131
  secondary_zone_id: Optional[pulumi.Input[str]] = None,
1858
1132
  security_group_id: Optional[pulumi.Input[str]] = None,
1859
- security_ip_group_name: Optional[pulumi.Input[str]] = None,
1860
- security_ips: Optional[pulumi.Input[str]] = None,
1861
1133
  shard_count: Optional[pulumi.Input[int]] = None,
1862
1134
  slave_read_only_count: Optional[pulumi.Input[int]] = None,
1863
- src_db_instance_id: Optional[pulumi.Input[str]] = None,
1864
1135
  ssl_enabled: Optional[pulumi.Input[str]] = None,
1865
1136
  status: Optional[pulumi.Input[str]] = None,
1866
1137
  storage_performance_level: Optional[pulumi.Input[str]] = None,
1867
1138
  storage_size_gb: Optional[pulumi.Input[int]] = None,
1868
1139
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1869
- tair_instance_id: Optional[pulumi.Input[str]] = None,
1870
1140
  tair_instance_name: Optional[pulumi.Input[str]] = None,
1871
- vpc_auth_mode: Optional[pulumi.Input[str]] = None,
1872
1141
  vpc_id: Optional[pulumi.Input[str]] = None,
1873
1142
  vswitch_id: Optional[pulumi.Input[str]] = None,
1874
1143
  zone_id: Optional[pulumi.Input[str]] = None) -> 'TairInstance':
@@ -1879,82 +1148,32 @@ class TairInstance(pulumi.CustomResource):
1879
1148
  :param str resource_name: The unique name of the resulting resource.
1880
1149
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
1881
1150
  :param pulumi.ResourceOptions opts: Options for the resource.
1882
- :param pulumi.Input[str] architecture_type: The architecture of the instance. cluster, standard, rwsplit.
1883
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).
1884
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.
1885
- :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 (,).
1886
-
1887
- 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.
1888
- :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 (,).
1889
- :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.
1890
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.
1891
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).
1892
- :param pulumi.Input[str] engine_version: Database version. Default value: 1.0.
1893
-
1894
- Rules for transferring parameters of different tair product types:
1895
-
1896
- tair_rdb: Compatible with the Redis5.0 and Redis6.0 protocols, and is transmitted to 5.0 or 6.0.
1897
-
1898
- tair_scm: The Tair persistent memory is compatible with the Redis6.0 protocol and is passed 1.0.
1899
-
1900
- 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.
1901
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).
1902
- :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.
1903
-
1904
- 1. Enter true if you want the new instance to be the first child instance.
1905
-
1906
- 2. If you want the new instance to be used as the second and third sub-instances, enter the distributed instance ID.
1907
-
1908
- 3. Not as a distributed instance, you do not need to enter any values.
1909
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).
1910
1159
  :param pulumi.Input[str] instance_type: The storage medium of the instance. Valid values: tair_rdb, tair_scm, tair_essd.
1911
- :param pulumi.Input[int] intranet_bandwidth: Instance intranet bandwidth
1912
- :param pulumi.Input[int] max_connections: The maximum number of connections supported by the instance.
1913
- :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.
1914
- :param pulumi.Input[str] network_type: The network type of the instance. CLASSIC(classic network), VPC.
1915
- :param pulumi.Input[str] node_type: Node type, value:
1916
- - `MASTER_SLAVE`: high availability (dual copy)
1917
- - `STAND_ALONE`: single copy
1918
- :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, valid values: yes or no. The default value is no.
1919
- :param pulumi.Input[str] param_repl_mode: The value is semisync or async. The default value is async.
1920
-
1921
- 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 。
1922
- :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。
1923
- :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.
1924
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 ! @ # $ % ^ & * ( ) _ + - =
1925
- :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.
1926
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.
1927
1164
  :param pulumi.Input[int] port: The Tair service port. The service port of the instance. Valid values: 1024 to 65535. Default value: 6379.
1928
- :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:
1929
-
1930
- 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.
1931
-
1932
- 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.
1933
- :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.
1934
1166
  :param pulumi.Input[str] resource_group_id: The ID of the resource group to which the instance belongs.
1935
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.
1936
- :param pulumi.Input[str] security_group_id: Security group id
1937
- :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.
1938
- :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
1939
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.
1940
- :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.
1941
-
1942
- Note: To create a multi-zone read/write splitting instance, slaveadonlycount and SecondaryZoneId must be specified at the same time.
1943
- :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.
1944
- :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
1945
1172
  :param pulumi.Input[str] status: The status of the resource
1946
- :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.
1947
-
1948
- If the ESSD instance type is 4C, 8C, or 16C, you can specify the storage type as PL1.
1949
-
1950
- If the type of ESSD instance you select is 8C, 16C, 32C, or 52C, you can specify the storage type as PL2.
1951
-
1952
- If the ESSD instance type is 16C, 32C, or 52C, you can specify the storage type as PL3.
1953
- :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.
1954
1175
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource
1955
- :param pulumi.Input[str] tair_instance_id: The ID of the resource.
1956
1176
  :param pulumi.Input[str] tair_instance_name: The name of the resource.
1957
- :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)).
1958
1177
  :param pulumi.Input[str] vpc_id: The ID of the virtual private cloud (VPC).
1959
1178
  :param pulumi.Input[str] vswitch_id: The ID of the vSwitch to which the instance is connected.
1960
1179
  :param pulumi.Input[str] zone_id: Zone ID
@@ -1963,63 +1182,37 @@ class TairInstance(pulumi.CustomResource):
1963
1182
 
1964
1183
  __props__ = _TairInstanceState.__new__(_TairInstanceState)
1965
1184
 
1966
- __props__.__dict__["architecture_type"] = architecture_type
1967
1185
  __props__.__dict__["auto_renew"] = auto_renew
1968
1186
  __props__.__dict__["auto_renew_period"] = auto_renew_period
1969
- __props__.__dict__["backup_id"] = backup_id
1970
1187
  __props__.__dict__["cluster_backup_id"] = cluster_backup_id
1971
- __props__.__dict__["connection_domain"] = connection_domain
1972
1188
  __props__.__dict__["create_time"] = create_time
1973
1189
  __props__.__dict__["effective_time"] = effective_time
1974
1190
  __props__.__dict__["engine_version"] = engine_version
1975
1191
  __props__.__dict__["force_upgrade"] = force_upgrade
1976
- __props__.__dict__["global_instance_id"] = global_instance_id
1977
1192
  __props__.__dict__["instance_class"] = instance_class
1978
1193
  __props__.__dict__["instance_type"] = instance_type
1979
- __props__.__dict__["intranet_bandwidth"] = intranet_bandwidth
1980
- __props__.__dict__["max_connections"] = max_connections
1981
- __props__.__dict__["modify_mode"] = modify_mode
1982
- __props__.__dict__["network_type"] = network_type
1983
1194
  __props__.__dict__["node_type"] = node_type
1984
- __props__.__dict__["param_no_loose_sentinel_enabled"] = param_no_loose_sentinel_enabled
1985
- __props__.__dict__["param_repl_mode"] = param_repl_mode
1986
- __props__.__dict__["param_semisync_repl_timeout"] = param_semisync_repl_timeout
1987
- __props__.__dict__["param_sentinel_compat_enable"] = param_sentinel_compat_enable
1988
1195
  __props__.__dict__["password"] = password
1989
1196
  __props__.__dict__["payment_type"] = payment_type
1990
1197
  __props__.__dict__["period"] = period
1991
1198
  __props__.__dict__["port"] = port
1992
1199
  __props__.__dict__["read_only_count"] = read_only_count
1993
- __props__.__dict__["recover_config_mode"] = recover_config_mode
1994
1200
  __props__.__dict__["resource_group_id"] = resource_group_id
1995
1201
  __props__.__dict__["secondary_zone_id"] = secondary_zone_id
1996
1202
  __props__.__dict__["security_group_id"] = security_group_id
1997
- __props__.__dict__["security_ip_group_name"] = security_ip_group_name
1998
- __props__.__dict__["security_ips"] = security_ips
1999
1203
  __props__.__dict__["shard_count"] = shard_count
2000
1204
  __props__.__dict__["slave_read_only_count"] = slave_read_only_count
2001
- __props__.__dict__["src_db_instance_id"] = src_db_instance_id
2002
1205
  __props__.__dict__["ssl_enabled"] = ssl_enabled
2003
1206
  __props__.__dict__["status"] = status
2004
1207
  __props__.__dict__["storage_performance_level"] = storage_performance_level
2005
1208
  __props__.__dict__["storage_size_gb"] = storage_size_gb
2006
1209
  __props__.__dict__["tags"] = tags
2007
- __props__.__dict__["tair_instance_id"] = tair_instance_id
2008
1210
  __props__.__dict__["tair_instance_name"] = tair_instance_name
2009
- __props__.__dict__["vpc_auth_mode"] = vpc_auth_mode
2010
1211
  __props__.__dict__["vpc_id"] = vpc_id
2011
1212
  __props__.__dict__["vswitch_id"] = vswitch_id
2012
1213
  __props__.__dict__["zone_id"] = zone_id
2013
1214
  return TairInstance(resource_name, opts=opts, __props__=__props__)
2014
1215
 
2015
- @property
2016
- @pulumi.getter(name="architectureType")
2017
- def architecture_type(self) -> pulumi.Output[str]:
2018
- """
2019
- The architecture of the instance. cluster, standard, rwsplit.
2020
- """
2021
- return pulumi.get(self, "architecture_type")
2022
-
2023
1216
  @property
2024
1217
  @pulumi.getter(name="autoRenew")
2025
1218
  def auto_renew(self) -> pulumi.Output[Optional[str]]:
@@ -2036,32 +1229,14 @@ class TairInstance(pulumi.CustomResource):
2036
1229
  """
2037
1230
  return pulumi.get(self, "auto_renew_period")
2038
1231
 
2039
- @property
2040
- @pulumi.getter(name="backupId")
2041
- def backup_id(self) -> pulumi.Output[Optional[str]]:
2042
- """
2043
- 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 (,).
2044
-
2045
- 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.
2046
- """
2047
- return pulumi.get(self, "backup_id")
2048
-
2049
1232
  @property
2050
1233
  @pulumi.getter(name="clusterBackupId")
2051
1234
  def cluster_backup_id(self) -> pulumi.Output[Optional[str]]:
2052
1235
  """
2053
- 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.
2054
1237
  """
2055
1238
  return pulumi.get(self, "cluster_backup_id")
2056
1239
 
2057
- @property
2058
- @pulumi.getter(name="connectionDomain")
2059
- def connection_domain(self) -> pulumi.Output[str]:
2060
- """
2061
- The internal endpoint of the instance.
2062
- """
2063
- return pulumi.get(self, "connection_domain")
2064
-
2065
1240
  @property
2066
1241
  @pulumi.getter(name="createTime")
2067
1242
  def create_time(self) -> pulumi.Output[str]:
@@ -2082,15 +1257,7 @@ class TairInstance(pulumi.CustomResource):
2082
1257
  @pulumi.getter(name="engineVersion")
2083
1258
  def engine_version(self) -> pulumi.Output[str]:
2084
1259
  """
2085
- Database version. Default value: 1.0.
2086
-
2087
- Rules for transferring parameters of different tair product types:
2088
-
2089
- tair_rdb: Compatible with the Redis5.0 and Redis6.0 protocols, and is transmitted to 5.0 or 6.0.
2090
-
2091
- tair_scm: The Tair persistent memory is compatible with the Redis6.0 protocol and is passed 1.0.
2092
-
2093
- 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.
2094
1261
  """
2095
1262
  return pulumi.get(self, "engine_version")
2096
1263
 
@@ -2102,20 +1269,6 @@ class TairInstance(pulumi.CustomResource):
2102
1269
  """
2103
1270
  return pulumi.get(self, "force_upgrade")
2104
1271
 
2105
- @property
2106
- @pulumi.getter(name="globalInstanceId")
2107
- def global_instance_id(self) -> pulumi.Output[Optional[str]]:
2108
- """
2109
- 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.
2110
-
2111
- 1. Enter true if you want the new instance to be the first child instance.
2112
-
2113
- 2. If you want the new instance to be used as the second and third sub-instances, enter the distributed instance ID.
2114
-
2115
- 3. Not as a distributed instance, you do not need to enter any values.
2116
- """
2117
- return pulumi.get(self, "global_instance_id")
2118
-
2119
1272
  @property
2120
1273
  @pulumi.getter(name="instanceClass")
2121
1274
  def instance_class(self) -> pulumi.Output[str]:
@@ -2132,82 +1285,14 @@ class TairInstance(pulumi.CustomResource):
2132
1285
  """
2133
1286
  return pulumi.get(self, "instance_type")
2134
1287
 
2135
- @property
2136
- @pulumi.getter(name="intranetBandwidth")
2137
- def intranet_bandwidth(self) -> pulumi.Output[int]:
2138
- """
2139
- Instance intranet bandwidth
2140
- """
2141
- return pulumi.get(self, "intranet_bandwidth")
2142
-
2143
- @property
2144
- @pulumi.getter(name="maxConnections")
2145
- def max_connections(self) -> pulumi.Output[int]:
2146
- """
2147
- The maximum number of connections supported by the instance.
2148
- """
2149
- return pulumi.get(self, "max_connections")
2150
-
2151
- @property
2152
- @pulumi.getter(name="modifyMode")
2153
- def modify_mode(self) -> pulumi.Output[Optional[str]]:
2154
- """
2155
- 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.
2156
- """
2157
- return pulumi.get(self, "modify_mode")
2158
-
2159
- @property
2160
- @pulumi.getter(name="networkType")
2161
- def network_type(self) -> pulumi.Output[str]:
2162
- """
2163
- The network type of the instance. CLASSIC(classic network), VPC.
2164
- """
2165
- return pulumi.get(self, "network_type")
2166
-
2167
1288
  @property
2168
1289
  @pulumi.getter(name="nodeType")
2169
1290
  def node_type(self) -> pulumi.Output[str]:
2170
1291
  """
2171
- Node type, value:
2172
- - `MASTER_SLAVE`: high availability (dual copy)
2173
- - `STAND_ALONE`: single copy
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.
2174
1293
  """
2175
1294
  return pulumi.get(self, "node_type")
2176
1295
 
2177
- @property
2178
- @pulumi.getter(name="paramNoLooseSentinelEnabled")
2179
- def param_no_loose_sentinel_enabled(self) -> pulumi.Output[str]:
2180
- """
2181
- sentinel compatibility mode, applicable to non-cluster instances. For more information about parameters, see yes or no in the https://www.alibabacloud.com/help/en/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance, valid values: yes or no. The default value is no.
2182
- """
2183
- return pulumi.get(self, "param_no_loose_sentinel_enabled")
2184
-
2185
- @property
2186
- @pulumi.getter(name="paramReplMode")
2187
- def param_repl_mode(self) -> pulumi.Output[str]:
2188
- """
2189
- The value is semisync or async. The default value is async.
2190
-
2191
- 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 。
2192
- """
2193
- return pulumi.get(self, "param_repl_mode")
2194
-
2195
- @property
2196
- @pulumi.getter(name="paramSemisyncReplTimeout")
2197
- def param_semisync_repl_timeout(self) -> pulumi.Output[str]:
2198
- """
2199
- 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。
2200
- """
2201
- return pulumi.get(self, "param_semisync_repl_timeout")
2202
-
2203
- @property
2204
- @pulumi.getter(name="paramSentinelCompatEnable")
2205
- def param_sentinel_compat_enable(self) -> pulumi.Output[Optional[str]]:
2206
- """
2207
- 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.
2208
- """
2209
- return pulumi.get(self, "param_sentinel_compat_enable")
2210
-
2211
1296
  @property
2212
1297
  @pulumi.getter
2213
1298
  def password(self) -> pulumi.Output[Optional[str]]:
@@ -2220,7 +1305,7 @@ class TairInstance(pulumi.CustomResource):
2220
1305
  @pulumi.getter(name="paymentType")
2221
1306
  def payment_type(self) -> pulumi.Output[str]:
2222
1307
  """
2223
- 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.
2224
1309
  """
2225
1310
  return pulumi.get(self, "payment_type")
2226
1311
 
@@ -2244,22 +1329,10 @@ class TairInstance(pulumi.CustomResource):
2244
1329
  @pulumi.getter(name="readOnlyCount")
2245
1330
  def read_only_count(self) -> pulumi.Output[Optional[int]]:
2246
1331
  """
2247
- Number of read-only nodes in the primary zone. Valid values: 0 to 5. This parameter is only applicable to the following conditions:
2248
-
2249
- 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.
2250
-
2251
- 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.
2252
1333
  """
2253
1334
  return pulumi.get(self, "read_only_count")
2254
1335
 
2255
- @property
2256
- @pulumi.getter(name="recoverConfigMode")
2257
- def recover_config_mode(self) -> pulumi.Output[Optional[str]]:
2258
- """
2259
- 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.
2260
- """
2261
- return pulumi.get(self, "recover_config_mode")
2262
-
2263
1336
  @property
2264
1337
  @pulumi.getter(name="resourceGroupId")
2265
1338
  def resource_group_id(self) -> pulumi.Output[str]:
@@ -2280,26 +1353,10 @@ class TairInstance(pulumi.CustomResource):
2280
1353
  @pulumi.getter(name="securityGroupId")
2281
1354
  def security_group_id(self) -> pulumi.Output[Optional[str]]:
2282
1355
  """
2283
- Security group id
1356
+ Security group ID
2284
1357
  """
2285
1358
  return pulumi.get(self, "security_group_id")
2286
1359
 
2287
- @property
2288
- @pulumi.getter(name="securityIpGroupName")
2289
- def security_ip_group_name(self) -> pulumi.Output[str]:
2290
- """
2291
- 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.
2292
- """
2293
- return pulumi.get(self, "security_ip_group_name")
2294
-
2295
- @property
2296
- @pulumi.getter(name="securityIps")
2297
- def security_ips(self) -> pulumi.Output[str]:
2298
- """
2299
- 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.
2300
- """
2301
- return pulumi.get(self, "security_ips")
2302
-
2303
1360
  @property
2304
1361
  @pulumi.getter(name="shardCount")
2305
1362
  def shard_count(self) -> pulumi.Output[int]:
@@ -2312,25 +1369,15 @@ class TairInstance(pulumi.CustomResource):
2312
1369
  @pulumi.getter(name="slaveReadOnlyCount")
2313
1370
  def slave_read_only_count(self) -> pulumi.Output[Optional[int]]:
2314
1371
  """
2315
- Specifies the number of read-only nodes in the secondary zone when creating a multi-zone read/write splitting instance.
2316
-
2317
- 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.
2318
1373
  """
2319
1374
  return pulumi.get(self, "slave_read_only_count")
2320
1375
 
2321
- @property
2322
- @pulumi.getter(name="srcDbInstanceId")
2323
- def src_db_instance_id(self) -> pulumi.Output[Optional[str]]:
2324
- """
2325
- 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.
2326
- """
2327
- return pulumi.get(self, "src_db_instance_id")
2328
-
2329
1376
  @property
2330
1377
  @pulumi.getter(name="sslEnabled")
2331
1378
  def ssl_enabled(self) -> pulumi.Output[str]:
2332
1379
  """
2333
- 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
2334
1381
  """
2335
1382
  return pulumi.get(self, "ssl_enabled")
2336
1383
 
@@ -2346,13 +1393,7 @@ class TairInstance(pulumi.CustomResource):
2346
1393
  @pulumi.getter(name="storagePerformanceLevel")
2347
1394
  def storage_performance_level(self) -> pulumi.Output[Optional[str]]:
2348
1395
  """
2349
- 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.
2350
-
2351
- If the ESSD instance type is 4C, 8C, or 16C, you can specify the storage type as PL1.
2352
-
2353
- If the type of ESSD instance you select is 8C, 16C, 32C, or 52C, you can specify the storage type as PL2.
2354
-
2355
- 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.
2356
1397
  """
2357
1398
  return pulumi.get(self, "storage_performance_level")
2358
1399
 
@@ -2360,7 +1401,7 @@ class TairInstance(pulumi.CustomResource):
2360
1401
  @pulumi.getter(name="storageSizeGb")
2361
1402
  def storage_size_gb(self) -> pulumi.Output[int]:
2362
1403
  """
2363
- 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.
2364
1405
  """
2365
1406
  return pulumi.get(self, "storage_size_gb")
2366
1407
 
@@ -2372,14 +1413,6 @@ class TairInstance(pulumi.CustomResource):
2372
1413
  """
2373
1414
  return pulumi.get(self, "tags")
2374
1415
 
2375
- @property
2376
- @pulumi.getter(name="tairInstanceId")
2377
- def tair_instance_id(self) -> pulumi.Output[str]:
2378
- """
2379
- The ID of the resource.
2380
- """
2381
- return pulumi.get(self, "tair_instance_id")
2382
-
2383
1416
  @property
2384
1417
  @pulumi.getter(name="tairInstanceName")
2385
1418
  def tair_instance_name(self) -> pulumi.Output[Optional[str]]:
@@ -2388,14 +1421,6 @@ class TairInstance(pulumi.CustomResource):
2388
1421
  """
2389
1422
  return pulumi.get(self, "tair_instance_name")
2390
1423
 
2391
- @property
2392
- @pulumi.getter(name="vpcAuthMode")
2393
- def vpc_auth_mode(self) -> pulumi.Output[str]:
2394
- """
2395
- 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)).
2396
- """
2397
- return pulumi.get(self, "vpc_auth_mode")
2398
-
2399
1424
  @property
2400
1425
  @pulumi.getter(name="vpcId")
2401
1426
  def vpc_id(self) -> pulumi.Output[str]: