pulumi-alicloud 3.71.0a1735362939__py3-none-any.whl → 3.72.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 +83 -0
- pulumi_alicloud/_inputs.py +471 -0
- pulumi_alicloud/adb/cluster.py +68 -0
- pulumi_alicloud/adb/db_cluster.py +94 -0
- pulumi_alicloud/adb/get_db_cluster_lake_versions.py +39 -4
- pulumi_alicloud/adb/outputs.py +106 -2
- pulumi_alicloud/apig/__init__.py +12 -0
- pulumi_alicloud/apig/_inputs.py +263 -0
- pulumi_alicloud/apig/environment.py +317 -0
- pulumi_alicloud/apig/gateway.py +645 -0
- pulumi_alicloud/apig/http_api.py +465 -0
- pulumi_alicloud/apig/outputs.py +213 -0
- pulumi_alicloud/cfg/get_aggregate_compliance_packs.py +2 -2
- pulumi_alicloud/cfg/get_aggregate_config_rules.py +4 -4
- pulumi_alicloud/cfg/get_aggregate_deliveries.py +16 -2
- pulumi_alicloud/cfg/get_aggregators.py +2 -2
- pulumi_alicloud/cfg/get_compliance_packs.py +2 -2
- pulumi_alicloud/cfg/get_configuration_recorders.py +2 -6
- pulumi_alicloud/cfg/get_deliveries.py +11 -2
- pulumi_alicloud/cfg/get_delivery_channels.py +0 -4
- pulumi_alicloud/cfg/get_rules.py +3 -7
- pulumi_alicloud/cfg/outputs.py +28 -20
- pulumi_alicloud/cloudfirewall/get_instance_members.py +2 -2
- pulumi_alicloud/cloudfirewall/get_instances.py +23 -6
- pulumi_alicloud/cloudfirewall/get_vpc_firewall_cens.py +2 -2
- pulumi_alicloud/cloudfirewall/get_vpc_firewall_control_policies.py +32 -2
- pulumi_alicloud/cloudfirewall/get_vpc_firewalls.py +2 -2
- pulumi_alicloud/cloudfirewall/instance.py +1 -1
- pulumi_alicloud/cloudfirewall/outputs.py +16 -4
- pulumi_alicloud/config/__init__.pyi +2 -0
- pulumi_alicloud/config/outputs.py +284 -0
- pulumi_alicloud/config/vars.py +4 -0
- pulumi_alicloud/cr/_inputs.py +128 -0
- pulumi_alicloud/cr/outputs.py +93 -0
- pulumi_alicloud/cr/registry_enterprise_instance.py +86 -63
- pulumi_alicloud/cs/registry_enterprise_sync_rule.py +331 -38
- pulumi_alicloud/dcdn/get_domains.py +2 -2
- pulumi_alicloud/dcdn/get_ipa_domains.py +14 -2
- pulumi_alicloud/dcdn/get_waf_domains.py +5 -2
- pulumi_alicloud/dcdn/get_waf_policies.py +8 -2
- pulumi_alicloud/dcdn/outputs.py +6 -6
- pulumi_alicloud/ddos/get_ddos_coo_domain_resources.py +8 -2
- pulumi_alicloud/ddos/get_ddos_coo_ports.py +16 -4
- pulumi_alicloud/ddos/outputs.py +4 -4
- pulumi_alicloud/ecs/_inputs.py +9 -0
- pulumi_alicloud/ecs/ecs_snapshot.py +65 -9
- pulumi_alicloud/ecs/get_ecs_disks.py +103 -14
- pulumi_alicloud/ecs/get_instance_types.py +1 -1
- pulumi_alicloud/ecs/outputs.py +168 -37
- 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/esa/__init__.py +3 -0
- pulumi_alicloud/esa/_inputs.py +456 -0
- pulumi_alicloud/esa/outputs.py +321 -0
- pulumi_alicloud/esa/record.py +798 -0
- pulumi_alicloud/ess/get_scaling_configurations.py +116 -10
- pulumi_alicloud/ess/notification.py +50 -3
- pulumi_alicloud/ess/outputs.py +104 -8
- pulumi_alicloud/ess/scheduled_task.py +7 -7
- pulumi_alicloud/expressconnect/__init__.py +1 -0
- pulumi_alicloud/expressconnect/router_grant_association.py +477 -0
- pulumi_alicloud/fc/v3_trigger.py +1 -1
- pulumi_alicloud/ga/get_accelerator_spare_ip_attachments.py +11 -2
- pulumi_alicloud/ga/get_acls.py +14 -2
- pulumi_alicloud/ga/get_additional_certificates.py +11 -2
- pulumi_alicloud/ga/get_bandwidth_packages.py +14 -2
- pulumi_alicloud/ga/get_basic_accelerate_ip_endpoint_relations.py +2 -2
- pulumi_alicloud/ga/get_basic_accelerate_ips.py +2 -2
- pulumi_alicloud/ga/get_basic_accelerators.py +2 -2
- pulumi_alicloud/ga/get_basic_endpoints.py +2 -2
- pulumi_alicloud/ga/get_custom_routing_endpoint_group_destinations.py +2 -2
- pulumi_alicloud/ga/get_custom_routing_endpoint_groups.py +2 -2
- pulumi_alicloud/ga/get_custom_routing_endpoint_traffic_policies.py +2 -2
- pulumi_alicloud/ga/get_custom_routing_endpoints.py +2 -2
- pulumi_alicloud/ga/get_custom_routing_port_mappings.py +2 -2
- pulumi_alicloud/ga/get_domains.py +2 -2
- pulumi_alicloud/ga/get_forwarding_rules.py +8 -2
- pulumi_alicloud/ga/get_ip_sets.py +8 -2
- pulumi_alicloud/ga/get_listeners.py +11 -2
- pulumi_alicloud/ga/outputs.py +64 -32
- pulumi_alicloud/get_msc_sub_contact_verification_message.py +2 -2
- pulumi_alicloud/get_msc_sub_contacts.py +8 -2
- pulumi_alicloud/get_msc_sub_subscriptions.py +5 -2
- pulumi_alicloud/get_msc_sub_webhooks.py +8 -2
- pulumi_alicloud/kms/key.py +108 -28
- pulumi_alicloud/kvstore/backup_policy.py +32 -24
- pulumi_alicloud/kvstore/get_instances.py +14 -3
- pulumi_alicloud/kvstore/outputs.py +48 -4
- pulumi_alicloud/marketplace/order.py +2 -2
- pulumi_alicloud/mongodb/__init__.py +1 -0
- pulumi_alicloud/mongodb/private_srv_network_address.py +283 -0
- pulumi_alicloud/oss/__init__.py +2 -0
- pulumi_alicloud/oss/_inputs.py +68 -0
- pulumi_alicloud/oss/access_point.py +463 -0
- pulumi_alicloud/oss/bucket_worm.py +327 -0
- pulumi_alicloud/oss/outputs.py +74 -0
- pulumi_alicloud/polardb/cluster.py +47 -0
- pulumi_alicloud/privatelink/get_service.py +2 -2
- pulumi_alicloud/privatelink/get_vpc_endpoint_connections.py +14 -2
- pulumi_alicloud/privatelink/get_vpc_endpoint_service_resources.py +8 -2
- pulumi_alicloud/privatelink/get_vpc_endpoint_service_users.py +11 -2
- pulumi_alicloud/privatelink/get_vpc_endpoint_zones.py +11 -2
- pulumi_alicloud/privatelink/get_vpc_endpoints.py +23 -2
- pulumi_alicloud/privatelink/outputs.py +6 -6
- 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/provider.py +20 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/get_policies.py +66 -8
- pulumi_alicloud/rds/instance.py +211 -14
- pulumi_alicloud/redis/tair_instance.py +47 -0
- pulumi_alicloud/resourcemanager/control_policy_attachment.py +28 -28
- pulumi_alicloud/resourcemanager/shared_resource.py +7 -0
- pulumi_alicloud/schedulerx/__init__.py +3 -0
- pulumi_alicloud/schedulerx/_inputs.py +542 -0
- pulumi_alicloud/schedulerx/app_group.py +952 -0
- pulumi_alicloud/schedulerx/job.py +1454 -0
- pulumi_alicloud/schedulerx/namespace.py +64 -51
- pulumi_alicloud/schedulerx/outputs.py +425 -0
- pulumi_alicloud/sddp/get_configs.py +5 -2
- pulumi_alicloud/sddp/get_data_limits.py +11 -2
- pulumi_alicloud/sddp/get_instances.py +5 -2
- pulumi_alicloud/sddp/get_rules.py +29 -2
- pulumi_alicloud/sddp/outputs.py +14 -14
- pulumi_alicloud/vpc/get_peer_connections.py +17 -2
- pulumi_alicloud/vpc/network.py +293 -40
- pulumi_alicloud/vpc/outputs.py +2 -2
- pulumi_alicloud/vpc/peer_connection.py +239 -132
- pulumi_alicloud/vpc/peer_connection_accepter.py +85 -6
- pulumi_alicloud/waf/domain.py +2 -2
- pulumi_alicloud/waf/get_certificates.py +14 -2
- pulumi_alicloud/waf/get_domains.py +6 -4
- pulumi_alicloud/waf/get_instances.py +2 -2
- pulumi_alicloud/waf/instance.py +0 -64
- pulumi_alicloud/waf/outputs.py +2 -4
- pulumi_alicloud/wafv3/get_instances.py +10 -4
- {pulumi_alicloud-3.71.0a1735362939.dist-info → pulumi_alicloud-3.72.0.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.71.0a1735362939.dist-info → pulumi_alicloud-3.72.0.dist-info}/RECORD +142 -126
- {pulumi_alicloud-3.71.0a1735362939.dist-info → pulumi_alicloud-3.72.0.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.71.0a1735362939.dist-info → pulumi_alicloud-3.72.0.dist-info}/top_level.txt +0 -0
|
@@ -137,42 +137,66 @@ class GetEcsDisksResult:
|
|
|
137
137
|
@property
|
|
138
138
|
@pulumi.getter(name="autoSnapshotPolicyId")
|
|
139
139
|
def auto_snapshot_policy_id(self) -> Optional[str]:
|
|
140
|
+
"""
|
|
141
|
+
Query cloud disks based on the automatic snapshot policy ID.
|
|
142
|
+
"""
|
|
140
143
|
return pulumi.get(self, "auto_snapshot_policy_id")
|
|
141
144
|
|
|
142
145
|
@property
|
|
143
146
|
@pulumi.getter(name="availabilityZone")
|
|
144
147
|
@_utilities.deprecated("""Field 'availability_zone' has been deprecated from provider version 1.122.0. New field 'zone_id' instead""")
|
|
145
148
|
def availability_zone(self) -> Optional[str]:
|
|
149
|
+
"""
|
|
150
|
+
Availability zone of the disk.
|
|
151
|
+
"""
|
|
146
152
|
return pulumi.get(self, "availability_zone")
|
|
147
153
|
|
|
148
154
|
@property
|
|
149
155
|
@pulumi.getter
|
|
150
156
|
def category(self) -> Optional[str]:
|
|
157
|
+
"""
|
|
158
|
+
Disk category.
|
|
159
|
+
"""
|
|
151
160
|
return pulumi.get(self, "category")
|
|
152
161
|
|
|
153
162
|
@property
|
|
154
163
|
@pulumi.getter(name="deleteAutoSnapshot")
|
|
155
164
|
def delete_auto_snapshot(self) -> Optional[bool]:
|
|
165
|
+
"""
|
|
166
|
+
Indicates whether the automatic snapshot is deleted when the disk is released.
|
|
167
|
+
"""
|
|
156
168
|
return pulumi.get(self, "delete_auto_snapshot")
|
|
157
169
|
|
|
158
170
|
@property
|
|
159
171
|
@pulumi.getter(name="deleteWithInstance")
|
|
160
172
|
def delete_with_instance(self) -> Optional[bool]:
|
|
173
|
+
"""
|
|
174
|
+
Indicates whether the disk is released together with the instance.
|
|
175
|
+
"""
|
|
161
176
|
return pulumi.get(self, "delete_with_instance")
|
|
162
177
|
|
|
163
178
|
@property
|
|
164
179
|
@pulumi.getter(name="diskName")
|
|
165
180
|
def disk_name(self) -> Optional[str]:
|
|
181
|
+
"""
|
|
182
|
+
The disk name.
|
|
183
|
+
"""
|
|
166
184
|
return pulumi.get(self, "disk_name")
|
|
167
185
|
|
|
168
186
|
@property
|
|
169
187
|
@pulumi.getter(name="diskType")
|
|
170
188
|
def disk_type(self) -> Optional[str]:
|
|
189
|
+
"""
|
|
190
|
+
The type of the disk.
|
|
191
|
+
"""
|
|
171
192
|
return pulumi.get(self, "disk_type")
|
|
172
193
|
|
|
173
194
|
@property
|
|
174
195
|
@pulumi.getter
|
|
175
196
|
def disks(self) -> Sequence['outputs.GetEcsDisksDiskResult']:
|
|
197
|
+
"""
|
|
198
|
+
A list of Ecs Disks. Each element contains the following attributes:
|
|
199
|
+
"""
|
|
176
200
|
return pulumi.get(self, "disks")
|
|
177
201
|
|
|
178
202
|
@property
|
|
@@ -183,11 +207,17 @@ class GetEcsDisksResult:
|
|
|
183
207
|
@property
|
|
184
208
|
@pulumi.getter(name="enableAutoSnapshot")
|
|
185
209
|
def enable_auto_snapshot(self) -> Optional[bool]:
|
|
210
|
+
"""
|
|
211
|
+
Whether the disk implements an automatic snapshot policy.
|
|
212
|
+
"""
|
|
186
213
|
return pulumi.get(self, "enable_auto_snapshot")
|
|
187
214
|
|
|
188
215
|
@property
|
|
189
216
|
@pulumi.getter(name="enableAutomatedSnapshotPolicy")
|
|
190
217
|
def enable_automated_snapshot_policy(self) -> Optional[bool]:
|
|
218
|
+
"""
|
|
219
|
+
Whether the disk implements an automatic snapshot policy.
|
|
220
|
+
"""
|
|
191
221
|
return pulumi.get(self, "enable_automated_snapshot_policy")
|
|
192
222
|
|
|
193
223
|
@property
|
|
@@ -198,6 +228,9 @@ class GetEcsDisksResult:
|
|
|
198
228
|
@property
|
|
199
229
|
@pulumi.getter
|
|
200
230
|
def encrypted(self) -> Optional[str]:
|
|
231
|
+
"""
|
|
232
|
+
Indicate whether the disk is encrypted or not.
|
|
233
|
+
"""
|
|
201
234
|
return pulumi.get(self, "encrypted")
|
|
202
235
|
|
|
203
236
|
@property
|
|
@@ -216,11 +249,17 @@ class GetEcsDisksResult:
|
|
|
216
249
|
@property
|
|
217
250
|
@pulumi.getter(name="instanceId")
|
|
218
251
|
def instance_id(self) -> Optional[str]:
|
|
252
|
+
"""
|
|
253
|
+
The instance ID of the disk mount.
|
|
254
|
+
"""
|
|
219
255
|
return pulumi.get(self, "instance_id")
|
|
220
256
|
|
|
221
257
|
@property
|
|
222
258
|
@pulumi.getter(name="kmsKeyId")
|
|
223
259
|
def kms_key_id(self) -> Optional[str]:
|
|
260
|
+
"""
|
|
261
|
+
The ID of the KMS key that is used for the cloud disk.
|
|
262
|
+
"""
|
|
224
263
|
return pulumi.get(self, "kms_key_id")
|
|
225
264
|
|
|
226
265
|
@property
|
|
@@ -231,11 +270,17 @@ class GetEcsDisksResult:
|
|
|
231
270
|
@property
|
|
232
271
|
@pulumi.getter
|
|
233
272
|
def names(self) -> Sequence[str]:
|
|
273
|
+
"""
|
|
274
|
+
A list of Disk names.
|
|
275
|
+
"""
|
|
234
276
|
return pulumi.get(self, "names")
|
|
235
277
|
|
|
236
278
|
@property
|
|
237
279
|
@pulumi.getter(name="operationLocks")
|
|
238
280
|
def operation_locks(self) -> Optional[Sequence['outputs.GetEcsDisksOperationLockResult']]:
|
|
281
|
+
"""
|
|
282
|
+
The reasons why the disk was locked.
|
|
283
|
+
"""
|
|
239
284
|
return pulumi.get(self, "operation_locks")
|
|
240
285
|
|
|
241
286
|
@property
|
|
@@ -256,31 +301,49 @@ class GetEcsDisksResult:
|
|
|
256
301
|
@property
|
|
257
302
|
@pulumi.getter(name="paymentType")
|
|
258
303
|
def payment_type(self) -> Optional[str]:
|
|
304
|
+
"""
|
|
305
|
+
Payment method for disk.
|
|
306
|
+
"""
|
|
259
307
|
return pulumi.get(self, "payment_type")
|
|
260
308
|
|
|
261
309
|
@property
|
|
262
310
|
@pulumi.getter
|
|
263
311
|
def portable(self) -> Optional[bool]:
|
|
312
|
+
"""
|
|
313
|
+
Whether the disk is unmountable.
|
|
314
|
+
"""
|
|
264
315
|
return pulumi.get(self, "portable")
|
|
265
316
|
|
|
266
317
|
@property
|
|
267
318
|
@pulumi.getter(name="resourceGroupId")
|
|
268
319
|
def resource_group_id(self) -> Optional[str]:
|
|
320
|
+
"""
|
|
321
|
+
The Id of resource group.
|
|
322
|
+
"""
|
|
269
323
|
return pulumi.get(self, "resource_group_id")
|
|
270
324
|
|
|
271
325
|
@property
|
|
272
326
|
@pulumi.getter(name="snapshotId")
|
|
273
327
|
def snapshot_id(self) -> Optional[str]:
|
|
328
|
+
"""
|
|
329
|
+
Snapshot used to create the disk. It is null if no snapshot is used to create the disk.
|
|
330
|
+
"""
|
|
274
331
|
return pulumi.get(self, "snapshot_id")
|
|
275
332
|
|
|
276
333
|
@property
|
|
277
334
|
@pulumi.getter
|
|
278
335
|
def status(self) -> Optional[str]:
|
|
336
|
+
"""
|
|
337
|
+
Current status.
|
|
338
|
+
"""
|
|
279
339
|
return pulumi.get(self, "status")
|
|
280
340
|
|
|
281
341
|
@property
|
|
282
342
|
@pulumi.getter
|
|
283
343
|
def tags(self) -> Optional[Mapping[str, str]]:
|
|
344
|
+
"""
|
|
345
|
+
A map of tags assigned to the disk.
|
|
346
|
+
"""
|
|
284
347
|
return pulumi.get(self, "tags")
|
|
285
348
|
|
|
286
349
|
@property
|
|
@@ -292,11 +355,17 @@ class GetEcsDisksResult:
|
|
|
292
355
|
@pulumi.getter
|
|
293
356
|
@_utilities.deprecated("""Field 'type' has been deprecated from provider version 1.122.0. New field 'disk_type' instead.""")
|
|
294
357
|
def type(self) -> Optional[str]:
|
|
358
|
+
"""
|
|
359
|
+
The type of the disk.
|
|
360
|
+
"""
|
|
295
361
|
return pulumi.get(self, "type")
|
|
296
362
|
|
|
297
363
|
@property
|
|
298
364
|
@pulumi.getter(name="zoneId")
|
|
299
365
|
def zone_id(self) -> Optional[str]:
|
|
366
|
+
"""
|
|
367
|
+
The zone id.
|
|
368
|
+
"""
|
|
300
369
|
return pulumi.get(self, "zone_id")
|
|
301
370
|
|
|
302
371
|
|
|
@@ -374,7 +443,7 @@ def get_ecs_disks(additional_attributes: Optional[Sequence[str]] = None,
|
|
|
374
443
|
"""
|
|
375
444
|
This data source provides the Ecs Disks of the current Alibaba Cloud user.
|
|
376
445
|
|
|
377
|
-
> **NOTE:** Available
|
|
446
|
+
> **NOTE:** Available since v1.122.0.
|
|
378
447
|
|
|
379
448
|
## Example Usage
|
|
380
449
|
|
|
@@ -384,9 +453,18 @@ def get_ecs_disks(additional_attributes: Optional[Sequence[str]] = None,
|
|
|
384
453
|
import pulumi
|
|
385
454
|
import pulumi_alicloud as alicloud
|
|
386
455
|
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
456
|
+
default = alicloud.get_zones(available_resource_creation="VSwitch")
|
|
457
|
+
default_ecs_disk = alicloud.ecs.EcsDisk("default",
|
|
458
|
+
zone_id=default.zones[0].id,
|
|
459
|
+
disk_name="terraform-example",
|
|
460
|
+
description="terraform-example",
|
|
461
|
+
category="cloud_efficiency",
|
|
462
|
+
size=30,
|
|
463
|
+
tags={
|
|
464
|
+
"Name": "terraform-example",
|
|
465
|
+
})
|
|
466
|
+
ids = alicloud.ecs.get_ecs_disks_output(ids=[default_ecs_disk.id])
|
|
467
|
+
pulumi.export("ecsDiskId0", ids.disks[0].id)
|
|
390
468
|
```
|
|
391
469
|
|
|
392
470
|
|
|
@@ -397,22 +475,23 @@ def get_ecs_disks(additional_attributes: Optional[Sequence[str]] = None,
|
|
|
397
475
|
:param bool delete_auto_snapshot: Indicates whether the automatic snapshot is deleted when the disk is released.
|
|
398
476
|
:param bool delete_with_instance: Indicates whether the disk is released together with the instance.
|
|
399
477
|
:param str disk_name: The disk name.
|
|
400
|
-
:param str disk_type: The disk type.
|
|
478
|
+
:param str disk_type: The disk type. Valid values: `system`, `data`, `all`.
|
|
401
479
|
:param bool dry_run: Specifies whether to check the validity of the request without actually making the request.request Default value: false. Valid values:
|
|
402
480
|
:param bool enable_auto_snapshot: Indicates whether the automatic snapshot is deleted when the disk is released.
|
|
403
481
|
:param bool enable_automated_snapshot_policy: Whether the cloud disk has an automatic snapshot policy
|
|
404
482
|
:param bool enable_shared: Whether it is shared block storage.
|
|
405
|
-
:param str encrypted: Indicate whether the disk is encrypted or not.
|
|
483
|
+
:param str encrypted: Indicate whether the disk is encrypted or not. Valid values: `on` and `off`.
|
|
406
484
|
:param Sequence[str] ids: A list of Disk IDs.
|
|
407
485
|
:param str instance_id: Filter the results by the specified ECS instance ID.
|
|
408
486
|
:param str kms_key_id: The kms key id.
|
|
409
487
|
:param str name_regex: A regex string to filter results by Disk name.
|
|
488
|
+
:param Sequence[Union['GetEcsDisksOperationLockArgs', 'GetEcsDisksOperationLockArgsDict']] operation_locks: The reasons why the disk was locked. See `operation_locks` below for details.
|
|
410
489
|
:param str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
411
490
|
:param str payment_type: Payment method for disk. Valid Values: `PayAsYouGo`, `Subscription`.
|
|
412
491
|
:param bool portable: Whether the cloud disk or local disk supports uninstallation.
|
|
413
492
|
:param str resource_group_id: The Id of resource group which the disk belongs.
|
|
414
493
|
:param str snapshot_id: The source snapshot id.
|
|
415
|
-
:param str status: The status of disk.
|
|
494
|
+
:param str status: The status of disk. Valid Values: `Attaching`, `Available`, `Creating`, `Detaching`, `In_use`, `Migrating`, `ReIniting`, `Transferring`.
|
|
416
495
|
:param Mapping[str, str] tags: A map of tags assigned to the disks.
|
|
417
496
|
:param str type: Field `type` has been deprecated from provider version 1.122.0. New field `disk_type` instead.
|
|
418
497
|
:param str zone_id: ID of the free zone to which the disk belongs.
|
|
@@ -517,7 +596,7 @@ def get_ecs_disks_output(additional_attributes: Optional[pulumi.Input[Optional[S
|
|
|
517
596
|
"""
|
|
518
597
|
This data source provides the Ecs Disks of the current Alibaba Cloud user.
|
|
519
598
|
|
|
520
|
-
> **NOTE:** Available
|
|
599
|
+
> **NOTE:** Available since v1.122.0.
|
|
521
600
|
|
|
522
601
|
## Example Usage
|
|
523
602
|
|
|
@@ -527,9 +606,18 @@ def get_ecs_disks_output(additional_attributes: Optional[pulumi.Input[Optional[S
|
|
|
527
606
|
import pulumi
|
|
528
607
|
import pulumi_alicloud as alicloud
|
|
529
608
|
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
609
|
+
default = alicloud.get_zones(available_resource_creation="VSwitch")
|
|
610
|
+
default_ecs_disk = alicloud.ecs.EcsDisk("default",
|
|
611
|
+
zone_id=default.zones[0].id,
|
|
612
|
+
disk_name="terraform-example",
|
|
613
|
+
description="terraform-example",
|
|
614
|
+
category="cloud_efficiency",
|
|
615
|
+
size=30,
|
|
616
|
+
tags={
|
|
617
|
+
"Name": "terraform-example",
|
|
618
|
+
})
|
|
619
|
+
ids = alicloud.ecs.get_ecs_disks_output(ids=[default_ecs_disk.id])
|
|
620
|
+
pulumi.export("ecsDiskId0", ids.disks[0].id)
|
|
533
621
|
```
|
|
534
622
|
|
|
535
623
|
|
|
@@ -540,22 +628,23 @@ def get_ecs_disks_output(additional_attributes: Optional[pulumi.Input[Optional[S
|
|
|
540
628
|
:param bool delete_auto_snapshot: Indicates whether the automatic snapshot is deleted when the disk is released.
|
|
541
629
|
:param bool delete_with_instance: Indicates whether the disk is released together with the instance.
|
|
542
630
|
:param str disk_name: The disk name.
|
|
543
|
-
:param str disk_type: The disk type.
|
|
631
|
+
:param str disk_type: The disk type. Valid values: `system`, `data`, `all`.
|
|
544
632
|
:param bool dry_run: Specifies whether to check the validity of the request without actually making the request.request Default value: false. Valid values:
|
|
545
633
|
:param bool enable_auto_snapshot: Indicates whether the automatic snapshot is deleted when the disk is released.
|
|
546
634
|
:param bool enable_automated_snapshot_policy: Whether the cloud disk has an automatic snapshot policy
|
|
547
635
|
:param bool enable_shared: Whether it is shared block storage.
|
|
548
|
-
:param str encrypted: Indicate whether the disk is encrypted or not.
|
|
636
|
+
:param str encrypted: Indicate whether the disk is encrypted or not. Valid values: `on` and `off`.
|
|
549
637
|
:param Sequence[str] ids: A list of Disk IDs.
|
|
550
638
|
:param str instance_id: Filter the results by the specified ECS instance ID.
|
|
551
639
|
:param str kms_key_id: The kms key id.
|
|
552
640
|
:param str name_regex: A regex string to filter results by Disk name.
|
|
641
|
+
:param Sequence[Union['GetEcsDisksOperationLockArgs', 'GetEcsDisksOperationLockArgsDict']] operation_locks: The reasons why the disk was locked. See `operation_locks` below for details.
|
|
553
642
|
:param str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
554
643
|
:param str payment_type: Payment method for disk. Valid Values: `PayAsYouGo`, `Subscription`.
|
|
555
644
|
:param bool portable: Whether the cloud disk or local disk supports uninstallation.
|
|
556
645
|
:param str resource_group_id: The Id of resource group which the disk belongs.
|
|
557
646
|
:param str snapshot_id: The source snapshot id.
|
|
558
|
-
:param str status: The status of disk.
|
|
647
|
+
:param str status: The status of disk. Valid Values: `Attaching`, `Available`, `Creating`, `Detaching`, `In_use`, `Migrating`, `ReIniting`, `Transferring`.
|
|
559
648
|
:param Mapping[str, str] tags: A map of tags assigned to the disks.
|
|
560
649
|
:param str type: Field `type` has been deprecated from provider version 1.122.0. New field `disk_type` instead.
|
|
561
650
|
:param str zone_id: ID of the free zone to which the disk belongs.
|
|
@@ -112,7 +112,7 @@ class GetInstanceTypesResult:
|
|
|
112
112
|
@pulumi.getter(name="eniAmount")
|
|
113
113
|
def eni_amount(self) -> Optional[int]:
|
|
114
114
|
"""
|
|
115
|
-
The maximum number of
|
|
115
|
+
(Deprecated since v1.239.0) The maximum number of ENIs per instance. It sames as `eni_quantity`.
|
|
116
116
|
"""
|
|
117
117
|
return pulumi.get(self, "eni_amount")
|
|
118
118
|
|