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