pulumi-alicloud 3.66.0a1731501166__py3-none-any.whl → 3.66.0a1731672315__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 +94 -0
  2. pulumi_alicloud/alb/load_balancer.py +1 -1
  3. pulumi_alicloud/alikafka/instance.py +112 -0
  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 +58 -0
  7. pulumi_alicloud/arms/remote_write.py +2 -2
  8. pulumi_alicloud/cen/transit_router_vbr_attachment.py +96 -74
  9. pulumi_alicloud/cloudsso/_inputs.py +9 -9
  10. pulumi_alicloud/cloudsso/access_configuration.py +100 -34
  11. pulumi_alicloud/cloudsso/outputs.py +6 -6
  12. pulumi_alicloud/cms/hybrid_monitor_fc_task.py +28 -26
  13. pulumi_alicloud/cr/chain.py +22 -14
  14. pulumi_alicloud/cr/chart_repository.py +14 -6
  15. pulumi_alicloud/cr/repo.py +8 -8
  16. pulumi_alicloud/cr/vpc_endpoint_linked_vpc.py +14 -6
  17. pulumi_alicloud/databasefilesystem/instance_attachment.py +59 -63
  18. pulumi_alicloud/databasefilesystem/snapshot.py +53 -109
  19. pulumi_alicloud/ecs/instance.py +7 -7
  20. pulumi_alicloud/esa/__init__.py +9 -0
  21. pulumi_alicloud/esa/rate_plan_instance.py +626 -0
  22. pulumi_alicloud/esa/site.py +533 -0
  23. pulumi_alicloud/ess/scaling_configuration.py +7 -7
  24. pulumi_alicloud/fc/_inputs.py +243 -135
  25. pulumi_alicloud/fc/outputs.py +173 -90
  26. pulumi_alicloud/fc/trigger.py +202 -138
  27. pulumi_alicloud/fc/v3_alias.py +28 -0
  28. pulumi_alicloud/fc/v3_async_invoke_config.py +56 -0
  29. pulumi_alicloud/fc/v3_concurrency_config.py +28 -0
  30. pulumi_alicloud/fc/v3_custom_domain.py +118 -6
  31. pulumi_alicloud/fc/v3_function.py +308 -0
  32. pulumi_alicloud/fc/v3_function_version.py +30 -2
  33. pulumi_alicloud/fc/v3_layer_version.py +104 -1
  34. pulumi_alicloud/fc/v3_provision_config.py +86 -2
  35. pulumi_alicloud/fc/v3_trigger.py +114 -0
  36. pulumi_alicloud/ga/custom_routing_endpoint_traffic_policy.py +48 -44
  37. pulumi_alicloud/governance/_inputs.py +54 -0
  38. pulumi_alicloud/governance/account.py +49 -14
  39. pulumi_alicloud/governance/outputs.py +51 -0
  40. pulumi_alicloud/gpdb/instance.py +196 -15
  41. pulumi_alicloud/gwlb/__init__.py +12 -0
  42. pulumi_alicloud/gwlb/_inputs.py +673 -0
  43. pulumi_alicloud/gwlb/listener.py +434 -0
  44. pulumi_alicloud/gwlb/load_balancer.py +537 -0
  45. pulumi_alicloud/gwlb/outputs.py +533 -0
  46. pulumi_alicloud/gwlb/server_group.py +780 -0
  47. pulumi_alicloud/kms/instance.py +28 -0
  48. pulumi_alicloud/nas/data_flow.py +6 -6
  49. pulumi_alicloud/nas/fileset.py +6 -6
  50. pulumi_alicloud/nas/lifecycle_policy.py +6 -6
  51. pulumi_alicloud/nas/recycle_bin.py +6 -6
  52. pulumi_alicloud/nas/snapshot.py +6 -6
  53. pulumi_alicloud/oss/__init__.py +2 -0
  54. pulumi_alicloud/oss/_inputs.py +194 -0
  55. pulumi_alicloud/oss/bucket_cname.py +509 -0
  56. pulumi_alicloud/oss/bucket_cname_token.py +239 -0
  57. pulumi_alicloud/oss/outputs.py +141 -0
  58. pulumi_alicloud/pulumi-plugin.json +1 -1
  59. pulumi_alicloud/quotas/_inputs.py +6 -6
  60. pulumi_alicloud/quotas/outputs.py +4 -4
  61. pulumi_alicloud/quotas/quota_application.py +21 -28
  62. pulumi_alicloud/redis/tair_instance.py +1046 -71
  63. pulumi_alicloud/threatdetection/honeypot_preset.py +2 -0
  64. pulumi_alicloud/vpc/__init__.py +4 -0
  65. pulumi_alicloud/vpc/ipam_ipam.py +531 -0
  66. pulumi_alicloud/vpc/ipam_ipam_pool.py +850 -0
  67. pulumi_alicloud/vpc/ipam_ipam_pool_cidr.py +313 -0
  68. pulumi_alicloud/vpc/ipam_ipam_scope.py +537 -0
  69. pulumi_alicloud/vpn/gateway_vco_route.py +28 -8
  70. {pulumi_alicloud-3.66.0a1731501166.dist-info → pulumi_alicloud-3.66.0a1731672315.dist-info}/METADATA +1 -1
  71. {pulumi_alicloud-3.66.0a1731501166.dist-info → pulumi_alicloud-3.66.0a1731672315.dist-info}/RECORD +73 -58
  72. {pulumi_alicloud-3.66.0a1731501166.dist-info → pulumi_alicloud-3.66.0a1731672315.dist-info}/WHEEL +0 -0
  73. {pulumi_alicloud-3.66.0a1731501166.dist-info → pulumi_alicloud-3.66.0a1731672315.dist-info}/top_level.txt +0 -0
@@ -26,26 +26,39 @@ 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,
29
30
  cluster_backup_id: Optional[pulumi.Input[str]] = None,
30
31
  effective_time: Optional[pulumi.Input[str]] = None,
31
32
  engine_version: Optional[pulumi.Input[str]] = None,
32
33
  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,
33
37
  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,
34
42
  password: Optional[pulumi.Input[str]] = None,
35
43
  payment_type: Optional[pulumi.Input[str]] = None,
36
44
  period: Optional[pulumi.Input[int]] = None,
37
45
  port: Optional[pulumi.Input[int]] = None,
38
46
  read_only_count: Optional[pulumi.Input[int]] = None,
47
+ recover_config_mode: Optional[pulumi.Input[str]] = None,
39
48
  resource_group_id: Optional[pulumi.Input[str]] = None,
40
49
  secondary_zone_id: Optional[pulumi.Input[str]] = None,
41
50
  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,
42
53
  shard_count: Optional[pulumi.Input[int]] = None,
43
54
  slave_read_only_count: Optional[pulumi.Input[int]] = None,
55
+ src_db_instance_id: Optional[pulumi.Input[str]] = None,
44
56
  ssl_enabled: Optional[pulumi.Input[str]] = None,
45
57
  storage_performance_level: Optional[pulumi.Input[str]] = None,
46
58
  storage_size_gb: Optional[pulumi.Input[int]] = None,
47
59
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
48
- tair_instance_name: Optional[pulumi.Input[str]] = None):
60
+ tair_instance_name: Optional[pulumi.Input[str]] = None,
61
+ vpc_auth_mode: Optional[pulumi.Input[str]] = None):
49
62
  """
50
63
  The set of arguments for constructing a TairInstance resource.
51
64
  :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).
@@ -55,26 +68,71 @@ class TairInstanceArgs:
55
68
  :param pulumi.Input[str] zone_id: Zone ID
56
69
  :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).
57
70
  :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.
58
- :param pulumi.Input[str] cluster_backup_id: The ID of the backup set of the cluster.
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 (,).
59
75
  :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).
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.
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.
61
85
  :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).
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.
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.
63
104
  :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 ! @ # $ % ^ & * ( ) _ + - =
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.
105
+ :param pulumi.Input[str] payment_type: Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default Subscription.
65
106
  :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.
66
107
  :param pulumi.Input[int] port: The Tair service port. The service port of the instance. Valid values: 1024 to 65535. Default value: 6379.
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.
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.
68
114
  :param pulumi.Input[str] resource_group_id: The ID of the resource group to which the instance belongs.
69
115
  :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.
70
- :param pulumi.Input[str] security_group_id: Security group ID
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.
71
119
  :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.
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.
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.
76
133
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource
77
134
  :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)).
78
136
  """
79
137
  pulumi.set(__self__, "instance_class", instance_class)
80
138
  pulumi.set(__self__, "instance_type", instance_type)
@@ -85,6 +143,8 @@ class TairInstanceArgs:
85
143
  pulumi.set(__self__, "auto_renew", auto_renew)
86
144
  if auto_renew_period is not None:
87
145
  pulumi.set(__self__, "auto_renew_period", auto_renew_period)
146
+ if backup_id is not None:
147
+ pulumi.set(__self__, "backup_id", backup_id)
88
148
  if cluster_backup_id is not None:
89
149
  pulumi.set(__self__, "cluster_backup_id", cluster_backup_id)
90
150
  if effective_time is not None:
@@ -93,8 +153,22 @@ class TairInstanceArgs:
93
153
  pulumi.set(__self__, "engine_version", engine_version)
94
154
  if force_upgrade is not None:
95
155
  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)
96
162
  if node_type is not None:
97
163
  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)
98
172
  if password is not None:
99
173
  pulumi.set(__self__, "password", password)
100
174
  if payment_type is not None:
@@ -105,16 +179,24 @@ class TairInstanceArgs:
105
179
  pulumi.set(__self__, "port", port)
106
180
  if read_only_count is not None:
107
181
  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)
108
184
  if resource_group_id is not None:
109
185
  pulumi.set(__self__, "resource_group_id", resource_group_id)
110
186
  if secondary_zone_id is not None:
111
187
  pulumi.set(__self__, "secondary_zone_id", secondary_zone_id)
112
188
  if security_group_id is not None:
113
189
  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)
114
194
  if shard_count is not None:
115
195
  pulumi.set(__self__, "shard_count", shard_count)
116
196
  if slave_read_only_count is not None:
117
197
  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)
118
200
  if ssl_enabled is not None:
119
201
  pulumi.set(__self__, "ssl_enabled", ssl_enabled)
120
202
  if storage_performance_level is not None:
@@ -125,6 +207,8 @@ class TairInstanceArgs:
125
207
  pulumi.set(__self__, "tags", tags)
126
208
  if tair_instance_name is not None:
127
209
  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)
128
212
 
129
213
  @property
130
214
  @pulumi.getter(name="instanceClass")
@@ -210,11 +294,25 @@ class TairInstanceArgs:
210
294
  def auto_renew_period(self, value: Optional[pulumi.Input[str]]):
211
295
  pulumi.set(self, "auto_renew_period", value)
212
296
 
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
+
213
311
  @property
214
312
  @pulumi.getter(name="clusterBackupId")
215
313
  def cluster_backup_id(self) -> Optional[pulumi.Input[str]]:
216
314
  """
217
- The ID of the backup set of the cluster.
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 (,).
218
316
  """
219
317
  return pulumi.get(self, "cluster_backup_id")
220
318
 
@@ -238,7 +336,15 @@ class TairInstanceArgs:
238
336
  @pulumi.getter(name="engineVersion")
239
337
  def engine_version(self) -> Optional[pulumi.Input[str]]:
240
338
  """
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.
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.
242
348
  """
243
349
  return pulumi.get(self, "engine_version")
244
350
 
@@ -258,11 +364,55 @@ class TairInstanceArgs:
258
364
  def force_upgrade(self, value: Optional[pulumi.Input[bool]]):
259
365
  pulumi.set(self, "force_upgrade", value)
260
366
 
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
+
261
409
  @property
262
410
  @pulumi.getter(name="nodeType")
263
411
  def node_type(self) -> Optional[pulumi.Input[str]]:
264
412
  """
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.
413
+ Node type, value:
414
+ - `MASTER_SLAVE`: high availability (dual copy)
415
+ - `STAND_ALONE`: single copy
266
416
  """
267
417
  return pulumi.get(self, "node_type")
268
418
 
@@ -270,6 +420,56 @@ class TairInstanceArgs:
270
420
  def node_type(self, value: Optional[pulumi.Input[str]]):
271
421
  pulumi.set(self, "node_type", value)
272
422
 
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
+
273
473
  @property
274
474
  @pulumi.getter
275
475
  def password(self) -> Optional[pulumi.Input[str]]:
@@ -286,7 +486,7 @@ class TairInstanceArgs:
286
486
  @pulumi.getter(name="paymentType")
287
487
  def payment_type(self) -> Optional[pulumi.Input[str]]:
288
488
  """
289
- Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default PayAsYouGo. Since version 1.227.0, you can transfer prepaid instance to postpaid.
489
+ Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default Subscription.
290
490
  """
291
491
  return pulumi.get(self, "payment_type")
292
492
 
@@ -322,7 +522,11 @@ class TairInstanceArgs:
322
522
  @pulumi.getter(name="readOnlyCount")
323
523
  def read_only_count(self) -> Optional[pulumi.Input[int]]:
324
524
  """
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.
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.
326
530
  """
327
531
  return pulumi.get(self, "read_only_count")
328
532
 
@@ -330,6 +534,18 @@ class TairInstanceArgs:
330
534
  def read_only_count(self, value: Optional[pulumi.Input[int]]):
331
535
  pulumi.set(self, "read_only_count", value)
332
536
 
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
+
333
549
  @property
334
550
  @pulumi.getter(name="resourceGroupId")
335
551
  def resource_group_id(self) -> Optional[pulumi.Input[str]]:
@@ -358,7 +574,7 @@ class TairInstanceArgs:
358
574
  @pulumi.getter(name="securityGroupId")
359
575
  def security_group_id(self) -> Optional[pulumi.Input[str]]:
360
576
  """
361
- Security group ID
577
+ Security group id
362
578
  """
363
579
  return pulumi.get(self, "security_group_id")
364
580
 
@@ -366,6 +582,30 @@ class TairInstanceArgs:
366
582
  def security_group_id(self, value: Optional[pulumi.Input[str]]):
367
583
  pulumi.set(self, "security_group_id", value)
368
584
 
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
+
369
609
  @property
370
610
  @pulumi.getter(name="shardCount")
371
611
  def shard_count(self) -> Optional[pulumi.Input[int]]:
@@ -382,7 +622,9 @@ class TairInstanceArgs:
382
622
  @pulumi.getter(name="slaveReadOnlyCount")
383
623
  def slave_read_only_count(self) -> Optional[pulumi.Input[int]]:
384
624
  """
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.
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.
386
628
  """
387
629
  return pulumi.get(self, "slave_read_only_count")
388
630
 
@@ -390,11 +632,23 @@ class TairInstanceArgs:
390
632
  def slave_read_only_count(self, value: Optional[pulumi.Input[int]]):
391
633
  pulumi.set(self, "slave_read_only_count", value)
392
634
 
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
+
393
647
  @property
394
648
  @pulumi.getter(name="sslEnabled")
395
649
  def ssl_enabled(self) -> Optional[pulumi.Input[str]]:
396
650
  """
397
- Modify the TLS(SSL) setting. Value: Expand Details Example values: Enable Enumeration value: Disable Enable Update Reference value Source: DescribeInstanceSSL
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)
398
652
  """
399
653
  return pulumi.get(self, "ssl_enabled")
400
654
 
@@ -406,7 +660,13 @@ class TairInstanceArgs:
406
660
  @pulumi.getter(name="storagePerformanceLevel")
407
661
  def storage_performance_level(self) -> Optional[pulumi.Input[str]]:
408
662
  """
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.
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.
410
670
  """
411
671
  return pulumi.get(self, "storage_performance_level")
412
672
 
@@ -418,7 +678,7 @@ class TairInstanceArgs:
418
678
  @pulumi.getter(name="storageSizeGb")
419
679
  def storage_size_gb(self) -> Optional[pulumi.Input[int]]:
420
680
  """
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.
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.
422
682
  """
423
683
  return pulumi.get(self, "storage_size_gb")
424
684
 
@@ -450,77 +710,163 @@ class TairInstanceArgs:
450
710
  def tair_instance_name(self, value: Optional[pulumi.Input[str]]):
451
711
  pulumi.set(self, "tair_instance_name", value)
452
712
 
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
+
453
725
 
454
726
  @pulumi.input_type
455
727
  class _TairInstanceState:
456
728
  def __init__(__self__, *,
729
+ architecture_type: Optional[pulumi.Input[str]] = None,
457
730
  auto_renew: Optional[pulumi.Input[str]] = None,
458
731
  auto_renew_period: Optional[pulumi.Input[str]] = None,
732
+ backup_id: Optional[pulumi.Input[str]] = None,
459
733
  cluster_backup_id: Optional[pulumi.Input[str]] = None,
734
+ connection_domain: Optional[pulumi.Input[str]] = None,
460
735
  create_time: Optional[pulumi.Input[str]] = None,
461
736
  effective_time: Optional[pulumi.Input[str]] = None,
462
737
  engine_version: Optional[pulumi.Input[str]] = None,
463
738
  force_upgrade: Optional[pulumi.Input[bool]] = None,
739
+ global_instance_id: Optional[pulumi.Input[str]] = None,
464
740
  instance_class: Optional[pulumi.Input[str]] = None,
465
741
  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,
466
746
  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,
467
751
  password: Optional[pulumi.Input[str]] = None,
468
752
  payment_type: Optional[pulumi.Input[str]] = None,
469
753
  period: Optional[pulumi.Input[int]] = None,
470
754
  port: Optional[pulumi.Input[int]] = None,
471
755
  read_only_count: Optional[pulumi.Input[int]] = None,
756
+ recover_config_mode: Optional[pulumi.Input[str]] = None,
472
757
  resource_group_id: Optional[pulumi.Input[str]] = None,
473
758
  secondary_zone_id: Optional[pulumi.Input[str]] = None,
474
759
  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,
475
762
  shard_count: Optional[pulumi.Input[int]] = None,
476
763
  slave_read_only_count: Optional[pulumi.Input[int]] = None,
764
+ src_db_instance_id: Optional[pulumi.Input[str]] = None,
477
765
  ssl_enabled: Optional[pulumi.Input[str]] = None,
478
766
  status: Optional[pulumi.Input[str]] = None,
479
767
  storage_performance_level: Optional[pulumi.Input[str]] = None,
480
768
  storage_size_gb: Optional[pulumi.Input[int]] = None,
481
769
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
770
+ tair_instance_id: Optional[pulumi.Input[str]] = None,
482
771
  tair_instance_name: Optional[pulumi.Input[str]] = None,
772
+ vpc_auth_mode: Optional[pulumi.Input[str]] = None,
483
773
  vpc_id: Optional[pulumi.Input[str]] = None,
484
774
  vswitch_id: Optional[pulumi.Input[str]] = None,
485
775
  zone_id: Optional[pulumi.Input[str]] = None):
486
776
  """
487
777
  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.
488
779
  :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).
489
780
  :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.
490
- :param pulumi.Input[str] cluster_backup_id: The ID of the backup set of the cluster.
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.
491
786
  :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.
492
787
  :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).
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.
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.
494
797
  :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.
495
805
  :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).
496
806
  :param pulumi.Input[str] instance_type: The storage medium of the instance. Valid values: tair_rdb, tair_scm, tair_essd.
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.
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.
498
820
  :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 ! @ # $ % ^ & * ( ) _ + - =
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.
821
+ :param pulumi.Input[str] payment_type: Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default Subscription.
500
822
  :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.
501
823
  :param pulumi.Input[int] port: The Tair service port. The service port of the instance. Valid values: 1024 to 65535. Default value: 6379.
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.
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.
503
830
  :param pulumi.Input[str] resource_group_id: The ID of the resource group to which the instance belongs.
504
831
  :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.
505
- :param pulumi.Input[str] security_group_id: Security group ID
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.
506
835
  :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.
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
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)
509
841
  :param pulumi.Input[str] status: The status of the resource
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.
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.
512
850
  :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.
513
852
  :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)).
514
854
  :param pulumi.Input[str] vpc_id: The ID of the virtual private cloud (VPC).
515
855
  :param pulumi.Input[str] vswitch_id: The ID of the vSwitch to which the instance is connected.
516
856
  :param pulumi.Input[str] zone_id: Zone ID
517
857
  """
858
+ if architecture_type is not None:
859
+ pulumi.set(__self__, "architecture_type", architecture_type)
518
860
  if auto_renew is not None:
519
861
  pulumi.set(__self__, "auto_renew", auto_renew)
520
862
  if auto_renew_period is not None:
521
863
  pulumi.set(__self__, "auto_renew_period", auto_renew_period)
864
+ if backup_id is not None:
865
+ pulumi.set(__self__, "backup_id", backup_id)
522
866
  if cluster_backup_id is not None:
523
867
  pulumi.set(__self__, "cluster_backup_id", cluster_backup_id)
868
+ if connection_domain is not None:
869
+ pulumi.set(__self__, "connection_domain", connection_domain)
524
870
  if create_time is not None:
525
871
  pulumi.set(__self__, "create_time", create_time)
526
872
  if effective_time is not None:
@@ -529,12 +875,30 @@ class _TairInstanceState:
529
875
  pulumi.set(__self__, "engine_version", engine_version)
530
876
  if force_upgrade is not None:
531
877
  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)
532
880
  if instance_class is not None:
533
881
  pulumi.set(__self__, "instance_class", instance_class)
534
882
  if instance_type is not None:
535
883
  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)
536
892
  if node_type is not None:
537
893
  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)
538
902
  if password is not None:
539
903
  pulumi.set(__self__, "password", password)
540
904
  if payment_type is not None:
@@ -545,16 +909,24 @@ class _TairInstanceState:
545
909
  pulumi.set(__self__, "port", port)
546
910
  if read_only_count is not None:
547
911
  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)
548
914
  if resource_group_id is not None:
549
915
  pulumi.set(__self__, "resource_group_id", resource_group_id)
550
916
  if secondary_zone_id is not None:
551
917
  pulumi.set(__self__, "secondary_zone_id", secondary_zone_id)
552
918
  if security_group_id is not None:
553
919
  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)
554
924
  if shard_count is not None:
555
925
  pulumi.set(__self__, "shard_count", shard_count)
556
926
  if slave_read_only_count is not None:
557
927
  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)
558
930
  if ssl_enabled is not None:
559
931
  pulumi.set(__self__, "ssl_enabled", ssl_enabled)
560
932
  if status is not None:
@@ -565,8 +937,12 @@ class _TairInstanceState:
565
937
  pulumi.set(__self__, "storage_size_gb", storage_size_gb)
566
938
  if tags is not None:
567
939
  pulumi.set(__self__, "tags", tags)
940
+ if tair_instance_id is not None:
941
+ pulumi.set(__self__, "tair_instance_id", tair_instance_id)
568
942
  if tair_instance_name is not None:
569
943
  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)
570
946
  if vpc_id is not None:
571
947
  pulumi.set(__self__, "vpc_id", vpc_id)
572
948
  if vswitch_id is not None:
@@ -574,6 +950,18 @@ class _TairInstanceState:
574
950
  if zone_id is not None:
575
951
  pulumi.set(__self__, "zone_id", zone_id)
576
952
 
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
+
577
965
  @property
578
966
  @pulumi.getter(name="autoRenew")
579
967
  def auto_renew(self) -> Optional[pulumi.Input[str]]:
@@ -598,11 +986,25 @@ class _TairInstanceState:
598
986
  def auto_renew_period(self, value: Optional[pulumi.Input[str]]):
599
987
  pulumi.set(self, "auto_renew_period", value)
600
988
 
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
+
601
1003
  @property
602
1004
  @pulumi.getter(name="clusterBackupId")
603
1005
  def cluster_backup_id(self) -> Optional[pulumi.Input[str]]:
604
1006
  """
605
- The ID of the backup set of the cluster.
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 (,).
606
1008
  """
607
1009
  return pulumi.get(self, "cluster_backup_id")
608
1010
 
@@ -610,6 +1012,18 @@ class _TairInstanceState:
610
1012
  def cluster_backup_id(self, value: Optional[pulumi.Input[str]]):
611
1013
  pulumi.set(self, "cluster_backup_id", value)
612
1014
 
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
+
613
1027
  @property
614
1028
  @pulumi.getter(name="createTime")
615
1029
  def create_time(self) -> Optional[pulumi.Input[str]]:
@@ -638,7 +1052,15 @@ class _TairInstanceState:
638
1052
  @pulumi.getter(name="engineVersion")
639
1053
  def engine_version(self) -> Optional[pulumi.Input[str]]:
640
1054
  """
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.
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.
642
1064
  """
643
1065
  return pulumi.get(self, "engine_version")
644
1066
 
@@ -658,6 +1080,24 @@ class _TairInstanceState:
658
1080
  def force_upgrade(self, value: Optional[pulumi.Input[bool]]):
659
1081
  pulumi.set(self, "force_upgrade", value)
660
1082
 
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
+
661
1101
  @property
662
1102
  @pulumi.getter(name="instanceClass")
663
1103
  def instance_class(self) -> Optional[pulumi.Input[str]]:
@@ -682,11 +1122,61 @@ class _TairInstanceState:
682
1122
  def instance_type(self, value: Optional[pulumi.Input[str]]):
683
1123
  pulumi.set(self, "instance_type", value)
684
1124
 
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
+
685
1173
  @property
686
1174
  @pulumi.getter(name="nodeType")
687
1175
  def node_type(self) -> Optional[pulumi.Input[str]]:
688
1176
  """
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.
1177
+ Node type, value:
1178
+ - `MASTER_SLAVE`: high availability (dual copy)
1179
+ - `STAND_ALONE`: single copy
690
1180
  """
691
1181
  return pulumi.get(self, "node_type")
692
1182
 
@@ -694,6 +1184,56 @@ class _TairInstanceState:
694
1184
  def node_type(self, value: Optional[pulumi.Input[str]]):
695
1185
  pulumi.set(self, "node_type", value)
696
1186
 
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
+
697
1237
  @property
698
1238
  @pulumi.getter
699
1239
  def password(self) -> Optional[pulumi.Input[str]]:
@@ -710,7 +1250,7 @@ class _TairInstanceState:
710
1250
  @pulumi.getter(name="paymentType")
711
1251
  def payment_type(self) -> Optional[pulumi.Input[str]]:
712
1252
  """
713
- Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default PayAsYouGo. Since version 1.227.0, you can transfer prepaid instance to postpaid.
1253
+ Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default Subscription.
714
1254
  """
715
1255
  return pulumi.get(self, "payment_type")
716
1256
 
@@ -746,7 +1286,11 @@ class _TairInstanceState:
746
1286
  @pulumi.getter(name="readOnlyCount")
747
1287
  def read_only_count(self) -> Optional[pulumi.Input[int]]:
748
1288
  """
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.
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.
750
1294
  """
751
1295
  return pulumi.get(self, "read_only_count")
752
1296
 
@@ -754,6 +1298,18 @@ class _TairInstanceState:
754
1298
  def read_only_count(self, value: Optional[pulumi.Input[int]]):
755
1299
  pulumi.set(self, "read_only_count", value)
756
1300
 
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
+
757
1313
  @property
758
1314
  @pulumi.getter(name="resourceGroupId")
759
1315
  def resource_group_id(self) -> Optional[pulumi.Input[str]]:
@@ -782,7 +1338,7 @@ class _TairInstanceState:
782
1338
  @pulumi.getter(name="securityGroupId")
783
1339
  def security_group_id(self) -> Optional[pulumi.Input[str]]:
784
1340
  """
785
- Security group ID
1341
+ Security group id
786
1342
  """
787
1343
  return pulumi.get(self, "security_group_id")
788
1344
 
@@ -790,6 +1346,30 @@ class _TairInstanceState:
790
1346
  def security_group_id(self, value: Optional[pulumi.Input[str]]):
791
1347
  pulumi.set(self, "security_group_id", value)
792
1348
 
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
+
793
1373
  @property
794
1374
  @pulumi.getter(name="shardCount")
795
1375
  def shard_count(self) -> Optional[pulumi.Input[int]]:
@@ -806,7 +1386,9 @@ class _TairInstanceState:
806
1386
  @pulumi.getter(name="slaveReadOnlyCount")
807
1387
  def slave_read_only_count(self) -> Optional[pulumi.Input[int]]:
808
1388
  """
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.
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.
810
1392
  """
811
1393
  return pulumi.get(self, "slave_read_only_count")
812
1394
 
@@ -814,11 +1396,23 @@ class _TairInstanceState:
814
1396
  def slave_read_only_count(self, value: Optional[pulumi.Input[int]]):
815
1397
  pulumi.set(self, "slave_read_only_count", value)
816
1398
 
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
+
817
1411
  @property
818
1412
  @pulumi.getter(name="sslEnabled")
819
1413
  def ssl_enabled(self) -> Optional[pulumi.Input[str]]:
820
1414
  """
821
- Modify the TLS(SSL) setting. Value: Expand Details Example values: Enable Enumeration value: Disable Enable Update Reference value Source: DescribeInstanceSSL
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)
822
1416
  """
823
1417
  return pulumi.get(self, "ssl_enabled")
824
1418
 
@@ -842,7 +1436,13 @@ class _TairInstanceState:
842
1436
  @pulumi.getter(name="storagePerformanceLevel")
843
1437
  def storage_performance_level(self) -> Optional[pulumi.Input[str]]:
844
1438
  """
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.
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.
846
1446
  """
847
1447
  return pulumi.get(self, "storage_performance_level")
848
1448
 
@@ -854,7 +1454,7 @@ class _TairInstanceState:
854
1454
  @pulumi.getter(name="storageSizeGb")
855
1455
  def storage_size_gb(self) -> Optional[pulumi.Input[int]]:
856
1456
  """
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.
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.
858
1458
  """
859
1459
  return pulumi.get(self, "storage_size_gb")
860
1460
 
@@ -874,6 +1474,18 @@ class _TairInstanceState:
874
1474
  def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
875
1475
  pulumi.set(self, "tags", value)
876
1476
 
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
+
877
1489
  @property
878
1490
  @pulumi.getter(name="tairInstanceName")
879
1491
  def tair_instance_name(self) -> Optional[pulumi.Input[str]]:
@@ -886,6 +1498,18 @@ class _TairInstanceState:
886
1498
  def tair_instance_name(self, value: Optional[pulumi.Input[str]]):
887
1499
  pulumi.set(self, "tair_instance_name", value)
888
1500
 
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
+
889
1513
  @property
890
1514
  @pulumi.getter(name="vpcId")
891
1515
  def vpc_id(self) -> Optional[pulumi.Input[str]]:
@@ -930,28 +1554,41 @@ class TairInstance(pulumi.CustomResource):
930
1554
  opts: Optional[pulumi.ResourceOptions] = None,
931
1555
  auto_renew: Optional[pulumi.Input[str]] = None,
932
1556
  auto_renew_period: Optional[pulumi.Input[str]] = None,
1557
+ backup_id: Optional[pulumi.Input[str]] = None,
933
1558
  cluster_backup_id: Optional[pulumi.Input[str]] = None,
934
1559
  effective_time: Optional[pulumi.Input[str]] = None,
935
1560
  engine_version: Optional[pulumi.Input[str]] = None,
936
1561
  force_upgrade: Optional[pulumi.Input[bool]] = None,
1562
+ global_instance_id: Optional[pulumi.Input[str]] = None,
937
1563
  instance_class: Optional[pulumi.Input[str]] = None,
938
1564
  instance_type: Optional[pulumi.Input[str]] = None,
1565
+ intranet_bandwidth: Optional[pulumi.Input[int]] = None,
1566
+ modify_mode: Optional[pulumi.Input[str]] = None,
939
1567
  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,
940
1572
  password: Optional[pulumi.Input[str]] = None,
941
1573
  payment_type: Optional[pulumi.Input[str]] = None,
942
1574
  period: Optional[pulumi.Input[int]] = None,
943
1575
  port: Optional[pulumi.Input[int]] = None,
944
1576
  read_only_count: Optional[pulumi.Input[int]] = None,
1577
+ recover_config_mode: Optional[pulumi.Input[str]] = None,
945
1578
  resource_group_id: Optional[pulumi.Input[str]] = None,
946
1579
  secondary_zone_id: Optional[pulumi.Input[str]] = None,
947
1580
  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,
948
1583
  shard_count: Optional[pulumi.Input[int]] = None,
949
1584
  slave_read_only_count: Optional[pulumi.Input[int]] = None,
1585
+ src_db_instance_id: Optional[pulumi.Input[str]] = None,
950
1586
  ssl_enabled: Optional[pulumi.Input[str]] = None,
951
1587
  storage_performance_level: Optional[pulumi.Input[str]] = None,
952
1588
  storage_size_gb: Optional[pulumi.Input[int]] = None,
953
1589
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
954
1590
  tair_instance_name: Optional[pulumi.Input[str]] = None,
1591
+ vpc_auth_mode: Optional[pulumi.Input[str]] = None,
955
1592
  vpc_id: Optional[pulumi.Input[str]] = None,
956
1593
  vswitch_id: Optional[pulumi.Input[str]] = None,
957
1594
  zone_id: Optional[pulumi.Input[str]] = None,
@@ -969,28 +1606,73 @@ class TairInstance(pulumi.CustomResource):
969
1606
  :param pulumi.ResourceOptions opts: Options for the resource.
970
1607
  :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).
971
1608
  :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.
972
- :param pulumi.Input[str] cluster_backup_id: The ID of the backup set of the cluster.
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 (,).
973
1613
  :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).
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.
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.
975
1623
  :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.
976
1631
  :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).
977
1632
  :param pulumi.Input[str] instance_type: The storage medium of the instance. Valid values: tair_rdb, tair_scm, tair_essd.
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.
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.
979
1644
  :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 ! @ # $ % ^ & * ( ) _ + - =
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.
1645
+ :param pulumi.Input[str] payment_type: Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default Subscription.
981
1646
  :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.
982
1647
  :param pulumi.Input[int] port: The Tair service port. The service port of the instance. Valid values: 1024 to 65535. Default value: 6379.
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.
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.
984
1654
  :param pulumi.Input[str] resource_group_id: The ID of the resource group to which the instance belongs.
985
1655
  :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.
986
- :param pulumi.Input[str] security_group_id: Security group ID
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.
987
1659
  :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.
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.
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.
992
1673
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource
993
1674
  :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)).
994
1676
  :param pulumi.Input[str] vpc_id: The ID of the virtual private cloud (VPC).
995
1677
  :param pulumi.Input[str] vswitch_id: The ID of the vSwitch to which the instance is connected.
996
1678
  :param pulumi.Input[str] zone_id: Zone ID
@@ -1027,28 +1709,41 @@ class TairInstance(pulumi.CustomResource):
1027
1709
  opts: Optional[pulumi.ResourceOptions] = None,
1028
1710
  auto_renew: Optional[pulumi.Input[str]] = None,
1029
1711
  auto_renew_period: Optional[pulumi.Input[str]] = None,
1712
+ backup_id: Optional[pulumi.Input[str]] = None,
1030
1713
  cluster_backup_id: Optional[pulumi.Input[str]] = None,
1031
1714
  effective_time: Optional[pulumi.Input[str]] = None,
1032
1715
  engine_version: Optional[pulumi.Input[str]] = None,
1033
1716
  force_upgrade: Optional[pulumi.Input[bool]] = None,
1717
+ global_instance_id: Optional[pulumi.Input[str]] = None,
1034
1718
  instance_class: Optional[pulumi.Input[str]] = None,
1035
1719
  instance_type: Optional[pulumi.Input[str]] = None,
1720
+ intranet_bandwidth: Optional[pulumi.Input[int]] = None,
1721
+ modify_mode: Optional[pulumi.Input[str]] = None,
1036
1722
  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,
1037
1727
  password: Optional[pulumi.Input[str]] = None,
1038
1728
  payment_type: Optional[pulumi.Input[str]] = None,
1039
1729
  period: Optional[pulumi.Input[int]] = None,
1040
1730
  port: Optional[pulumi.Input[int]] = None,
1041
1731
  read_only_count: Optional[pulumi.Input[int]] = None,
1732
+ recover_config_mode: Optional[pulumi.Input[str]] = None,
1042
1733
  resource_group_id: Optional[pulumi.Input[str]] = None,
1043
1734
  secondary_zone_id: Optional[pulumi.Input[str]] = None,
1044
1735
  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,
1045
1738
  shard_count: Optional[pulumi.Input[int]] = None,
1046
1739
  slave_read_only_count: Optional[pulumi.Input[int]] = None,
1740
+ src_db_instance_id: Optional[pulumi.Input[str]] = None,
1047
1741
  ssl_enabled: Optional[pulumi.Input[str]] = None,
1048
1742
  storage_performance_level: Optional[pulumi.Input[str]] = None,
1049
1743
  storage_size_gb: Optional[pulumi.Input[int]] = None,
1050
1744
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1051
1745
  tair_instance_name: Optional[pulumi.Input[str]] = None,
1746
+ vpc_auth_mode: Optional[pulumi.Input[str]] = None,
1052
1747
  vpc_id: Optional[pulumi.Input[str]] = None,
1053
1748
  vswitch_id: Optional[pulumi.Input[str]] = None,
1054
1749
  zone_id: Optional[pulumi.Input[str]] = None,
@@ -1063,32 +1758,45 @@ class TairInstance(pulumi.CustomResource):
1063
1758
 
1064
1759
  __props__.__dict__["auto_renew"] = auto_renew
1065
1760
  __props__.__dict__["auto_renew_period"] = auto_renew_period
1761
+ __props__.__dict__["backup_id"] = backup_id
1066
1762
  __props__.__dict__["cluster_backup_id"] = cluster_backup_id
1067
1763
  __props__.__dict__["effective_time"] = effective_time
1068
1764
  __props__.__dict__["engine_version"] = engine_version
1069
1765
  __props__.__dict__["force_upgrade"] = force_upgrade
1766
+ __props__.__dict__["global_instance_id"] = global_instance_id
1070
1767
  if instance_class is None and not opts.urn:
1071
1768
  raise TypeError("Missing required property 'instance_class'")
1072
1769
  __props__.__dict__["instance_class"] = instance_class
1073
1770
  if instance_type is None and not opts.urn:
1074
1771
  raise TypeError("Missing required property 'instance_type'")
1075
1772
  __props__.__dict__["instance_type"] = instance_type
1773
+ __props__.__dict__["intranet_bandwidth"] = intranet_bandwidth
1774
+ __props__.__dict__["modify_mode"] = modify_mode
1076
1775
  __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
1077
1780
  __props__.__dict__["password"] = None if password is None else pulumi.Output.secret(password)
1078
1781
  __props__.__dict__["payment_type"] = payment_type
1079
1782
  __props__.__dict__["period"] = period
1080
1783
  __props__.__dict__["port"] = port
1081
1784
  __props__.__dict__["read_only_count"] = read_only_count
1785
+ __props__.__dict__["recover_config_mode"] = recover_config_mode
1082
1786
  __props__.__dict__["resource_group_id"] = resource_group_id
1083
1787
  __props__.__dict__["secondary_zone_id"] = secondary_zone_id
1084
1788
  __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
1085
1791
  __props__.__dict__["shard_count"] = shard_count
1086
1792
  __props__.__dict__["slave_read_only_count"] = slave_read_only_count
1793
+ __props__.__dict__["src_db_instance_id"] = src_db_instance_id
1087
1794
  __props__.__dict__["ssl_enabled"] = ssl_enabled
1088
1795
  __props__.__dict__["storage_performance_level"] = storage_performance_level
1089
1796
  __props__.__dict__["storage_size_gb"] = storage_size_gb
1090
1797
  __props__.__dict__["tags"] = tags
1091
1798
  __props__.__dict__["tair_instance_name"] = tair_instance_name
1799
+ __props__.__dict__["vpc_auth_mode"] = vpc_auth_mode
1092
1800
  if vpc_id is None and not opts.urn:
1093
1801
  raise TypeError("Missing required property 'vpc_id'")
1094
1802
  __props__.__dict__["vpc_id"] = vpc_id
@@ -1098,8 +1806,13 @@ class TairInstance(pulumi.CustomResource):
1098
1806
  if zone_id is None and not opts.urn:
1099
1807
  raise TypeError("Missing required property 'zone_id'")
1100
1808
  __props__.__dict__["zone_id"] = zone_id
1809
+ __props__.__dict__["architecture_type"] = None
1810
+ __props__.__dict__["connection_domain"] = None
1101
1811
  __props__.__dict__["create_time"] = None
1812
+ __props__.__dict__["max_connections"] = None
1813
+ __props__.__dict__["network_type"] = None
1102
1814
  __props__.__dict__["status"] = None
1815
+ __props__.__dict__["tair_instance_id"] = None
1103
1816
  secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["password"])
1104
1817
  opts = pulumi.ResourceOptions.merge(opts, secret_opts)
1105
1818
  super(TairInstance, __self__).__init__(
@@ -1112,32 +1825,50 @@ class TairInstance(pulumi.CustomResource):
1112
1825
  def get(resource_name: str,
1113
1826
  id: pulumi.Input[str],
1114
1827
  opts: Optional[pulumi.ResourceOptions] = None,
1828
+ architecture_type: Optional[pulumi.Input[str]] = None,
1115
1829
  auto_renew: Optional[pulumi.Input[str]] = None,
1116
1830
  auto_renew_period: Optional[pulumi.Input[str]] = None,
1831
+ backup_id: Optional[pulumi.Input[str]] = None,
1117
1832
  cluster_backup_id: Optional[pulumi.Input[str]] = None,
1833
+ connection_domain: Optional[pulumi.Input[str]] = None,
1118
1834
  create_time: Optional[pulumi.Input[str]] = None,
1119
1835
  effective_time: Optional[pulumi.Input[str]] = None,
1120
1836
  engine_version: Optional[pulumi.Input[str]] = None,
1121
1837
  force_upgrade: Optional[pulumi.Input[bool]] = None,
1838
+ global_instance_id: Optional[pulumi.Input[str]] = None,
1122
1839
  instance_class: Optional[pulumi.Input[str]] = None,
1123
1840
  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,
1124
1845
  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,
1125
1850
  password: Optional[pulumi.Input[str]] = None,
1126
1851
  payment_type: Optional[pulumi.Input[str]] = None,
1127
1852
  period: Optional[pulumi.Input[int]] = None,
1128
1853
  port: Optional[pulumi.Input[int]] = None,
1129
1854
  read_only_count: Optional[pulumi.Input[int]] = None,
1855
+ recover_config_mode: Optional[pulumi.Input[str]] = None,
1130
1856
  resource_group_id: Optional[pulumi.Input[str]] = None,
1131
1857
  secondary_zone_id: Optional[pulumi.Input[str]] = None,
1132
1858
  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,
1133
1861
  shard_count: Optional[pulumi.Input[int]] = None,
1134
1862
  slave_read_only_count: Optional[pulumi.Input[int]] = None,
1863
+ src_db_instance_id: Optional[pulumi.Input[str]] = None,
1135
1864
  ssl_enabled: Optional[pulumi.Input[str]] = None,
1136
1865
  status: Optional[pulumi.Input[str]] = None,
1137
1866
  storage_performance_level: Optional[pulumi.Input[str]] = None,
1138
1867
  storage_size_gb: Optional[pulumi.Input[int]] = None,
1139
1868
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1869
+ tair_instance_id: Optional[pulumi.Input[str]] = None,
1140
1870
  tair_instance_name: Optional[pulumi.Input[str]] = None,
1871
+ vpc_auth_mode: Optional[pulumi.Input[str]] = None,
1141
1872
  vpc_id: Optional[pulumi.Input[str]] = None,
1142
1873
  vswitch_id: Optional[pulumi.Input[str]] = None,
1143
1874
  zone_id: Optional[pulumi.Input[str]] = None) -> 'TairInstance':
@@ -1148,32 +1879,82 @@ class TairInstance(pulumi.CustomResource):
1148
1879
  :param str resource_name: The unique name of the resulting resource.
1149
1880
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
1150
1881
  :param pulumi.ResourceOptions opts: Options for the resource.
1882
+ :param pulumi.Input[str] architecture_type: The architecture of the instance. cluster, standard, rwsplit.
1151
1883
  :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).
1152
1884
  :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.
1153
- :param pulumi.Input[str] cluster_backup_id: The ID of the backup set of the cluster.
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.
1154
1890
  :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.
1155
1891
  :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).
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.
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.
1157
1901
  :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.
1158
1909
  :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).
1159
1910
  :param pulumi.Input[str] instance_type: The storage medium of the instance. Valid values: tair_rdb, tair_scm, tair_essd.
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.
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.
1161
1924
  :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 ! @ # $ % ^ & * ( ) _ + - =
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.
1925
+ :param pulumi.Input[str] payment_type: Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default Subscription.
1163
1926
  :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.
1164
1927
  :param pulumi.Input[int] port: The Tair service port. The service port of the instance. Valid values: 1024 to 65535. Default value: 6379.
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.
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.
1166
1934
  :param pulumi.Input[str] resource_group_id: The ID of the resource group to which the instance belongs.
1167
1935
  :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.
1168
- :param pulumi.Input[str] security_group_id: Security group ID
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.
1169
1939
  :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.
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
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)
1172
1945
  :param pulumi.Input[str] status: The status of the resource
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.
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.
1175
1954
  :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.
1176
1956
  :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)).
1177
1958
  :param pulumi.Input[str] vpc_id: The ID of the virtual private cloud (VPC).
1178
1959
  :param pulumi.Input[str] vswitch_id: The ID of the vSwitch to which the instance is connected.
1179
1960
  :param pulumi.Input[str] zone_id: Zone ID
@@ -1182,37 +1963,63 @@ class TairInstance(pulumi.CustomResource):
1182
1963
 
1183
1964
  __props__ = _TairInstanceState.__new__(_TairInstanceState)
1184
1965
 
1966
+ __props__.__dict__["architecture_type"] = architecture_type
1185
1967
  __props__.__dict__["auto_renew"] = auto_renew
1186
1968
  __props__.__dict__["auto_renew_period"] = auto_renew_period
1969
+ __props__.__dict__["backup_id"] = backup_id
1187
1970
  __props__.__dict__["cluster_backup_id"] = cluster_backup_id
1971
+ __props__.__dict__["connection_domain"] = connection_domain
1188
1972
  __props__.__dict__["create_time"] = create_time
1189
1973
  __props__.__dict__["effective_time"] = effective_time
1190
1974
  __props__.__dict__["engine_version"] = engine_version
1191
1975
  __props__.__dict__["force_upgrade"] = force_upgrade
1976
+ __props__.__dict__["global_instance_id"] = global_instance_id
1192
1977
  __props__.__dict__["instance_class"] = instance_class
1193
1978
  __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
1194
1983
  __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
1195
1988
  __props__.__dict__["password"] = password
1196
1989
  __props__.__dict__["payment_type"] = payment_type
1197
1990
  __props__.__dict__["period"] = period
1198
1991
  __props__.__dict__["port"] = port
1199
1992
  __props__.__dict__["read_only_count"] = read_only_count
1993
+ __props__.__dict__["recover_config_mode"] = recover_config_mode
1200
1994
  __props__.__dict__["resource_group_id"] = resource_group_id
1201
1995
  __props__.__dict__["secondary_zone_id"] = secondary_zone_id
1202
1996
  __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
1203
1999
  __props__.__dict__["shard_count"] = shard_count
1204
2000
  __props__.__dict__["slave_read_only_count"] = slave_read_only_count
2001
+ __props__.__dict__["src_db_instance_id"] = src_db_instance_id
1205
2002
  __props__.__dict__["ssl_enabled"] = ssl_enabled
1206
2003
  __props__.__dict__["status"] = status
1207
2004
  __props__.__dict__["storage_performance_level"] = storage_performance_level
1208
2005
  __props__.__dict__["storage_size_gb"] = storage_size_gb
1209
2006
  __props__.__dict__["tags"] = tags
2007
+ __props__.__dict__["tair_instance_id"] = tair_instance_id
1210
2008
  __props__.__dict__["tair_instance_name"] = tair_instance_name
2009
+ __props__.__dict__["vpc_auth_mode"] = vpc_auth_mode
1211
2010
  __props__.__dict__["vpc_id"] = vpc_id
1212
2011
  __props__.__dict__["vswitch_id"] = vswitch_id
1213
2012
  __props__.__dict__["zone_id"] = zone_id
1214
2013
  return TairInstance(resource_name, opts=opts, __props__=__props__)
1215
2014
 
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
+
1216
2023
  @property
1217
2024
  @pulumi.getter(name="autoRenew")
1218
2025
  def auto_renew(self) -> pulumi.Output[Optional[str]]:
@@ -1229,14 +2036,32 @@ class TairInstance(pulumi.CustomResource):
1229
2036
  """
1230
2037
  return pulumi.get(self, "auto_renew_period")
1231
2038
 
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
+
1232
2049
  @property
1233
2050
  @pulumi.getter(name="clusterBackupId")
1234
2051
  def cluster_backup_id(self) -> pulumi.Output[Optional[str]]:
1235
2052
  """
1236
- The ID of the backup set of the cluster.
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 (,).
1237
2054
  """
1238
2055
  return pulumi.get(self, "cluster_backup_id")
1239
2056
 
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
+
1240
2065
  @property
1241
2066
  @pulumi.getter(name="createTime")
1242
2067
  def create_time(self) -> pulumi.Output[str]:
@@ -1257,7 +2082,15 @@ class TairInstance(pulumi.CustomResource):
1257
2082
  @pulumi.getter(name="engineVersion")
1258
2083
  def engine_version(self) -> pulumi.Output[str]:
1259
2084
  """
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.
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.
1261
2094
  """
1262
2095
  return pulumi.get(self, "engine_version")
1263
2096
 
@@ -1269,6 +2102,20 @@ class TairInstance(pulumi.CustomResource):
1269
2102
  """
1270
2103
  return pulumi.get(self, "force_upgrade")
1271
2104
 
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
+
1272
2119
  @property
1273
2120
  @pulumi.getter(name="instanceClass")
1274
2121
  def instance_class(self) -> pulumi.Output[str]:
@@ -1285,14 +2132,82 @@ class TairInstance(pulumi.CustomResource):
1285
2132
  """
1286
2133
  return pulumi.get(self, "instance_type")
1287
2134
 
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
+
1288
2167
  @property
1289
2168
  @pulumi.getter(name="nodeType")
1290
2169
  def node_type(self) -> pulumi.Output[str]:
1291
2170
  """
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.
2171
+ Node type, value:
2172
+ - `MASTER_SLAVE`: high availability (dual copy)
2173
+ - `STAND_ALONE`: single copy
1293
2174
  """
1294
2175
  return pulumi.get(self, "node_type")
1295
2176
 
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
+
1296
2211
  @property
1297
2212
  @pulumi.getter
1298
2213
  def password(self) -> pulumi.Output[Optional[str]]:
@@ -1305,7 +2220,7 @@ class TairInstance(pulumi.CustomResource):
1305
2220
  @pulumi.getter(name="paymentType")
1306
2221
  def payment_type(self) -> pulumi.Output[str]:
1307
2222
  """
1308
- Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default PayAsYouGo. Since version 1.227.0, you can transfer prepaid instance to postpaid.
2223
+ Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default Subscription.
1309
2224
  """
1310
2225
  return pulumi.get(self, "payment_type")
1311
2226
 
@@ -1329,10 +2244,22 @@ class TairInstance(pulumi.CustomResource):
1329
2244
  @pulumi.getter(name="readOnlyCount")
1330
2245
  def read_only_count(self) -> pulumi.Output[Optional[int]]:
1331
2246
  """
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.
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.
1333
2252
  """
1334
2253
  return pulumi.get(self, "read_only_count")
1335
2254
 
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
+
1336
2263
  @property
1337
2264
  @pulumi.getter(name="resourceGroupId")
1338
2265
  def resource_group_id(self) -> pulumi.Output[str]:
@@ -1353,10 +2280,26 @@ class TairInstance(pulumi.CustomResource):
1353
2280
  @pulumi.getter(name="securityGroupId")
1354
2281
  def security_group_id(self) -> pulumi.Output[Optional[str]]:
1355
2282
  """
1356
- Security group ID
2283
+ Security group id
1357
2284
  """
1358
2285
  return pulumi.get(self, "security_group_id")
1359
2286
 
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
+
1360
2303
  @property
1361
2304
  @pulumi.getter(name="shardCount")
1362
2305
  def shard_count(self) -> pulumi.Output[int]:
@@ -1369,15 +2312,25 @@ class TairInstance(pulumi.CustomResource):
1369
2312
  @pulumi.getter(name="slaveReadOnlyCount")
1370
2313
  def slave_read_only_count(self) -> pulumi.Output[Optional[int]]:
1371
2314
  """
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.
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.
1373
2318
  """
1374
2319
  return pulumi.get(self, "slave_read_only_count")
1375
2320
 
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
+
1376
2329
  @property
1377
2330
  @pulumi.getter(name="sslEnabled")
1378
2331
  def ssl_enabled(self) -> pulumi.Output[str]:
1379
2332
  """
1380
- Modify the TLS(SSL) setting. Value: Expand Details Example values: Enable Enumeration value: Disable Enable Update Reference value Source: DescribeInstanceSSL
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)
1381
2334
  """
1382
2335
  return pulumi.get(self, "ssl_enabled")
1383
2336
 
@@ -1393,7 +2346,13 @@ class TairInstance(pulumi.CustomResource):
1393
2346
  @pulumi.getter(name="storagePerformanceLevel")
1394
2347
  def storage_performance_level(self) -> pulumi.Output[Optional[str]]:
1395
2348
  """
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.
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.
1397
2356
  """
1398
2357
  return pulumi.get(self, "storage_performance_level")
1399
2358
 
@@ -1401,7 +2360,7 @@ class TairInstance(pulumi.CustomResource):
1401
2360
  @pulumi.getter(name="storageSizeGb")
1402
2361
  def storage_size_gb(self) -> pulumi.Output[int]:
1403
2362
  """
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.
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.
1405
2364
  """
1406
2365
  return pulumi.get(self, "storage_size_gb")
1407
2366
 
@@ -1413,6 +2372,14 @@ class TairInstance(pulumi.CustomResource):
1413
2372
  """
1414
2373
  return pulumi.get(self, "tags")
1415
2374
 
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
+
1416
2383
  @property
1417
2384
  @pulumi.getter(name="tairInstanceName")
1418
2385
  def tair_instance_name(self) -> pulumi.Output[Optional[str]]:
@@ -1421,6 +2388,14 @@ class TairInstance(pulumi.CustomResource):
1421
2388
  """
1422
2389
  return pulumi.get(self, "tair_instance_name")
1423
2390
 
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
+
1424
2399
  @property
1425
2400
  @pulumi.getter(name="vpcId")
1426
2401
  def vpc_id(self) -> pulumi.Output[str]: