pulumi-alicloud 3.59.0__py3-none-any.whl → 3.59.0a1720502311__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 +0 -48
- pulumi_alicloud/adb/resource_group.py +119 -115
- pulumi_alicloud/clickhouse/get_regions.py +2 -2
- pulumi_alicloud/cloudstoragegateway/gateway_cache_disk.py +27 -150
- pulumi_alicloud/dfs/file_system.py +19 -52
- pulumi_alicloud/ecs/_inputs.py +8 -132
- pulumi_alicloud/ecs/image.py +121 -607
- pulumi_alicloud/ecs/outputs.py +8 -131
- pulumi_alicloud/emrv2/_inputs.py +0 -490
- pulumi_alicloud/emrv2/cluster.py +14 -14
- pulumi_alicloud/emrv2/outputs.py +0 -500
- pulumi_alicloud/ens/__init__.py +0 -2
- pulumi_alicloud/ens/instance.py +17 -16
- pulumi_alicloud/ess/eci_scaling_configuration.py +0 -94
- pulumi_alicloud/ess/scaling_group.py +0 -94
- pulumi_alicloud/ga/bandwidth_package_attachment.py +34 -34
- pulumi_alicloud/ga/listener.py +0 -122
- pulumi_alicloud/gpdb/__init__.py +0 -4
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/redis/tair_instance.py +67 -161
- {pulumi_alicloud-3.59.0.dist-info → pulumi_alicloud-3.59.0a1720502311.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.59.0.dist-info → pulumi_alicloud-3.59.0a1720502311.dist-info}/RECORD +24 -30
- {pulumi_alicloud-3.59.0.dist-info → pulumi_alicloud-3.59.0a1720502311.dist-info}/WHEEL +1 -1
- pulumi_alicloud/ens/eip_instance_attachment.py +0 -480
- pulumi_alicloud/ens/nat_gateway.py +0 -458
- pulumi_alicloud/gpdb/external_data_service.py +0 -485
- pulumi_alicloud/gpdb/remote_adb_data_source.py +0 -763
- pulumi_alicloud/gpdb/streaming_data_service.py +0 -481
- pulumi_alicloud/gpdb/streaming_data_source.py +0 -645
- {pulumi_alicloud-3.59.0.dist-info → pulumi_alicloud-3.59.0a1720502311.dist-info}/top_level.txt +0 -0
pulumi_alicloud/ecs/outputs.py
CHANGED
|
@@ -21,7 +21,6 @@ __all__ = [
|
|
|
21
21
|
'EcsLaunchTemplateSystemDisk',
|
|
22
22
|
'EcsPrefixListEntry',
|
|
23
23
|
'ImageDiskDeviceMapping',
|
|
24
|
-
'ImageFeatures',
|
|
25
24
|
'ImageImportDiskDeviceMapping',
|
|
26
25
|
'InstanceDataDisk',
|
|
27
26
|
'InstanceMaintenanceTime',
|
|
@@ -868,12 +867,6 @@ class ImageDiskDeviceMapping(dict):
|
|
|
868
867
|
suggest = None
|
|
869
868
|
if key == "diskType":
|
|
870
869
|
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"
|
|
877
870
|
elif key == "snapshotId":
|
|
878
871
|
suggest = "snapshot_id"
|
|
879
872
|
|
|
@@ -891,46 +884,18 @@ class ImageDiskDeviceMapping(dict):
|
|
|
891
884
|
def __init__(__self__, *,
|
|
892
885
|
device: Optional[str] = None,
|
|
893
886
|
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,
|
|
899
887
|
size: Optional[int] = None,
|
|
900
888
|
snapshot_id: Optional[str] = None):
|
|
901
889
|
"""
|
|
902
|
-
:param str device:
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
:param str
|
|
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. .
|
|
890
|
+
:param str device: Specifies the name of a disk in the combined custom image. Value range: /dev/xvda to /dev/xvdz.
|
|
891
|
+
:param str disk_type: Specifies the type of a disk in the combined custom image. If you specify this parameter, you can use a data disk snapshot as the data source of a system disk for creating an image. If it is not specified, the disk type is determined by the corresponding snapshot. Valid values: `system`, `data`,
|
|
892
|
+
:param int size: Specifies the size of a disk in the combined custom image, in GiB. Value range: 5 to 2000.
|
|
893
|
+
:param str snapshot_id: Specifies a snapshot that is used to create a combined custom image.
|
|
919
894
|
"""
|
|
920
895
|
if device is not None:
|
|
921
896
|
pulumi.set(__self__, "device", device)
|
|
922
897
|
if disk_type is not None:
|
|
923
898
|
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)
|
|
934
899
|
if size is not None:
|
|
935
900
|
pulumi.set(__self__, "size", size)
|
|
936
901
|
if snapshot_id is not None:
|
|
@@ -940,9 +905,7 @@ class ImageDiskDeviceMapping(dict):
|
|
|
940
905
|
@pulumi.getter
|
|
941
906
|
def device(self) -> Optional[str]:
|
|
942
907
|
"""
|
|
943
|
-
|
|
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.
|
|
908
|
+
Specifies the name of a disk in the combined custom image. Value range: /dev/xvda to /dev/xvdz.
|
|
946
909
|
"""
|
|
947
910
|
return pulumi.get(self, "device")
|
|
948
911
|
|
|
@@ -950,61 +913,15 @@ class ImageDiskDeviceMapping(dict):
|
|
|
950
913
|
@pulumi.getter(name="diskType")
|
|
951
914
|
def disk_type(self) -> Optional[str]:
|
|
952
915
|
"""
|
|
953
|
-
|
|
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.
|
|
916
|
+
Specifies the type of a disk in the combined custom image. If you specify this parameter, you can use a data disk snapshot as the data source of a system disk for creating an image. If it is not specified, the disk type is determined by the corresponding snapshot. Valid values: `system`, `data`,
|
|
956
917
|
"""
|
|
957
918
|
return pulumi.get(self, "disk_type")
|
|
958
919
|
|
|
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
|
-
|
|
999
920
|
@property
|
|
1000
921
|
@pulumi.getter
|
|
1001
922
|
def size(self) -> Optional[int]:
|
|
1002
923
|
"""
|
|
1003
|
-
|
|
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.
|
|
924
|
+
Specifies the size of a disk in the combined custom image, in GiB. Value range: 5 to 2000.
|
|
1008
925
|
"""
|
|
1009
926
|
return pulumi.get(self, "size")
|
|
1010
927
|
|
|
@@ -1012,51 +929,11 @@ class ImageDiskDeviceMapping(dict):
|
|
|
1012
929
|
@pulumi.getter(name="snapshotId")
|
|
1013
930
|
def snapshot_id(self) -> Optional[str]:
|
|
1014
931
|
"""
|
|
1015
|
-
|
|
932
|
+
Specifies a snapshot that is used to create a combined custom image.
|
|
1016
933
|
"""
|
|
1017
934
|
return pulumi.get(self, "snapshot_id")
|
|
1018
935
|
|
|
1019
936
|
|
|
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
|
-
|
|
1060
937
|
@pulumi.output_type
|
|
1061
938
|
class ImageImportDiskDeviceMapping(dict):
|
|
1062
939
|
@staticmethod
|