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