pulumi-alicloud 3.56.0a1717132537__py3-none-any.whl → 3.56.0a1717175543__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 +96 -0
- pulumi_alicloud/alikafka/instance.py +47 -0
- pulumi_alicloud/apigateway/__init__.py +1 -0
- pulumi_alicloud/apigateway/_inputs.py +40 -0
- pulumi_alicloud/apigateway/access_control_list.py +322 -0
- pulumi_alicloud/apigateway/get_apis.py +96 -23
- pulumi_alicloud/apigateway/outputs.py +72 -14
- pulumi_alicloud/apigateway/plugin.py +225 -73
- pulumi_alicloud/cen/get_transit_router_vpc_attachments.py +171 -18
- pulumi_alicloud/cen/outputs.py +51 -22
- pulumi_alicloud/cloudfirewall/__init__.py +2 -0
- pulumi_alicloud/cloudfirewall/_inputs.py +68 -0
- pulumi_alicloud/cloudfirewall/nat_firewall.py +811 -0
- pulumi_alicloud/cloudfirewall/nat_firewall_control_policy.py +1589 -0
- pulumi_alicloud/cloudfirewall/outputs.py +75 -0
- pulumi_alicloud/ecs/security_group_rule.py +75 -53
- pulumi_alicloud/ess/_inputs.py +56 -0
- pulumi_alicloud/ess/outputs.py +61 -0
- pulumi_alicloud/ess/scaling_group.py +101 -7
- pulumi_alicloud/kms/key.py +251 -333
- pulumi_alicloud/kms/secret.py +210 -125
- pulumi_alicloud/nas/__init__.py +2 -0
- pulumi_alicloud/nas/_inputs.py +126 -0
- pulumi_alicloud/nas/access_point.py +743 -0
- pulumi_alicloud/nas/outputs.py +128 -0
- pulumi_alicloud/oss/__init__.py +7 -0
- pulumi_alicloud/oss/account_public_access_block.py +200 -0
- pulumi_alicloud/oss/bucket_access_monitor.py +206 -0
- pulumi_alicloud/oss/bucket_data_redundancy_transition.py +290 -0
- pulumi_alicloud/oss/bucket_meta_query.py +270 -0
- pulumi_alicloud/oss/bucket_public_access_block.py +258 -0
- pulumi_alicloud/oss/bucket_transfer_acceleration.py +205 -0
- pulumi_alicloud/oss/bucket_user_defined_log_fields.py +328 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/redis/tair_instance.py +188 -0
- pulumi_alicloud/sls/__init__.py +1 -0
- pulumi_alicloud/sls/_inputs.py +384 -0
- pulumi_alicloud/sls/outputs.py +358 -0
- pulumi_alicloud/sls/scheduled_sql.py +523 -0
- {pulumi_alicloud-3.56.0a1717132537.dist-info → pulumi_alicloud-3.56.0a1717175543.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.56.0a1717132537.dist-info → pulumi_alicloud-3.56.0a1717175543.dist-info}/RECORD +43 -30
- {pulumi_alicloud-3.56.0a1717132537.dist-info → pulumi_alicloud-3.56.0a1717175543.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.56.0a1717132537.dist-info → pulumi_alicloud-3.56.0a1717175543.dist-info}/top_level.txt +0 -0
|
@@ -21,16 +21,20 @@ class TairInstanceArgs:
|
|
|
21
21
|
zone_id: pulumi.Input[str],
|
|
22
22
|
auto_renew: Optional[pulumi.Input[str]] = None,
|
|
23
23
|
auto_renew_period: Optional[pulumi.Input[str]] = None,
|
|
24
|
+
cluster_backup_id: Optional[pulumi.Input[str]] = None,
|
|
24
25
|
effective_time: Optional[pulumi.Input[str]] = None,
|
|
25
26
|
engine_version: Optional[pulumi.Input[str]] = None,
|
|
26
27
|
force_upgrade: Optional[pulumi.Input[bool]] = None,
|
|
28
|
+
node_type: Optional[pulumi.Input[str]] = None,
|
|
27
29
|
password: Optional[pulumi.Input[str]] = None,
|
|
28
30
|
payment_type: Optional[pulumi.Input[str]] = None,
|
|
29
31
|
period: Optional[pulumi.Input[int]] = None,
|
|
30
32
|
port: Optional[pulumi.Input[int]] = None,
|
|
33
|
+
read_only_count: Optional[pulumi.Input[int]] = None,
|
|
31
34
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
32
35
|
secondary_zone_id: Optional[pulumi.Input[str]] = None,
|
|
33
36
|
shard_count: Optional[pulumi.Input[int]] = None,
|
|
37
|
+
slave_read_only_count: Optional[pulumi.Input[int]] = None,
|
|
34
38
|
storage_performance_level: Optional[pulumi.Input[str]] = None,
|
|
35
39
|
storage_size_gb: Optional[pulumi.Input[int]] = None,
|
|
36
40
|
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
|
@@ -44,16 +48,20 @@ class TairInstanceArgs:
|
|
|
44
48
|
:param pulumi.Input[str] zone_id: Zone ID.
|
|
45
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).
|
|
46
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.
|
|
51
|
+
:param pulumi.Input[str] cluster_backup_id: The ID of the backup set of the cluster. .
|
|
47
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).
|
|
48
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.
|
|
49
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).
|
|
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.
|
|
50
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 ! @ # $ % ^ & * ( ) _ + - =.
|
|
51
57
|
:param pulumi.Input[str] payment_type: The billing method of the instance. Default value: `Subscription`. Valid values: `PayAsYouGo`, `Subscription`.
|
|
52
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.
|
|
53
59
|
: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: 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.
|
|
54
61
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group to which the instance belongs.
|
|
55
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.
|
|
56
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.
|
|
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.
|
|
57
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.
|
|
58
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.
|
|
59
67
|
:param pulumi.Input[Mapping[str, Any]] tags: The tag of the resource.
|
|
@@ -68,12 +76,16 @@ class TairInstanceArgs:
|
|
|
68
76
|
pulumi.set(__self__, "auto_renew", auto_renew)
|
|
69
77
|
if auto_renew_period is not None:
|
|
70
78
|
pulumi.set(__self__, "auto_renew_period", auto_renew_period)
|
|
79
|
+
if cluster_backup_id is not None:
|
|
80
|
+
pulumi.set(__self__, "cluster_backup_id", cluster_backup_id)
|
|
71
81
|
if effective_time is not None:
|
|
72
82
|
pulumi.set(__self__, "effective_time", effective_time)
|
|
73
83
|
if engine_version is not None:
|
|
74
84
|
pulumi.set(__self__, "engine_version", engine_version)
|
|
75
85
|
if force_upgrade is not None:
|
|
76
86
|
pulumi.set(__self__, "force_upgrade", force_upgrade)
|
|
87
|
+
if node_type is not None:
|
|
88
|
+
pulumi.set(__self__, "node_type", node_type)
|
|
77
89
|
if password is not None:
|
|
78
90
|
pulumi.set(__self__, "password", password)
|
|
79
91
|
if payment_type is not None:
|
|
@@ -82,12 +94,16 @@ class TairInstanceArgs:
|
|
|
82
94
|
pulumi.set(__self__, "period", period)
|
|
83
95
|
if port is not None:
|
|
84
96
|
pulumi.set(__self__, "port", port)
|
|
97
|
+
if read_only_count is not None:
|
|
98
|
+
pulumi.set(__self__, "read_only_count", read_only_count)
|
|
85
99
|
if resource_group_id is not None:
|
|
86
100
|
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
87
101
|
if secondary_zone_id is not None:
|
|
88
102
|
pulumi.set(__self__, "secondary_zone_id", secondary_zone_id)
|
|
89
103
|
if shard_count is not None:
|
|
90
104
|
pulumi.set(__self__, "shard_count", shard_count)
|
|
105
|
+
if slave_read_only_count is not None:
|
|
106
|
+
pulumi.set(__self__, "slave_read_only_count", slave_read_only_count)
|
|
91
107
|
if storage_performance_level is not None:
|
|
92
108
|
pulumi.set(__self__, "storage_performance_level", storage_performance_level)
|
|
93
109
|
if storage_size_gb is not None:
|
|
@@ -181,6 +197,18 @@ class TairInstanceArgs:
|
|
|
181
197
|
def auto_renew_period(self, value: Optional[pulumi.Input[str]]):
|
|
182
198
|
pulumi.set(self, "auto_renew_period", value)
|
|
183
199
|
|
|
200
|
+
@property
|
|
201
|
+
@pulumi.getter(name="clusterBackupId")
|
|
202
|
+
def cluster_backup_id(self) -> Optional[pulumi.Input[str]]:
|
|
203
|
+
"""
|
|
204
|
+
The ID of the backup set of the cluster. .
|
|
205
|
+
"""
|
|
206
|
+
return pulumi.get(self, "cluster_backup_id")
|
|
207
|
+
|
|
208
|
+
@cluster_backup_id.setter
|
|
209
|
+
def cluster_backup_id(self, value: Optional[pulumi.Input[str]]):
|
|
210
|
+
pulumi.set(self, "cluster_backup_id", value)
|
|
211
|
+
|
|
184
212
|
@property
|
|
185
213
|
@pulumi.getter(name="effectiveTime")
|
|
186
214
|
def effective_time(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -217,6 +245,18 @@ class TairInstanceArgs:
|
|
|
217
245
|
def force_upgrade(self, value: Optional[pulumi.Input[bool]]):
|
|
218
246
|
pulumi.set(self, "force_upgrade", value)
|
|
219
247
|
|
|
248
|
+
@property
|
|
249
|
+
@pulumi.getter(name="nodeType")
|
|
250
|
+
def node_type(self) -> Optional[pulumi.Input[str]]:
|
|
251
|
+
"""
|
|
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.
|
|
253
|
+
"""
|
|
254
|
+
return pulumi.get(self, "node_type")
|
|
255
|
+
|
|
256
|
+
@node_type.setter
|
|
257
|
+
def node_type(self, value: Optional[pulumi.Input[str]]):
|
|
258
|
+
pulumi.set(self, "node_type", value)
|
|
259
|
+
|
|
220
260
|
@property
|
|
221
261
|
@pulumi.getter
|
|
222
262
|
def password(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -265,6 +305,18 @@ class TairInstanceArgs:
|
|
|
265
305
|
def port(self, value: Optional[pulumi.Input[int]]):
|
|
266
306
|
pulumi.set(self, "port", value)
|
|
267
307
|
|
|
308
|
+
@property
|
|
309
|
+
@pulumi.getter(name="readOnlyCount")
|
|
310
|
+
def read_only_count(self) -> Optional[pulumi.Input[int]]:
|
|
311
|
+
"""
|
|
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.
|
|
313
|
+
"""
|
|
314
|
+
return pulumi.get(self, "read_only_count")
|
|
315
|
+
|
|
316
|
+
@read_only_count.setter
|
|
317
|
+
def read_only_count(self, value: Optional[pulumi.Input[int]]):
|
|
318
|
+
pulumi.set(self, "read_only_count", value)
|
|
319
|
+
|
|
268
320
|
@property
|
|
269
321
|
@pulumi.getter(name="resourceGroupId")
|
|
270
322
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -301,6 +353,18 @@ class TairInstanceArgs:
|
|
|
301
353
|
def shard_count(self, value: Optional[pulumi.Input[int]]):
|
|
302
354
|
pulumi.set(self, "shard_count", value)
|
|
303
355
|
|
|
356
|
+
@property
|
|
357
|
+
@pulumi.getter(name="slaveReadOnlyCount")
|
|
358
|
+
def slave_read_only_count(self) -> Optional[pulumi.Input[int]]:
|
|
359
|
+
"""
|
|
360
|
+
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.
|
|
361
|
+
"""
|
|
362
|
+
return pulumi.get(self, "slave_read_only_count")
|
|
363
|
+
|
|
364
|
+
@slave_read_only_count.setter
|
|
365
|
+
def slave_read_only_count(self, value: Optional[pulumi.Input[int]]):
|
|
366
|
+
pulumi.set(self, "slave_read_only_count", value)
|
|
367
|
+
|
|
304
368
|
@property
|
|
305
369
|
@pulumi.getter(name="storagePerformanceLevel")
|
|
306
370
|
def storage_performance_level(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -355,19 +419,23 @@ class _TairInstanceState:
|
|
|
355
419
|
def __init__(__self__, *,
|
|
356
420
|
auto_renew: Optional[pulumi.Input[str]] = None,
|
|
357
421
|
auto_renew_period: Optional[pulumi.Input[str]] = None,
|
|
422
|
+
cluster_backup_id: Optional[pulumi.Input[str]] = None,
|
|
358
423
|
create_time: Optional[pulumi.Input[str]] = None,
|
|
359
424
|
effective_time: Optional[pulumi.Input[str]] = None,
|
|
360
425
|
engine_version: Optional[pulumi.Input[str]] = None,
|
|
361
426
|
force_upgrade: Optional[pulumi.Input[bool]] = None,
|
|
362
427
|
instance_class: Optional[pulumi.Input[str]] = None,
|
|
363
428
|
instance_type: Optional[pulumi.Input[str]] = None,
|
|
429
|
+
node_type: Optional[pulumi.Input[str]] = None,
|
|
364
430
|
password: Optional[pulumi.Input[str]] = None,
|
|
365
431
|
payment_type: Optional[pulumi.Input[str]] = None,
|
|
366
432
|
period: Optional[pulumi.Input[int]] = None,
|
|
367
433
|
port: Optional[pulumi.Input[int]] = None,
|
|
434
|
+
read_only_count: Optional[pulumi.Input[int]] = None,
|
|
368
435
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
369
436
|
secondary_zone_id: Optional[pulumi.Input[str]] = None,
|
|
370
437
|
shard_count: Optional[pulumi.Input[int]] = None,
|
|
438
|
+
slave_read_only_count: Optional[pulumi.Input[int]] = None,
|
|
371
439
|
status: Optional[pulumi.Input[str]] = None,
|
|
372
440
|
storage_performance_level: Optional[pulumi.Input[str]] = None,
|
|
373
441
|
storage_size_gb: Optional[pulumi.Input[int]] = None,
|
|
@@ -380,19 +448,23 @@ class _TairInstanceState:
|
|
|
380
448
|
Input properties used for looking up and filtering TairInstance resources.
|
|
381
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).
|
|
382
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.
|
|
451
|
+
:param pulumi.Input[str] cluster_backup_id: The ID of the backup set of the cluster. .
|
|
383
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.
|
|
384
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).
|
|
385
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.
|
|
386
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).
|
|
387
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).
|
|
388
457
|
: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: 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.
|
|
389
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 ! @ # $ % ^ & * ( ) _ + - =.
|
|
390
460
|
:param pulumi.Input[str] payment_type: The billing method of the instance. Default value: `Subscription`. Valid values: `PayAsYouGo`, `Subscription`.
|
|
391
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.
|
|
392
462
|
: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: 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.
|
|
393
464
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group to which the instance belongs.
|
|
394
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.
|
|
395
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.
|
|
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.
|
|
396
468
|
:param pulumi.Input[str] status: The status of the resource.
|
|
397
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.
|
|
398
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.
|
|
@@ -406,6 +478,8 @@ class _TairInstanceState:
|
|
|
406
478
|
pulumi.set(__self__, "auto_renew", auto_renew)
|
|
407
479
|
if auto_renew_period is not None:
|
|
408
480
|
pulumi.set(__self__, "auto_renew_period", auto_renew_period)
|
|
481
|
+
if cluster_backup_id is not None:
|
|
482
|
+
pulumi.set(__self__, "cluster_backup_id", cluster_backup_id)
|
|
409
483
|
if create_time is not None:
|
|
410
484
|
pulumi.set(__self__, "create_time", create_time)
|
|
411
485
|
if effective_time is not None:
|
|
@@ -418,6 +492,8 @@ class _TairInstanceState:
|
|
|
418
492
|
pulumi.set(__self__, "instance_class", instance_class)
|
|
419
493
|
if instance_type is not None:
|
|
420
494
|
pulumi.set(__self__, "instance_type", instance_type)
|
|
495
|
+
if node_type is not None:
|
|
496
|
+
pulumi.set(__self__, "node_type", node_type)
|
|
421
497
|
if password is not None:
|
|
422
498
|
pulumi.set(__self__, "password", password)
|
|
423
499
|
if payment_type is not None:
|
|
@@ -426,12 +502,16 @@ class _TairInstanceState:
|
|
|
426
502
|
pulumi.set(__self__, "period", period)
|
|
427
503
|
if port is not None:
|
|
428
504
|
pulumi.set(__self__, "port", port)
|
|
505
|
+
if read_only_count is not None:
|
|
506
|
+
pulumi.set(__self__, "read_only_count", read_only_count)
|
|
429
507
|
if resource_group_id is not None:
|
|
430
508
|
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
431
509
|
if secondary_zone_id is not None:
|
|
432
510
|
pulumi.set(__self__, "secondary_zone_id", secondary_zone_id)
|
|
433
511
|
if shard_count is not None:
|
|
434
512
|
pulumi.set(__self__, "shard_count", shard_count)
|
|
513
|
+
if slave_read_only_count is not None:
|
|
514
|
+
pulumi.set(__self__, "slave_read_only_count", slave_read_only_count)
|
|
435
515
|
if status is not None:
|
|
436
516
|
pulumi.set(__self__, "status", status)
|
|
437
517
|
if storage_performance_level is not None:
|
|
@@ -473,6 +553,18 @@ class _TairInstanceState:
|
|
|
473
553
|
def auto_renew_period(self, value: Optional[pulumi.Input[str]]):
|
|
474
554
|
pulumi.set(self, "auto_renew_period", value)
|
|
475
555
|
|
|
556
|
+
@property
|
|
557
|
+
@pulumi.getter(name="clusterBackupId")
|
|
558
|
+
def cluster_backup_id(self) -> Optional[pulumi.Input[str]]:
|
|
559
|
+
"""
|
|
560
|
+
The ID of the backup set of the cluster. .
|
|
561
|
+
"""
|
|
562
|
+
return pulumi.get(self, "cluster_backup_id")
|
|
563
|
+
|
|
564
|
+
@cluster_backup_id.setter
|
|
565
|
+
def cluster_backup_id(self, value: Optional[pulumi.Input[str]]):
|
|
566
|
+
pulumi.set(self, "cluster_backup_id", value)
|
|
567
|
+
|
|
476
568
|
@property
|
|
477
569
|
@pulumi.getter(name="createTime")
|
|
478
570
|
def create_time(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -545,6 +637,18 @@ class _TairInstanceState:
|
|
|
545
637
|
def instance_type(self, value: Optional[pulumi.Input[str]]):
|
|
546
638
|
pulumi.set(self, "instance_type", value)
|
|
547
639
|
|
|
640
|
+
@property
|
|
641
|
+
@pulumi.getter(name="nodeType")
|
|
642
|
+
def node_type(self) -> Optional[pulumi.Input[str]]:
|
|
643
|
+
"""
|
|
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.
|
|
645
|
+
"""
|
|
646
|
+
return pulumi.get(self, "node_type")
|
|
647
|
+
|
|
648
|
+
@node_type.setter
|
|
649
|
+
def node_type(self, value: Optional[pulumi.Input[str]]):
|
|
650
|
+
pulumi.set(self, "node_type", value)
|
|
651
|
+
|
|
548
652
|
@property
|
|
549
653
|
@pulumi.getter
|
|
550
654
|
def password(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -593,6 +697,18 @@ class _TairInstanceState:
|
|
|
593
697
|
def port(self, value: Optional[pulumi.Input[int]]):
|
|
594
698
|
pulumi.set(self, "port", value)
|
|
595
699
|
|
|
700
|
+
@property
|
|
701
|
+
@pulumi.getter(name="readOnlyCount")
|
|
702
|
+
def read_only_count(self) -> Optional[pulumi.Input[int]]:
|
|
703
|
+
"""
|
|
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.
|
|
705
|
+
"""
|
|
706
|
+
return pulumi.get(self, "read_only_count")
|
|
707
|
+
|
|
708
|
+
@read_only_count.setter
|
|
709
|
+
def read_only_count(self, value: Optional[pulumi.Input[int]]):
|
|
710
|
+
pulumi.set(self, "read_only_count", value)
|
|
711
|
+
|
|
596
712
|
@property
|
|
597
713
|
@pulumi.getter(name="resourceGroupId")
|
|
598
714
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -629,6 +745,18 @@ class _TairInstanceState:
|
|
|
629
745
|
def shard_count(self, value: Optional[pulumi.Input[int]]):
|
|
630
746
|
pulumi.set(self, "shard_count", value)
|
|
631
747
|
|
|
748
|
+
@property
|
|
749
|
+
@pulumi.getter(name="slaveReadOnlyCount")
|
|
750
|
+
def slave_read_only_count(self) -> Optional[pulumi.Input[int]]:
|
|
751
|
+
"""
|
|
752
|
+
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.
|
|
753
|
+
"""
|
|
754
|
+
return pulumi.get(self, "slave_read_only_count")
|
|
755
|
+
|
|
756
|
+
@slave_read_only_count.setter
|
|
757
|
+
def slave_read_only_count(self, value: Optional[pulumi.Input[int]]):
|
|
758
|
+
pulumi.set(self, "slave_read_only_count", value)
|
|
759
|
+
|
|
632
760
|
@property
|
|
633
761
|
@pulumi.getter
|
|
634
762
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -733,18 +861,22 @@ class TairInstance(pulumi.CustomResource):
|
|
|
733
861
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
734
862
|
auto_renew: Optional[pulumi.Input[str]] = None,
|
|
735
863
|
auto_renew_period: Optional[pulumi.Input[str]] = None,
|
|
864
|
+
cluster_backup_id: Optional[pulumi.Input[str]] = None,
|
|
736
865
|
effective_time: Optional[pulumi.Input[str]] = None,
|
|
737
866
|
engine_version: Optional[pulumi.Input[str]] = None,
|
|
738
867
|
force_upgrade: Optional[pulumi.Input[bool]] = None,
|
|
739
868
|
instance_class: Optional[pulumi.Input[str]] = None,
|
|
740
869
|
instance_type: Optional[pulumi.Input[str]] = None,
|
|
870
|
+
node_type: Optional[pulumi.Input[str]] = None,
|
|
741
871
|
password: Optional[pulumi.Input[str]] = None,
|
|
742
872
|
payment_type: Optional[pulumi.Input[str]] = None,
|
|
743
873
|
period: Optional[pulumi.Input[int]] = None,
|
|
744
874
|
port: Optional[pulumi.Input[int]] = None,
|
|
875
|
+
read_only_count: Optional[pulumi.Input[int]] = None,
|
|
745
876
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
746
877
|
secondary_zone_id: Optional[pulumi.Input[str]] = None,
|
|
747
878
|
shard_count: Optional[pulumi.Input[int]] = None,
|
|
879
|
+
slave_read_only_count: Optional[pulumi.Input[int]] = None,
|
|
748
880
|
storage_performance_level: Optional[pulumi.Input[str]] = None,
|
|
749
881
|
storage_size_gb: Optional[pulumi.Input[int]] = None,
|
|
750
882
|
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
|
@@ -766,18 +898,22 @@ class TairInstance(pulumi.CustomResource):
|
|
|
766
898
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
767
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).
|
|
768
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.
|
|
901
|
+
:param pulumi.Input[str] cluster_backup_id: The ID of the backup set of the cluster. .
|
|
769
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).
|
|
770
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.
|
|
771
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).
|
|
772
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).
|
|
773
906
|
: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: 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.
|
|
774
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 ! @ # $ % ^ & * ( ) _ + - =.
|
|
775
909
|
:param pulumi.Input[str] payment_type: The billing method of the instance. Default value: `Subscription`. Valid values: `PayAsYouGo`, `Subscription`.
|
|
776
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.
|
|
777
911
|
: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: 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.
|
|
778
913
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group to which the instance belongs.
|
|
779
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.
|
|
780
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.
|
|
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.
|
|
781
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.
|
|
782
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.
|
|
783
919
|
:param pulumi.Input[Mapping[str, Any]] tags: The tag of the resource.
|
|
@@ -818,18 +954,22 @@ class TairInstance(pulumi.CustomResource):
|
|
|
818
954
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
819
955
|
auto_renew: Optional[pulumi.Input[str]] = None,
|
|
820
956
|
auto_renew_period: Optional[pulumi.Input[str]] = None,
|
|
957
|
+
cluster_backup_id: Optional[pulumi.Input[str]] = None,
|
|
821
958
|
effective_time: Optional[pulumi.Input[str]] = None,
|
|
822
959
|
engine_version: Optional[pulumi.Input[str]] = None,
|
|
823
960
|
force_upgrade: Optional[pulumi.Input[bool]] = None,
|
|
824
961
|
instance_class: Optional[pulumi.Input[str]] = None,
|
|
825
962
|
instance_type: Optional[pulumi.Input[str]] = None,
|
|
963
|
+
node_type: Optional[pulumi.Input[str]] = None,
|
|
826
964
|
password: Optional[pulumi.Input[str]] = None,
|
|
827
965
|
payment_type: Optional[pulumi.Input[str]] = None,
|
|
828
966
|
period: Optional[pulumi.Input[int]] = None,
|
|
829
967
|
port: Optional[pulumi.Input[int]] = None,
|
|
968
|
+
read_only_count: Optional[pulumi.Input[int]] = None,
|
|
830
969
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
831
970
|
secondary_zone_id: Optional[pulumi.Input[str]] = None,
|
|
832
971
|
shard_count: Optional[pulumi.Input[int]] = None,
|
|
972
|
+
slave_read_only_count: Optional[pulumi.Input[int]] = None,
|
|
833
973
|
storage_performance_level: Optional[pulumi.Input[str]] = None,
|
|
834
974
|
storage_size_gb: Optional[pulumi.Input[int]] = None,
|
|
835
975
|
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
|
@@ -848,6 +988,7 @@ class TairInstance(pulumi.CustomResource):
|
|
|
848
988
|
|
|
849
989
|
__props__.__dict__["auto_renew"] = auto_renew
|
|
850
990
|
__props__.__dict__["auto_renew_period"] = auto_renew_period
|
|
991
|
+
__props__.__dict__["cluster_backup_id"] = cluster_backup_id
|
|
851
992
|
__props__.__dict__["effective_time"] = effective_time
|
|
852
993
|
__props__.__dict__["engine_version"] = engine_version
|
|
853
994
|
__props__.__dict__["force_upgrade"] = force_upgrade
|
|
@@ -857,13 +998,16 @@ class TairInstance(pulumi.CustomResource):
|
|
|
857
998
|
if instance_type is None and not opts.urn:
|
|
858
999
|
raise TypeError("Missing required property 'instance_type'")
|
|
859
1000
|
__props__.__dict__["instance_type"] = instance_type
|
|
1001
|
+
__props__.__dict__["node_type"] = node_type
|
|
860
1002
|
__props__.__dict__["password"] = None if password is None else pulumi.Output.secret(password)
|
|
861
1003
|
__props__.__dict__["payment_type"] = payment_type
|
|
862
1004
|
__props__.__dict__["period"] = period
|
|
863
1005
|
__props__.__dict__["port"] = port
|
|
1006
|
+
__props__.__dict__["read_only_count"] = read_only_count
|
|
864
1007
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
865
1008
|
__props__.__dict__["secondary_zone_id"] = secondary_zone_id
|
|
866
1009
|
__props__.__dict__["shard_count"] = shard_count
|
|
1010
|
+
__props__.__dict__["slave_read_only_count"] = slave_read_only_count
|
|
867
1011
|
__props__.__dict__["storage_performance_level"] = storage_performance_level
|
|
868
1012
|
__props__.__dict__["storage_size_gb"] = storage_size_gb
|
|
869
1013
|
__props__.__dict__["tags"] = tags
|
|
@@ -893,19 +1037,23 @@ class TairInstance(pulumi.CustomResource):
|
|
|
893
1037
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
894
1038
|
auto_renew: Optional[pulumi.Input[str]] = None,
|
|
895
1039
|
auto_renew_period: Optional[pulumi.Input[str]] = None,
|
|
1040
|
+
cluster_backup_id: Optional[pulumi.Input[str]] = None,
|
|
896
1041
|
create_time: Optional[pulumi.Input[str]] = None,
|
|
897
1042
|
effective_time: Optional[pulumi.Input[str]] = None,
|
|
898
1043
|
engine_version: Optional[pulumi.Input[str]] = None,
|
|
899
1044
|
force_upgrade: Optional[pulumi.Input[bool]] = None,
|
|
900
1045
|
instance_class: Optional[pulumi.Input[str]] = None,
|
|
901
1046
|
instance_type: Optional[pulumi.Input[str]] = None,
|
|
1047
|
+
node_type: Optional[pulumi.Input[str]] = None,
|
|
902
1048
|
password: Optional[pulumi.Input[str]] = None,
|
|
903
1049
|
payment_type: Optional[pulumi.Input[str]] = None,
|
|
904
1050
|
period: Optional[pulumi.Input[int]] = None,
|
|
905
1051
|
port: Optional[pulumi.Input[int]] = None,
|
|
1052
|
+
read_only_count: Optional[pulumi.Input[int]] = None,
|
|
906
1053
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
907
1054
|
secondary_zone_id: Optional[pulumi.Input[str]] = None,
|
|
908
1055
|
shard_count: Optional[pulumi.Input[int]] = None,
|
|
1056
|
+
slave_read_only_count: Optional[pulumi.Input[int]] = None,
|
|
909
1057
|
status: Optional[pulumi.Input[str]] = None,
|
|
910
1058
|
storage_performance_level: Optional[pulumi.Input[str]] = None,
|
|
911
1059
|
storage_size_gb: Optional[pulumi.Input[int]] = None,
|
|
@@ -923,19 +1071,23 @@ class TairInstance(pulumi.CustomResource):
|
|
|
923
1071
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
924
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).
|
|
925
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.
|
|
1074
|
+
:param pulumi.Input[str] cluster_backup_id: The ID of the backup set of the cluster. .
|
|
926
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.
|
|
927
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).
|
|
928
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.
|
|
929
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).
|
|
930
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).
|
|
931
1080
|
: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: 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.
|
|
932
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 ! @ # $ % ^ & * ( ) _ + - =.
|
|
933
1083
|
:param pulumi.Input[str] payment_type: The billing method of the instance. Default value: `Subscription`. Valid values: `PayAsYouGo`, `Subscription`.
|
|
934
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.
|
|
935
1085
|
: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: 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.
|
|
936
1087
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group to which the instance belongs.
|
|
937
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.
|
|
938
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.
|
|
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.
|
|
939
1091
|
:param pulumi.Input[str] status: The status of the resource.
|
|
940
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.
|
|
941
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.
|
|
@@ -951,19 +1103,23 @@ class TairInstance(pulumi.CustomResource):
|
|
|
951
1103
|
|
|
952
1104
|
__props__.__dict__["auto_renew"] = auto_renew
|
|
953
1105
|
__props__.__dict__["auto_renew_period"] = auto_renew_period
|
|
1106
|
+
__props__.__dict__["cluster_backup_id"] = cluster_backup_id
|
|
954
1107
|
__props__.__dict__["create_time"] = create_time
|
|
955
1108
|
__props__.__dict__["effective_time"] = effective_time
|
|
956
1109
|
__props__.__dict__["engine_version"] = engine_version
|
|
957
1110
|
__props__.__dict__["force_upgrade"] = force_upgrade
|
|
958
1111
|
__props__.__dict__["instance_class"] = instance_class
|
|
959
1112
|
__props__.__dict__["instance_type"] = instance_type
|
|
1113
|
+
__props__.__dict__["node_type"] = node_type
|
|
960
1114
|
__props__.__dict__["password"] = password
|
|
961
1115
|
__props__.__dict__["payment_type"] = payment_type
|
|
962
1116
|
__props__.__dict__["period"] = period
|
|
963
1117
|
__props__.__dict__["port"] = port
|
|
1118
|
+
__props__.__dict__["read_only_count"] = read_only_count
|
|
964
1119
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
965
1120
|
__props__.__dict__["secondary_zone_id"] = secondary_zone_id
|
|
966
1121
|
__props__.__dict__["shard_count"] = shard_count
|
|
1122
|
+
__props__.__dict__["slave_read_only_count"] = slave_read_only_count
|
|
967
1123
|
__props__.__dict__["status"] = status
|
|
968
1124
|
__props__.__dict__["storage_performance_level"] = storage_performance_level
|
|
969
1125
|
__props__.__dict__["storage_size_gb"] = storage_size_gb
|
|
@@ -990,6 +1146,14 @@ class TairInstance(pulumi.CustomResource):
|
|
|
990
1146
|
"""
|
|
991
1147
|
return pulumi.get(self, "auto_renew_period")
|
|
992
1148
|
|
|
1149
|
+
@property
|
|
1150
|
+
@pulumi.getter(name="clusterBackupId")
|
|
1151
|
+
def cluster_backup_id(self) -> pulumi.Output[Optional[str]]:
|
|
1152
|
+
"""
|
|
1153
|
+
The ID of the backup set of the cluster. .
|
|
1154
|
+
"""
|
|
1155
|
+
return pulumi.get(self, "cluster_backup_id")
|
|
1156
|
+
|
|
993
1157
|
@property
|
|
994
1158
|
@pulumi.getter(name="createTime")
|
|
995
1159
|
def create_time(self) -> pulumi.Output[str]:
|
|
@@ -1038,6 +1202,14 @@ class TairInstance(pulumi.CustomResource):
|
|
|
1038
1202
|
"""
|
|
1039
1203
|
return pulumi.get(self, "instance_type")
|
|
1040
1204
|
|
|
1205
|
+
@property
|
|
1206
|
+
@pulumi.getter(name="nodeType")
|
|
1207
|
+
def node_type(self) -> pulumi.Output[str]:
|
|
1208
|
+
"""
|
|
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.
|
|
1210
|
+
"""
|
|
1211
|
+
return pulumi.get(self, "node_type")
|
|
1212
|
+
|
|
1041
1213
|
@property
|
|
1042
1214
|
@pulumi.getter
|
|
1043
1215
|
def password(self) -> pulumi.Output[Optional[str]]:
|
|
@@ -1070,6 +1242,14 @@ class TairInstance(pulumi.CustomResource):
|
|
|
1070
1242
|
"""
|
|
1071
1243
|
return pulumi.get(self, "port")
|
|
1072
1244
|
|
|
1245
|
+
@property
|
|
1246
|
+
@pulumi.getter(name="readOnlyCount")
|
|
1247
|
+
def read_only_count(self) -> pulumi.Output[Optional[int]]:
|
|
1248
|
+
"""
|
|
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.
|
|
1250
|
+
"""
|
|
1251
|
+
return pulumi.get(self, "read_only_count")
|
|
1252
|
+
|
|
1073
1253
|
@property
|
|
1074
1254
|
@pulumi.getter(name="resourceGroupId")
|
|
1075
1255
|
def resource_group_id(self) -> pulumi.Output[str]:
|
|
@@ -1094,6 +1274,14 @@ class TairInstance(pulumi.CustomResource):
|
|
|
1094
1274
|
"""
|
|
1095
1275
|
return pulumi.get(self, "shard_count")
|
|
1096
1276
|
|
|
1277
|
+
@property
|
|
1278
|
+
@pulumi.getter(name="slaveReadOnlyCount")
|
|
1279
|
+
def slave_read_only_count(self) -> pulumi.Output[Optional[int]]:
|
|
1280
|
+
"""
|
|
1281
|
+
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.
|
|
1282
|
+
"""
|
|
1283
|
+
return pulumi.get(self, "slave_read_only_count")
|
|
1284
|
+
|
|
1097
1285
|
@property
|
|
1098
1286
|
@pulumi.getter
|
|
1099
1287
|
def status(self) -> pulumi.Output[str]:
|