pulumi-alicloud 3.59.0a1720516341__py3-none-any.whl → 3.59.0a1720785756__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/adb/resource_group.py +115 -119
- pulumi_alicloud/clickhouse/get_regions.py +2 -2
- pulumi_alicloud/cloudstoragegateway/gateway_cache_disk.py +150 -27
- pulumi_alicloud/dfs/file_system.py +52 -19
- pulumi_alicloud/ecs/_inputs.py +132 -8
- pulumi_alicloud/ecs/image.py +607 -121
- 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/bandwidth_package_attachment.py +34 -34
- 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/pulumi-plugin.json +1 -1
- pulumi_alicloud/redis/tair_instance.py +161 -67
- {pulumi_alicloud-3.59.0a1720516341.dist-info → pulumi_alicloud-3.59.0a1720785756.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.59.0a1720516341.dist-info → pulumi_alicloud-3.59.0a1720785756.dist-info}/RECORD +30 -24
- {pulumi_alicloud-3.59.0a1720516341.dist-info → pulumi_alicloud-3.59.0a1720785756.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.59.0a1720516341.dist-info → pulumi_alicloud-3.59.0a1720785756.dist-info}/top_level.txt +0 -0
pulumi_alicloud/ecs/outputs.py
CHANGED
|
@@ -21,6 +21,7 @@ __all__ = [
|
|
|
21
21
|
'EcsLaunchTemplateSystemDisk',
|
|
22
22
|
'EcsPrefixListEntry',
|
|
23
23
|
'ImageDiskDeviceMapping',
|
|
24
|
+
'ImageFeatures',
|
|
24
25
|
'ImageImportDiskDeviceMapping',
|
|
25
26
|
'InstanceDataDisk',
|
|
26
27
|
'InstanceMaintenanceTime',
|
|
@@ -867,6 +868,12 @@ class ImageDiskDeviceMapping(dict):
|
|
|
867
868
|
suggest = None
|
|
868
869
|
if key == "diskType":
|
|
869
870
|
suggest = "disk_type"
|
|
871
|
+
elif key == "importOssBucket":
|
|
872
|
+
suggest = "import_oss_bucket"
|
|
873
|
+
elif key == "importOssObject":
|
|
874
|
+
suggest = "import_oss_object"
|
|
875
|
+
elif key == "remainTime":
|
|
876
|
+
suggest = "remain_time"
|
|
870
877
|
elif key == "snapshotId":
|
|
871
878
|
suggest = "snapshot_id"
|
|
872
879
|
|
|
@@ -884,18 +891,46 @@ class ImageDiskDeviceMapping(dict):
|
|
|
884
891
|
def __init__(__self__, *,
|
|
885
892
|
device: Optional[str] = None,
|
|
886
893
|
disk_type: Optional[str] = None,
|
|
894
|
+
format: Optional[str] = None,
|
|
895
|
+
import_oss_bucket: Optional[str] = None,
|
|
896
|
+
import_oss_object: Optional[str] = None,
|
|
897
|
+
progress: Optional[str] = None,
|
|
898
|
+
remain_time: Optional[int] = None,
|
|
887
899
|
size: Optional[int] = None,
|
|
888
900
|
snapshot_id: Optional[str] = None):
|
|
889
901
|
"""
|
|
890
|
-
:param str device:
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
:param str
|
|
902
|
+
:param str device: The device name of disk N in the custom image. Valid values:
|
|
903
|
+
- 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.
|
|
904
|
+
- For basic disks, the valid values range from /dev/xvda to /dev/xvdz in alphabetical order.
|
|
905
|
+
:param 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:
|
|
906
|
+
- system: system disk. You can specify only one snapshot to use to create the system disk in the custom image.
|
|
907
|
+
- data: data disk. You can specify up to 16 snapshots to use to create data disks in the custom image.
|
|
908
|
+
:param str format: Image format.
|
|
909
|
+
:param str import_oss_bucket: Import the bucket of the OSS to which the image belongs.
|
|
910
|
+
:param str import_oss_object: Import the object of the OSS to which the image file belongs.
|
|
911
|
+
:param str progress: Copy the progress of the task.
|
|
912
|
+
:param int remain_time: For an image being replicated, return the remaining time of the replication task, in seconds.
|
|
913
|
+
:param 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.
|
|
914
|
+
- 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:
|
|
915
|
+
* For basic disks, the valid values range from 5 to 2000, and the default value is 5.
|
|
916
|
+
* For other disks, the valid values range from 20 to 32768, and the default value is 20.
|
|
917
|
+
- 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.
|
|
918
|
+
:param str snapshot_id: The ID of snapshot N to use to create the custom image. .
|
|
894
919
|
"""
|
|
895
920
|
if device is not None:
|
|
896
921
|
pulumi.set(__self__, "device", device)
|
|
897
922
|
if disk_type is not None:
|
|
898
923
|
pulumi.set(__self__, "disk_type", disk_type)
|
|
924
|
+
if format is not None:
|
|
925
|
+
pulumi.set(__self__, "format", format)
|
|
926
|
+
if import_oss_bucket is not None:
|
|
927
|
+
pulumi.set(__self__, "import_oss_bucket", import_oss_bucket)
|
|
928
|
+
if import_oss_object is not None:
|
|
929
|
+
pulumi.set(__self__, "import_oss_object", import_oss_object)
|
|
930
|
+
if progress is not None:
|
|
931
|
+
pulumi.set(__self__, "progress", progress)
|
|
932
|
+
if remain_time is not None:
|
|
933
|
+
pulumi.set(__self__, "remain_time", remain_time)
|
|
899
934
|
if size is not None:
|
|
900
935
|
pulumi.set(__self__, "size", size)
|
|
901
936
|
if snapshot_id is not None:
|
|
@@ -905,7 +940,9 @@ class ImageDiskDeviceMapping(dict):
|
|
|
905
940
|
@pulumi.getter
|
|
906
941
|
def device(self) -> Optional[str]:
|
|
907
942
|
"""
|
|
908
|
-
|
|
943
|
+
The device name of disk N in the custom image. Valid values:
|
|
944
|
+
- 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.
|
|
945
|
+
- For basic disks, the valid values range from /dev/xvda to /dev/xvdz in alphabetical order.
|
|
909
946
|
"""
|
|
910
947
|
return pulumi.get(self, "device")
|
|
911
948
|
|
|
@@ -913,15 +950,61 @@ class ImageDiskDeviceMapping(dict):
|
|
|
913
950
|
@pulumi.getter(name="diskType")
|
|
914
951
|
def disk_type(self) -> Optional[str]:
|
|
915
952
|
"""
|
|
916
|
-
|
|
953
|
+
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:
|
|
954
|
+
- system: system disk. You can specify only one snapshot to use to create the system disk in the custom image.
|
|
955
|
+
- data: data disk. You can specify up to 16 snapshots to use to create data disks in the custom image.
|
|
917
956
|
"""
|
|
918
957
|
return pulumi.get(self, "disk_type")
|
|
919
958
|
|
|
959
|
+
@property
|
|
960
|
+
@pulumi.getter
|
|
961
|
+
def format(self) -> Optional[str]:
|
|
962
|
+
"""
|
|
963
|
+
Image format.
|
|
964
|
+
"""
|
|
965
|
+
return pulumi.get(self, "format")
|
|
966
|
+
|
|
967
|
+
@property
|
|
968
|
+
@pulumi.getter(name="importOssBucket")
|
|
969
|
+
def import_oss_bucket(self) -> Optional[str]:
|
|
970
|
+
"""
|
|
971
|
+
Import the bucket of the OSS to which the image belongs.
|
|
972
|
+
"""
|
|
973
|
+
return pulumi.get(self, "import_oss_bucket")
|
|
974
|
+
|
|
975
|
+
@property
|
|
976
|
+
@pulumi.getter(name="importOssObject")
|
|
977
|
+
def import_oss_object(self) -> Optional[str]:
|
|
978
|
+
"""
|
|
979
|
+
Import the object of the OSS to which the image file belongs.
|
|
980
|
+
"""
|
|
981
|
+
return pulumi.get(self, "import_oss_object")
|
|
982
|
+
|
|
983
|
+
@property
|
|
984
|
+
@pulumi.getter
|
|
985
|
+
def progress(self) -> Optional[str]:
|
|
986
|
+
"""
|
|
987
|
+
Copy the progress of the task.
|
|
988
|
+
"""
|
|
989
|
+
return pulumi.get(self, "progress")
|
|
990
|
+
|
|
991
|
+
@property
|
|
992
|
+
@pulumi.getter(name="remainTime")
|
|
993
|
+
def remain_time(self) -> Optional[int]:
|
|
994
|
+
"""
|
|
995
|
+
For an image being replicated, return the remaining time of the replication task, in seconds.
|
|
996
|
+
"""
|
|
997
|
+
return pulumi.get(self, "remain_time")
|
|
998
|
+
|
|
920
999
|
@property
|
|
921
1000
|
@pulumi.getter
|
|
922
1001
|
def size(self) -> Optional[int]:
|
|
923
1002
|
"""
|
|
924
|
-
|
|
1003
|
+
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.
|
|
1004
|
+
- 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:
|
|
1005
|
+
* For basic disks, the valid values range from 5 to 2000, and the default value is 5.
|
|
1006
|
+
* For other disks, the valid values range from 20 to 32768, and the default value is 20.
|
|
1007
|
+
- 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.
|
|
925
1008
|
"""
|
|
926
1009
|
return pulumi.get(self, "size")
|
|
927
1010
|
|
|
@@ -929,11 +1012,51 @@ class ImageDiskDeviceMapping(dict):
|
|
|
929
1012
|
@pulumi.getter(name="snapshotId")
|
|
930
1013
|
def snapshot_id(self) -> Optional[str]:
|
|
931
1014
|
"""
|
|
932
|
-
|
|
1015
|
+
The ID of snapshot N to use to create the custom image. .
|
|
933
1016
|
"""
|
|
934
1017
|
return pulumi.get(self, "snapshot_id")
|
|
935
1018
|
|
|
936
1019
|
|
|
1020
|
+
@pulumi.output_type
|
|
1021
|
+
class ImageFeatures(dict):
|
|
1022
|
+
@staticmethod
|
|
1023
|
+
def __key_warning(key: str):
|
|
1024
|
+
suggest = None
|
|
1025
|
+
if key == "nvmeSupport":
|
|
1026
|
+
suggest = "nvme_support"
|
|
1027
|
+
|
|
1028
|
+
if suggest:
|
|
1029
|
+
pulumi.log.warn(f"Key '{key}' not found in ImageFeatures. Access the value via the '{suggest}' property getter instead.")
|
|
1030
|
+
|
|
1031
|
+
def __getitem__(self, key: str) -> Any:
|
|
1032
|
+
ImageFeatures.__key_warning(key)
|
|
1033
|
+
return super().__getitem__(key)
|
|
1034
|
+
|
|
1035
|
+
def get(self, key: str, default = None) -> Any:
|
|
1036
|
+
ImageFeatures.__key_warning(key)
|
|
1037
|
+
return super().get(key, default)
|
|
1038
|
+
|
|
1039
|
+
def __init__(__self__, *,
|
|
1040
|
+
nvme_support: Optional[str] = None):
|
|
1041
|
+
"""
|
|
1042
|
+
:param str nvme_support: Specifies whether to support the Non-Volatile Memory Express (NVMe) protocol. Valid values:
|
|
1043
|
+
- supported: The image supports NVMe. Instances created from this image also support NVMe.
|
|
1044
|
+
- unsupported: The image does not support NVMe. Instances created from this image do not support NVMe.
|
|
1045
|
+
"""
|
|
1046
|
+
if nvme_support is not None:
|
|
1047
|
+
pulumi.set(__self__, "nvme_support", nvme_support)
|
|
1048
|
+
|
|
1049
|
+
@property
|
|
1050
|
+
@pulumi.getter(name="nvmeSupport")
|
|
1051
|
+
def nvme_support(self) -> Optional[str]:
|
|
1052
|
+
"""
|
|
1053
|
+
Specifies whether to support the Non-Volatile Memory Express (NVMe) protocol. Valid values:
|
|
1054
|
+
- supported: The image supports NVMe. Instances created from this image also support NVMe.
|
|
1055
|
+
- unsupported: The image does not support NVMe. Instances created from this image do not support NVMe.
|
|
1056
|
+
"""
|
|
1057
|
+
return pulumi.get(self, "nvme_support")
|
|
1058
|
+
|
|
1059
|
+
|
|
937
1060
|
@pulumi.output_type
|
|
938
1061
|
class ImageImportDiskDeviceMapping(dict):
|
|
939
1062
|
@staticmethod
|