pulumi-alicloud 3.59.0__py3-none-any.whl → 3.59.0a1720502311__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/__init__.py +0 -48
- pulumi_alicloud/adb/resource_group.py +119 -115
- pulumi_alicloud/clickhouse/get_regions.py +2 -2
- pulumi_alicloud/cloudstoragegateway/gateway_cache_disk.py +27 -150
- pulumi_alicloud/dfs/file_system.py +19 -52
- pulumi_alicloud/ecs/_inputs.py +8 -132
- pulumi_alicloud/ecs/image.py +121 -607
- pulumi_alicloud/ecs/outputs.py +8 -131
- pulumi_alicloud/emrv2/_inputs.py +0 -490
- pulumi_alicloud/emrv2/cluster.py +14 -14
- pulumi_alicloud/emrv2/outputs.py +0 -500
- pulumi_alicloud/ens/__init__.py +0 -2
- pulumi_alicloud/ens/instance.py +17 -16
- pulumi_alicloud/ess/eci_scaling_configuration.py +0 -94
- pulumi_alicloud/ess/scaling_group.py +0 -94
- pulumi_alicloud/ga/bandwidth_package_attachment.py +34 -34
- pulumi_alicloud/ga/listener.py +0 -122
- pulumi_alicloud/gpdb/__init__.py +0 -4
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/redis/tair_instance.py +67 -161
- {pulumi_alicloud-3.59.0.dist-info → pulumi_alicloud-3.59.0a1720502311.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.59.0.dist-info → pulumi_alicloud-3.59.0a1720502311.dist-info}/RECORD +24 -30
- {pulumi_alicloud-3.59.0.dist-info → pulumi_alicloud-3.59.0a1720502311.dist-info}/WHEEL +1 -1
- pulumi_alicloud/ens/eip_instance_attachment.py +0 -480
- pulumi_alicloud/ens/nat_gateway.py +0 -458
- pulumi_alicloud/gpdb/external_data_service.py +0 -485
- pulumi_alicloud/gpdb/remote_adb_data_source.py +0 -763
- pulumi_alicloud/gpdb/streaming_data_service.py +0 -481
- pulumi_alicloud/gpdb/streaming_data_source.py +0 -645
- {pulumi_alicloud-3.59.0.dist-info → pulumi_alicloud-3.59.0a1720502311.dist-info}/top_level.txt +0 -0
|
@@ -33,10 +33,8 @@ class TairInstanceArgs:
|
|
|
33
33
|
read_only_count: Optional[pulumi.Input[int]] = None,
|
|
34
34
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
35
35
|
secondary_zone_id: Optional[pulumi.Input[str]] = None,
|
|
36
|
-
security_group_id: Optional[pulumi.Input[str]] = None,
|
|
37
36
|
shard_count: Optional[pulumi.Input[int]] = None,
|
|
38
37
|
slave_read_only_count: Optional[pulumi.Input[int]] = None,
|
|
39
|
-
ssl_enabled: Optional[pulumi.Input[str]] = None,
|
|
40
38
|
storage_performance_level: Optional[pulumi.Input[str]] = None,
|
|
41
39
|
storage_size_gb: Optional[pulumi.Input[int]] = None,
|
|
42
40
|
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
|
@@ -47,28 +45,26 @@ class TairInstanceArgs:
|
|
|
47
45
|
:param pulumi.Input[str] instance_type: The storage medium of the instance. Valid values: tair_rdb, tair_scm, tair_essd.
|
|
48
46
|
:param pulumi.Input[str] vpc_id: The ID of the virtual private cloud (VPC).
|
|
49
47
|
:param pulumi.Input[str] vswitch_id: The ID of the vSwitch to which the instance is connected.
|
|
50
|
-
:param pulumi.Input[str] zone_id: Zone ID
|
|
48
|
+
:param pulumi.Input[str] zone_id: Zone ID.
|
|
51
49
|
: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).
|
|
52
50
|
: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.
|
|
53
|
-
:param pulumi.Input[str] cluster_backup_id: The ID of the backup set of the cluster.
|
|
51
|
+
:param pulumi.Input[str] cluster_backup_id: The ID of the backup set of the cluster. .
|
|
54
52
|
: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).
|
|
55
|
-
:param pulumi.Input[str] engine_version: Database version. Default value: 1.0.
|
|
53
|
+
:param pulumi.Input[str] engine_version: Database version. Default value: 1.0. Rules for transferring parameters of different tair product types: tair_rdb: Compatible with the Redis5.0 and Redis6.0 protocols, and is transmitted to 5.0 or 6.0. tair_scm: The Tair persistent memory is compatible with the Redis6.0 protocol and is passed 1.0. tair_essd: The disk (ESSD/SSD) is compatible with the Redis4.0 and Redis6.0 protocols, and is transmitted to 1.0 and 2.0 respectively.
|
|
56
54
|
: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).
|
|
57
|
-
:param pulumi.Input[str] node_type: Node type, value:
|
|
58
|
-
: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 ! @ # $ % ^ & * ( ) _ + -
|
|
59
|
-
:param pulumi.Input[str] payment_type:
|
|
55
|
+
:param pulumi.Input[str] node_type: Node type, value: MASTER_SLAVE: high availability (dual copy) STAND_ALONE: single copy double: double copy single: single copy Note For Cloud Native instances, select MASTER_SLAVE or STAND_ALONE. For Classic instances, select double or single.
|
|
56
|
+
: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 ! @ # $ % ^ & * ( ) _ + - =.
|
|
57
|
+
:param pulumi.Input[str] payment_type: The billing method of the instance. Default value: `Subscription`. Valid values: `PayAsYouGo`, `Subscription`.
|
|
60
58
|
: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.
|
|
61
59
|
:param pulumi.Input[int] port: The Tair service port. The service port of the instance. Valid values: 1024 to 65535. Default value: 6379.
|
|
62
|
-
: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:
|
|
60
|
+
:param pulumi.Input[int] read_only_count: Number of read-only nodes in the primary zone. Valid values: 0 to 5. This parameter is only applicable to the following conditions: If the instance is in the cloud disk version standard architecture, you can set this parameter to a value greater than 0 to enable the read/write splitting architecture. If the instance is a cloud disk version read/write splitting architecture instance, you can use this parameter to customize the number of read-only nodes, or set this parameter to 0 to disable the read/write splitting architecture and switch the instance to the standard architecture.
|
|
63
61
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group to which the instance belongs.
|
|
64
62
|
: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.
|
|
65
|
-
:param pulumi.Input[str] security_group_id: Security group ID
|
|
66
63
|
: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.
|
|
67
64
|
:param pulumi.Input[int] slave_read_only_count: Specifies the number of read-only nodes in the secondary zone when creating a multi-zone read/write splitting instance. Note: To create a multi-zone read/write splitting instance, slaveadonlycount and SecondaryZoneId must be specified at the same time.
|
|
68
|
-
:param pulumi.Input[str]
|
|
69
|
-
:param pulumi.Input[str] storage_performance_level: The storage type. The value is set to essd_pl1. Note This parameter is only available when the value of InstanceType is tair_essd.
|
|
65
|
+
:param pulumi.Input[str] storage_performance_level: The storage type. The value range is [PL1, PL2, and PL3]. The default value is PL1. When the value of instance_type is "tair_essd", this attribute takes effect and is required.
|
|
70
66
|
:param pulumi.Input[int] storage_size_gb: The value range of different specifications is different, see [ESSD-based instances](https://www.alibabacloud.com/help/en/tair/product-overview/essd-based-instances). When the value of instance_type is "tair_essd", this attribute takes effect and is required.
|
|
71
|
-
:param pulumi.Input[Mapping[str, Any]] tags: The tag of the resource
|
|
67
|
+
:param pulumi.Input[Mapping[str, Any]] tags: The tag of the resource.
|
|
72
68
|
:param pulumi.Input[str] tair_instance_name: The name of the resource.
|
|
73
69
|
"""
|
|
74
70
|
pulumi.set(__self__, "instance_class", instance_class)
|
|
@@ -104,14 +100,10 @@ class TairInstanceArgs:
|
|
|
104
100
|
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
105
101
|
if secondary_zone_id is not None:
|
|
106
102
|
pulumi.set(__self__, "secondary_zone_id", secondary_zone_id)
|
|
107
|
-
if security_group_id is not None:
|
|
108
|
-
pulumi.set(__self__, "security_group_id", security_group_id)
|
|
109
103
|
if shard_count is not None:
|
|
110
104
|
pulumi.set(__self__, "shard_count", shard_count)
|
|
111
105
|
if slave_read_only_count is not None:
|
|
112
106
|
pulumi.set(__self__, "slave_read_only_count", slave_read_only_count)
|
|
113
|
-
if ssl_enabled is not None:
|
|
114
|
-
pulumi.set(__self__, "ssl_enabled", ssl_enabled)
|
|
115
107
|
if storage_performance_level is not None:
|
|
116
108
|
pulumi.set(__self__, "storage_performance_level", storage_performance_level)
|
|
117
109
|
if storage_size_gb is not None:
|
|
@@ -173,7 +165,7 @@ class TairInstanceArgs:
|
|
|
173
165
|
@pulumi.getter(name="zoneId")
|
|
174
166
|
def zone_id(self) -> pulumi.Input[str]:
|
|
175
167
|
"""
|
|
176
|
-
Zone ID
|
|
168
|
+
Zone ID.
|
|
177
169
|
"""
|
|
178
170
|
return pulumi.get(self, "zone_id")
|
|
179
171
|
|
|
@@ -209,7 +201,7 @@ class TairInstanceArgs:
|
|
|
209
201
|
@pulumi.getter(name="clusterBackupId")
|
|
210
202
|
def cluster_backup_id(self) -> Optional[pulumi.Input[str]]:
|
|
211
203
|
"""
|
|
212
|
-
The ID of the backup set of the cluster.
|
|
204
|
+
The ID of the backup set of the cluster. .
|
|
213
205
|
"""
|
|
214
206
|
return pulumi.get(self, "cluster_backup_id")
|
|
215
207
|
|
|
@@ -233,7 +225,7 @@ class TairInstanceArgs:
|
|
|
233
225
|
@pulumi.getter(name="engineVersion")
|
|
234
226
|
def engine_version(self) -> Optional[pulumi.Input[str]]:
|
|
235
227
|
"""
|
|
236
|
-
Database version. Default value: 1.0.
|
|
228
|
+
Database version. Default value: 1.0. Rules for transferring parameters of different tair product types: tair_rdb: Compatible with the Redis5.0 and Redis6.0 protocols, and is transmitted to 5.0 or 6.0. tair_scm: The Tair persistent memory is compatible with the Redis6.0 protocol and is passed 1.0. tair_essd: The disk (ESSD/SSD) is compatible with the Redis4.0 and Redis6.0 protocols, and is transmitted to 1.0 and 2.0 respectively.
|
|
237
229
|
"""
|
|
238
230
|
return pulumi.get(self, "engine_version")
|
|
239
231
|
|
|
@@ -257,7 +249,7 @@ class TairInstanceArgs:
|
|
|
257
249
|
@pulumi.getter(name="nodeType")
|
|
258
250
|
def node_type(self) -> Optional[pulumi.Input[str]]:
|
|
259
251
|
"""
|
|
260
|
-
Node type, value:
|
|
252
|
+
Node type, value: MASTER_SLAVE: high availability (dual copy) STAND_ALONE: single copy double: double copy single: single copy Note For Cloud Native instances, select MASTER_SLAVE or STAND_ALONE. For Classic instances, select double or single.
|
|
261
253
|
"""
|
|
262
254
|
return pulumi.get(self, "node_type")
|
|
263
255
|
|
|
@@ -269,7 +261,7 @@ class TairInstanceArgs:
|
|
|
269
261
|
@pulumi.getter
|
|
270
262
|
def password(self) -> Optional[pulumi.Input[str]]:
|
|
271
263
|
"""
|
|
272
|
-
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 ! @ # $ % ^ & * ( ) _ + -
|
|
264
|
+
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 ! @ # $ % ^ & * ( ) _ + - =.
|
|
273
265
|
"""
|
|
274
266
|
return pulumi.get(self, "password")
|
|
275
267
|
|
|
@@ -281,7 +273,7 @@ class TairInstanceArgs:
|
|
|
281
273
|
@pulumi.getter(name="paymentType")
|
|
282
274
|
def payment_type(self) -> Optional[pulumi.Input[str]]:
|
|
283
275
|
"""
|
|
284
|
-
|
|
276
|
+
The billing method of the instance. Default value: `Subscription`. Valid values: `PayAsYouGo`, `Subscription`.
|
|
285
277
|
"""
|
|
286
278
|
return pulumi.get(self, "payment_type")
|
|
287
279
|
|
|
@@ -317,7 +309,7 @@ class TairInstanceArgs:
|
|
|
317
309
|
@pulumi.getter(name="readOnlyCount")
|
|
318
310
|
def read_only_count(self) -> Optional[pulumi.Input[int]]:
|
|
319
311
|
"""
|
|
320
|
-
Number of read-only nodes in the primary zone. Valid values: 0 to 5. This parameter is only applicable to the following conditions:
|
|
312
|
+
Number of read-only nodes in the primary zone. Valid values: 0 to 5. This parameter is only applicable to the following conditions: If the instance is in the cloud disk version standard architecture, you can set this parameter to a value greater than 0 to enable the read/write splitting architecture. If the instance is a cloud disk version read/write splitting architecture instance, you can use this parameter to customize the number of read-only nodes, or set this parameter to 0 to disable the read/write splitting architecture and switch the instance to the standard architecture.
|
|
321
313
|
"""
|
|
322
314
|
return pulumi.get(self, "read_only_count")
|
|
323
315
|
|
|
@@ -349,18 +341,6 @@ class TairInstanceArgs:
|
|
|
349
341
|
def secondary_zone_id(self, value: Optional[pulumi.Input[str]]):
|
|
350
342
|
pulumi.set(self, "secondary_zone_id", value)
|
|
351
343
|
|
|
352
|
-
@property
|
|
353
|
-
@pulumi.getter(name="securityGroupId")
|
|
354
|
-
def security_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
355
|
-
"""
|
|
356
|
-
Security group ID
|
|
357
|
-
"""
|
|
358
|
-
return pulumi.get(self, "security_group_id")
|
|
359
|
-
|
|
360
|
-
@security_group_id.setter
|
|
361
|
-
def security_group_id(self, value: Optional[pulumi.Input[str]]):
|
|
362
|
-
pulumi.set(self, "security_group_id", value)
|
|
363
|
-
|
|
364
344
|
@property
|
|
365
345
|
@pulumi.getter(name="shardCount")
|
|
366
346
|
def shard_count(self) -> Optional[pulumi.Input[int]]:
|
|
@@ -385,23 +365,11 @@ class TairInstanceArgs:
|
|
|
385
365
|
def slave_read_only_count(self, value: Optional[pulumi.Input[int]]):
|
|
386
366
|
pulumi.set(self, "slave_read_only_count", value)
|
|
387
367
|
|
|
388
|
-
@property
|
|
389
|
-
@pulumi.getter(name="sslEnabled")
|
|
390
|
-
def ssl_enabled(self) -> Optional[pulumi.Input[str]]:
|
|
391
|
-
"""
|
|
392
|
-
Modify the TLS(SSL) setting. Value: Expand Details Example values: Enable Enumeration value: Disable Enable Update Reference value Source: DescribeInstanceSSL
|
|
393
|
-
"""
|
|
394
|
-
return pulumi.get(self, "ssl_enabled")
|
|
395
|
-
|
|
396
|
-
@ssl_enabled.setter
|
|
397
|
-
def ssl_enabled(self, value: Optional[pulumi.Input[str]]):
|
|
398
|
-
pulumi.set(self, "ssl_enabled", value)
|
|
399
|
-
|
|
400
368
|
@property
|
|
401
369
|
@pulumi.getter(name="storagePerformanceLevel")
|
|
402
370
|
def storage_performance_level(self) -> Optional[pulumi.Input[str]]:
|
|
403
371
|
"""
|
|
404
|
-
The storage type. The value is
|
|
372
|
+
The storage type. The value range is [PL1, PL2, and PL3]. The default value is PL1. When the value of instance_type is "tair_essd", this attribute takes effect and is required.
|
|
405
373
|
"""
|
|
406
374
|
return pulumi.get(self, "storage_performance_level")
|
|
407
375
|
|
|
@@ -425,7 +393,7 @@ class TairInstanceArgs:
|
|
|
425
393
|
@pulumi.getter
|
|
426
394
|
def tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
|
427
395
|
"""
|
|
428
|
-
The tag of the resource
|
|
396
|
+
The tag of the resource.
|
|
429
397
|
"""
|
|
430
398
|
return pulumi.get(self, "tags")
|
|
431
399
|
|
|
@@ -466,10 +434,8 @@ class _TairInstanceState:
|
|
|
466
434
|
read_only_count: Optional[pulumi.Input[int]] = None,
|
|
467
435
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
468
436
|
secondary_zone_id: Optional[pulumi.Input[str]] = None,
|
|
469
|
-
security_group_id: Optional[pulumi.Input[str]] = None,
|
|
470
437
|
shard_count: Optional[pulumi.Input[int]] = None,
|
|
471
438
|
slave_read_only_count: Optional[pulumi.Input[int]] = None,
|
|
472
|
-
ssl_enabled: Optional[pulumi.Input[str]] = None,
|
|
473
439
|
status: Optional[pulumi.Input[str]] = None,
|
|
474
440
|
storage_performance_level: Optional[pulumi.Input[str]] = None,
|
|
475
441
|
storage_size_gb: Optional[pulumi.Input[int]] = None,
|
|
@@ -482,33 +448,31 @@ class _TairInstanceState:
|
|
|
482
448
|
Input properties used for looking up and filtering TairInstance resources.
|
|
483
449
|
: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).
|
|
484
450
|
: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.
|
|
485
|
-
:param pulumi.Input[str] cluster_backup_id: The ID of the backup set of the cluster.
|
|
451
|
+
:param pulumi.Input[str] cluster_backup_id: The ID of the backup set of the cluster. .
|
|
486
452
|
: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.
|
|
487
453
|
: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).
|
|
488
|
-
:param pulumi.Input[str] engine_version: Database version. Default value: 1.0.
|
|
454
|
+
:param pulumi.Input[str] engine_version: Database version. Default value: 1.0. Rules for transferring parameters of different tair product types: tair_rdb: Compatible with the Redis5.0 and Redis6.0 protocols, and is transmitted to 5.0 or 6.0. tair_scm: The Tair persistent memory is compatible with the Redis6.0 protocol and is passed 1.0. tair_essd: The disk (ESSD/SSD) is compatible with the Redis4.0 and Redis6.0 protocols, and is transmitted to 1.0 and 2.0 respectively.
|
|
489
455
|
: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).
|
|
490
456
|
: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).
|
|
491
457
|
:param pulumi.Input[str] instance_type: The storage medium of the instance. Valid values: tair_rdb, tair_scm, tair_essd.
|
|
492
|
-
:param pulumi.Input[str] node_type: Node type, value:
|
|
493
|
-
: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 ! @ # $ % ^ & * ( ) _ + -
|
|
494
|
-
:param pulumi.Input[str] payment_type:
|
|
458
|
+
:param pulumi.Input[str] node_type: Node type, value: MASTER_SLAVE: high availability (dual copy) STAND_ALONE: single copy double: double copy single: single copy Note For Cloud Native instances, select MASTER_SLAVE or STAND_ALONE. For Classic instances, select double or single.
|
|
459
|
+
: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 ! @ # $ % ^ & * ( ) _ + - =.
|
|
460
|
+
:param pulumi.Input[str] payment_type: The billing method of the instance. Default value: `Subscription`. Valid values: `PayAsYouGo`, `Subscription`.
|
|
495
461
|
: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.
|
|
496
462
|
:param pulumi.Input[int] port: The Tair service port. The service port of the instance. Valid values: 1024 to 65535. Default value: 6379.
|
|
497
|
-
: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:
|
|
463
|
+
:param pulumi.Input[int] read_only_count: Number of read-only nodes in the primary zone. Valid values: 0 to 5. This parameter is only applicable to the following conditions: If the instance is in the cloud disk version standard architecture, you can set this parameter to a value greater than 0 to enable the read/write splitting architecture. If the instance is a cloud disk version read/write splitting architecture instance, you can use this parameter to customize the number of read-only nodes, or set this parameter to 0 to disable the read/write splitting architecture and switch the instance to the standard architecture.
|
|
498
464
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group to which the instance belongs.
|
|
499
465
|
: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.
|
|
500
|
-
:param pulumi.Input[str] security_group_id: Security group ID
|
|
501
466
|
: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.
|
|
502
467
|
:param pulumi.Input[int] slave_read_only_count: Specifies the number of read-only nodes in the secondary zone when creating a multi-zone read/write splitting instance. Note: To create a multi-zone read/write splitting instance, slaveadonlycount and SecondaryZoneId must be specified at the same time.
|
|
503
|
-
:param pulumi.Input[str]
|
|
504
|
-
:param pulumi.Input[str]
|
|
505
|
-
:param pulumi.Input[str] storage_performance_level: The storage type. The value is set to essd_pl1. Note This parameter is only available when the value of InstanceType is tair_essd.
|
|
468
|
+
:param pulumi.Input[str] status: The status of the resource.
|
|
469
|
+
:param pulumi.Input[str] storage_performance_level: The storage type. The value range is [PL1, PL2, and PL3]. The default value is PL1. When the value of instance_type is "tair_essd", this attribute takes effect and is required.
|
|
506
470
|
:param pulumi.Input[int] storage_size_gb: The value range of different specifications is different, see [ESSD-based instances](https://www.alibabacloud.com/help/en/tair/product-overview/essd-based-instances). When the value of instance_type is "tair_essd", this attribute takes effect and is required.
|
|
507
|
-
:param pulumi.Input[Mapping[str, Any]] tags: The tag of the resource
|
|
471
|
+
:param pulumi.Input[Mapping[str, Any]] tags: The tag of the resource.
|
|
508
472
|
:param pulumi.Input[str] tair_instance_name: The name of the resource.
|
|
509
473
|
:param pulumi.Input[str] vpc_id: The ID of the virtual private cloud (VPC).
|
|
510
474
|
:param pulumi.Input[str] vswitch_id: The ID of the vSwitch to which the instance is connected.
|
|
511
|
-
:param pulumi.Input[str] zone_id: Zone ID
|
|
475
|
+
:param pulumi.Input[str] zone_id: Zone ID.
|
|
512
476
|
"""
|
|
513
477
|
if auto_renew is not None:
|
|
514
478
|
pulumi.set(__self__, "auto_renew", auto_renew)
|
|
@@ -544,14 +508,10 @@ class _TairInstanceState:
|
|
|
544
508
|
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
545
509
|
if secondary_zone_id is not None:
|
|
546
510
|
pulumi.set(__self__, "secondary_zone_id", secondary_zone_id)
|
|
547
|
-
if security_group_id is not None:
|
|
548
|
-
pulumi.set(__self__, "security_group_id", security_group_id)
|
|
549
511
|
if shard_count is not None:
|
|
550
512
|
pulumi.set(__self__, "shard_count", shard_count)
|
|
551
513
|
if slave_read_only_count is not None:
|
|
552
514
|
pulumi.set(__self__, "slave_read_only_count", slave_read_only_count)
|
|
553
|
-
if ssl_enabled is not None:
|
|
554
|
-
pulumi.set(__self__, "ssl_enabled", ssl_enabled)
|
|
555
515
|
if status is not None:
|
|
556
516
|
pulumi.set(__self__, "status", status)
|
|
557
517
|
if storage_performance_level is not None:
|
|
@@ -597,7 +557,7 @@ class _TairInstanceState:
|
|
|
597
557
|
@pulumi.getter(name="clusterBackupId")
|
|
598
558
|
def cluster_backup_id(self) -> Optional[pulumi.Input[str]]:
|
|
599
559
|
"""
|
|
600
|
-
The ID of the backup set of the cluster.
|
|
560
|
+
The ID of the backup set of the cluster. .
|
|
601
561
|
"""
|
|
602
562
|
return pulumi.get(self, "cluster_backup_id")
|
|
603
563
|
|
|
@@ -633,7 +593,7 @@ class _TairInstanceState:
|
|
|
633
593
|
@pulumi.getter(name="engineVersion")
|
|
634
594
|
def engine_version(self) -> Optional[pulumi.Input[str]]:
|
|
635
595
|
"""
|
|
636
|
-
Database version. Default value: 1.0.
|
|
596
|
+
Database version. Default value: 1.0. Rules for transferring parameters of different tair product types: tair_rdb: Compatible with the Redis5.0 and Redis6.0 protocols, and is transmitted to 5.0 or 6.0. tair_scm: The Tair persistent memory is compatible with the Redis6.0 protocol and is passed 1.0. tair_essd: The disk (ESSD/SSD) is compatible with the Redis4.0 and Redis6.0 protocols, and is transmitted to 1.0 and 2.0 respectively.
|
|
637
597
|
"""
|
|
638
598
|
return pulumi.get(self, "engine_version")
|
|
639
599
|
|
|
@@ -681,7 +641,7 @@ class _TairInstanceState:
|
|
|
681
641
|
@pulumi.getter(name="nodeType")
|
|
682
642
|
def node_type(self) -> Optional[pulumi.Input[str]]:
|
|
683
643
|
"""
|
|
684
|
-
Node type, value:
|
|
644
|
+
Node type, value: MASTER_SLAVE: high availability (dual copy) STAND_ALONE: single copy double: double copy single: single copy Note For Cloud Native instances, select MASTER_SLAVE or STAND_ALONE. For Classic instances, select double or single.
|
|
685
645
|
"""
|
|
686
646
|
return pulumi.get(self, "node_type")
|
|
687
647
|
|
|
@@ -693,7 +653,7 @@ class _TairInstanceState:
|
|
|
693
653
|
@pulumi.getter
|
|
694
654
|
def password(self) -> Optional[pulumi.Input[str]]:
|
|
695
655
|
"""
|
|
696
|
-
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 ! @ # $ % ^ & * ( ) _ + -
|
|
656
|
+
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 ! @ # $ % ^ & * ( ) _ + - =.
|
|
697
657
|
"""
|
|
698
658
|
return pulumi.get(self, "password")
|
|
699
659
|
|
|
@@ -705,7 +665,7 @@ class _TairInstanceState:
|
|
|
705
665
|
@pulumi.getter(name="paymentType")
|
|
706
666
|
def payment_type(self) -> Optional[pulumi.Input[str]]:
|
|
707
667
|
"""
|
|
708
|
-
|
|
668
|
+
The billing method of the instance. Default value: `Subscription`. Valid values: `PayAsYouGo`, `Subscription`.
|
|
709
669
|
"""
|
|
710
670
|
return pulumi.get(self, "payment_type")
|
|
711
671
|
|
|
@@ -741,7 +701,7 @@ class _TairInstanceState:
|
|
|
741
701
|
@pulumi.getter(name="readOnlyCount")
|
|
742
702
|
def read_only_count(self) -> Optional[pulumi.Input[int]]:
|
|
743
703
|
"""
|
|
744
|
-
Number of read-only nodes in the primary zone. Valid values: 0 to 5. This parameter is only applicable to the following conditions:
|
|
704
|
+
Number of read-only nodes in the primary zone. Valid values: 0 to 5. This parameter is only applicable to the following conditions: If the instance is in the cloud disk version standard architecture, you can set this parameter to a value greater than 0 to enable the read/write splitting architecture. If the instance is a cloud disk version read/write splitting architecture instance, you can use this parameter to customize the number of read-only nodes, or set this parameter to 0 to disable the read/write splitting architecture and switch the instance to the standard architecture.
|
|
745
705
|
"""
|
|
746
706
|
return pulumi.get(self, "read_only_count")
|
|
747
707
|
|
|
@@ -773,18 +733,6 @@ class _TairInstanceState:
|
|
|
773
733
|
def secondary_zone_id(self, value: Optional[pulumi.Input[str]]):
|
|
774
734
|
pulumi.set(self, "secondary_zone_id", value)
|
|
775
735
|
|
|
776
|
-
@property
|
|
777
|
-
@pulumi.getter(name="securityGroupId")
|
|
778
|
-
def security_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
779
|
-
"""
|
|
780
|
-
Security group ID
|
|
781
|
-
"""
|
|
782
|
-
return pulumi.get(self, "security_group_id")
|
|
783
|
-
|
|
784
|
-
@security_group_id.setter
|
|
785
|
-
def security_group_id(self, value: Optional[pulumi.Input[str]]):
|
|
786
|
-
pulumi.set(self, "security_group_id", value)
|
|
787
|
-
|
|
788
736
|
@property
|
|
789
737
|
@pulumi.getter(name="shardCount")
|
|
790
738
|
def shard_count(self) -> Optional[pulumi.Input[int]]:
|
|
@@ -809,23 +757,11 @@ class _TairInstanceState:
|
|
|
809
757
|
def slave_read_only_count(self, value: Optional[pulumi.Input[int]]):
|
|
810
758
|
pulumi.set(self, "slave_read_only_count", value)
|
|
811
759
|
|
|
812
|
-
@property
|
|
813
|
-
@pulumi.getter(name="sslEnabled")
|
|
814
|
-
def ssl_enabled(self) -> Optional[pulumi.Input[str]]:
|
|
815
|
-
"""
|
|
816
|
-
Modify the TLS(SSL) setting. Value: Expand Details Example values: Enable Enumeration value: Disable Enable Update Reference value Source: DescribeInstanceSSL
|
|
817
|
-
"""
|
|
818
|
-
return pulumi.get(self, "ssl_enabled")
|
|
819
|
-
|
|
820
|
-
@ssl_enabled.setter
|
|
821
|
-
def ssl_enabled(self, value: Optional[pulumi.Input[str]]):
|
|
822
|
-
pulumi.set(self, "ssl_enabled", value)
|
|
823
|
-
|
|
824
760
|
@property
|
|
825
761
|
@pulumi.getter
|
|
826
762
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
827
763
|
"""
|
|
828
|
-
The status of the resource
|
|
764
|
+
The status of the resource.
|
|
829
765
|
"""
|
|
830
766
|
return pulumi.get(self, "status")
|
|
831
767
|
|
|
@@ -837,7 +773,7 @@ class _TairInstanceState:
|
|
|
837
773
|
@pulumi.getter(name="storagePerformanceLevel")
|
|
838
774
|
def storage_performance_level(self) -> Optional[pulumi.Input[str]]:
|
|
839
775
|
"""
|
|
840
|
-
The storage type. The value is
|
|
776
|
+
The storage type. The value range is [PL1, PL2, and PL3]. The default value is PL1. When the value of instance_type is "tair_essd", this attribute takes effect and is required.
|
|
841
777
|
"""
|
|
842
778
|
return pulumi.get(self, "storage_performance_level")
|
|
843
779
|
|
|
@@ -861,7 +797,7 @@ class _TairInstanceState:
|
|
|
861
797
|
@pulumi.getter
|
|
862
798
|
def tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
|
863
799
|
"""
|
|
864
|
-
The tag of the resource
|
|
800
|
+
The tag of the resource.
|
|
865
801
|
"""
|
|
866
802
|
return pulumi.get(self, "tags")
|
|
867
803
|
|
|
@@ -909,7 +845,7 @@ class _TairInstanceState:
|
|
|
909
845
|
@pulumi.getter(name="zoneId")
|
|
910
846
|
def zone_id(self) -> Optional[pulumi.Input[str]]:
|
|
911
847
|
"""
|
|
912
|
-
Zone ID
|
|
848
|
+
Zone ID.
|
|
913
849
|
"""
|
|
914
850
|
return pulumi.get(self, "zone_id")
|
|
915
851
|
|
|
@@ -939,10 +875,8 @@ class TairInstance(pulumi.CustomResource):
|
|
|
939
875
|
read_only_count: Optional[pulumi.Input[int]] = None,
|
|
940
876
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
941
877
|
secondary_zone_id: Optional[pulumi.Input[str]] = None,
|
|
942
|
-
security_group_id: Optional[pulumi.Input[str]] = None,
|
|
943
878
|
shard_count: Optional[pulumi.Input[int]] = None,
|
|
944
879
|
slave_read_only_count: Optional[pulumi.Input[int]] = None,
|
|
945
|
-
ssl_enabled: Optional[pulumi.Input[str]] = None,
|
|
946
880
|
storage_performance_level: Optional[pulumi.Input[str]] = None,
|
|
947
881
|
storage_size_gb: Optional[pulumi.Input[int]] = None,
|
|
948
882
|
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
|
@@ -964,31 +898,29 @@ class TairInstance(pulumi.CustomResource):
|
|
|
964
898
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
965
899
|
: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).
|
|
966
900
|
: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.
|
|
967
|
-
:param pulumi.Input[str] cluster_backup_id: The ID of the backup set of the cluster.
|
|
901
|
+
:param pulumi.Input[str] cluster_backup_id: The ID of the backup set of the cluster. .
|
|
968
902
|
: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).
|
|
969
|
-
:param pulumi.Input[str] engine_version: Database version. Default value: 1.0.
|
|
903
|
+
:param pulumi.Input[str] engine_version: Database version. Default value: 1.0. Rules for transferring parameters of different tair product types: tair_rdb: Compatible with the Redis5.0 and Redis6.0 protocols, and is transmitted to 5.0 or 6.0. tair_scm: The Tair persistent memory is compatible with the Redis6.0 protocol and is passed 1.0. tair_essd: The disk (ESSD/SSD) is compatible with the Redis4.0 and Redis6.0 protocols, and is transmitted to 1.0 and 2.0 respectively.
|
|
970
904
|
: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).
|
|
971
905
|
: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).
|
|
972
906
|
:param pulumi.Input[str] instance_type: The storage medium of the instance. Valid values: tair_rdb, tair_scm, tair_essd.
|
|
973
|
-
:param pulumi.Input[str] node_type: Node type, value:
|
|
974
|
-
: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 ! @ # $ % ^ & * ( ) _ + -
|
|
975
|
-
:param pulumi.Input[str] payment_type:
|
|
907
|
+
:param pulumi.Input[str] node_type: Node type, value: MASTER_SLAVE: high availability (dual copy) STAND_ALONE: single copy double: double copy single: single copy Note For Cloud Native instances, select MASTER_SLAVE or STAND_ALONE. For Classic instances, select double or single.
|
|
908
|
+
: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 ! @ # $ % ^ & * ( ) _ + - =.
|
|
909
|
+
:param pulumi.Input[str] payment_type: The billing method of the instance. Default value: `Subscription`. Valid values: `PayAsYouGo`, `Subscription`.
|
|
976
910
|
: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.
|
|
977
911
|
:param pulumi.Input[int] port: The Tair service port. The service port of the instance. Valid values: 1024 to 65535. Default value: 6379.
|
|
978
|
-
: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:
|
|
912
|
+
:param pulumi.Input[int] read_only_count: Number of read-only nodes in the primary zone. Valid values: 0 to 5. This parameter is only applicable to the following conditions: If the instance is in the cloud disk version standard architecture, you can set this parameter to a value greater than 0 to enable the read/write splitting architecture. If the instance is a cloud disk version read/write splitting architecture instance, you can use this parameter to customize the number of read-only nodes, or set this parameter to 0 to disable the read/write splitting architecture and switch the instance to the standard architecture.
|
|
979
913
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group to which the instance belongs.
|
|
980
914
|
: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.
|
|
981
|
-
:param pulumi.Input[str] security_group_id: Security group ID
|
|
982
915
|
: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.
|
|
983
916
|
:param pulumi.Input[int] slave_read_only_count: Specifies the number of read-only nodes in the secondary zone when creating a multi-zone read/write splitting instance. Note: To create a multi-zone read/write splitting instance, slaveadonlycount and SecondaryZoneId must be specified at the same time.
|
|
984
|
-
:param pulumi.Input[str]
|
|
985
|
-
:param pulumi.Input[str] storage_performance_level: The storage type. The value is set to essd_pl1. Note This parameter is only available when the value of InstanceType is tair_essd.
|
|
917
|
+
:param pulumi.Input[str] storage_performance_level: The storage type. The value range is [PL1, PL2, and PL3]. The default value is PL1. When the value of instance_type is "tair_essd", this attribute takes effect and is required.
|
|
986
918
|
:param pulumi.Input[int] storage_size_gb: The value range of different specifications is different, see [ESSD-based instances](https://www.alibabacloud.com/help/en/tair/product-overview/essd-based-instances). When the value of instance_type is "tair_essd", this attribute takes effect and is required.
|
|
987
|
-
:param pulumi.Input[Mapping[str, Any]] tags: The tag of the resource
|
|
919
|
+
:param pulumi.Input[Mapping[str, Any]] tags: The tag of the resource.
|
|
988
920
|
:param pulumi.Input[str] tair_instance_name: The name of the resource.
|
|
989
921
|
:param pulumi.Input[str] vpc_id: The ID of the virtual private cloud (VPC).
|
|
990
922
|
:param pulumi.Input[str] vswitch_id: The ID of the vSwitch to which the instance is connected.
|
|
991
|
-
:param pulumi.Input[str] zone_id: Zone ID
|
|
923
|
+
:param pulumi.Input[str] zone_id: Zone ID.
|
|
992
924
|
"""
|
|
993
925
|
...
|
|
994
926
|
@overload
|
|
@@ -1036,10 +968,8 @@ class TairInstance(pulumi.CustomResource):
|
|
|
1036
968
|
read_only_count: Optional[pulumi.Input[int]] = None,
|
|
1037
969
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
1038
970
|
secondary_zone_id: Optional[pulumi.Input[str]] = None,
|
|
1039
|
-
security_group_id: Optional[pulumi.Input[str]] = None,
|
|
1040
971
|
shard_count: Optional[pulumi.Input[int]] = None,
|
|
1041
972
|
slave_read_only_count: Optional[pulumi.Input[int]] = None,
|
|
1042
|
-
ssl_enabled: Optional[pulumi.Input[str]] = None,
|
|
1043
973
|
storage_performance_level: Optional[pulumi.Input[str]] = None,
|
|
1044
974
|
storage_size_gb: Optional[pulumi.Input[int]] = None,
|
|
1045
975
|
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
|
@@ -1076,10 +1006,8 @@ class TairInstance(pulumi.CustomResource):
|
|
|
1076
1006
|
__props__.__dict__["read_only_count"] = read_only_count
|
|
1077
1007
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
1078
1008
|
__props__.__dict__["secondary_zone_id"] = secondary_zone_id
|
|
1079
|
-
__props__.__dict__["security_group_id"] = security_group_id
|
|
1080
1009
|
__props__.__dict__["shard_count"] = shard_count
|
|
1081
1010
|
__props__.__dict__["slave_read_only_count"] = slave_read_only_count
|
|
1082
|
-
__props__.__dict__["ssl_enabled"] = ssl_enabled
|
|
1083
1011
|
__props__.__dict__["storage_performance_level"] = storage_performance_level
|
|
1084
1012
|
__props__.__dict__["storage_size_gb"] = storage_size_gb
|
|
1085
1013
|
__props__.__dict__["tags"] = tags
|
|
@@ -1124,10 +1052,8 @@ class TairInstance(pulumi.CustomResource):
|
|
|
1124
1052
|
read_only_count: Optional[pulumi.Input[int]] = None,
|
|
1125
1053
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
1126
1054
|
secondary_zone_id: Optional[pulumi.Input[str]] = None,
|
|
1127
|
-
security_group_id: Optional[pulumi.Input[str]] = None,
|
|
1128
1055
|
shard_count: Optional[pulumi.Input[int]] = None,
|
|
1129
1056
|
slave_read_only_count: Optional[pulumi.Input[int]] = None,
|
|
1130
|
-
ssl_enabled: Optional[pulumi.Input[str]] = None,
|
|
1131
1057
|
status: Optional[pulumi.Input[str]] = None,
|
|
1132
1058
|
storage_performance_level: Optional[pulumi.Input[str]] = None,
|
|
1133
1059
|
storage_size_gb: Optional[pulumi.Input[int]] = None,
|
|
@@ -1145,33 +1071,31 @@ class TairInstance(pulumi.CustomResource):
|
|
|
1145
1071
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1146
1072
|
: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).
|
|
1147
1073
|
: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.
|
|
1148
|
-
:param pulumi.Input[str] cluster_backup_id: The ID of the backup set of the cluster.
|
|
1074
|
+
:param pulumi.Input[str] cluster_backup_id: The ID of the backup set of the cluster. .
|
|
1149
1075
|
: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.
|
|
1150
1076
|
: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).
|
|
1151
|
-
:param pulumi.Input[str] engine_version: Database version. Default value: 1.0.
|
|
1077
|
+
:param pulumi.Input[str] engine_version: Database version. Default value: 1.0. Rules for transferring parameters of different tair product types: tair_rdb: Compatible with the Redis5.0 and Redis6.0 protocols, and is transmitted to 5.0 or 6.0. tair_scm: The Tair persistent memory is compatible with the Redis6.0 protocol and is passed 1.0. tair_essd: The disk (ESSD/SSD) is compatible with the Redis4.0 and Redis6.0 protocols, and is transmitted to 1.0 and 2.0 respectively.
|
|
1152
1078
|
: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).
|
|
1153
1079
|
: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).
|
|
1154
1080
|
:param pulumi.Input[str] instance_type: The storage medium of the instance. Valid values: tair_rdb, tair_scm, tair_essd.
|
|
1155
|
-
:param pulumi.Input[str] node_type: Node type, value:
|
|
1156
|
-
: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 ! @ # $ % ^ & * ( ) _ + -
|
|
1157
|
-
:param pulumi.Input[str] payment_type:
|
|
1081
|
+
:param pulumi.Input[str] node_type: Node type, value: MASTER_SLAVE: high availability (dual copy) STAND_ALONE: single copy double: double copy single: single copy Note For Cloud Native instances, select MASTER_SLAVE or STAND_ALONE. For Classic instances, select double or single.
|
|
1082
|
+
: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 ! @ # $ % ^ & * ( ) _ + - =.
|
|
1083
|
+
:param pulumi.Input[str] payment_type: The billing method of the instance. Default value: `Subscription`. Valid values: `PayAsYouGo`, `Subscription`.
|
|
1158
1084
|
: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.
|
|
1159
1085
|
:param pulumi.Input[int] port: The Tair service port. The service port of the instance. Valid values: 1024 to 65535. Default value: 6379.
|
|
1160
|
-
: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:
|
|
1086
|
+
:param pulumi.Input[int] read_only_count: Number of read-only nodes in the primary zone. Valid values: 0 to 5. This parameter is only applicable to the following conditions: If the instance is in the cloud disk version standard architecture, you can set this parameter to a value greater than 0 to enable the read/write splitting architecture. If the instance is a cloud disk version read/write splitting architecture instance, you can use this parameter to customize the number of read-only nodes, or set this parameter to 0 to disable the read/write splitting architecture and switch the instance to the standard architecture.
|
|
1161
1087
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group to which the instance belongs.
|
|
1162
1088
|
: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.
|
|
1163
|
-
:param pulumi.Input[str] security_group_id: Security group ID
|
|
1164
1089
|
: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.
|
|
1165
1090
|
:param pulumi.Input[int] slave_read_only_count: Specifies the number of read-only nodes in the secondary zone when creating a multi-zone read/write splitting instance. Note: To create a multi-zone read/write splitting instance, slaveadonlycount and SecondaryZoneId must be specified at the same time.
|
|
1166
|
-
:param pulumi.Input[str]
|
|
1167
|
-
:param pulumi.Input[str]
|
|
1168
|
-
:param pulumi.Input[str] storage_performance_level: The storage type. The value is set to essd_pl1. Note This parameter is only available when the value of InstanceType is tair_essd.
|
|
1091
|
+
:param pulumi.Input[str] status: The status of the resource.
|
|
1092
|
+
:param pulumi.Input[str] storage_performance_level: The storage type. The value range is [PL1, PL2, and PL3]. The default value is PL1. When the value of instance_type is "tair_essd", this attribute takes effect and is required.
|
|
1169
1093
|
:param pulumi.Input[int] storage_size_gb: The value range of different specifications is different, see [ESSD-based instances](https://www.alibabacloud.com/help/en/tair/product-overview/essd-based-instances). When the value of instance_type is "tair_essd", this attribute takes effect and is required.
|
|
1170
|
-
:param pulumi.Input[Mapping[str, Any]] tags: The tag of the resource
|
|
1094
|
+
:param pulumi.Input[Mapping[str, Any]] tags: The tag of the resource.
|
|
1171
1095
|
:param pulumi.Input[str] tair_instance_name: The name of the resource.
|
|
1172
1096
|
:param pulumi.Input[str] vpc_id: The ID of the virtual private cloud (VPC).
|
|
1173
1097
|
:param pulumi.Input[str] vswitch_id: The ID of the vSwitch to which the instance is connected.
|
|
1174
|
-
:param pulumi.Input[str] zone_id: Zone ID
|
|
1098
|
+
:param pulumi.Input[str] zone_id: Zone ID.
|
|
1175
1099
|
"""
|
|
1176
1100
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
1177
1101
|
|
|
@@ -1194,10 +1118,8 @@ class TairInstance(pulumi.CustomResource):
|
|
|
1194
1118
|
__props__.__dict__["read_only_count"] = read_only_count
|
|
1195
1119
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
1196
1120
|
__props__.__dict__["secondary_zone_id"] = secondary_zone_id
|
|
1197
|
-
__props__.__dict__["security_group_id"] = security_group_id
|
|
1198
1121
|
__props__.__dict__["shard_count"] = shard_count
|
|
1199
1122
|
__props__.__dict__["slave_read_only_count"] = slave_read_only_count
|
|
1200
|
-
__props__.__dict__["ssl_enabled"] = ssl_enabled
|
|
1201
1123
|
__props__.__dict__["status"] = status
|
|
1202
1124
|
__props__.__dict__["storage_performance_level"] = storage_performance_level
|
|
1203
1125
|
__props__.__dict__["storage_size_gb"] = storage_size_gb
|
|
@@ -1228,7 +1150,7 @@ class TairInstance(pulumi.CustomResource):
|
|
|
1228
1150
|
@pulumi.getter(name="clusterBackupId")
|
|
1229
1151
|
def cluster_backup_id(self) -> pulumi.Output[Optional[str]]:
|
|
1230
1152
|
"""
|
|
1231
|
-
The ID of the backup set of the cluster.
|
|
1153
|
+
The ID of the backup set of the cluster. .
|
|
1232
1154
|
"""
|
|
1233
1155
|
return pulumi.get(self, "cluster_backup_id")
|
|
1234
1156
|
|
|
@@ -1252,7 +1174,7 @@ class TairInstance(pulumi.CustomResource):
|
|
|
1252
1174
|
@pulumi.getter(name="engineVersion")
|
|
1253
1175
|
def engine_version(self) -> pulumi.Output[str]:
|
|
1254
1176
|
"""
|
|
1255
|
-
Database version. Default value: 1.0.
|
|
1177
|
+
Database version. Default value: 1.0. Rules for transferring parameters of different tair product types: tair_rdb: Compatible with the Redis5.0 and Redis6.0 protocols, and is transmitted to 5.0 or 6.0. tair_scm: The Tair persistent memory is compatible with the Redis6.0 protocol and is passed 1.0. tair_essd: The disk (ESSD/SSD) is compatible with the Redis4.0 and Redis6.0 protocols, and is transmitted to 1.0 and 2.0 respectively.
|
|
1256
1178
|
"""
|
|
1257
1179
|
return pulumi.get(self, "engine_version")
|
|
1258
1180
|
|
|
@@ -1284,7 +1206,7 @@ class TairInstance(pulumi.CustomResource):
|
|
|
1284
1206
|
@pulumi.getter(name="nodeType")
|
|
1285
1207
|
def node_type(self) -> pulumi.Output[str]:
|
|
1286
1208
|
"""
|
|
1287
|
-
Node type, value:
|
|
1209
|
+
Node type, value: MASTER_SLAVE: high availability (dual copy) STAND_ALONE: single copy double: double copy single: single copy Note For Cloud Native instances, select MASTER_SLAVE or STAND_ALONE. For Classic instances, select double or single.
|
|
1288
1210
|
"""
|
|
1289
1211
|
return pulumi.get(self, "node_type")
|
|
1290
1212
|
|
|
@@ -1292,7 +1214,7 @@ class TairInstance(pulumi.CustomResource):
|
|
|
1292
1214
|
@pulumi.getter
|
|
1293
1215
|
def password(self) -> pulumi.Output[Optional[str]]:
|
|
1294
1216
|
"""
|
|
1295
|
-
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 ! @ # $ % ^ & * ( ) _ + -
|
|
1217
|
+
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 ! @ # $ % ^ & * ( ) _ + - =.
|
|
1296
1218
|
"""
|
|
1297
1219
|
return pulumi.get(self, "password")
|
|
1298
1220
|
|
|
@@ -1300,7 +1222,7 @@ class TairInstance(pulumi.CustomResource):
|
|
|
1300
1222
|
@pulumi.getter(name="paymentType")
|
|
1301
1223
|
def payment_type(self) -> pulumi.Output[str]:
|
|
1302
1224
|
"""
|
|
1303
|
-
|
|
1225
|
+
The billing method of the instance. Default value: `Subscription`. Valid values: `PayAsYouGo`, `Subscription`.
|
|
1304
1226
|
"""
|
|
1305
1227
|
return pulumi.get(self, "payment_type")
|
|
1306
1228
|
|
|
@@ -1324,7 +1246,7 @@ class TairInstance(pulumi.CustomResource):
|
|
|
1324
1246
|
@pulumi.getter(name="readOnlyCount")
|
|
1325
1247
|
def read_only_count(self) -> pulumi.Output[Optional[int]]:
|
|
1326
1248
|
"""
|
|
1327
|
-
Number of read-only nodes in the primary zone. Valid values: 0 to 5. This parameter is only applicable to the following conditions:
|
|
1249
|
+
Number of read-only nodes in the primary zone. Valid values: 0 to 5. This parameter is only applicable to the following conditions: If the instance is in the cloud disk version standard architecture, you can set this parameter to a value greater than 0 to enable the read/write splitting architecture. If the instance is a cloud disk version read/write splitting architecture instance, you can use this parameter to customize the number of read-only nodes, or set this parameter to 0 to disable the read/write splitting architecture and switch the instance to the standard architecture.
|
|
1328
1250
|
"""
|
|
1329
1251
|
return pulumi.get(self, "read_only_count")
|
|
1330
1252
|
|
|
@@ -1344,14 +1266,6 @@ class TairInstance(pulumi.CustomResource):
|
|
|
1344
1266
|
"""
|
|
1345
1267
|
return pulumi.get(self, "secondary_zone_id")
|
|
1346
1268
|
|
|
1347
|
-
@property
|
|
1348
|
-
@pulumi.getter(name="securityGroupId")
|
|
1349
|
-
def security_group_id(self) -> pulumi.Output[Optional[str]]:
|
|
1350
|
-
"""
|
|
1351
|
-
Security group ID
|
|
1352
|
-
"""
|
|
1353
|
-
return pulumi.get(self, "security_group_id")
|
|
1354
|
-
|
|
1355
1269
|
@property
|
|
1356
1270
|
@pulumi.getter(name="shardCount")
|
|
1357
1271
|
def shard_count(self) -> pulumi.Output[int]:
|
|
@@ -1368,19 +1282,11 @@ class TairInstance(pulumi.CustomResource):
|
|
|
1368
1282
|
"""
|
|
1369
1283
|
return pulumi.get(self, "slave_read_only_count")
|
|
1370
1284
|
|
|
1371
|
-
@property
|
|
1372
|
-
@pulumi.getter(name="sslEnabled")
|
|
1373
|
-
def ssl_enabled(self) -> pulumi.Output[str]:
|
|
1374
|
-
"""
|
|
1375
|
-
Modify the TLS(SSL) setting. Value: Expand Details Example values: Enable Enumeration value: Disable Enable Update Reference value Source: DescribeInstanceSSL
|
|
1376
|
-
"""
|
|
1377
|
-
return pulumi.get(self, "ssl_enabled")
|
|
1378
|
-
|
|
1379
1285
|
@property
|
|
1380
1286
|
@pulumi.getter
|
|
1381
1287
|
def status(self) -> pulumi.Output[str]:
|
|
1382
1288
|
"""
|
|
1383
|
-
The status of the resource
|
|
1289
|
+
The status of the resource.
|
|
1384
1290
|
"""
|
|
1385
1291
|
return pulumi.get(self, "status")
|
|
1386
1292
|
|
|
@@ -1388,7 +1294,7 @@ class TairInstance(pulumi.CustomResource):
|
|
|
1388
1294
|
@pulumi.getter(name="storagePerformanceLevel")
|
|
1389
1295
|
def storage_performance_level(self) -> pulumi.Output[Optional[str]]:
|
|
1390
1296
|
"""
|
|
1391
|
-
The storage type. The value is
|
|
1297
|
+
The storage type. The value range is [PL1, PL2, and PL3]. The default value is PL1. When the value of instance_type is "tair_essd", this attribute takes effect and is required.
|
|
1392
1298
|
"""
|
|
1393
1299
|
return pulumi.get(self, "storage_performance_level")
|
|
1394
1300
|
|
|
@@ -1404,7 +1310,7 @@ class TairInstance(pulumi.CustomResource):
|
|
|
1404
1310
|
@pulumi.getter
|
|
1405
1311
|
def tags(self) -> pulumi.Output[Optional[Mapping[str, Any]]]:
|
|
1406
1312
|
"""
|
|
1407
|
-
The tag of the resource
|
|
1313
|
+
The tag of the resource.
|
|
1408
1314
|
"""
|
|
1409
1315
|
return pulumi.get(self, "tags")
|
|
1410
1316
|
|
|
@@ -1436,7 +1342,7 @@ class TairInstance(pulumi.CustomResource):
|
|
|
1436
1342
|
@pulumi.getter(name="zoneId")
|
|
1437
1343
|
def zone_id(self) -> pulumi.Output[str]:
|
|
1438
1344
|
"""
|
|
1439
|
-
Zone ID
|
|
1345
|
+
Zone ID.
|
|
1440
1346
|
"""
|
|
1441
1347
|
return pulumi.get(self, "zone_id")
|
|
1442
1348
|
|