pulumi-alicloud 3.58.0a1719956927__py3-none-any.whl → 3.59.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-alicloud might be problematic. Click here for more details.
- pulumi_alicloud/__init__.py +72 -0
- pulumi_alicloud/adb/resource_group.py +115 -119
- pulumi_alicloud/alb/__init__.py +1 -0
- pulumi_alicloud/alb/load_balancer_security_group_attachment.py +327 -0
- pulumi_alicloud/cen/__init__.py +1 -0
- pulumi_alicloud/cen/transit_router_ecr_attachment.py +584 -0
- pulumi_alicloud/clickhouse/get_regions.py +2 -2
- pulumi_alicloud/cloudstoragegateway/gateway.py +69 -69
- pulumi_alicloud/cloudstoragegateway/gateway_cache_disk.py +150 -27
- pulumi_alicloud/ddos/__init__.py +1 -0
- pulumi_alicloud/ddos/_inputs.py +712 -0
- pulumi_alicloud/ddos/bgp_policy.py +343 -0
- pulumi_alicloud/ddos/outputs.py +666 -0
- pulumi_alicloud/dfs/file_system.py +52 -19
- pulumi_alicloud/ecs/_inputs.py +132 -8
- pulumi_alicloud/ecs/ecs_launch_template.py +142 -1
- pulumi_alicloud/ecs/image.py +607 -121
- pulumi_alicloud/ecs/launch_template.py +103 -1
- pulumi_alicloud/ecs/outputs.py +131 -8
- pulumi_alicloud/emrv2/_inputs.py +490 -0
- pulumi_alicloud/emrv2/cluster.py +14 -14
- pulumi_alicloud/emrv2/outputs.py +500 -0
- pulumi_alicloud/ens/__init__.py +2 -0
- pulumi_alicloud/ens/eip_instance_attachment.py +480 -0
- pulumi_alicloud/ens/instance.py +16 -17
- pulumi_alicloud/ens/nat_gateway.py +458 -0
- pulumi_alicloud/ess/eci_scaling_configuration.py +94 -0
- pulumi_alicloud/ess/scaling_group.py +94 -0
- pulumi_alicloud/ga/accelerator.py +47 -0
- pulumi_alicloud/ga/acl.py +47 -0
- pulumi_alicloud/ga/bandwidth_package.py +57 -12
- pulumi_alicloud/ga/bandwidth_package_attachment.py +34 -34
- pulumi_alicloud/ga/basic_accelerator.py +55 -8
- pulumi_alicloud/ga/listener.py +122 -0
- pulumi_alicloud/gpdb/__init__.py +4 -0
- pulumi_alicloud/gpdb/external_data_service.py +485 -0
- pulumi_alicloud/gpdb/remote_adb_data_source.py +763 -0
- pulumi_alicloud/gpdb/streaming_data_service.py +481 -0
- pulumi_alicloud/gpdb/streaming_data_source.py +645 -0
- pulumi_alicloud/kvstore/instance.py +101 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/redis/tair_instance.py +161 -67
- {pulumi_alicloud-3.58.0a1719956927.dist-info → pulumi_alicloud-3.59.0.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.58.0a1719956927.dist-info → pulumi_alicloud-3.59.0.dist-info}/RECORD +46 -37
- {pulumi_alicloud-3.58.0a1719956927.dist-info → pulumi_alicloud-3.59.0.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.58.0a1719956927.dist-info → pulumi_alicloud-3.59.0.dist-info}/top_level.txt +0 -0
|
@@ -18,20 +18,20 @@ class FileSystemArgs:
|
|
|
18
18
|
protocol_type: pulumi.Input[str],
|
|
19
19
|
space_capacity: pulumi.Input[int],
|
|
20
20
|
storage_type: pulumi.Input[str],
|
|
21
|
-
zone_id: pulumi.Input[str],
|
|
22
21
|
data_redundancy_type: Optional[pulumi.Input[str]] = None,
|
|
22
|
+
dedicated_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
23
23
|
description: Optional[pulumi.Input[str]] = None,
|
|
24
24
|
partition_number: Optional[pulumi.Input[int]] = None,
|
|
25
25
|
provisioned_throughput_in_mi_bps: Optional[pulumi.Input[int]] = None,
|
|
26
26
|
storage_set_name: Optional[pulumi.Input[str]] = None,
|
|
27
|
-
throughput_mode: Optional[pulumi.Input[str]] = None
|
|
27
|
+
throughput_mode: Optional[pulumi.Input[str]] = None,
|
|
28
|
+
zone_id: Optional[pulumi.Input[str]] = None):
|
|
28
29
|
"""
|
|
29
30
|
The set of arguments for constructing a FileSystem resource.
|
|
30
31
|
:param pulumi.Input[str] file_system_name: The file system name. The naming rules are as follows: The length is 6~64 characters. Globally unique and cannot be an empty string. English letters are supported and can contain numbers, underscores (_), and dashes (-).
|
|
31
32
|
:param pulumi.Input[str] protocol_type: The protocol type. Only HDFS(Hadoop Distributed File System) is supported.
|
|
32
33
|
:param pulumi.Input[int] space_capacity: File system capacity. When the actual amount of data stored reaches the capacity of the file system, data cannot be written. Unit: GiB.
|
|
33
34
|
:param pulumi.Input[str] storage_type: The storage media type. Value: STANDARD (default): STANDARD PERFORMANCE: PERFORMANCE type.
|
|
34
|
-
:param pulumi.Input[str] zone_id: Zone Id, which is used to create file system resources to the specified zone.
|
|
35
35
|
:param pulumi.Input[str] data_redundancy_type: Redundancy mode of the file system. Value:
|
|
36
36
|
- LRS (default): Local redundancy.
|
|
37
37
|
- ZRS: Same-City redundancy. When ZRS is selected, zoneId is a string consisting of multiple zones that are expected to be redundant in the same city, for example, 'zoneId1,zoneId2 '.
|
|
@@ -40,14 +40,16 @@ class FileSystemArgs:
|
|
|
40
40
|
:param pulumi.Input[int] provisioned_throughput_in_mi_bps: Provisioned throughput. This parameter is required when ThroughputMode is set to Provisioned. Unit: MB/s Value range: 1~5120.
|
|
41
41
|
:param pulumi.Input[str] storage_set_name: Save set identity, used to select a user-specified save set.
|
|
42
42
|
:param pulumi.Input[str] throughput_mode: The throughput mode. Value: Standard (default): Standard throughput Provisioned: preset throughput.
|
|
43
|
+
:param pulumi.Input[str] zone_id: Zone Id, which is used to create file system resources to the specified zone.
|
|
43
44
|
"""
|
|
44
45
|
pulumi.set(__self__, "file_system_name", file_system_name)
|
|
45
46
|
pulumi.set(__self__, "protocol_type", protocol_type)
|
|
46
47
|
pulumi.set(__self__, "space_capacity", space_capacity)
|
|
47
48
|
pulumi.set(__self__, "storage_type", storage_type)
|
|
48
|
-
pulumi.set(__self__, "zone_id", zone_id)
|
|
49
49
|
if data_redundancy_type is not None:
|
|
50
50
|
pulumi.set(__self__, "data_redundancy_type", data_redundancy_type)
|
|
51
|
+
if dedicated_cluster_id is not None:
|
|
52
|
+
pulumi.set(__self__, "dedicated_cluster_id", dedicated_cluster_id)
|
|
51
53
|
if description is not None:
|
|
52
54
|
pulumi.set(__self__, "description", description)
|
|
53
55
|
if partition_number is not None:
|
|
@@ -58,6 +60,8 @@ class FileSystemArgs:
|
|
|
58
60
|
pulumi.set(__self__, "storage_set_name", storage_set_name)
|
|
59
61
|
if throughput_mode is not None:
|
|
60
62
|
pulumi.set(__self__, "throughput_mode", throughput_mode)
|
|
63
|
+
if zone_id is not None:
|
|
64
|
+
pulumi.set(__self__, "zone_id", zone_id)
|
|
61
65
|
|
|
62
66
|
@property
|
|
63
67
|
@pulumi.getter(name="fileSystemName")
|
|
@@ -107,18 +111,6 @@ class FileSystemArgs:
|
|
|
107
111
|
def storage_type(self, value: pulumi.Input[str]):
|
|
108
112
|
pulumi.set(self, "storage_type", value)
|
|
109
113
|
|
|
110
|
-
@property
|
|
111
|
-
@pulumi.getter(name="zoneId")
|
|
112
|
-
def zone_id(self) -> pulumi.Input[str]:
|
|
113
|
-
"""
|
|
114
|
-
Zone Id, which is used to create file system resources to the specified zone.
|
|
115
|
-
"""
|
|
116
|
-
return pulumi.get(self, "zone_id")
|
|
117
|
-
|
|
118
|
-
@zone_id.setter
|
|
119
|
-
def zone_id(self, value: pulumi.Input[str]):
|
|
120
|
-
pulumi.set(self, "zone_id", value)
|
|
121
|
-
|
|
122
114
|
@property
|
|
123
115
|
@pulumi.getter(name="dataRedundancyType")
|
|
124
116
|
def data_redundancy_type(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -133,6 +125,15 @@ class FileSystemArgs:
|
|
|
133
125
|
def data_redundancy_type(self, value: Optional[pulumi.Input[str]]):
|
|
134
126
|
pulumi.set(self, "data_redundancy_type", value)
|
|
135
127
|
|
|
128
|
+
@property
|
|
129
|
+
@pulumi.getter(name="dedicatedClusterId")
|
|
130
|
+
def dedicated_cluster_id(self) -> Optional[pulumi.Input[str]]:
|
|
131
|
+
return pulumi.get(self, "dedicated_cluster_id")
|
|
132
|
+
|
|
133
|
+
@dedicated_cluster_id.setter
|
|
134
|
+
def dedicated_cluster_id(self, value: Optional[pulumi.Input[str]]):
|
|
135
|
+
pulumi.set(self, "dedicated_cluster_id", value)
|
|
136
|
+
|
|
136
137
|
@property
|
|
137
138
|
@pulumi.getter
|
|
138
139
|
def description(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -193,12 +194,25 @@ class FileSystemArgs:
|
|
|
193
194
|
def throughput_mode(self, value: Optional[pulumi.Input[str]]):
|
|
194
195
|
pulumi.set(self, "throughput_mode", value)
|
|
195
196
|
|
|
197
|
+
@property
|
|
198
|
+
@pulumi.getter(name="zoneId")
|
|
199
|
+
def zone_id(self) -> Optional[pulumi.Input[str]]:
|
|
200
|
+
"""
|
|
201
|
+
Zone Id, which is used to create file system resources to the specified zone.
|
|
202
|
+
"""
|
|
203
|
+
return pulumi.get(self, "zone_id")
|
|
204
|
+
|
|
205
|
+
@zone_id.setter
|
|
206
|
+
def zone_id(self, value: Optional[pulumi.Input[str]]):
|
|
207
|
+
pulumi.set(self, "zone_id", value)
|
|
208
|
+
|
|
196
209
|
|
|
197
210
|
@pulumi.input_type
|
|
198
211
|
class _FileSystemState:
|
|
199
212
|
def __init__(__self__, *,
|
|
200
213
|
create_time: Optional[pulumi.Input[str]] = None,
|
|
201
214
|
data_redundancy_type: Optional[pulumi.Input[str]] = None,
|
|
215
|
+
dedicated_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
202
216
|
description: Optional[pulumi.Input[str]] = None,
|
|
203
217
|
file_system_name: Optional[pulumi.Input[str]] = None,
|
|
204
218
|
partition_number: Optional[pulumi.Input[int]] = None,
|
|
@@ -230,6 +244,8 @@ class _FileSystemState:
|
|
|
230
244
|
pulumi.set(__self__, "create_time", create_time)
|
|
231
245
|
if data_redundancy_type is not None:
|
|
232
246
|
pulumi.set(__self__, "data_redundancy_type", data_redundancy_type)
|
|
247
|
+
if dedicated_cluster_id is not None:
|
|
248
|
+
pulumi.set(__self__, "dedicated_cluster_id", dedicated_cluster_id)
|
|
233
249
|
if description is not None:
|
|
234
250
|
pulumi.set(__self__, "description", description)
|
|
235
251
|
if file_system_name is not None:
|
|
@@ -277,6 +293,15 @@ class _FileSystemState:
|
|
|
277
293
|
def data_redundancy_type(self, value: Optional[pulumi.Input[str]]):
|
|
278
294
|
pulumi.set(self, "data_redundancy_type", value)
|
|
279
295
|
|
|
296
|
+
@property
|
|
297
|
+
@pulumi.getter(name="dedicatedClusterId")
|
|
298
|
+
def dedicated_cluster_id(self) -> Optional[pulumi.Input[str]]:
|
|
299
|
+
return pulumi.get(self, "dedicated_cluster_id")
|
|
300
|
+
|
|
301
|
+
@dedicated_cluster_id.setter
|
|
302
|
+
def dedicated_cluster_id(self, value: Optional[pulumi.Input[str]]):
|
|
303
|
+
pulumi.set(self, "dedicated_cluster_id", value)
|
|
304
|
+
|
|
280
305
|
@property
|
|
281
306
|
@pulumi.getter
|
|
282
307
|
def description(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -404,6 +429,7 @@ class FileSystem(pulumi.CustomResource):
|
|
|
404
429
|
resource_name: str,
|
|
405
430
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
406
431
|
data_redundancy_type: Optional[pulumi.Input[str]] = None,
|
|
432
|
+
dedicated_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
407
433
|
description: Optional[pulumi.Input[str]] = None,
|
|
408
434
|
file_system_name: Optional[pulumi.Input[str]] = None,
|
|
409
435
|
partition_number: Optional[pulumi.Input[int]] = None,
|
|
@@ -531,6 +557,7 @@ class FileSystem(pulumi.CustomResource):
|
|
|
531
557
|
resource_name: str,
|
|
532
558
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
533
559
|
data_redundancy_type: Optional[pulumi.Input[str]] = None,
|
|
560
|
+
dedicated_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
534
561
|
description: Optional[pulumi.Input[str]] = None,
|
|
535
562
|
file_system_name: Optional[pulumi.Input[str]] = None,
|
|
536
563
|
partition_number: Optional[pulumi.Input[int]] = None,
|
|
@@ -551,6 +578,7 @@ class FileSystem(pulumi.CustomResource):
|
|
|
551
578
|
__props__ = FileSystemArgs.__new__(FileSystemArgs)
|
|
552
579
|
|
|
553
580
|
__props__.__dict__["data_redundancy_type"] = data_redundancy_type
|
|
581
|
+
__props__.__dict__["dedicated_cluster_id"] = dedicated_cluster_id
|
|
554
582
|
__props__.__dict__["description"] = description
|
|
555
583
|
if file_system_name is None and not opts.urn:
|
|
556
584
|
raise TypeError("Missing required property 'file_system_name'")
|
|
@@ -568,8 +596,6 @@ class FileSystem(pulumi.CustomResource):
|
|
|
568
596
|
raise TypeError("Missing required property 'storage_type'")
|
|
569
597
|
__props__.__dict__["storage_type"] = storage_type
|
|
570
598
|
__props__.__dict__["throughput_mode"] = throughput_mode
|
|
571
|
-
if zone_id is None and not opts.urn:
|
|
572
|
-
raise TypeError("Missing required property 'zone_id'")
|
|
573
599
|
__props__.__dict__["zone_id"] = zone_id
|
|
574
600
|
__props__.__dict__["create_time"] = None
|
|
575
601
|
super(FileSystem, __self__).__init__(
|
|
@@ -584,6 +610,7 @@ class FileSystem(pulumi.CustomResource):
|
|
|
584
610
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
585
611
|
create_time: Optional[pulumi.Input[str]] = None,
|
|
586
612
|
data_redundancy_type: Optional[pulumi.Input[str]] = None,
|
|
613
|
+
dedicated_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
587
614
|
description: Optional[pulumi.Input[str]] = None,
|
|
588
615
|
file_system_name: Optional[pulumi.Input[str]] = None,
|
|
589
616
|
partition_number: Optional[pulumi.Input[int]] = None,
|
|
@@ -622,6 +649,7 @@ class FileSystem(pulumi.CustomResource):
|
|
|
622
649
|
|
|
623
650
|
__props__.__dict__["create_time"] = create_time
|
|
624
651
|
__props__.__dict__["data_redundancy_type"] = data_redundancy_type
|
|
652
|
+
__props__.__dict__["dedicated_cluster_id"] = dedicated_cluster_id
|
|
625
653
|
__props__.__dict__["description"] = description
|
|
626
654
|
__props__.__dict__["file_system_name"] = file_system_name
|
|
627
655
|
__props__.__dict__["partition_number"] = partition_number
|
|
@@ -652,6 +680,11 @@ class FileSystem(pulumi.CustomResource):
|
|
|
652
680
|
"""
|
|
653
681
|
return pulumi.get(self, "data_redundancy_type")
|
|
654
682
|
|
|
683
|
+
@property
|
|
684
|
+
@pulumi.getter(name="dedicatedClusterId")
|
|
685
|
+
def dedicated_cluster_id(self) -> pulumi.Output[Optional[str]]:
|
|
686
|
+
return pulumi.get(self, "dedicated_cluster_id")
|
|
687
|
+
|
|
655
688
|
@property
|
|
656
689
|
@pulumi.getter
|
|
657
690
|
def description(self) -> pulumi.Output[Optional[str]]:
|
|
@@ -726,7 +759,7 @@ class FileSystem(pulumi.CustomResource):
|
|
|
726
759
|
|
|
727
760
|
@property
|
|
728
761
|
@pulumi.getter(name="zoneId")
|
|
729
|
-
def zone_id(self) -> pulumi.Output[str]:
|
|
762
|
+
def zone_id(self) -> pulumi.Output[Optional[str]]:
|
|
730
763
|
"""
|
|
731
764
|
Zone Id, which is used to create file system resources to the specified zone.
|
|
732
765
|
"""
|
pulumi_alicloud/ecs/_inputs.py
CHANGED
|
@@ -20,6 +20,7 @@ __all__ = [
|
|
|
20
20
|
'EcsLaunchTemplateSystemDiskArgs',
|
|
21
21
|
'EcsPrefixListEntryArgs',
|
|
22
22
|
'ImageDiskDeviceMappingArgs',
|
|
23
|
+
'ImageFeaturesArgs',
|
|
23
24
|
'ImageImportDiskDeviceMappingArgs',
|
|
24
25
|
'InstanceDataDiskArgs',
|
|
25
26
|
'InstanceMaintenanceTimeArgs',
|
|
@@ -828,18 +829,46 @@ class ImageDiskDeviceMappingArgs:
|
|
|
828
829
|
def __init__(__self__, *,
|
|
829
830
|
device: Optional[pulumi.Input[str]] = None,
|
|
830
831
|
disk_type: Optional[pulumi.Input[str]] = None,
|
|
832
|
+
format: Optional[pulumi.Input[str]] = None,
|
|
833
|
+
import_oss_bucket: Optional[pulumi.Input[str]] = None,
|
|
834
|
+
import_oss_object: Optional[pulumi.Input[str]] = None,
|
|
835
|
+
progress: Optional[pulumi.Input[str]] = None,
|
|
836
|
+
remain_time: Optional[pulumi.Input[int]] = None,
|
|
831
837
|
size: Optional[pulumi.Input[int]] = None,
|
|
832
838
|
snapshot_id: Optional[pulumi.Input[str]] = None):
|
|
833
839
|
"""
|
|
834
|
-
:param pulumi.Input[str] device:
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
:param pulumi.Input[str]
|
|
840
|
+
:param pulumi.Input[str] device: The device name of disk N in the custom image. Valid values:
|
|
841
|
+
- For disks other than basic disks, such as standard SSDs, ultra disks, and enhanced SSDs (ESSDs), the valid values range from /dev/vda to /dev/vdz in alphabetical order.
|
|
842
|
+
- For basic disks, the valid values range from /dev/xvda to /dev/xvdz in alphabetical order.
|
|
843
|
+
:param pulumi.Input[str] disk_type: The type of disk N in the custom image. You can specify this parameter to create the system disk of the custom image from a data disk snapshot. If you do not specify this parameter, the disk type is determined by the corresponding snapshot. Valid values:
|
|
844
|
+
- system: system disk. You can specify only one snapshot to use to create the system disk in the custom image.
|
|
845
|
+
- data: data disk. You can specify up to 16 snapshots to use to create data disks in the custom image.
|
|
846
|
+
:param pulumi.Input[str] format: Image format.
|
|
847
|
+
:param pulumi.Input[str] import_oss_bucket: Import the bucket of the OSS to which the image belongs.
|
|
848
|
+
:param pulumi.Input[str] import_oss_object: Import the object of the OSS to which the image file belongs.
|
|
849
|
+
:param pulumi.Input[str] progress: Copy the progress of the task.
|
|
850
|
+
:param pulumi.Input[int] remain_time: For an image being replicated, return the remaining time of the replication task, in seconds.
|
|
851
|
+
:param pulumi.Input[int] size: The size of disk N in the custom image. Unit: GiB. The valid values and default value of DiskDeviceMapping.N.Size vary based on the value of DiskDeviceMapping.N.SnapshotId.
|
|
852
|
+
- If no corresponding snapshot IDs are specified in the value of DiskDeviceMapping.N.SnapshotId, DiskDeviceMapping.N.Size has the following valid values and default values:
|
|
853
|
+
* For basic disks, the valid values range from 5 to 2000, and the default value is 5.
|
|
854
|
+
* For other disks, the valid values range from 20 to 32768, and the default value is 20.
|
|
855
|
+
- If a corresponding snapshot ID is specified in the value of DiskDeviceMapping.N.SnapshotId, the value of DiskDeviceMapping.N.Size must be greater than or equal to the size of the specified snapshot. The default value of DiskDeviceMapping.N.Size is the size of the specified snapshot.
|
|
856
|
+
:param pulumi.Input[str] snapshot_id: The ID of snapshot N to use to create the custom image. .
|
|
838
857
|
"""
|
|
839
858
|
if device is not None:
|
|
840
859
|
pulumi.set(__self__, "device", device)
|
|
841
860
|
if disk_type is not None:
|
|
842
861
|
pulumi.set(__self__, "disk_type", disk_type)
|
|
862
|
+
if format is not None:
|
|
863
|
+
pulumi.set(__self__, "format", format)
|
|
864
|
+
if import_oss_bucket is not None:
|
|
865
|
+
pulumi.set(__self__, "import_oss_bucket", import_oss_bucket)
|
|
866
|
+
if import_oss_object is not None:
|
|
867
|
+
pulumi.set(__self__, "import_oss_object", import_oss_object)
|
|
868
|
+
if progress is not None:
|
|
869
|
+
pulumi.set(__self__, "progress", progress)
|
|
870
|
+
if remain_time is not None:
|
|
871
|
+
pulumi.set(__self__, "remain_time", remain_time)
|
|
843
872
|
if size is not None:
|
|
844
873
|
pulumi.set(__self__, "size", size)
|
|
845
874
|
if snapshot_id is not None:
|
|
@@ -849,7 +878,9 @@ class ImageDiskDeviceMappingArgs:
|
|
|
849
878
|
@pulumi.getter
|
|
850
879
|
def device(self) -> Optional[pulumi.Input[str]]:
|
|
851
880
|
"""
|
|
852
|
-
|
|
881
|
+
The device name of disk N in the custom image. Valid values:
|
|
882
|
+
- For disks other than basic disks, such as standard SSDs, ultra disks, and enhanced SSDs (ESSDs), the valid values range from /dev/vda to /dev/vdz in alphabetical order.
|
|
883
|
+
- For basic disks, the valid values range from /dev/xvda to /dev/xvdz in alphabetical order.
|
|
853
884
|
"""
|
|
854
885
|
return pulumi.get(self, "device")
|
|
855
886
|
|
|
@@ -861,7 +892,9 @@ class ImageDiskDeviceMappingArgs:
|
|
|
861
892
|
@pulumi.getter(name="diskType")
|
|
862
893
|
def disk_type(self) -> Optional[pulumi.Input[str]]:
|
|
863
894
|
"""
|
|
864
|
-
|
|
895
|
+
The type of disk N in the custom image. You can specify this parameter to create the system disk of the custom image from a data disk snapshot. If you do not specify this parameter, the disk type is determined by the corresponding snapshot. Valid values:
|
|
896
|
+
- system: system disk. You can specify only one snapshot to use to create the system disk in the custom image.
|
|
897
|
+
- data: data disk. You can specify up to 16 snapshots to use to create data disks in the custom image.
|
|
865
898
|
"""
|
|
866
899
|
return pulumi.get(self, "disk_type")
|
|
867
900
|
|
|
@@ -869,11 +902,75 @@ class ImageDiskDeviceMappingArgs:
|
|
|
869
902
|
def disk_type(self, value: Optional[pulumi.Input[str]]):
|
|
870
903
|
pulumi.set(self, "disk_type", value)
|
|
871
904
|
|
|
905
|
+
@property
|
|
906
|
+
@pulumi.getter
|
|
907
|
+
def format(self) -> Optional[pulumi.Input[str]]:
|
|
908
|
+
"""
|
|
909
|
+
Image format.
|
|
910
|
+
"""
|
|
911
|
+
return pulumi.get(self, "format")
|
|
912
|
+
|
|
913
|
+
@format.setter
|
|
914
|
+
def format(self, value: Optional[pulumi.Input[str]]):
|
|
915
|
+
pulumi.set(self, "format", value)
|
|
916
|
+
|
|
917
|
+
@property
|
|
918
|
+
@pulumi.getter(name="importOssBucket")
|
|
919
|
+
def import_oss_bucket(self) -> Optional[pulumi.Input[str]]:
|
|
920
|
+
"""
|
|
921
|
+
Import the bucket of the OSS to which the image belongs.
|
|
922
|
+
"""
|
|
923
|
+
return pulumi.get(self, "import_oss_bucket")
|
|
924
|
+
|
|
925
|
+
@import_oss_bucket.setter
|
|
926
|
+
def import_oss_bucket(self, value: Optional[pulumi.Input[str]]):
|
|
927
|
+
pulumi.set(self, "import_oss_bucket", value)
|
|
928
|
+
|
|
929
|
+
@property
|
|
930
|
+
@pulumi.getter(name="importOssObject")
|
|
931
|
+
def import_oss_object(self) -> Optional[pulumi.Input[str]]:
|
|
932
|
+
"""
|
|
933
|
+
Import the object of the OSS to which the image file belongs.
|
|
934
|
+
"""
|
|
935
|
+
return pulumi.get(self, "import_oss_object")
|
|
936
|
+
|
|
937
|
+
@import_oss_object.setter
|
|
938
|
+
def import_oss_object(self, value: Optional[pulumi.Input[str]]):
|
|
939
|
+
pulumi.set(self, "import_oss_object", value)
|
|
940
|
+
|
|
941
|
+
@property
|
|
942
|
+
@pulumi.getter
|
|
943
|
+
def progress(self) -> Optional[pulumi.Input[str]]:
|
|
944
|
+
"""
|
|
945
|
+
Copy the progress of the task.
|
|
946
|
+
"""
|
|
947
|
+
return pulumi.get(self, "progress")
|
|
948
|
+
|
|
949
|
+
@progress.setter
|
|
950
|
+
def progress(self, value: Optional[pulumi.Input[str]]):
|
|
951
|
+
pulumi.set(self, "progress", value)
|
|
952
|
+
|
|
953
|
+
@property
|
|
954
|
+
@pulumi.getter(name="remainTime")
|
|
955
|
+
def remain_time(self) -> Optional[pulumi.Input[int]]:
|
|
956
|
+
"""
|
|
957
|
+
For an image being replicated, return the remaining time of the replication task, in seconds.
|
|
958
|
+
"""
|
|
959
|
+
return pulumi.get(self, "remain_time")
|
|
960
|
+
|
|
961
|
+
@remain_time.setter
|
|
962
|
+
def remain_time(self, value: Optional[pulumi.Input[int]]):
|
|
963
|
+
pulumi.set(self, "remain_time", value)
|
|
964
|
+
|
|
872
965
|
@property
|
|
873
966
|
@pulumi.getter
|
|
874
967
|
def size(self) -> Optional[pulumi.Input[int]]:
|
|
875
968
|
"""
|
|
876
|
-
|
|
969
|
+
The size of disk N in the custom image. Unit: GiB. The valid values and default value of DiskDeviceMapping.N.Size vary based on the value of DiskDeviceMapping.N.SnapshotId.
|
|
970
|
+
- If no corresponding snapshot IDs are specified in the value of DiskDeviceMapping.N.SnapshotId, DiskDeviceMapping.N.Size has the following valid values and default values:
|
|
971
|
+
* For basic disks, the valid values range from 5 to 2000, and the default value is 5.
|
|
972
|
+
* For other disks, the valid values range from 20 to 32768, and the default value is 20.
|
|
973
|
+
- If a corresponding snapshot ID is specified in the value of DiskDeviceMapping.N.SnapshotId, the value of DiskDeviceMapping.N.Size must be greater than or equal to the size of the specified snapshot. The default value of DiskDeviceMapping.N.Size is the size of the specified snapshot.
|
|
877
974
|
"""
|
|
878
975
|
return pulumi.get(self, "size")
|
|
879
976
|
|
|
@@ -885,7 +982,7 @@ class ImageDiskDeviceMappingArgs:
|
|
|
885
982
|
@pulumi.getter(name="snapshotId")
|
|
886
983
|
def snapshot_id(self) -> Optional[pulumi.Input[str]]:
|
|
887
984
|
"""
|
|
888
|
-
|
|
985
|
+
The ID of snapshot N to use to create the custom image. .
|
|
889
986
|
"""
|
|
890
987
|
return pulumi.get(self, "snapshot_id")
|
|
891
988
|
|
|
@@ -894,6 +991,33 @@ class ImageDiskDeviceMappingArgs:
|
|
|
894
991
|
pulumi.set(self, "snapshot_id", value)
|
|
895
992
|
|
|
896
993
|
|
|
994
|
+
@pulumi.input_type
|
|
995
|
+
class ImageFeaturesArgs:
|
|
996
|
+
def __init__(__self__, *,
|
|
997
|
+
nvme_support: Optional[pulumi.Input[str]] = None):
|
|
998
|
+
"""
|
|
999
|
+
:param pulumi.Input[str] nvme_support: Specifies whether to support the Non-Volatile Memory Express (NVMe) protocol. Valid values:
|
|
1000
|
+
- supported: The image supports NVMe. Instances created from this image also support NVMe.
|
|
1001
|
+
- unsupported: The image does not support NVMe. Instances created from this image do not support NVMe.
|
|
1002
|
+
"""
|
|
1003
|
+
if nvme_support is not None:
|
|
1004
|
+
pulumi.set(__self__, "nvme_support", nvme_support)
|
|
1005
|
+
|
|
1006
|
+
@property
|
|
1007
|
+
@pulumi.getter(name="nvmeSupport")
|
|
1008
|
+
def nvme_support(self) -> Optional[pulumi.Input[str]]:
|
|
1009
|
+
"""
|
|
1010
|
+
Specifies whether to support the Non-Volatile Memory Express (NVMe) protocol. Valid values:
|
|
1011
|
+
- supported: The image supports NVMe. Instances created from this image also support NVMe.
|
|
1012
|
+
- unsupported: The image does not support NVMe. Instances created from this image do not support NVMe.
|
|
1013
|
+
"""
|
|
1014
|
+
return pulumi.get(self, "nvme_support")
|
|
1015
|
+
|
|
1016
|
+
@nvme_support.setter
|
|
1017
|
+
def nvme_support(self, value: Optional[pulumi.Input[str]]):
|
|
1018
|
+
pulumi.set(self, "nvme_support", value)
|
|
1019
|
+
|
|
1020
|
+
|
|
897
1021
|
@pulumi.input_type
|
|
898
1022
|
class ImageImportDiskDeviceMappingArgs:
|
|
899
1023
|
def __init__(__self__, *,
|