pulumi-alicloud 3.59.0a1720761596__py3-none-any.whl → 3.59.1__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 +48 -0
- pulumi_alicloud/_utilities.py +3 -4
- pulumi_alicloud/adb/_inputs.py +14 -0
- pulumi_alicloud/adb/outputs.py +14 -0
- pulumi_alicloud/adb/resource_group.py +115 -119
- pulumi_alicloud/alb/_inputs.py +224 -0
- pulumi_alicloud/alb/outputs.py +260 -0
- pulumi_alicloud/arms/_inputs.py +438 -0
- pulumi_alicloud/arms/outputs.py +442 -0
- pulumi_alicloud/bp/_inputs.py +14 -0
- pulumi_alicloud/bp/outputs.py +14 -0
- pulumi_alicloud/cas/outputs.py +4 -0
- pulumi_alicloud/cddc/outputs.py +6 -0
- pulumi_alicloud/cen/get_transit_router_service.py +2 -2
- pulumi_alicloud/cfg/_inputs.py +20 -0
- pulumi_alicloud/cfg/outputs.py +20 -0
- pulumi_alicloud/clickhouse/get_regions.py +2 -2
- pulumi_alicloud/clickhouse/outputs.py +4 -0
- pulumi_alicloud/cloudfirewall/_inputs.py +40 -0
- pulumi_alicloud/cloudfirewall/control_policy_order.py +60 -44
- pulumi_alicloud/cloudfirewall/outputs.py +40 -0
- pulumi_alicloud/cloudmonitor/_inputs.py +18 -0
- pulumi_alicloud/cloudmonitor/outputs.py +18 -0
- pulumi_alicloud/cloudstoragegateway/gateway_cache_disk.py +150 -27
- pulumi_alicloud/cms/_inputs.py +188 -0
- pulumi_alicloud/cms/outputs.py +228 -0
- pulumi_alicloud/compute/_inputs.py +4 -0
- pulumi_alicloud/compute/outputs.py +4 -0
- pulumi_alicloud/cs/_inputs.py +22 -0
- pulumi_alicloud/cs/node_pool.py +7 -7
- pulumi_alicloud/cs/outputs.py +22 -0
- pulumi_alicloud/databasegateway/outputs.py +42 -0
- pulumi_alicloud/dcdn/_inputs.py +555 -27
- pulumi_alicloud/dcdn/domain.py +366 -217
- pulumi_alicloud/dcdn/outputs.py +550 -22
- pulumi_alicloud/ddos/_inputs.py +162 -0
- pulumi_alicloud/ddos/outputs.py +162 -0
- pulumi_alicloud/dfs/file_system.py +52 -19
- pulumi_alicloud/directmail/get_domains.py +31 -24
- pulumi_alicloud/directmail/outputs.py +131 -32
- pulumi_alicloud/ebs/_inputs.py +22 -0
- pulumi_alicloud/ebs/outputs.py +22 -0
- pulumi_alicloud/eci/_inputs.py +100 -0
- pulumi_alicloud/eci/outputs.py +100 -0
- pulumi_alicloud/ecs/_inputs.py +242 -16
- pulumi_alicloud/ecs/ecs_disk.py +7 -0
- pulumi_alicloud/ecs/image.py +607 -121
- pulumi_alicloud/ecs/instance.py +304 -102
- pulumi_alicloud/ecs/outputs.py +348 -17
- pulumi_alicloud/edas/_inputs.py +28 -0
- pulumi_alicloud/edas/outputs.py +28 -0
- pulumi_alicloud/ehpc/_inputs.py +6 -0
- pulumi_alicloud/ehpc/outputs.py +6 -0
- pulumi_alicloud/emr/_inputs.py +134 -0
- pulumi_alicloud/emr/outputs.py +148 -0
- pulumi_alicloud/emrv2/_inputs.py +714 -0
- pulumi_alicloud/emrv2/cluster.py +14 -14
- pulumi_alicloud/emrv2/outputs.py +724 -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/_inputs.py +24 -0
- pulumi_alicloud/ess/eci_scaling_configuration.py +94 -0
- pulumi_alicloud/ess/outputs.py +24 -0
- pulumi_alicloud/ess/scaling_group.py +94 -0
- pulumi_alicloud/eventbridge/_inputs.py +156 -0
- pulumi_alicloud/eventbridge/outputs.py +156 -0
- pulumi_alicloud/expressconnect/_inputs.py +12 -0
- pulumi_alicloud/expressconnect/outputs.py +12 -0
- pulumi_alicloud/fc/_inputs.py +32 -0
- pulumi_alicloud/fc/outputs.py +32 -0
- pulumi_alicloud/ga/_inputs.py +24 -0
- pulumi_alicloud/ga/bandwidth_package_attachment.py +34 -34
- pulumi_alicloud/ga/listener.py +122 -0
- pulumi_alicloud/ga/outputs.py +24 -0
- pulumi_alicloud/gpdb/__init__.py +4 -0
- pulumi_alicloud/gpdb/_inputs.py +48 -0
- pulumi_alicloud/gpdb/external_data_service.py +485 -0
- pulumi_alicloud/gpdb/outputs.py +60 -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/hbr/_inputs.py +68 -0
- pulumi_alicloud/hbr/outputs.py +68 -0
- pulumi_alicloud/imp/_inputs.py +14 -0
- pulumi_alicloud/imp/outputs.py +14 -0
- pulumi_alicloud/log/_inputs.py +14 -0
- pulumi_alicloud/log/outputs.py +14 -0
- pulumi_alicloud/maxcompute/_inputs.py +54 -34
- pulumi_alicloud/maxcompute/outputs.py +54 -34
- pulumi_alicloud/maxcompute/project.py +230 -66
- pulumi_alicloud/mongodb/_inputs.py +14 -0
- pulumi_alicloud/mongodb/outputs.py +14 -0
- pulumi_alicloud/oss/_inputs.py +100 -0
- pulumi_alicloud/oss/outputs.py +100 -0
- pulumi_alicloud/ots/_inputs.py +60 -0
- pulumi_alicloud/ots/outputs.py +60 -0
- pulumi_alicloud/polardb/_inputs.py +10 -0
- pulumi_alicloud/polardb/cluster.py +28 -28
- pulumi_alicloud/polardb/outputs.py +10 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/pvtz/outputs.py +18 -0
- pulumi_alicloud/quotas/_inputs.py +10 -0
- pulumi_alicloud/quotas/outputs.py +10 -0
- pulumi_alicloud/ram/_inputs.py +24 -0
- pulumi_alicloud/ram/outputs.py +24 -0
- pulumi_alicloud/rdc/organization.py +2 -2
- pulumi_alicloud/realtimecompute/_inputs.py +6 -0
- pulumi_alicloud/realtimecompute/outputs.py +6 -0
- pulumi_alicloud/redis/tair_instance.py +161 -67
- pulumi_alicloud/rocketmq/_inputs.py +36 -0
- pulumi_alicloud/rocketmq/outputs.py +36 -0
- pulumi_alicloud/ros/_inputs.py +72 -0
- pulumi_alicloud/ros/outputs.py +72 -0
- pulumi_alicloud/sae/_inputs.py +118 -0
- pulumi_alicloud/sae/outputs.py +118 -0
- pulumi_alicloud/scdn/_inputs.py +56 -0
- pulumi_alicloud/scdn/outputs.py +56 -0
- pulumi_alicloud/servicecatalog/_inputs.py +10 -0
- pulumi_alicloud/servicecatalog/outputs.py +10 -0
- pulumi_alicloud/servicemesh/_inputs.py +150 -0
- pulumi_alicloud/servicemesh/outputs.py +154 -0
- pulumi_alicloud/slb/_inputs.py +8 -8
- pulumi_alicloud/slb/outputs.py +8 -8
- pulumi_alicloud/slb/server_group.py +140 -84
- pulumi_alicloud/sls/_inputs.py +186 -0
- pulumi_alicloud/sls/outputs.py +186 -0
- pulumi_alicloud/threatdetection/_inputs.py +32 -0
- pulumi_alicloud/threatdetection/outputs.py +32 -0
- pulumi_alicloud/vod/_inputs.py +18 -0
- pulumi_alicloud/vod/outputs.py +18 -0
- pulumi_alicloud/vpc/_inputs.py +50 -12
- pulumi_alicloud/vpc/network.py +332 -134
- pulumi_alicloud/vpc/outputs.py +50 -12
- pulumi_alicloud/vpc/public_ip_address_pool.py +118 -10
- pulumi_alicloud/vpn/_inputs.py +10 -0
- pulumi_alicloud/vpn/outputs.py +14 -0
- pulumi_alicloud/wafv3/_inputs.py +10 -0
- pulumi_alicloud/wafv3/outputs.py +10 -0
- {pulumi_alicloud-3.59.0a1720761596.dist-info → pulumi_alicloud-3.59.1.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.59.0a1720761596.dist-info → pulumi_alicloud-3.59.1.dist-info}/RECORD +144 -138
- {pulumi_alicloud-3.59.0a1720761596.dist-info → pulumi_alicloud-3.59.1.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.59.0a1720761596.dist-info → pulumi_alicloud-3.59.1.dist-info}/top_level.txt +0 -0
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',
|
|
@@ -41,6 +42,13 @@ class AutoProvisioningGroupLaunchTemplateConfigArgs:
|
|
|
41
42
|
weighted_capacity: pulumi.Input[str],
|
|
42
43
|
instance_type: Optional[pulumi.Input[str]] = None,
|
|
43
44
|
priority: Optional[pulumi.Input[str]] = None):
|
|
45
|
+
"""
|
|
46
|
+
:param pulumi.Input[str] max_price: The maximum price of the instance type specified in the Nth extended configurations of the launch template.
|
|
47
|
+
:param pulumi.Input[str] vswitch_id: The ID of the VSwitch in the Nth extended configurations of the launch template.
|
|
48
|
+
:param pulumi.Input[str] weighted_capacity: The weight of the instance type specified in the Nth extended configurations of the launch template.
|
|
49
|
+
:param pulumi.Input[str] instance_type: The instance type of the Nth extended configurations of the launch template.
|
|
50
|
+
:param pulumi.Input[str] priority: The priority of the instance type specified in the Nth extended configurations of the launch template. A value of 0 indicates the highest priority.
|
|
51
|
+
"""
|
|
44
52
|
pulumi.set(__self__, "max_price", max_price)
|
|
45
53
|
pulumi.set(__self__, "vswitch_id", vswitch_id)
|
|
46
54
|
pulumi.set(__self__, "weighted_capacity", weighted_capacity)
|
|
@@ -52,6 +60,9 @@ class AutoProvisioningGroupLaunchTemplateConfigArgs:
|
|
|
52
60
|
@property
|
|
53
61
|
@pulumi.getter(name="maxPrice")
|
|
54
62
|
def max_price(self) -> pulumi.Input[str]:
|
|
63
|
+
"""
|
|
64
|
+
The maximum price of the instance type specified in the Nth extended configurations of the launch template.
|
|
65
|
+
"""
|
|
55
66
|
return pulumi.get(self, "max_price")
|
|
56
67
|
|
|
57
68
|
@max_price.setter
|
|
@@ -61,6 +72,9 @@ class AutoProvisioningGroupLaunchTemplateConfigArgs:
|
|
|
61
72
|
@property
|
|
62
73
|
@pulumi.getter(name="vswitchId")
|
|
63
74
|
def vswitch_id(self) -> pulumi.Input[str]:
|
|
75
|
+
"""
|
|
76
|
+
The ID of the VSwitch in the Nth extended configurations of the launch template.
|
|
77
|
+
"""
|
|
64
78
|
return pulumi.get(self, "vswitch_id")
|
|
65
79
|
|
|
66
80
|
@vswitch_id.setter
|
|
@@ -70,6 +84,9 @@ class AutoProvisioningGroupLaunchTemplateConfigArgs:
|
|
|
70
84
|
@property
|
|
71
85
|
@pulumi.getter(name="weightedCapacity")
|
|
72
86
|
def weighted_capacity(self) -> pulumi.Input[str]:
|
|
87
|
+
"""
|
|
88
|
+
The weight of the instance type specified in the Nth extended configurations of the launch template.
|
|
89
|
+
"""
|
|
73
90
|
return pulumi.get(self, "weighted_capacity")
|
|
74
91
|
|
|
75
92
|
@weighted_capacity.setter
|
|
@@ -79,6 +96,9 @@ class AutoProvisioningGroupLaunchTemplateConfigArgs:
|
|
|
79
96
|
@property
|
|
80
97
|
@pulumi.getter(name="instanceType")
|
|
81
98
|
def instance_type(self) -> Optional[pulumi.Input[str]]:
|
|
99
|
+
"""
|
|
100
|
+
The instance type of the Nth extended configurations of the launch template.
|
|
101
|
+
"""
|
|
82
102
|
return pulumi.get(self, "instance_type")
|
|
83
103
|
|
|
84
104
|
@instance_type.setter
|
|
@@ -88,6 +108,9 @@ class AutoProvisioningGroupLaunchTemplateConfigArgs:
|
|
|
88
108
|
@property
|
|
89
109
|
@pulumi.getter
|
|
90
110
|
def priority(self) -> Optional[pulumi.Input[str]]:
|
|
111
|
+
"""
|
|
112
|
+
The priority of the instance type specified in the Nth extended configurations of the launch template. A value of 0 indicates the highest priority.
|
|
113
|
+
"""
|
|
91
114
|
return pulumi.get(self, "priority")
|
|
92
115
|
|
|
93
116
|
@priority.setter
|
|
@@ -828,18 +851,46 @@ class ImageDiskDeviceMappingArgs:
|
|
|
828
851
|
def __init__(__self__, *,
|
|
829
852
|
device: Optional[pulumi.Input[str]] = None,
|
|
830
853
|
disk_type: Optional[pulumi.Input[str]] = None,
|
|
854
|
+
format: Optional[pulumi.Input[str]] = None,
|
|
855
|
+
import_oss_bucket: Optional[pulumi.Input[str]] = None,
|
|
856
|
+
import_oss_object: Optional[pulumi.Input[str]] = None,
|
|
857
|
+
progress: Optional[pulumi.Input[str]] = None,
|
|
858
|
+
remain_time: Optional[pulumi.Input[int]] = None,
|
|
831
859
|
size: Optional[pulumi.Input[int]] = None,
|
|
832
860
|
snapshot_id: Optional[pulumi.Input[str]] = None):
|
|
833
861
|
"""
|
|
834
|
-
:param pulumi.Input[str] device:
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
:param pulumi.Input[str]
|
|
862
|
+
:param pulumi.Input[str] device: The device name of disk N in the custom image. Valid values:
|
|
863
|
+
- 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.
|
|
864
|
+
- For basic disks, the valid values range from /dev/xvda to /dev/xvdz in alphabetical order.
|
|
865
|
+
: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:
|
|
866
|
+
- system: system disk. You can specify only one snapshot to use to create the system disk in the custom image.
|
|
867
|
+
- data: data disk. You can specify up to 16 snapshots to use to create data disks in the custom image.
|
|
868
|
+
:param pulumi.Input[str] format: Image format.
|
|
869
|
+
:param pulumi.Input[str] import_oss_bucket: Import the bucket of the OSS to which the image belongs.
|
|
870
|
+
:param pulumi.Input[str] import_oss_object: Import the object of the OSS to which the image file belongs.
|
|
871
|
+
:param pulumi.Input[str] progress: Copy the progress of the task.
|
|
872
|
+
:param pulumi.Input[int] remain_time: For an image being replicated, return the remaining time of the replication task, in seconds.
|
|
873
|
+
: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.
|
|
874
|
+
- 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:
|
|
875
|
+
* For basic disks, the valid values range from 5 to 2000, and the default value is 5.
|
|
876
|
+
* For other disks, the valid values range from 20 to 32768, and the default value is 20.
|
|
877
|
+
- 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.
|
|
878
|
+
:param pulumi.Input[str] snapshot_id: The ID of snapshot N to use to create the custom image. .
|
|
838
879
|
"""
|
|
839
880
|
if device is not None:
|
|
840
881
|
pulumi.set(__self__, "device", device)
|
|
841
882
|
if disk_type is not None:
|
|
842
883
|
pulumi.set(__self__, "disk_type", disk_type)
|
|
884
|
+
if format is not None:
|
|
885
|
+
pulumi.set(__self__, "format", format)
|
|
886
|
+
if import_oss_bucket is not None:
|
|
887
|
+
pulumi.set(__self__, "import_oss_bucket", import_oss_bucket)
|
|
888
|
+
if import_oss_object is not None:
|
|
889
|
+
pulumi.set(__self__, "import_oss_object", import_oss_object)
|
|
890
|
+
if progress is not None:
|
|
891
|
+
pulumi.set(__self__, "progress", progress)
|
|
892
|
+
if remain_time is not None:
|
|
893
|
+
pulumi.set(__self__, "remain_time", remain_time)
|
|
843
894
|
if size is not None:
|
|
844
895
|
pulumi.set(__self__, "size", size)
|
|
845
896
|
if snapshot_id is not None:
|
|
@@ -849,7 +900,9 @@ class ImageDiskDeviceMappingArgs:
|
|
|
849
900
|
@pulumi.getter
|
|
850
901
|
def device(self) -> Optional[pulumi.Input[str]]:
|
|
851
902
|
"""
|
|
852
|
-
|
|
903
|
+
The device name of disk N in the custom image. Valid values:
|
|
904
|
+
- 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.
|
|
905
|
+
- For basic disks, the valid values range from /dev/xvda to /dev/xvdz in alphabetical order.
|
|
853
906
|
"""
|
|
854
907
|
return pulumi.get(self, "device")
|
|
855
908
|
|
|
@@ -861,7 +914,9 @@ class ImageDiskDeviceMappingArgs:
|
|
|
861
914
|
@pulumi.getter(name="diskType")
|
|
862
915
|
def disk_type(self) -> Optional[pulumi.Input[str]]:
|
|
863
916
|
"""
|
|
864
|
-
|
|
917
|
+
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:
|
|
918
|
+
- system: system disk. You can specify only one snapshot to use to create the system disk in the custom image.
|
|
919
|
+
- data: data disk. You can specify up to 16 snapshots to use to create data disks in the custom image.
|
|
865
920
|
"""
|
|
866
921
|
return pulumi.get(self, "disk_type")
|
|
867
922
|
|
|
@@ -869,11 +924,75 @@ class ImageDiskDeviceMappingArgs:
|
|
|
869
924
|
def disk_type(self, value: Optional[pulumi.Input[str]]):
|
|
870
925
|
pulumi.set(self, "disk_type", value)
|
|
871
926
|
|
|
927
|
+
@property
|
|
928
|
+
@pulumi.getter
|
|
929
|
+
def format(self) -> Optional[pulumi.Input[str]]:
|
|
930
|
+
"""
|
|
931
|
+
Image format.
|
|
932
|
+
"""
|
|
933
|
+
return pulumi.get(self, "format")
|
|
934
|
+
|
|
935
|
+
@format.setter
|
|
936
|
+
def format(self, value: Optional[pulumi.Input[str]]):
|
|
937
|
+
pulumi.set(self, "format", value)
|
|
938
|
+
|
|
939
|
+
@property
|
|
940
|
+
@pulumi.getter(name="importOssBucket")
|
|
941
|
+
def import_oss_bucket(self) -> Optional[pulumi.Input[str]]:
|
|
942
|
+
"""
|
|
943
|
+
Import the bucket of the OSS to which the image belongs.
|
|
944
|
+
"""
|
|
945
|
+
return pulumi.get(self, "import_oss_bucket")
|
|
946
|
+
|
|
947
|
+
@import_oss_bucket.setter
|
|
948
|
+
def import_oss_bucket(self, value: Optional[pulumi.Input[str]]):
|
|
949
|
+
pulumi.set(self, "import_oss_bucket", value)
|
|
950
|
+
|
|
951
|
+
@property
|
|
952
|
+
@pulumi.getter(name="importOssObject")
|
|
953
|
+
def import_oss_object(self) -> Optional[pulumi.Input[str]]:
|
|
954
|
+
"""
|
|
955
|
+
Import the object of the OSS to which the image file belongs.
|
|
956
|
+
"""
|
|
957
|
+
return pulumi.get(self, "import_oss_object")
|
|
958
|
+
|
|
959
|
+
@import_oss_object.setter
|
|
960
|
+
def import_oss_object(self, value: Optional[pulumi.Input[str]]):
|
|
961
|
+
pulumi.set(self, "import_oss_object", value)
|
|
962
|
+
|
|
963
|
+
@property
|
|
964
|
+
@pulumi.getter
|
|
965
|
+
def progress(self) -> Optional[pulumi.Input[str]]:
|
|
966
|
+
"""
|
|
967
|
+
Copy the progress of the task.
|
|
968
|
+
"""
|
|
969
|
+
return pulumi.get(self, "progress")
|
|
970
|
+
|
|
971
|
+
@progress.setter
|
|
972
|
+
def progress(self, value: Optional[pulumi.Input[str]]):
|
|
973
|
+
pulumi.set(self, "progress", value)
|
|
974
|
+
|
|
975
|
+
@property
|
|
976
|
+
@pulumi.getter(name="remainTime")
|
|
977
|
+
def remain_time(self) -> Optional[pulumi.Input[int]]:
|
|
978
|
+
"""
|
|
979
|
+
For an image being replicated, return the remaining time of the replication task, in seconds.
|
|
980
|
+
"""
|
|
981
|
+
return pulumi.get(self, "remain_time")
|
|
982
|
+
|
|
983
|
+
@remain_time.setter
|
|
984
|
+
def remain_time(self, value: Optional[pulumi.Input[int]]):
|
|
985
|
+
pulumi.set(self, "remain_time", value)
|
|
986
|
+
|
|
872
987
|
@property
|
|
873
988
|
@pulumi.getter
|
|
874
989
|
def size(self) -> Optional[pulumi.Input[int]]:
|
|
875
990
|
"""
|
|
876
|
-
|
|
991
|
+
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.
|
|
992
|
+
- 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:
|
|
993
|
+
* For basic disks, the valid values range from 5 to 2000, and the default value is 5.
|
|
994
|
+
* For other disks, the valid values range from 20 to 32768, and the default value is 20.
|
|
995
|
+
- 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
996
|
"""
|
|
878
997
|
return pulumi.get(self, "size")
|
|
879
998
|
|
|
@@ -885,7 +1004,7 @@ class ImageDiskDeviceMappingArgs:
|
|
|
885
1004
|
@pulumi.getter(name="snapshotId")
|
|
886
1005
|
def snapshot_id(self) -> Optional[pulumi.Input[str]]:
|
|
887
1006
|
"""
|
|
888
|
-
|
|
1007
|
+
The ID of snapshot N to use to create the custom image. .
|
|
889
1008
|
"""
|
|
890
1009
|
return pulumi.get(self, "snapshot_id")
|
|
891
1010
|
|
|
@@ -894,6 +1013,33 @@ class ImageDiskDeviceMappingArgs:
|
|
|
894
1013
|
pulumi.set(self, "snapshot_id", value)
|
|
895
1014
|
|
|
896
1015
|
|
|
1016
|
+
@pulumi.input_type
|
|
1017
|
+
class ImageFeaturesArgs:
|
|
1018
|
+
def __init__(__self__, *,
|
|
1019
|
+
nvme_support: Optional[pulumi.Input[str]] = None):
|
|
1020
|
+
"""
|
|
1021
|
+
:param pulumi.Input[str] nvme_support: Specifies whether to support the Non-Volatile Memory Express (NVMe) protocol. Valid values:
|
|
1022
|
+
- supported: The image supports NVMe. Instances created from this image also support NVMe.
|
|
1023
|
+
- unsupported: The image does not support NVMe. Instances created from this image do not support NVMe.
|
|
1024
|
+
"""
|
|
1025
|
+
if nvme_support is not None:
|
|
1026
|
+
pulumi.set(__self__, "nvme_support", nvme_support)
|
|
1027
|
+
|
|
1028
|
+
@property
|
|
1029
|
+
@pulumi.getter(name="nvmeSupport")
|
|
1030
|
+
def nvme_support(self) -> Optional[pulumi.Input[str]]:
|
|
1031
|
+
"""
|
|
1032
|
+
Specifies whether to support the Non-Volatile Memory Express (NVMe) protocol. Valid values:
|
|
1033
|
+
- supported: The image supports NVMe. Instances created from this image also support NVMe.
|
|
1034
|
+
- unsupported: The image does not support NVMe. Instances created from this image do not support NVMe.
|
|
1035
|
+
"""
|
|
1036
|
+
return pulumi.get(self, "nvme_support")
|
|
1037
|
+
|
|
1038
|
+
@nvme_support.setter
|
|
1039
|
+
def nvme_support(self, value: Optional[pulumi.Input[str]]):
|
|
1040
|
+
pulumi.set(self, "nvme_support", value)
|
|
1041
|
+
|
|
1042
|
+
|
|
897
1043
|
@pulumi.input_type
|
|
898
1044
|
class ImageImportDiskDeviceMappingArgs:
|
|
899
1045
|
def __init__(__self__, *,
|
|
@@ -1225,32 +1371,52 @@ class InstanceMaintenanceTimeArgs:
|
|
|
1225
1371
|
@pulumi.input_type
|
|
1226
1372
|
class InstanceNetworkInterfacesArgs:
|
|
1227
1373
|
def __init__(__self__, *,
|
|
1374
|
+
network_card_index: Optional[pulumi.Input[int]] = None,
|
|
1228
1375
|
network_interface_id: Optional[pulumi.Input[str]] = None,
|
|
1229
1376
|
network_interface_traffic_mode: Optional[pulumi.Input[str]] = None,
|
|
1377
|
+
queue_pair_number: Optional[pulumi.Input[int]] = None,
|
|
1230
1378
|
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1231
1379
|
vswitch_id: Optional[pulumi.Input[str]] = None):
|
|
1232
1380
|
"""
|
|
1233
|
-
:param pulumi.Input[
|
|
1234
|
-
:param pulumi.Input[str]
|
|
1381
|
+
:param pulumi.Input[int] network_card_index: The index of the network card for Secondary ENI.
|
|
1382
|
+
:param pulumi.Input[str] network_interface_id: The ID of the Secondary ENI.
|
|
1383
|
+
:param pulumi.Input[str] network_interface_traffic_mode: The communication mode of the Secondary ENI. Default value: `Standard`. Valid values:
|
|
1235
1384
|
- `Standard`: Uses the TCP communication mode.
|
|
1236
1385
|
- `HighPerformance`: Uses the remote direct memory access (RDMA) communication mode with Elastic RDMA Interface (ERI) enabled.
|
|
1237
|
-
:param pulumi.Input[
|
|
1238
|
-
:param pulumi.Input[str]
|
|
1386
|
+
:param pulumi.Input[int] queue_pair_number: The number of queues supported by the ERI.
|
|
1387
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: The ID of security group N to which to assign Secondary ENI N.
|
|
1388
|
+
:param pulumi.Input[str] vswitch_id: The ID of the vSwitch to which to connect Secondary ENI N.
|
|
1239
1389
|
"""
|
|
1390
|
+
if network_card_index is not None:
|
|
1391
|
+
pulumi.set(__self__, "network_card_index", network_card_index)
|
|
1240
1392
|
if network_interface_id is not None:
|
|
1241
1393
|
pulumi.set(__self__, "network_interface_id", network_interface_id)
|
|
1242
1394
|
if network_interface_traffic_mode is not None:
|
|
1243
1395
|
pulumi.set(__self__, "network_interface_traffic_mode", network_interface_traffic_mode)
|
|
1396
|
+
if queue_pair_number is not None:
|
|
1397
|
+
pulumi.set(__self__, "queue_pair_number", queue_pair_number)
|
|
1244
1398
|
if security_group_ids is not None:
|
|
1245
1399
|
pulumi.set(__self__, "security_group_ids", security_group_ids)
|
|
1246
1400
|
if vswitch_id is not None:
|
|
1247
1401
|
pulumi.set(__self__, "vswitch_id", vswitch_id)
|
|
1248
1402
|
|
|
1403
|
+
@property
|
|
1404
|
+
@pulumi.getter(name="networkCardIndex")
|
|
1405
|
+
def network_card_index(self) -> Optional[pulumi.Input[int]]:
|
|
1406
|
+
"""
|
|
1407
|
+
The index of the network card for Secondary ENI.
|
|
1408
|
+
"""
|
|
1409
|
+
return pulumi.get(self, "network_card_index")
|
|
1410
|
+
|
|
1411
|
+
@network_card_index.setter
|
|
1412
|
+
def network_card_index(self, value: Optional[pulumi.Input[int]]):
|
|
1413
|
+
pulumi.set(self, "network_card_index", value)
|
|
1414
|
+
|
|
1249
1415
|
@property
|
|
1250
1416
|
@pulumi.getter(name="networkInterfaceId")
|
|
1251
1417
|
def network_interface_id(self) -> Optional[pulumi.Input[str]]:
|
|
1252
1418
|
"""
|
|
1253
|
-
The ID of the
|
|
1419
|
+
The ID of the Secondary ENI.
|
|
1254
1420
|
"""
|
|
1255
1421
|
return pulumi.get(self, "network_interface_id")
|
|
1256
1422
|
|
|
@@ -1262,7 +1428,7 @@ class InstanceNetworkInterfacesArgs:
|
|
|
1262
1428
|
@pulumi.getter(name="networkInterfaceTrafficMode")
|
|
1263
1429
|
def network_interface_traffic_mode(self) -> Optional[pulumi.Input[str]]:
|
|
1264
1430
|
"""
|
|
1265
|
-
The communication mode of the ENI. Default value: `Standard`. Valid values:
|
|
1431
|
+
The communication mode of the Secondary ENI. Default value: `Standard`. Valid values:
|
|
1266
1432
|
- `Standard`: Uses the TCP communication mode.
|
|
1267
1433
|
- `HighPerformance`: Uses the remote direct memory access (RDMA) communication mode with Elastic RDMA Interface (ERI) enabled.
|
|
1268
1434
|
"""
|
|
@@ -1272,11 +1438,23 @@ class InstanceNetworkInterfacesArgs:
|
|
|
1272
1438
|
def network_interface_traffic_mode(self, value: Optional[pulumi.Input[str]]):
|
|
1273
1439
|
pulumi.set(self, "network_interface_traffic_mode", value)
|
|
1274
1440
|
|
|
1441
|
+
@property
|
|
1442
|
+
@pulumi.getter(name="queuePairNumber")
|
|
1443
|
+
def queue_pair_number(self) -> Optional[pulumi.Input[int]]:
|
|
1444
|
+
"""
|
|
1445
|
+
The number of queues supported by the ERI.
|
|
1446
|
+
"""
|
|
1447
|
+
return pulumi.get(self, "queue_pair_number")
|
|
1448
|
+
|
|
1449
|
+
@queue_pair_number.setter
|
|
1450
|
+
def queue_pair_number(self, value: Optional[pulumi.Input[int]]):
|
|
1451
|
+
pulumi.set(self, "queue_pair_number", value)
|
|
1452
|
+
|
|
1275
1453
|
@property
|
|
1276
1454
|
@pulumi.getter(name="securityGroupIds")
|
|
1277
1455
|
def security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1278
1456
|
"""
|
|
1279
|
-
The ID of security group N to which to assign ENI N.
|
|
1457
|
+
The ID of security group N to which to assign Secondary ENI N.
|
|
1280
1458
|
"""
|
|
1281
1459
|
return pulumi.get(self, "security_group_ids")
|
|
1282
1460
|
|
|
@@ -1288,7 +1466,7 @@ class InstanceNetworkInterfacesArgs:
|
|
|
1288
1466
|
@pulumi.getter(name="vswitchId")
|
|
1289
1467
|
def vswitch_id(self) -> Optional[pulumi.Input[str]]:
|
|
1290
1468
|
"""
|
|
1291
|
-
The ID of the vSwitch to which to connect ENI N.
|
|
1469
|
+
The ID of the vSwitch to which to connect Secondary ENI N.
|
|
1292
1470
|
"""
|
|
1293
1471
|
return pulumi.get(self, "vswitch_id")
|
|
1294
1472
|
|
|
@@ -1559,8 +1737,28 @@ class LaunchTemplateSystemDiskArgs:
|
|
|
1559
1737
|
performance_level: Optional[pulumi.Input[str]] = None,
|
|
1560
1738
|
size: Optional[pulumi.Input[int]] = None):
|
|
1561
1739
|
"""
|
|
1740
|
+
:param pulumi.Input[str] category: The category of the disk:
|
|
1741
|
+
- cloud: Basic cloud disk.
|
|
1742
|
+
- cloud_efficiency: Ultra cloud disk.
|
|
1743
|
+
- cloud_ssd: SSD cloud Disks.
|
|
1744
|
+
- ephemeral_ssd: local SSD Disks
|
|
1745
|
+
- cloud_essd: ESSD cloud Disks.
|
|
1746
|
+
|
|
1747
|
+
Default to `cloud_efficiency`.
|
|
1748
|
+
:param pulumi.Input[bool] delete_with_instance: Delete this data disk when the instance is destroyed. It only works on cloud, cloud_efficiency, cloud_ssd and cloud_essd disk. If the category of this data disk was ephemeral_ssd, please don't set this param.
|
|
1749
|
+
|
|
1750
|
+
Default to true
|
|
1562
1751
|
:param pulumi.Input[str] description: Description of instance launch template version 1. It can be [2, 256] characters in length. It cannot start with "http://" or "https://". The default value is null.
|
|
1752
|
+
:param pulumi.Input[bool] encrypted: Encrypted the data in this disk.
|
|
1753
|
+
|
|
1754
|
+
Default to false
|
|
1563
1755
|
:param pulumi.Input[str] name: Instance launch template name. Can contain [2, 128] characters in length. It must start with an English letter or Chinese, can contain numbers, periods (.), colons (:), underscores (_), and hyphens (-). It cannot start with "http://" or "https://".
|
|
1756
|
+
:param pulumi.Input[int] size: The size of the data disk.
|
|
1757
|
+
- cloud:[5, 2000]
|
|
1758
|
+
- cloud_efficiency:[20, 32768]
|
|
1759
|
+
- cloud_ssd:[20, 32768]
|
|
1760
|
+
- cloud_essd:[20, 32768]
|
|
1761
|
+
- ephemeral_ssd: [5, 800]
|
|
1564
1762
|
"""
|
|
1565
1763
|
if category is not None:
|
|
1566
1764
|
pulumi.set(__self__, "category", category)
|
|
@@ -1582,6 +1780,16 @@ class LaunchTemplateSystemDiskArgs:
|
|
|
1582
1780
|
@property
|
|
1583
1781
|
@pulumi.getter
|
|
1584
1782
|
def category(self) -> Optional[pulumi.Input[str]]:
|
|
1783
|
+
"""
|
|
1784
|
+
The category of the disk:
|
|
1785
|
+
- cloud: Basic cloud disk.
|
|
1786
|
+
- cloud_efficiency: Ultra cloud disk.
|
|
1787
|
+
- cloud_ssd: SSD cloud Disks.
|
|
1788
|
+
- ephemeral_ssd: local SSD Disks
|
|
1789
|
+
- cloud_essd: ESSD cloud Disks.
|
|
1790
|
+
|
|
1791
|
+
Default to `cloud_efficiency`.
|
|
1792
|
+
"""
|
|
1585
1793
|
return pulumi.get(self, "category")
|
|
1586
1794
|
|
|
1587
1795
|
@category.setter
|
|
@@ -1591,6 +1799,11 @@ class LaunchTemplateSystemDiskArgs:
|
|
|
1591
1799
|
@property
|
|
1592
1800
|
@pulumi.getter(name="deleteWithInstance")
|
|
1593
1801
|
def delete_with_instance(self) -> Optional[pulumi.Input[bool]]:
|
|
1802
|
+
"""
|
|
1803
|
+
Delete this data disk when the instance is destroyed. It only works on cloud, cloud_efficiency, cloud_ssd and cloud_essd disk. If the category of this data disk was ephemeral_ssd, please don't set this param.
|
|
1804
|
+
|
|
1805
|
+
Default to true
|
|
1806
|
+
"""
|
|
1594
1807
|
return pulumi.get(self, "delete_with_instance")
|
|
1595
1808
|
|
|
1596
1809
|
@delete_with_instance.setter
|
|
@@ -1612,6 +1825,11 @@ class LaunchTemplateSystemDiskArgs:
|
|
|
1612
1825
|
@property
|
|
1613
1826
|
@pulumi.getter
|
|
1614
1827
|
def encrypted(self) -> Optional[pulumi.Input[bool]]:
|
|
1828
|
+
"""
|
|
1829
|
+
Encrypted the data in this disk.
|
|
1830
|
+
|
|
1831
|
+
Default to false
|
|
1832
|
+
"""
|
|
1615
1833
|
return pulumi.get(self, "encrypted")
|
|
1616
1834
|
|
|
1617
1835
|
@encrypted.setter
|
|
@@ -1651,6 +1869,14 @@ class LaunchTemplateSystemDiskArgs:
|
|
|
1651
1869
|
@property
|
|
1652
1870
|
@pulumi.getter
|
|
1653
1871
|
def size(self) -> Optional[pulumi.Input[int]]:
|
|
1872
|
+
"""
|
|
1873
|
+
The size of the data disk.
|
|
1874
|
+
- cloud:[5, 2000]
|
|
1875
|
+
- cloud_efficiency:[20, 32768]
|
|
1876
|
+
- cloud_ssd:[20, 32768]
|
|
1877
|
+
- cloud_essd:[20, 32768]
|
|
1878
|
+
- ephemeral_ssd: [5, 800]
|
|
1879
|
+
"""
|
|
1654
1880
|
return pulumi.get(self, "size")
|
|
1655
1881
|
|
|
1656
1882
|
@size.setter
|
pulumi_alicloud/ecs/ecs_disk.py
CHANGED
|
@@ -56,6 +56,7 @@ class EcsDiskArgs:
|
|
|
56
56
|
:param pulumi.Input[str] name: Field `name` has been deprecated from provider version 1.122.0. New field `disk_name` instead.
|
|
57
57
|
:param pulumi.Input[str] payment_type: Payment method for disk. Valid values: `PayAsYouGo`, `Subscription`. Default to `PayAsYouGo`. If you want to change the disk payment type, the `instance_id` is required.
|
|
58
58
|
:param pulumi.Input[str] performance_level: Specifies the performance level of an ESSD when you create the ESSD. Valid values:
|
|
59
|
+
* `PL0`: A single ESSD delivers up to 10,000 random read/write IOPS.
|
|
59
60
|
* `PL1`: A single ESSD delivers up to 50,000 random read/write IOPS.
|
|
60
61
|
* `PL2`: A single ESSD delivers up to 100,000 random read/write IOPS.
|
|
61
62
|
* `PL3`: A single ESSD delivers up to 1,000,000 random read/write IOPS.
|
|
@@ -306,6 +307,7 @@ class EcsDiskArgs:
|
|
|
306
307
|
def performance_level(self) -> Optional[pulumi.Input[str]]:
|
|
307
308
|
"""
|
|
308
309
|
Specifies the performance level of an ESSD when you create the ESSD. Valid values:
|
|
310
|
+
* `PL0`: A single ESSD delivers up to 10,000 random read/write IOPS.
|
|
309
311
|
* `PL1`: A single ESSD delivers up to 50,000 random read/write IOPS.
|
|
310
312
|
* `PL2`: A single ESSD delivers up to 100,000 random read/write IOPS.
|
|
311
313
|
* `PL3`: A single ESSD delivers up to 1,000,000 random read/write IOPS.
|
|
@@ -459,6 +461,7 @@ class _EcsDiskState:
|
|
|
459
461
|
:param pulumi.Input[str] name: Field `name` has been deprecated from provider version 1.122.0. New field `disk_name` instead.
|
|
460
462
|
:param pulumi.Input[str] payment_type: Payment method for disk. Valid values: `PayAsYouGo`, `Subscription`. Default to `PayAsYouGo`. If you want to change the disk payment type, the `instance_id` is required.
|
|
461
463
|
:param pulumi.Input[str] performance_level: Specifies the performance level of an ESSD when you create the ESSD. Valid values:
|
|
464
|
+
* `PL0`: A single ESSD delivers up to 10,000 random read/write IOPS.
|
|
462
465
|
* `PL1`: A single ESSD delivers up to 50,000 random read/write IOPS.
|
|
463
466
|
* `PL2`: A single ESSD delivers up to 100,000 random read/write IOPS.
|
|
464
467
|
* `PL3`: A single ESSD delivers up to 1,000,000 random read/write IOPS.
|
|
@@ -712,6 +715,7 @@ class _EcsDiskState:
|
|
|
712
715
|
def performance_level(self) -> Optional[pulumi.Input[str]]:
|
|
713
716
|
"""
|
|
714
717
|
Specifies the performance level of an ESSD when you create the ESSD. Valid values:
|
|
718
|
+
* `PL0`: A single ESSD delivers up to 10,000 random read/write IOPS.
|
|
715
719
|
* `PL1`: A single ESSD delivers up to 50,000 random read/write IOPS.
|
|
716
720
|
* `PL2`: A single ESSD delivers up to 100,000 random read/write IOPS.
|
|
717
721
|
* `PL3`: A single ESSD delivers up to 1,000,000 random read/write IOPS.
|
|
@@ -888,6 +892,7 @@ class EcsDisk(pulumi.CustomResource):
|
|
|
888
892
|
:param pulumi.Input[str] name: Field `name` has been deprecated from provider version 1.122.0. New field `disk_name` instead.
|
|
889
893
|
:param pulumi.Input[str] payment_type: Payment method for disk. Valid values: `PayAsYouGo`, `Subscription`. Default to `PayAsYouGo`. If you want to change the disk payment type, the `instance_id` is required.
|
|
890
894
|
:param pulumi.Input[str] performance_level: Specifies the performance level of an ESSD when you create the ESSD. Valid values:
|
|
895
|
+
* `PL0`: A single ESSD delivers up to 10,000 random read/write IOPS.
|
|
891
896
|
* `PL1`: A single ESSD delivers up to 50,000 random read/write IOPS.
|
|
892
897
|
* `PL2`: A single ESSD delivers up to 100,000 random read/write IOPS.
|
|
893
898
|
* `PL3`: A single ESSD delivers up to 1,000,000 random read/write IOPS.
|
|
@@ -1046,6 +1051,7 @@ class EcsDisk(pulumi.CustomResource):
|
|
|
1046
1051
|
:param pulumi.Input[str] name: Field `name` has been deprecated from provider version 1.122.0. New field `disk_name` instead.
|
|
1047
1052
|
:param pulumi.Input[str] payment_type: Payment method for disk. Valid values: `PayAsYouGo`, `Subscription`. Default to `PayAsYouGo`. If you want to change the disk payment type, the `instance_id` is required.
|
|
1048
1053
|
:param pulumi.Input[str] performance_level: Specifies the performance level of an ESSD when you create the ESSD. Valid values:
|
|
1054
|
+
* `PL0`: A single ESSD delivers up to 10,000 random read/write IOPS.
|
|
1049
1055
|
* `PL1`: A single ESSD delivers up to 50,000 random read/write IOPS.
|
|
1050
1056
|
* `PL2`: A single ESSD delivers up to 100,000 random read/write IOPS.
|
|
1051
1057
|
* `PL3`: A single ESSD delivers up to 1,000,000 random read/write IOPS.
|
|
@@ -1213,6 +1219,7 @@ class EcsDisk(pulumi.CustomResource):
|
|
|
1213
1219
|
def performance_level(self) -> pulumi.Output[str]:
|
|
1214
1220
|
"""
|
|
1215
1221
|
Specifies the performance level of an ESSD when you create the ESSD. Valid values:
|
|
1222
|
+
* `PL0`: A single ESSD delivers up to 10,000 random read/write IOPS.
|
|
1216
1223
|
* `PL1`: A single ESSD delivers up to 50,000 random read/write IOPS.
|
|
1217
1224
|
* `PL2`: A single ESSD delivers up to 100,000 random read/write IOPS.
|
|
1218
1225
|
* `PL3`: A single ESSD delivers up to 1,000,000 random read/write IOPS.
|