pulumi-alicloud 3.70.0a1734482334__py3-none-any.whl → 3.71.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 +8 -0
- pulumi_alicloud/ecs/ecs_snapshot.py +65 -9
- pulumi_alicloud/ecs/get_instance_types.py +1 -1
- pulumi_alicloud/ecs/outputs.py +78 -1
- pulumi_alicloud/ecs/security_group.py +161 -81
- pulumi_alicloud/ecs/snapshot.py +40 -0
- pulumi_alicloud/eds/ram_directory.py +4 -0
- pulumi_alicloud/expressconnect/__init__.py +1 -0
- pulumi_alicloud/expressconnect/router_grant_association.py +477 -0
- pulumi_alicloud/kvstore/backup_policy.py +32 -24
- pulumi_alicloud/polardb/cluster.py +47 -0
- pulumi_alicloud/privatelink/vpc_endpoint.py +143 -69
- pulumi_alicloud/privatelink/vpc_endpoint_service.py +47 -0
- pulumi_alicloud/privatelink/vpc_endpoint_service_resource.py +2 -2
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/redis/tair_instance.py +47 -0
- {pulumi_alicloud-3.70.0a1734482334.dist-info → pulumi_alicloud-3.71.0.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.70.0a1734482334.dist-info → pulumi_alicloud-3.71.0.dist-info}/RECORD +20 -19
- {pulumi_alicloud-3.70.0a1734482334.dist-info → pulumi_alicloud-3.71.0.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.70.0a1734482334.dist-info → pulumi_alicloud-3.71.0.dist-info}/top_level.txt +0 -0
|
@@ -25,8 +25,8 @@ class BackupPolicyArgs:
|
|
|
25
25
|
"""
|
|
26
26
|
The set of arguments for constructing a BackupPolicy resource.
|
|
27
27
|
:param pulumi.Input[str] instance_id: The id of Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance.
|
|
28
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] backup_periods: Backup Cycle. Allowed values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday
|
|
29
|
-
:param pulumi.Input[str] backup_time: Backup time, in the format of HH:mmZ- HH:mm Z
|
|
28
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] backup_periods: Backup Cycle. Allowed values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.
|
|
29
|
+
:param pulumi.Input[str] backup_time: Backup time, in the format of HH:mmZ- HH:mm Z.
|
|
30
30
|
"""
|
|
31
31
|
pulumi.set(__self__, "instance_id", instance_id)
|
|
32
32
|
if backup_periods is not None:
|
|
@@ -50,7 +50,7 @@ class BackupPolicyArgs:
|
|
|
50
50
|
@pulumi.getter(name="backupPeriods")
|
|
51
51
|
def backup_periods(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
52
52
|
"""
|
|
53
|
-
Backup Cycle. Allowed values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday
|
|
53
|
+
Backup Cycle. Allowed values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.
|
|
54
54
|
"""
|
|
55
55
|
return pulumi.get(self, "backup_periods")
|
|
56
56
|
|
|
@@ -62,7 +62,7 @@ class BackupPolicyArgs:
|
|
|
62
62
|
@pulumi.getter(name="backupTime")
|
|
63
63
|
def backup_time(self) -> Optional[pulumi.Input[str]]:
|
|
64
64
|
"""
|
|
65
|
-
Backup time, in the format of HH:mmZ- HH:mm Z
|
|
65
|
+
Backup time, in the format of HH:mmZ- HH:mm Z.
|
|
66
66
|
"""
|
|
67
67
|
return pulumi.get(self, "backup_time")
|
|
68
68
|
|
|
@@ -79,8 +79,8 @@ class _BackupPolicyState:
|
|
|
79
79
|
instance_id: Optional[pulumi.Input[str]] = None):
|
|
80
80
|
"""
|
|
81
81
|
Input properties used for looking up and filtering BackupPolicy resources.
|
|
82
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] backup_periods: Backup Cycle. Allowed values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday
|
|
83
|
-
:param pulumi.Input[str] backup_time: Backup time, in the format of HH:mmZ- HH:mm Z
|
|
82
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] backup_periods: Backup Cycle. Allowed values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.
|
|
83
|
+
:param pulumi.Input[str] backup_time: Backup time, in the format of HH:mmZ- HH:mm Z.
|
|
84
84
|
:param pulumi.Input[str] instance_id: The id of Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance.
|
|
85
85
|
"""
|
|
86
86
|
if backup_periods is not None:
|
|
@@ -94,7 +94,7 @@ class _BackupPolicyState:
|
|
|
94
94
|
@pulumi.getter(name="backupPeriods")
|
|
95
95
|
def backup_periods(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
96
96
|
"""
|
|
97
|
-
Backup Cycle. Allowed values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday
|
|
97
|
+
Backup Cycle. Allowed values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.
|
|
98
98
|
"""
|
|
99
99
|
return pulumi.get(self, "backup_periods")
|
|
100
100
|
|
|
@@ -106,7 +106,7 @@ class _BackupPolicyState:
|
|
|
106
106
|
@pulumi.getter(name="backupTime")
|
|
107
107
|
def backup_time(self) -> Optional[pulumi.Input[str]]:
|
|
108
108
|
"""
|
|
109
|
-
Backup time, in the format of HH:mmZ- HH:mm Z
|
|
109
|
+
Backup time, in the format of HH:mmZ- HH:mm Z.
|
|
110
110
|
"""
|
|
111
111
|
return pulumi.get(self, "backup_time")
|
|
112
112
|
|
|
@@ -137,9 +137,13 @@ class BackupPolicy(pulumi.CustomResource):
|
|
|
137
137
|
instance_id: Optional[pulumi.Input[str]] = None,
|
|
138
138
|
__props__=None):
|
|
139
139
|
"""
|
|
140
|
-
|
|
140
|
+
Provides a Backup Policy for Tair (Redis OSS-Compatible) And Memcache (KVStore) resource.
|
|
141
|
+
|
|
142
|
+
For information about Backup Policy for Tair (Redis OSS-Compatible) And Memcache (KVStore) and how to use it, see [What is Backup Policy](https://www.alibabacloud.com/help/en/redis/developer-reference/api-r-kvstore-2015-01-01-modifybackuppolicy-redis).
|
|
141
143
|
|
|
142
|
-
|
|
144
|
+
> **NOTE:** Available since v1.15.0.
|
|
145
|
+
|
|
146
|
+
> **DEPRECATED:** This resource has been deprecated from version `1.104.0`. Please use resource alicloud_kvstore_instance.
|
|
143
147
|
|
|
144
148
|
## Example Usage
|
|
145
149
|
|
|
@@ -152,7 +156,7 @@ class BackupPolicy(pulumi.CustomResource):
|
|
|
152
156
|
config = pulumi.Config()
|
|
153
157
|
name = config.get("name")
|
|
154
158
|
if name is None:
|
|
155
|
-
name = "
|
|
159
|
+
name = "terraform-example"
|
|
156
160
|
default = alicloud.kvstore.get_zones()
|
|
157
161
|
default_network = alicloud.vpc.Network("default",
|
|
158
162
|
vpc_name=name,
|
|
@@ -189,16 +193,16 @@ class BackupPolicy(pulumi.CustomResource):
|
|
|
189
193
|
|
|
190
194
|
## Import
|
|
191
195
|
|
|
192
|
-
Tair (Redis OSS-Compatible) And Memcache (KVStore)
|
|
196
|
+
Tair (Redis OSS-Compatible) And Memcache (KVStore) Backup Policy can be imported using the id, e.g.
|
|
193
197
|
|
|
194
198
|
```sh
|
|
195
|
-
$ pulumi import alicloud:kvstore/backupPolicy:BackupPolicy example
|
|
199
|
+
$ pulumi import alicloud:kvstore/backupPolicy:BackupPolicy example <id>
|
|
196
200
|
```
|
|
197
201
|
|
|
198
202
|
:param str resource_name: The name of the resource.
|
|
199
203
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
200
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] backup_periods: Backup Cycle. Allowed values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday
|
|
201
|
-
:param pulumi.Input[str] backup_time: Backup time, in the format of HH:mmZ- HH:mm Z
|
|
204
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] backup_periods: Backup Cycle. Allowed values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.
|
|
205
|
+
:param pulumi.Input[str] backup_time: Backup time, in the format of HH:mmZ- HH:mm Z.
|
|
202
206
|
:param pulumi.Input[str] instance_id: The id of Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance.
|
|
203
207
|
"""
|
|
204
208
|
...
|
|
@@ -208,9 +212,13 @@ class BackupPolicy(pulumi.CustomResource):
|
|
|
208
212
|
args: BackupPolicyArgs,
|
|
209
213
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
210
214
|
"""
|
|
211
|
-
|
|
215
|
+
Provides a Backup Policy for Tair (Redis OSS-Compatible) And Memcache (KVStore) resource.
|
|
216
|
+
|
|
217
|
+
For information about Backup Policy for Tair (Redis OSS-Compatible) And Memcache (KVStore) and how to use it, see [What is Backup Policy](https://www.alibabacloud.com/help/en/redis/developer-reference/api-r-kvstore-2015-01-01-modifybackuppolicy-redis).
|
|
212
218
|
|
|
213
|
-
|
|
219
|
+
> **NOTE:** Available since v1.15.0.
|
|
220
|
+
|
|
221
|
+
> **DEPRECATED:** This resource has been deprecated from version `1.104.0`. Please use resource alicloud_kvstore_instance.
|
|
214
222
|
|
|
215
223
|
## Example Usage
|
|
216
224
|
|
|
@@ -223,7 +231,7 @@ class BackupPolicy(pulumi.CustomResource):
|
|
|
223
231
|
config = pulumi.Config()
|
|
224
232
|
name = config.get("name")
|
|
225
233
|
if name is None:
|
|
226
|
-
name = "
|
|
234
|
+
name = "terraform-example"
|
|
227
235
|
default = alicloud.kvstore.get_zones()
|
|
228
236
|
default_network = alicloud.vpc.Network("default",
|
|
229
237
|
vpc_name=name,
|
|
@@ -260,10 +268,10 @@ class BackupPolicy(pulumi.CustomResource):
|
|
|
260
268
|
|
|
261
269
|
## Import
|
|
262
270
|
|
|
263
|
-
Tair (Redis OSS-Compatible) And Memcache (KVStore)
|
|
271
|
+
Tair (Redis OSS-Compatible) And Memcache (KVStore) Backup Policy can be imported using the id, e.g.
|
|
264
272
|
|
|
265
273
|
```sh
|
|
266
|
-
$ pulumi import alicloud:kvstore/backupPolicy:BackupPolicy example
|
|
274
|
+
$ pulumi import alicloud:kvstore/backupPolicy:BackupPolicy example <id>
|
|
267
275
|
```
|
|
268
276
|
|
|
269
277
|
:param str resource_name: The name of the resource.
|
|
@@ -318,8 +326,8 @@ class BackupPolicy(pulumi.CustomResource):
|
|
|
318
326
|
:param str resource_name: The unique name of the resulting resource.
|
|
319
327
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
320
328
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
321
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] backup_periods: Backup Cycle. Allowed values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday
|
|
322
|
-
:param pulumi.Input[str] backup_time: Backup time, in the format of HH:mmZ- HH:mm Z
|
|
329
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] backup_periods: Backup Cycle. Allowed values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.
|
|
330
|
+
:param pulumi.Input[str] backup_time: Backup time, in the format of HH:mmZ- HH:mm Z.
|
|
323
331
|
:param pulumi.Input[str] instance_id: The id of Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance.
|
|
324
332
|
"""
|
|
325
333
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -335,7 +343,7 @@ class BackupPolicy(pulumi.CustomResource):
|
|
|
335
343
|
@pulumi.getter(name="backupPeriods")
|
|
336
344
|
def backup_periods(self) -> pulumi.Output[Sequence[str]]:
|
|
337
345
|
"""
|
|
338
|
-
Backup Cycle. Allowed values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday
|
|
346
|
+
Backup Cycle. Allowed values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.
|
|
339
347
|
"""
|
|
340
348
|
return pulumi.get(self, "backup_periods")
|
|
341
349
|
|
|
@@ -343,7 +351,7 @@ class BackupPolicy(pulumi.CustomResource):
|
|
|
343
351
|
@pulumi.getter(name="backupTime")
|
|
344
352
|
def backup_time(self) -> pulumi.Output[Optional[str]]:
|
|
345
353
|
"""
|
|
346
|
-
Backup time, in the format of HH:mmZ- HH:mm Z
|
|
354
|
+
Backup time, in the format of HH:mmZ- HH:mm Z.
|
|
347
355
|
"""
|
|
348
356
|
return pulumi.get(self, "backup_time")
|
|
349
357
|
|
|
@@ -79,6 +79,7 @@ class ClusterArgs:
|
|
|
79
79
|
storage_pay_type: Optional[pulumi.Input[str]] = None,
|
|
80
80
|
storage_space: Optional[pulumi.Input[int]] = None,
|
|
81
81
|
storage_type: Optional[pulumi.Input[str]] = None,
|
|
82
|
+
strict_consistency: Optional[pulumi.Input[str]] = None,
|
|
82
83
|
sub_category: Optional[pulumi.Input[str]] = None,
|
|
83
84
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
84
85
|
target_db_revision_version_code: Optional[pulumi.Input[str]] = None,
|
|
@@ -177,6 +178,7 @@ class ClusterArgs:
|
|
|
177
178
|
> **NOTE:** Valid values for PolarDB for MySQL Standard Edition: 20 to 32000. It is valid when pay_type are `PrePaid` ,`PostPaid`.
|
|
178
179
|
> **NOTE:** Valid values for PolarDB for MySQL Enterprise Edition: 50 to 100000.It is valid when pay_type is `PrePaid`.
|
|
179
180
|
:param pulumi.Input[str] storage_type: The storage type of the cluster. Enterprise storage type values are `PSL5`, `PSL4`. The standard version storage type values are `ESSDPL1`, `ESSDPL2`, `ESSDPL3`, `ESSDPL0`, `ESSDAUTOPL`. The standard version only supports MySQL and PostgreSQL.
|
|
181
|
+
:param pulumi.Input[str] strict_consistency: Whether the cluster has enabled strong data consistency across multiple zones. Valid values are `ON`, `OFF`. Available parameters can refer to the latest docs [CreateDBCluster](https://www.alibabacloud.com/help/en/polardb/latest/createdbcluster-1)
|
|
180
182
|
:param pulumi.Input[str] sub_category: The category of the cluster. Valid values are `Exclusive`, `General`. Only MySQL supports.
|
|
181
183
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
182
184
|
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
|
|
@@ -303,6 +305,8 @@ class ClusterArgs:
|
|
|
303
305
|
pulumi.set(__self__, "storage_space", storage_space)
|
|
304
306
|
if storage_type is not None:
|
|
305
307
|
pulumi.set(__self__, "storage_type", storage_type)
|
|
308
|
+
if strict_consistency is not None:
|
|
309
|
+
pulumi.set(__self__, "strict_consistency", strict_consistency)
|
|
306
310
|
if sub_category is not None:
|
|
307
311
|
pulumi.set(__self__, "sub_category", sub_category)
|
|
308
312
|
if tags is not None:
|
|
@@ -1046,6 +1050,18 @@ class ClusterArgs:
|
|
|
1046
1050
|
def storage_type(self, value: Optional[pulumi.Input[str]]):
|
|
1047
1051
|
pulumi.set(self, "storage_type", value)
|
|
1048
1052
|
|
|
1053
|
+
@property
|
|
1054
|
+
@pulumi.getter(name="strictConsistency")
|
|
1055
|
+
def strict_consistency(self) -> Optional[pulumi.Input[str]]:
|
|
1056
|
+
"""
|
|
1057
|
+
Whether the cluster has enabled strong data consistency across multiple zones. Valid values are `ON`, `OFF`. Available parameters can refer to the latest docs [CreateDBCluster](https://www.alibabacloud.com/help/en/polardb/latest/createdbcluster-1)
|
|
1058
|
+
"""
|
|
1059
|
+
return pulumi.get(self, "strict_consistency")
|
|
1060
|
+
|
|
1061
|
+
@strict_consistency.setter
|
|
1062
|
+
def strict_consistency(self, value: Optional[pulumi.Input[str]]):
|
|
1063
|
+
pulumi.set(self, "strict_consistency", value)
|
|
1064
|
+
|
|
1049
1065
|
@property
|
|
1050
1066
|
@pulumi.getter(name="subCategory")
|
|
1051
1067
|
def sub_category(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -1213,6 +1229,7 @@ class _ClusterState:
|
|
|
1213
1229
|
storage_pay_type: Optional[pulumi.Input[str]] = None,
|
|
1214
1230
|
storage_space: Optional[pulumi.Input[int]] = None,
|
|
1215
1231
|
storage_type: Optional[pulumi.Input[str]] = None,
|
|
1232
|
+
strict_consistency: Optional[pulumi.Input[str]] = None,
|
|
1216
1233
|
sub_category: Optional[pulumi.Input[str]] = None,
|
|
1217
1234
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
1218
1235
|
target_db_revision_version_code: Optional[pulumi.Input[str]] = None,
|
|
@@ -1317,6 +1334,7 @@ class _ClusterState:
|
|
|
1317
1334
|
> **NOTE:** Valid values for PolarDB for MySQL Standard Edition: 20 to 32000. It is valid when pay_type are `PrePaid` ,`PostPaid`.
|
|
1318
1335
|
> **NOTE:** Valid values for PolarDB for MySQL Enterprise Edition: 50 to 100000.It is valid when pay_type is `PrePaid`.
|
|
1319
1336
|
:param pulumi.Input[str] storage_type: The storage type of the cluster. Enterprise storage type values are `PSL5`, `PSL4`. The standard version storage type values are `ESSDPL1`, `ESSDPL2`, `ESSDPL3`, `ESSDPL0`, `ESSDAUTOPL`. The standard version only supports MySQL and PostgreSQL.
|
|
1337
|
+
:param pulumi.Input[str] strict_consistency: Whether the cluster has enabled strong data consistency across multiple zones. Valid values are `ON`, `OFF`. Available parameters can refer to the latest docs [CreateDBCluster](https://www.alibabacloud.com/help/en/polardb/latest/createdbcluster-1)
|
|
1320
1338
|
:param pulumi.Input[str] sub_category: The category of the cluster. Valid values are `Exclusive`, `General`. Only MySQL supports.
|
|
1321
1339
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
1322
1340
|
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
|
|
@@ -1459,6 +1477,8 @@ class _ClusterState:
|
|
|
1459
1477
|
pulumi.set(__self__, "storage_space", storage_space)
|
|
1460
1478
|
if storage_type is not None:
|
|
1461
1479
|
pulumi.set(__self__, "storage_type", storage_type)
|
|
1480
|
+
if strict_consistency is not None:
|
|
1481
|
+
pulumi.set(__self__, "strict_consistency", strict_consistency)
|
|
1462
1482
|
if sub_category is not None:
|
|
1463
1483
|
pulumi.set(__self__, "sub_category", sub_category)
|
|
1464
1484
|
if tags is not None:
|
|
@@ -2264,6 +2284,18 @@ class _ClusterState:
|
|
|
2264
2284
|
def storage_type(self, value: Optional[pulumi.Input[str]]):
|
|
2265
2285
|
pulumi.set(self, "storage_type", value)
|
|
2266
2286
|
|
|
2287
|
+
@property
|
|
2288
|
+
@pulumi.getter(name="strictConsistency")
|
|
2289
|
+
def strict_consistency(self) -> Optional[pulumi.Input[str]]:
|
|
2290
|
+
"""
|
|
2291
|
+
Whether the cluster has enabled strong data consistency across multiple zones. Valid values are `ON`, `OFF`. Available parameters can refer to the latest docs [CreateDBCluster](https://www.alibabacloud.com/help/en/polardb/latest/createdbcluster-1)
|
|
2292
|
+
"""
|
|
2293
|
+
return pulumi.get(self, "strict_consistency")
|
|
2294
|
+
|
|
2295
|
+
@strict_consistency.setter
|
|
2296
|
+
def strict_consistency(self, value: Optional[pulumi.Input[str]]):
|
|
2297
|
+
pulumi.set(self, "strict_consistency", value)
|
|
2298
|
+
|
|
2267
2299
|
@property
|
|
2268
2300
|
@pulumi.getter(name="subCategory")
|
|
2269
2301
|
def sub_category(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -2442,6 +2474,7 @@ class Cluster(pulumi.CustomResource):
|
|
|
2442
2474
|
storage_pay_type: Optional[pulumi.Input[str]] = None,
|
|
2443
2475
|
storage_space: Optional[pulumi.Input[int]] = None,
|
|
2444
2476
|
storage_type: Optional[pulumi.Input[str]] = None,
|
|
2477
|
+
strict_consistency: Optional[pulumi.Input[str]] = None,
|
|
2445
2478
|
sub_category: Optional[pulumi.Input[str]] = None,
|
|
2446
2479
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
2447
2480
|
target_db_revision_version_code: Optional[pulumi.Input[str]] = None,
|
|
@@ -2550,6 +2583,7 @@ class Cluster(pulumi.CustomResource):
|
|
|
2550
2583
|
> **NOTE:** Valid values for PolarDB for MySQL Standard Edition: 20 to 32000. It is valid when pay_type are `PrePaid` ,`PostPaid`.
|
|
2551
2584
|
> **NOTE:** Valid values for PolarDB for MySQL Enterprise Edition: 50 to 100000.It is valid when pay_type is `PrePaid`.
|
|
2552
2585
|
:param pulumi.Input[str] storage_type: The storage type of the cluster. Enterprise storage type values are `PSL5`, `PSL4`. The standard version storage type values are `ESSDPL1`, `ESSDPL2`, `ESSDPL3`, `ESSDPL0`, `ESSDAUTOPL`. The standard version only supports MySQL and PostgreSQL.
|
|
2586
|
+
:param pulumi.Input[str] strict_consistency: Whether the cluster has enabled strong data consistency across multiple zones. Valid values are `ON`, `OFF`. Available parameters can refer to the latest docs [CreateDBCluster](https://www.alibabacloud.com/help/en/polardb/latest/createdbcluster-1)
|
|
2553
2587
|
:param pulumi.Input[str] sub_category: The category of the cluster. Valid values are `Exclusive`, `General`. Only MySQL supports.
|
|
2554
2588
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
2555
2589
|
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
|
|
@@ -2651,6 +2685,7 @@ class Cluster(pulumi.CustomResource):
|
|
|
2651
2685
|
storage_pay_type: Optional[pulumi.Input[str]] = None,
|
|
2652
2686
|
storage_space: Optional[pulumi.Input[int]] = None,
|
|
2653
2687
|
storage_type: Optional[pulumi.Input[str]] = None,
|
|
2688
|
+
strict_consistency: Optional[pulumi.Input[str]] = None,
|
|
2654
2689
|
sub_category: Optional[pulumi.Input[str]] = None,
|
|
2655
2690
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
2656
2691
|
target_db_revision_version_code: Optional[pulumi.Input[str]] = None,
|
|
@@ -2732,6 +2767,7 @@ class Cluster(pulumi.CustomResource):
|
|
|
2732
2767
|
__props__.__dict__["storage_pay_type"] = storage_pay_type
|
|
2733
2768
|
__props__.__dict__["storage_space"] = storage_space
|
|
2734
2769
|
__props__.__dict__["storage_type"] = storage_type
|
|
2770
|
+
__props__.__dict__["strict_consistency"] = strict_consistency
|
|
2735
2771
|
__props__.__dict__["sub_category"] = sub_category
|
|
2736
2772
|
__props__.__dict__["tags"] = tags
|
|
2737
2773
|
__props__.__dict__["target_db_revision_version_code"] = target_db_revision_version_code
|
|
@@ -2819,6 +2855,7 @@ class Cluster(pulumi.CustomResource):
|
|
|
2819
2855
|
storage_pay_type: Optional[pulumi.Input[str]] = None,
|
|
2820
2856
|
storage_space: Optional[pulumi.Input[int]] = None,
|
|
2821
2857
|
storage_type: Optional[pulumi.Input[str]] = None,
|
|
2858
|
+
strict_consistency: Optional[pulumi.Input[str]] = None,
|
|
2822
2859
|
sub_category: Optional[pulumi.Input[str]] = None,
|
|
2823
2860
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
2824
2861
|
target_db_revision_version_code: Optional[pulumi.Input[str]] = None,
|
|
@@ -2928,6 +2965,7 @@ class Cluster(pulumi.CustomResource):
|
|
|
2928
2965
|
> **NOTE:** Valid values for PolarDB for MySQL Standard Edition: 20 to 32000. It is valid when pay_type are `PrePaid` ,`PostPaid`.
|
|
2929
2966
|
> **NOTE:** Valid values for PolarDB for MySQL Enterprise Edition: 50 to 100000.It is valid when pay_type is `PrePaid`.
|
|
2930
2967
|
:param pulumi.Input[str] storage_type: The storage type of the cluster. Enterprise storage type values are `PSL5`, `PSL4`. The standard version storage type values are `ESSDPL1`, `ESSDPL2`, `ESSDPL3`, `ESSDPL0`, `ESSDAUTOPL`. The standard version only supports MySQL and PostgreSQL.
|
|
2968
|
+
:param pulumi.Input[str] strict_consistency: Whether the cluster has enabled strong data consistency across multiple zones. Valid values are `ON`, `OFF`. Available parameters can refer to the latest docs [CreateDBCluster](https://www.alibabacloud.com/help/en/polardb/latest/createdbcluster-1)
|
|
2931
2969
|
:param pulumi.Input[str] sub_category: The category of the cluster. Valid values are `Exclusive`, `General`. Only MySQL supports.
|
|
2932
2970
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
2933
2971
|
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
|
|
@@ -3011,6 +3049,7 @@ class Cluster(pulumi.CustomResource):
|
|
|
3011
3049
|
__props__.__dict__["storage_pay_type"] = storage_pay_type
|
|
3012
3050
|
__props__.__dict__["storage_space"] = storage_space
|
|
3013
3051
|
__props__.__dict__["storage_type"] = storage_type
|
|
3052
|
+
__props__.__dict__["strict_consistency"] = strict_consistency
|
|
3014
3053
|
__props__.__dict__["sub_category"] = sub_category
|
|
3015
3054
|
__props__.__dict__["tags"] = tags
|
|
3016
3055
|
__props__.__dict__["target_db_revision_version_code"] = target_db_revision_version_code
|
|
@@ -3556,6 +3595,14 @@ class Cluster(pulumi.CustomResource):
|
|
|
3556
3595
|
"""
|
|
3557
3596
|
return pulumi.get(self, "storage_type")
|
|
3558
3597
|
|
|
3598
|
+
@property
|
|
3599
|
+
@pulumi.getter(name="strictConsistency")
|
|
3600
|
+
def strict_consistency(self) -> pulumi.Output[str]:
|
|
3601
|
+
"""
|
|
3602
|
+
Whether the cluster has enabled strong data consistency across multiple zones. Valid values are `ON`, `OFF`. Available parameters can refer to the latest docs [CreateDBCluster](https://www.alibabacloud.com/help/en/polardb/latest/createdbcluster-1)
|
|
3603
|
+
"""
|
|
3604
|
+
return pulumi.get(self, "strict_consistency")
|
|
3605
|
+
|
|
3559
3606
|
@property
|
|
3560
3607
|
@pulumi.getter(name="subCategory")
|
|
3561
3608
|
def sub_category(self) -> pulumi.Output[str]:
|