pulumi-alicloud 3.65.1a1731504533__py3-none-any.whl → 3.66.0a1730783952__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-alicloud might be problematic. Click here for more details.
- pulumi_alicloud/alb/load_balancer.py +1 -1
- pulumi_alicloud/arms/environment.py +7 -7
- pulumi_alicloud/arms/get_remote_writes.py +4 -4
- pulumi_alicloud/arms/prometheus_alert_rule.py +0 -58
- pulumi_alicloud/arms/remote_write.py +2 -2
- pulumi_alicloud/cen/transit_router_vbr_attachment.py +74 -96
- pulumi_alicloud/cms/hybrid_monitor_fc_task.py +26 -28
- pulumi_alicloud/cr/chain.py +14 -22
- pulumi_alicloud/cr/chart_repository.py +6 -14
- pulumi_alicloud/cr/repo.py +8 -8
- pulumi_alicloud/cr/vpc_endpoint_linked_vpc.py +6 -14
- pulumi_alicloud/databasefilesystem/instance_attachment.py +63 -59
- pulumi_alicloud/databasefilesystem/snapshot.py +109 -53
- pulumi_alicloud/ecs/instance.py +7 -7
- pulumi_alicloud/ess/scaling_configuration.py +7 -7
- pulumi_alicloud/fc/trigger.py +138 -202
- pulumi_alicloud/ga/custom_routing_endpoint_traffic_policy.py +44 -48
- pulumi_alicloud/governance/_inputs.py +0 -54
- pulumi_alicloud/governance/account.py +14 -49
- pulumi_alicloud/governance/outputs.py +0 -51
- pulumi_alicloud/gpdb/instance.py +15 -196
- pulumi_alicloud/kms/instance.py +0 -28
- pulumi_alicloud/nas/data_flow.py +6 -6
- pulumi_alicloud/nas/fileset.py +6 -6
- pulumi_alicloud/nas/lifecycle_policy.py +6 -6
- pulumi_alicloud/nas/recycle_bin.py +6 -6
- pulumi_alicloud/nas/snapshot.py +6 -6
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/redis/tair_instance.py +71 -1102
- pulumi_alicloud/threatdetection/honeypot_preset.py +0 -2
- pulumi_alicloud/vpn/gateway_vco_route.py +8 -28
- {pulumi_alicloud-3.65.1a1731504533.dist-info → pulumi_alicloud-3.66.0a1730783952.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.65.1a1731504533.dist-info → pulumi_alicloud-3.66.0a1730783952.dist-info}/RECORD +35 -35
- {pulumi_alicloud-3.65.1a1731504533.dist-info → pulumi_alicloud-3.66.0a1730783952.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.65.1a1731504533.dist-info → pulumi_alicloud-3.66.0a1730783952.dist-info}/top_level.txt +0 -0
|
@@ -26,11 +26,11 @@ class SnapshotArgs:
|
|
|
26
26
|
snapshot_name: Optional[pulumi.Input[str]] = None):
|
|
27
27
|
"""
|
|
28
28
|
The set of arguments for constructing a Snapshot resource.
|
|
29
|
-
:param pulumi.Input[str] instance_id: The ID of the
|
|
30
|
-
:param pulumi.Input[str] description:
|
|
31
|
-
:param pulumi.Input[bool] force:
|
|
32
|
-
:param pulumi.Input[int] retention_days: The retention
|
|
33
|
-
:param pulumi.Input[str] snapshot_name: The name of the snapshot. The
|
|
29
|
+
:param pulumi.Input[str] instance_id: The ID of the database file system.
|
|
30
|
+
:param pulumi.Input[str] description: Description of the snapshot. The description must be `2` to `256` characters in length. It must start with a letter, and cannot start with `http://` or `https://`.
|
|
31
|
+
:param pulumi.Input[bool] force: Whether to force deletion of snapshots.
|
|
32
|
+
:param pulumi.Input[int] retention_days: The retention time of the snapshot. Unit: days. Snapshots are automatically released after the retention time expires. Valid values: `1` to `65536`.
|
|
33
|
+
:param pulumi.Input[str] snapshot_name: The display name of the snapshot. The length is `2` to `128` characters. It must start with a large or small letter or Chinese, and cannot start with `http://` and `https://`. It can contain numbers, colons (:), underscores (_), or hyphens (-). To prevent name conflicts with automatic snapshots, you cannot start with `auto`.
|
|
34
34
|
"""
|
|
35
35
|
pulumi.set(__self__, "instance_id", instance_id)
|
|
36
36
|
if description is not None:
|
|
@@ -46,7 +46,7 @@ class SnapshotArgs:
|
|
|
46
46
|
@pulumi.getter(name="instanceId")
|
|
47
47
|
def instance_id(self) -> pulumi.Input[str]:
|
|
48
48
|
"""
|
|
49
|
-
The ID of the
|
|
49
|
+
The ID of the database file system.
|
|
50
50
|
"""
|
|
51
51
|
return pulumi.get(self, "instance_id")
|
|
52
52
|
|
|
@@ -58,7 +58,7 @@ class SnapshotArgs:
|
|
|
58
58
|
@pulumi.getter
|
|
59
59
|
def description(self) -> Optional[pulumi.Input[str]]:
|
|
60
60
|
"""
|
|
61
|
-
|
|
61
|
+
Description of the snapshot. The description must be `2` to `256` characters in length. It must start with a letter, and cannot start with `http://` or `https://`.
|
|
62
62
|
"""
|
|
63
63
|
return pulumi.get(self, "description")
|
|
64
64
|
|
|
@@ -70,7 +70,7 @@ class SnapshotArgs:
|
|
|
70
70
|
@pulumi.getter
|
|
71
71
|
def force(self) -> Optional[pulumi.Input[bool]]:
|
|
72
72
|
"""
|
|
73
|
-
|
|
73
|
+
Whether to force deletion of snapshots.
|
|
74
74
|
"""
|
|
75
75
|
return pulumi.get(self, "force")
|
|
76
76
|
|
|
@@ -82,7 +82,7 @@ class SnapshotArgs:
|
|
|
82
82
|
@pulumi.getter(name="retentionDays")
|
|
83
83
|
def retention_days(self) -> Optional[pulumi.Input[int]]:
|
|
84
84
|
"""
|
|
85
|
-
The retention
|
|
85
|
+
The retention time of the snapshot. Unit: days. Snapshots are automatically released after the retention time expires. Valid values: `1` to `65536`.
|
|
86
86
|
"""
|
|
87
87
|
return pulumi.get(self, "retention_days")
|
|
88
88
|
|
|
@@ -94,7 +94,7 @@ class SnapshotArgs:
|
|
|
94
94
|
@pulumi.getter(name="snapshotName")
|
|
95
95
|
def snapshot_name(self) -> Optional[pulumi.Input[str]]:
|
|
96
96
|
"""
|
|
97
|
-
The name of the snapshot. The
|
|
97
|
+
The display name of the snapshot. The length is `2` to `128` characters. It must start with a large or small letter or Chinese, and cannot start with `http://` and `https://`. It can contain numbers, colons (:), underscores (_), or hyphens (-). To prevent name conflicts with automatic snapshots, you cannot start with `auto`.
|
|
98
98
|
"""
|
|
99
99
|
return pulumi.get(self, "snapshot_name")
|
|
100
100
|
|
|
@@ -114,11 +114,11 @@ class _SnapshotState:
|
|
|
114
114
|
status: Optional[pulumi.Input[str]] = None):
|
|
115
115
|
"""
|
|
116
116
|
Input properties used for looking up and filtering Snapshot resources.
|
|
117
|
-
:param pulumi.Input[str] description:
|
|
118
|
-
:param pulumi.Input[bool] force:
|
|
119
|
-
:param pulumi.Input[str] instance_id: The ID of the
|
|
120
|
-
:param pulumi.Input[int] retention_days: The retention
|
|
121
|
-
:param pulumi.Input[str] snapshot_name: The name of the snapshot. The
|
|
117
|
+
:param pulumi.Input[str] description: Description of the snapshot. The description must be `2` to `256` characters in length. It must start with a letter, and cannot start with `http://` or `https://`.
|
|
118
|
+
:param pulumi.Input[bool] force: Whether to force deletion of snapshots.
|
|
119
|
+
:param pulumi.Input[str] instance_id: The ID of the database file system.
|
|
120
|
+
:param pulumi.Input[int] retention_days: The retention time of the snapshot. Unit: days. Snapshots are automatically released after the retention time expires. Valid values: `1` to `65536`.
|
|
121
|
+
:param pulumi.Input[str] snapshot_name: The display name of the snapshot. The length is `2` to `128` characters. It must start with a large or small letter or Chinese, and cannot start with `http://` and `https://`. It can contain numbers, colons (:), underscores (_), or hyphens (-). To prevent name conflicts with automatic snapshots, you cannot start with `auto`.
|
|
122
122
|
:param pulumi.Input[str] status: The status of the Snapshot.
|
|
123
123
|
"""
|
|
124
124
|
if description is not None:
|
|
@@ -138,7 +138,7 @@ class _SnapshotState:
|
|
|
138
138
|
@pulumi.getter
|
|
139
139
|
def description(self) -> Optional[pulumi.Input[str]]:
|
|
140
140
|
"""
|
|
141
|
-
|
|
141
|
+
Description of the snapshot. The description must be `2` to `256` characters in length. It must start with a letter, and cannot start with `http://` or `https://`.
|
|
142
142
|
"""
|
|
143
143
|
return pulumi.get(self, "description")
|
|
144
144
|
|
|
@@ -150,7 +150,7 @@ class _SnapshotState:
|
|
|
150
150
|
@pulumi.getter
|
|
151
151
|
def force(self) -> Optional[pulumi.Input[bool]]:
|
|
152
152
|
"""
|
|
153
|
-
|
|
153
|
+
Whether to force deletion of snapshots.
|
|
154
154
|
"""
|
|
155
155
|
return pulumi.get(self, "force")
|
|
156
156
|
|
|
@@ -162,7 +162,7 @@ class _SnapshotState:
|
|
|
162
162
|
@pulumi.getter(name="instanceId")
|
|
163
163
|
def instance_id(self) -> Optional[pulumi.Input[str]]:
|
|
164
164
|
"""
|
|
165
|
-
The ID of the
|
|
165
|
+
The ID of the database file system.
|
|
166
166
|
"""
|
|
167
167
|
return pulumi.get(self, "instance_id")
|
|
168
168
|
|
|
@@ -174,7 +174,7 @@ class _SnapshotState:
|
|
|
174
174
|
@pulumi.getter(name="retentionDays")
|
|
175
175
|
def retention_days(self) -> Optional[pulumi.Input[int]]:
|
|
176
176
|
"""
|
|
177
|
-
The retention
|
|
177
|
+
The retention time of the snapshot. Unit: days. Snapshots are automatically released after the retention time expires. Valid values: `1` to `65536`.
|
|
178
178
|
"""
|
|
179
179
|
return pulumi.get(self, "retention_days")
|
|
180
180
|
|
|
@@ -186,7 +186,7 @@ class _SnapshotState:
|
|
|
186
186
|
@pulumi.getter(name="snapshotName")
|
|
187
187
|
def snapshot_name(self) -> Optional[pulumi.Input[str]]:
|
|
188
188
|
"""
|
|
189
|
-
The name of the snapshot. The
|
|
189
|
+
The display name of the snapshot. The length is `2` to `128` characters. It must start with a large or small letter or Chinese, and cannot start with `http://` and `https://`. It can contain numbers, colons (:), underscores (_), or hyphens (-). To prevent name conflicts with automatic snapshots, you cannot start with `auto`.
|
|
190
190
|
"""
|
|
191
191
|
return pulumi.get(self, "snapshot_name")
|
|
192
192
|
|
|
@@ -219,9 +219,9 @@ class Snapshot(pulumi.CustomResource):
|
|
|
219
219
|
snapshot_name: Optional[pulumi.Input[str]] = None,
|
|
220
220
|
__props__=None):
|
|
221
221
|
"""
|
|
222
|
-
Provides a
|
|
222
|
+
Provides a DBFS Snapshot resource.
|
|
223
223
|
|
|
224
|
-
For information about
|
|
224
|
+
For information about DBFS Snapshot and how to use it.
|
|
225
225
|
|
|
226
226
|
> **NOTE:** Available since v1.156.0.
|
|
227
227
|
|
|
@@ -236,18 +236,46 @@ class Snapshot(pulumi.CustomResource):
|
|
|
236
236
|
config = pulumi.Config()
|
|
237
237
|
name = config.get("name")
|
|
238
238
|
if name is None:
|
|
239
|
-
name = "
|
|
240
|
-
|
|
241
|
-
example = alicloud.
|
|
242
|
-
|
|
243
|
-
|
|
239
|
+
name = "tf-example"
|
|
240
|
+
zone_id = "cn-hangzhou-i"
|
|
241
|
+
example = alicloud.ecs.get_instance_types(availability_zone=zone_id,
|
|
242
|
+
instance_type_family="ecs.g7se")
|
|
243
|
+
example_get_images = alicloud.ecs.get_images(instance_type=example.instance_types[len(example.instance_types) - 1].id,
|
|
244
|
+
name_regex="^aliyun_2_1903_x64_20G_alibase_20240628.vhd",
|
|
245
|
+
owners="system")
|
|
246
|
+
default = alicloud.vpc.get_networks(name_regex="^default-NODELETING$")
|
|
247
|
+
default_get_switches = alicloud.vpc.get_switches(vpc_id=default.ids[0],
|
|
248
|
+
zone_id=zone_id)
|
|
249
|
+
example_security_group = alicloud.ecs.SecurityGroup("example",
|
|
250
|
+
name=name,
|
|
251
|
+
vpc_id=default.ids[0])
|
|
252
|
+
default_instance = alicloud.ecs.Instance("default",
|
|
253
|
+
availability_zone=zone_id,
|
|
254
|
+
instance_name=name,
|
|
255
|
+
image_id=example_get_images.images[0].id,
|
|
256
|
+
instance_type=example.instance_types[len(example.instance_types) - 1].id,
|
|
257
|
+
security_groups=[example_security_group.id],
|
|
258
|
+
vswitch_id=default_get_switches.ids[0],
|
|
259
|
+
system_disk_category="cloud_essd")
|
|
260
|
+
default_instance2 = alicloud.databasefilesystem.Instance("default",
|
|
261
|
+
category="enterprise",
|
|
262
|
+
zone_id=default_instance.availability_zone,
|
|
263
|
+
performance_level="PL1",
|
|
264
|
+
fs_name=name,
|
|
265
|
+
size=100)
|
|
266
|
+
default_instance_attachment = alicloud.databasefilesystem.InstanceAttachment("default",
|
|
267
|
+
ecs_id=default_instance.id,
|
|
268
|
+
instance_id=default_instance2.id)
|
|
269
|
+
example_snapshot = alicloud.databasefilesystem.Snapshot("example",
|
|
270
|
+
instance_id=default_instance_attachment.instance_id,
|
|
244
271
|
snapshot_name=name,
|
|
245
|
-
description=
|
|
272
|
+
description=name,
|
|
273
|
+
retention_days=30)
|
|
246
274
|
```
|
|
247
275
|
|
|
248
276
|
## Import
|
|
249
277
|
|
|
250
|
-
|
|
278
|
+
DBFS Snapshot can be imported using the id, e.g.
|
|
251
279
|
|
|
252
280
|
```sh
|
|
253
281
|
$ pulumi import alicloud:databasefilesystem/snapshot:Snapshot example <id>
|
|
@@ -255,11 +283,11 @@ class Snapshot(pulumi.CustomResource):
|
|
|
255
283
|
|
|
256
284
|
:param str resource_name: The name of the resource.
|
|
257
285
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
258
|
-
:param pulumi.Input[str] description:
|
|
259
|
-
:param pulumi.Input[bool] force:
|
|
260
|
-
:param pulumi.Input[str] instance_id: The ID of the
|
|
261
|
-
:param pulumi.Input[int] retention_days: The retention
|
|
262
|
-
:param pulumi.Input[str] snapshot_name: The name of the snapshot. The
|
|
286
|
+
:param pulumi.Input[str] description: Description of the snapshot. The description must be `2` to `256` characters in length. It must start with a letter, and cannot start with `http://` or `https://`.
|
|
287
|
+
:param pulumi.Input[bool] force: Whether to force deletion of snapshots.
|
|
288
|
+
:param pulumi.Input[str] instance_id: The ID of the database file system.
|
|
289
|
+
:param pulumi.Input[int] retention_days: The retention time of the snapshot. Unit: days. Snapshots are automatically released after the retention time expires. Valid values: `1` to `65536`.
|
|
290
|
+
:param pulumi.Input[str] snapshot_name: The display name of the snapshot. The length is `2` to `128` characters. It must start with a large or small letter or Chinese, and cannot start with `http://` and `https://`. It can contain numbers, colons (:), underscores (_), or hyphens (-). To prevent name conflicts with automatic snapshots, you cannot start with `auto`.
|
|
263
291
|
"""
|
|
264
292
|
...
|
|
265
293
|
@overload
|
|
@@ -268,9 +296,9 @@ class Snapshot(pulumi.CustomResource):
|
|
|
268
296
|
args: SnapshotArgs,
|
|
269
297
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
270
298
|
"""
|
|
271
|
-
Provides a
|
|
299
|
+
Provides a DBFS Snapshot resource.
|
|
272
300
|
|
|
273
|
-
For information about
|
|
301
|
+
For information about DBFS Snapshot and how to use it.
|
|
274
302
|
|
|
275
303
|
> **NOTE:** Available since v1.156.0.
|
|
276
304
|
|
|
@@ -285,18 +313,46 @@ class Snapshot(pulumi.CustomResource):
|
|
|
285
313
|
config = pulumi.Config()
|
|
286
314
|
name = config.get("name")
|
|
287
315
|
if name is None:
|
|
288
|
-
name = "
|
|
289
|
-
|
|
290
|
-
example = alicloud.
|
|
291
|
-
|
|
292
|
-
|
|
316
|
+
name = "tf-example"
|
|
317
|
+
zone_id = "cn-hangzhou-i"
|
|
318
|
+
example = alicloud.ecs.get_instance_types(availability_zone=zone_id,
|
|
319
|
+
instance_type_family="ecs.g7se")
|
|
320
|
+
example_get_images = alicloud.ecs.get_images(instance_type=example.instance_types[len(example.instance_types) - 1].id,
|
|
321
|
+
name_regex="^aliyun_2_1903_x64_20G_alibase_20240628.vhd",
|
|
322
|
+
owners="system")
|
|
323
|
+
default = alicloud.vpc.get_networks(name_regex="^default-NODELETING$")
|
|
324
|
+
default_get_switches = alicloud.vpc.get_switches(vpc_id=default.ids[0],
|
|
325
|
+
zone_id=zone_id)
|
|
326
|
+
example_security_group = alicloud.ecs.SecurityGroup("example",
|
|
327
|
+
name=name,
|
|
328
|
+
vpc_id=default.ids[0])
|
|
329
|
+
default_instance = alicloud.ecs.Instance("default",
|
|
330
|
+
availability_zone=zone_id,
|
|
331
|
+
instance_name=name,
|
|
332
|
+
image_id=example_get_images.images[0].id,
|
|
333
|
+
instance_type=example.instance_types[len(example.instance_types) - 1].id,
|
|
334
|
+
security_groups=[example_security_group.id],
|
|
335
|
+
vswitch_id=default_get_switches.ids[0],
|
|
336
|
+
system_disk_category="cloud_essd")
|
|
337
|
+
default_instance2 = alicloud.databasefilesystem.Instance("default",
|
|
338
|
+
category="enterprise",
|
|
339
|
+
zone_id=default_instance.availability_zone,
|
|
340
|
+
performance_level="PL1",
|
|
341
|
+
fs_name=name,
|
|
342
|
+
size=100)
|
|
343
|
+
default_instance_attachment = alicloud.databasefilesystem.InstanceAttachment("default",
|
|
344
|
+
ecs_id=default_instance.id,
|
|
345
|
+
instance_id=default_instance2.id)
|
|
346
|
+
example_snapshot = alicloud.databasefilesystem.Snapshot("example",
|
|
347
|
+
instance_id=default_instance_attachment.instance_id,
|
|
293
348
|
snapshot_name=name,
|
|
294
|
-
description=
|
|
349
|
+
description=name,
|
|
350
|
+
retention_days=30)
|
|
295
351
|
```
|
|
296
352
|
|
|
297
353
|
## Import
|
|
298
354
|
|
|
299
|
-
|
|
355
|
+
DBFS Snapshot can be imported using the id, e.g.
|
|
300
356
|
|
|
301
357
|
```sh
|
|
302
358
|
$ pulumi import alicloud:databasefilesystem/snapshot:Snapshot example <id>
|
|
@@ -362,11 +418,11 @@ class Snapshot(pulumi.CustomResource):
|
|
|
362
418
|
:param str resource_name: The unique name of the resulting resource.
|
|
363
419
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
364
420
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
365
|
-
:param pulumi.Input[str] description:
|
|
366
|
-
:param pulumi.Input[bool] force:
|
|
367
|
-
:param pulumi.Input[str] instance_id: The ID of the
|
|
368
|
-
:param pulumi.Input[int] retention_days: The retention
|
|
369
|
-
:param pulumi.Input[str] snapshot_name: The name of the snapshot. The
|
|
421
|
+
:param pulumi.Input[str] description: Description of the snapshot. The description must be `2` to `256` characters in length. It must start with a letter, and cannot start with `http://` or `https://`.
|
|
422
|
+
:param pulumi.Input[bool] force: Whether to force deletion of snapshots.
|
|
423
|
+
:param pulumi.Input[str] instance_id: The ID of the database file system.
|
|
424
|
+
:param pulumi.Input[int] retention_days: The retention time of the snapshot. Unit: days. Snapshots are automatically released after the retention time expires. Valid values: `1` to `65536`.
|
|
425
|
+
:param pulumi.Input[str] snapshot_name: The display name of the snapshot. The length is `2` to `128` characters. It must start with a large or small letter or Chinese, and cannot start with `http://` and `https://`. It can contain numbers, colons (:), underscores (_), or hyphens (-). To prevent name conflicts with automatic snapshots, you cannot start with `auto`.
|
|
370
426
|
:param pulumi.Input[str] status: The status of the Snapshot.
|
|
371
427
|
"""
|
|
372
428
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -385,7 +441,7 @@ class Snapshot(pulumi.CustomResource):
|
|
|
385
441
|
@pulumi.getter
|
|
386
442
|
def description(self) -> pulumi.Output[Optional[str]]:
|
|
387
443
|
"""
|
|
388
|
-
|
|
444
|
+
Description of the snapshot. The description must be `2` to `256` characters in length. It must start with a letter, and cannot start with `http://` or `https://`.
|
|
389
445
|
"""
|
|
390
446
|
return pulumi.get(self, "description")
|
|
391
447
|
|
|
@@ -393,7 +449,7 @@ class Snapshot(pulumi.CustomResource):
|
|
|
393
449
|
@pulumi.getter
|
|
394
450
|
def force(self) -> pulumi.Output[Optional[bool]]:
|
|
395
451
|
"""
|
|
396
|
-
|
|
452
|
+
Whether to force deletion of snapshots.
|
|
397
453
|
"""
|
|
398
454
|
return pulumi.get(self, "force")
|
|
399
455
|
|
|
@@ -401,7 +457,7 @@ class Snapshot(pulumi.CustomResource):
|
|
|
401
457
|
@pulumi.getter(name="instanceId")
|
|
402
458
|
def instance_id(self) -> pulumi.Output[str]:
|
|
403
459
|
"""
|
|
404
|
-
The ID of the
|
|
460
|
+
The ID of the database file system.
|
|
405
461
|
"""
|
|
406
462
|
return pulumi.get(self, "instance_id")
|
|
407
463
|
|
|
@@ -409,7 +465,7 @@ class Snapshot(pulumi.CustomResource):
|
|
|
409
465
|
@pulumi.getter(name="retentionDays")
|
|
410
466
|
def retention_days(self) -> pulumi.Output[Optional[int]]:
|
|
411
467
|
"""
|
|
412
|
-
The retention
|
|
468
|
+
The retention time of the snapshot. Unit: days. Snapshots are automatically released after the retention time expires. Valid values: `1` to `65536`.
|
|
413
469
|
"""
|
|
414
470
|
return pulumi.get(self, "retention_days")
|
|
415
471
|
|
|
@@ -417,7 +473,7 @@ class Snapshot(pulumi.CustomResource):
|
|
|
417
473
|
@pulumi.getter(name="snapshotName")
|
|
418
474
|
def snapshot_name(self) -> pulumi.Output[Optional[str]]:
|
|
419
475
|
"""
|
|
420
|
-
The name of the snapshot. The
|
|
476
|
+
The display name of the snapshot. The length is `2` to `128` characters. It must start with a large or small letter or Chinese, and cannot start with `http://` and `https://`. It can contain numbers, colons (:), underscores (_), or hyphens (-). To prevent name conflicts with automatic snapshots, you cannot start with `auto`.
|
|
421
477
|
"""
|
|
422
478
|
return pulumi.get(self, "snapshot_name")
|
|
423
479
|
|
pulumi_alicloud/ecs/instance.py
CHANGED
|
@@ -124,7 +124,7 @@ class InstanceArgs:
|
|
|
124
124
|
On other OSs such as Linux, the host name can contain a maximum of 64 characters, which can be segments separated by dots (“.”), where each segment can contain uppercase/lowercase letters, numerals, or “_“. When it is changed, the instance will reboot to make the change take effect.
|
|
125
125
|
:param pulumi.Input[str] hpc_cluster_id: The ID of the Elastic High Performance Computing (E-HPC) cluster to which to assign the instance.
|
|
126
126
|
:param pulumi.Input[str] http_endpoint: Specifies whether to enable the access channel for instance metadata. Valid values: `enabled`, `disabled`. Default value: `enabled`.
|
|
127
|
-
:param pulumi.Input[int] http_put_response_hop_limit:
|
|
127
|
+
:param pulumi.Input[int] http_put_response_hop_limit: The HTTP PUT response hop limit for accessing instance metadata. Valid values: 1 to 64. Default value: 1.
|
|
128
128
|
:param pulumi.Input[str] http_tokens: Specifies whether to forcefully use the security-enhanced mode (IMDSv2) to access instance metadata. Default value: optional. Valid values:
|
|
129
129
|
- optional: does not forcefully use the security-enhanced mode (IMDSv2).
|
|
130
130
|
- required: forcefully uses the security-enhanced mode (IMDSv2). After you set this parameter to required, you cannot access instance metadata in normal mode.
|
|
@@ -580,7 +580,7 @@ class InstanceArgs:
|
|
|
580
580
|
@pulumi.getter(name="httpPutResponseHopLimit")
|
|
581
581
|
def http_put_response_hop_limit(self) -> Optional[pulumi.Input[int]]:
|
|
582
582
|
"""
|
|
583
|
-
|
|
583
|
+
The HTTP PUT response hop limit for accessing instance metadata. Valid values: 1 to 64. Default value: 1.
|
|
584
584
|
"""
|
|
585
585
|
return pulumi.get(self, "http_put_response_hop_limit")
|
|
586
586
|
|
|
@@ -1438,7 +1438,7 @@ class _InstanceState:
|
|
|
1438
1438
|
On other OSs such as Linux, the host name can contain a maximum of 64 characters, which can be segments separated by dots (“.”), where each segment can contain uppercase/lowercase letters, numerals, or “_“. When it is changed, the instance will reboot to make the change take effect.
|
|
1439
1439
|
:param pulumi.Input[str] hpc_cluster_id: The ID of the Elastic High Performance Computing (E-HPC) cluster to which to assign the instance.
|
|
1440
1440
|
:param pulumi.Input[str] http_endpoint: Specifies whether to enable the access channel for instance metadata. Valid values: `enabled`, `disabled`. Default value: `enabled`.
|
|
1441
|
-
:param pulumi.Input[int] http_put_response_hop_limit:
|
|
1441
|
+
:param pulumi.Input[int] http_put_response_hop_limit: The HTTP PUT response hop limit for accessing instance metadata. Valid values: 1 to 64. Default value: 1.
|
|
1442
1442
|
:param pulumi.Input[str] http_tokens: Specifies whether to forcefully use the security-enhanced mode (IMDSv2) to access instance metadata. Default value: optional. Valid values:
|
|
1443
1443
|
- optional: does not forcefully use the security-enhanced mode (IMDSv2).
|
|
1444
1444
|
- required: forcefully uses the security-enhanced mode (IMDSv2). After you set this parameter to required, you cannot access instance metadata in normal mode.
|
|
@@ -1974,7 +1974,7 @@ class _InstanceState:
|
|
|
1974
1974
|
@pulumi.getter(name="httpPutResponseHopLimit")
|
|
1975
1975
|
def http_put_response_hop_limit(self) -> Optional[pulumi.Input[int]]:
|
|
1976
1976
|
"""
|
|
1977
|
-
|
|
1977
|
+
The HTTP PUT response hop limit for accessing instance metadata. Valid values: 1 to 64. Default value: 1.
|
|
1978
1978
|
"""
|
|
1979
1979
|
return pulumi.get(self, "http_put_response_hop_limit")
|
|
1980
1980
|
|
|
@@ -2993,7 +2993,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2993
2993
|
On other OSs such as Linux, the host name can contain a maximum of 64 characters, which can be segments separated by dots (“.”), where each segment can contain uppercase/lowercase letters, numerals, or “_“. When it is changed, the instance will reboot to make the change take effect.
|
|
2994
2994
|
:param pulumi.Input[str] hpc_cluster_id: The ID of the Elastic High Performance Computing (E-HPC) cluster to which to assign the instance.
|
|
2995
2995
|
:param pulumi.Input[str] http_endpoint: Specifies whether to enable the access channel for instance metadata. Valid values: `enabled`, `disabled`. Default value: `enabled`.
|
|
2996
|
-
:param pulumi.Input[int] http_put_response_hop_limit:
|
|
2996
|
+
:param pulumi.Input[int] http_put_response_hop_limit: The HTTP PUT response hop limit for accessing instance metadata. Valid values: 1 to 64. Default value: 1.
|
|
2997
2997
|
:param pulumi.Input[str] http_tokens: Specifies whether to forcefully use the security-enhanced mode (IMDSv2) to access instance metadata. Default value: optional. Valid values:
|
|
2998
2998
|
- optional: does not forcefully use the security-enhanced mode (IMDSv2).
|
|
2999
2999
|
- required: forcefully uses the security-enhanced mode (IMDSv2). After you set this parameter to required, you cannot access instance metadata in normal mode.
|
|
@@ -3491,7 +3491,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3491
3491
|
On other OSs such as Linux, the host name can contain a maximum of 64 characters, which can be segments separated by dots (“.”), where each segment can contain uppercase/lowercase letters, numerals, or “_“. When it is changed, the instance will reboot to make the change take effect.
|
|
3492
3492
|
:param pulumi.Input[str] hpc_cluster_id: The ID of the Elastic High Performance Computing (E-HPC) cluster to which to assign the instance.
|
|
3493
3493
|
:param pulumi.Input[str] http_endpoint: Specifies whether to enable the access channel for instance metadata. Valid values: `enabled`, `disabled`. Default value: `enabled`.
|
|
3494
|
-
:param pulumi.Input[int] http_put_response_hop_limit:
|
|
3494
|
+
:param pulumi.Input[int] http_put_response_hop_limit: The HTTP PUT response hop limit for accessing instance metadata. Valid values: 1 to 64. Default value: 1.
|
|
3495
3495
|
:param pulumi.Input[str] http_tokens: Specifies whether to forcefully use the security-enhanced mode (IMDSv2) to access instance metadata. Default value: optional. Valid values:
|
|
3496
3496
|
- optional: does not forcefully use the security-enhanced mode (IMDSv2).
|
|
3497
3497
|
- required: forcefully uses the security-enhanced mode (IMDSv2). After you set this parameter to required, you cannot access instance metadata in normal mode.
|
|
@@ -3859,7 +3859,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3859
3859
|
@pulumi.getter(name="httpPutResponseHopLimit")
|
|
3860
3860
|
def http_put_response_hop_limit(self) -> pulumi.Output[int]:
|
|
3861
3861
|
"""
|
|
3862
|
-
|
|
3862
|
+
The HTTP PUT response hop limit for accessing instance metadata. Valid values: 1 to 64. Default value: 1.
|
|
3863
3863
|
"""
|
|
3864
3864
|
return pulumi.get(self, "http_put_response_hop_limit")
|
|
3865
3865
|
|
|
@@ -93,7 +93,7 @@ class ScalingConfigurationArgs:
|
|
|
93
93
|
:param pulumi.Input[Sequence[pulumi.Input['ScalingConfigurationInstanceTypeOverrideArgs']]] instance_type_overrides: specify the weight of instance type. See `instance_type_override` below for details.
|
|
94
94
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] instance_types: Resource types of an ECS instance.
|
|
95
95
|
:param pulumi.Input[str] internet_charge_type: Network billing type, Values: PayByBandwidth or PayByTraffic. Default to `PayByBandwidth`.
|
|
96
|
-
:param pulumi.Input[int] internet_max_bandwidth_in: Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second).
|
|
96
|
+
:param pulumi.Input[int] internet_max_bandwidth_in: Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second). The value range is [1,200].
|
|
97
97
|
:param pulumi.Input[int] internet_max_bandwidth_out: Maximum outgoing bandwidth from the public network, measured in Mbps (Mega bit per second). The value range for PayByBandwidth is [0,1024].
|
|
98
98
|
:param pulumi.Input[str] io_optimized: It has been deprecated on instance resource. All the launched alicloud instances will be I/O optimized.
|
|
99
99
|
:param pulumi.Input[bool] is_outdated: Whether to use outdated instance type. Default to false.
|
|
@@ -483,7 +483,7 @@ class ScalingConfigurationArgs:
|
|
|
483
483
|
@pulumi.getter(name="internetMaxBandwidthIn")
|
|
484
484
|
def internet_max_bandwidth_in(self) -> Optional[pulumi.Input[int]]:
|
|
485
485
|
"""
|
|
486
|
-
Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second).
|
|
486
|
+
Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second). The value range is [1,200].
|
|
487
487
|
"""
|
|
488
488
|
return pulumi.get(self, "internet_max_bandwidth_in")
|
|
489
489
|
|
|
@@ -955,7 +955,7 @@ class _ScalingConfigurationState:
|
|
|
955
955
|
:param pulumi.Input[Sequence[pulumi.Input['ScalingConfigurationInstanceTypeOverrideArgs']]] instance_type_overrides: specify the weight of instance type. See `instance_type_override` below for details.
|
|
956
956
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] instance_types: Resource types of an ECS instance.
|
|
957
957
|
:param pulumi.Input[str] internet_charge_type: Network billing type, Values: PayByBandwidth or PayByTraffic. Default to `PayByBandwidth`.
|
|
958
|
-
:param pulumi.Input[int] internet_max_bandwidth_in: Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second).
|
|
958
|
+
:param pulumi.Input[int] internet_max_bandwidth_in: Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second). The value range is [1,200].
|
|
959
959
|
:param pulumi.Input[int] internet_max_bandwidth_out: Maximum outgoing bandwidth from the public network, measured in Mbps (Mega bit per second). The value range for PayByBandwidth is [0,1024].
|
|
960
960
|
:param pulumi.Input[str] io_optimized: It has been deprecated on instance resource. All the launched alicloud instances will be I/O optimized.
|
|
961
961
|
:param pulumi.Input[bool] is_outdated: Whether to use outdated instance type. Default to false.
|
|
@@ -1335,7 +1335,7 @@ class _ScalingConfigurationState:
|
|
|
1335
1335
|
@pulumi.getter(name="internetMaxBandwidthIn")
|
|
1336
1336
|
def internet_max_bandwidth_in(self) -> Optional[pulumi.Input[int]]:
|
|
1337
1337
|
"""
|
|
1338
|
-
Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second).
|
|
1338
|
+
Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second). The value range is [1,200].
|
|
1339
1339
|
"""
|
|
1340
1340
|
return pulumi.get(self, "internet_max_bandwidth_in")
|
|
1341
1341
|
|
|
@@ -1903,7 +1903,7 @@ class ScalingConfiguration(pulumi.CustomResource):
|
|
|
1903
1903
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ScalingConfigurationInstanceTypeOverrideArgs', 'ScalingConfigurationInstanceTypeOverrideArgsDict']]]] instance_type_overrides: specify the weight of instance type. See `instance_type_override` below for details.
|
|
1904
1904
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] instance_types: Resource types of an ECS instance.
|
|
1905
1905
|
:param pulumi.Input[str] internet_charge_type: Network billing type, Values: PayByBandwidth or PayByTraffic. Default to `PayByBandwidth`.
|
|
1906
|
-
:param pulumi.Input[int] internet_max_bandwidth_in: Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second).
|
|
1906
|
+
:param pulumi.Input[int] internet_max_bandwidth_in: Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second). The value range is [1,200].
|
|
1907
1907
|
:param pulumi.Input[int] internet_max_bandwidth_out: Maximum outgoing bandwidth from the public network, measured in Mbps (Mega bit per second). The value range for PayByBandwidth is [0,1024].
|
|
1908
1908
|
:param pulumi.Input[str] io_optimized: It has been deprecated on instance resource. All the launched alicloud instances will be I/O optimized.
|
|
1909
1909
|
:param pulumi.Input[bool] is_outdated: Whether to use outdated instance type. Default to false.
|
|
@@ -2254,7 +2254,7 @@ class ScalingConfiguration(pulumi.CustomResource):
|
|
|
2254
2254
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ScalingConfigurationInstanceTypeOverrideArgs', 'ScalingConfigurationInstanceTypeOverrideArgsDict']]]] instance_type_overrides: specify the weight of instance type. See `instance_type_override` below for details.
|
|
2255
2255
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] instance_types: Resource types of an ECS instance.
|
|
2256
2256
|
:param pulumi.Input[str] internet_charge_type: Network billing type, Values: PayByBandwidth or PayByTraffic. Default to `PayByBandwidth`.
|
|
2257
|
-
:param pulumi.Input[int] internet_max_bandwidth_in: Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second).
|
|
2257
|
+
:param pulumi.Input[int] internet_max_bandwidth_in: Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second). The value range is [1,200].
|
|
2258
2258
|
:param pulumi.Input[int] internet_max_bandwidth_out: Maximum outgoing bandwidth from the public network, measured in Mbps (Mega bit per second). The value range for PayByBandwidth is [0,1024].
|
|
2259
2259
|
:param pulumi.Input[str] io_optimized: It has been deprecated on instance resource. All the launched alicloud instances will be I/O optimized.
|
|
2260
2260
|
:param pulumi.Input[bool] is_outdated: Whether to use outdated instance type. Default to false.
|
|
@@ -2510,7 +2510,7 @@ class ScalingConfiguration(pulumi.CustomResource):
|
|
|
2510
2510
|
@pulumi.getter(name="internetMaxBandwidthIn")
|
|
2511
2511
|
def internet_max_bandwidth_in(self) -> pulumi.Output[Optional[int]]:
|
|
2512
2512
|
"""
|
|
2513
|
-
Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second).
|
|
2513
|
+
Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second). The value range is [1,200].
|
|
2514
2514
|
"""
|
|
2515
2515
|
return pulumi.get(self, "internet_max_bandwidth_in")
|
|
2516
2516
|
|