huaweicloudsdkims 3.0.42rc0__py3-none-any.whl → 3.1.160__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.
- huaweicloudsdkims/v2/__init__.py +31 -3
- huaweicloudsdkims/v2/ims_async_client.py +2198 -1356
- huaweicloudsdkims/v2/ims_client.py +2188 -1347
- huaweicloudsdkims/v2/model/__init__.py +30 -1
- huaweicloudsdkims/v2/model/add_image_tag_request.py +26 -19
- huaweicloudsdkims/v2/model/add_image_tag_request_body.py +19 -16
- huaweicloudsdkims/v2/model/add_image_tag_response.py +14 -10
- huaweicloudsdkims/v2/model/add_or_update_tags_request_body.py +29 -22
- huaweicloudsdkims/v2/model/additional_properties.py +18 -13
- huaweicloudsdkims/v2/model/batch_add_members_request.py +19 -16
- huaweicloudsdkims/v2/model/batch_add_members_request_body.py +84 -19
- huaweicloudsdkims/v2/model/batch_add_members_response.py +19 -13
- huaweicloudsdkims/v2/model/batch_add_or_delete_tags_request.py +26 -19
- huaweicloudsdkims/v2/model/batch_add_or_delete_tags_request_body.py +24 -17
- huaweicloudsdkims/v2/model/batch_add_or_delete_tags_response.py +14 -10
- huaweicloudsdkims/v2/model/batch_delete_members_request.py +19 -16
- huaweicloudsdkims/v2/model/batch_delete_members_response.py +19 -13
- huaweicloudsdkims/v2/model/batch_delete_tags_request.py +139 -0
- huaweicloudsdkims/v2/model/batch_delete_tags_request_body.py +114 -0
- huaweicloudsdkims/v2/model/batch_delete_tags_response.py +85 -0
- huaweicloudsdkims/v2/model/batch_update_members_request.py +19 -16
- huaweicloudsdkims/v2/model/batch_update_members_request_body.py +33 -22
- huaweicloudsdkims/v2/model/batch_update_members_response.py +19 -13
- huaweicloudsdkims/v2/model/copy_image_cross_region_request.py +26 -19
- huaweicloudsdkims/v2/model/copy_image_cross_region_request_body.py +70 -28
- huaweicloudsdkims/v2/model/copy_image_cross_region_response.py +19 -13
- huaweicloudsdkims/v2/model/copy_image_in_region_in_safe_mode_request.py +139 -0
- huaweicloudsdkims/v2/model/copy_image_in_region_in_safe_mode_response.py +116 -0
- huaweicloudsdkims/v2/model/copy_image_in_region_request.py +26 -19
- huaweicloudsdkims/v2/model/copy_image_in_region_request_body.py +33 -22
- huaweicloudsdkims/v2/model/copy_image_in_region_response.py +19 -13
- huaweicloudsdkims/v2/model/create_data_image.py +33 -22
- huaweicloudsdkims/v2/model/create_data_image_in_safe_mode_request.py +111 -0
- huaweicloudsdkims/v2/model/create_data_image_in_safe_mode_response.py +116 -0
- huaweicloudsdkims/v2/model/create_data_image_request.py +19 -16
- huaweicloudsdkims/v2/model/create_data_image_request_body.py +63 -41
- huaweicloudsdkims/v2/model/create_data_image_response.py +19 -13
- huaweicloudsdkims/v2/model/create_image_in_safe_mode_request.py +111 -0
- huaweicloudsdkims/v2/model/create_image_in_safe_mode_response.py +116 -0
- huaweicloudsdkims/v2/model/create_image_request.py +19 -16
- huaweicloudsdkims/v2/model/create_image_request_body.py +139 -70
- huaweicloudsdkims/v2/model/create_image_response.py +19 -13
- huaweicloudsdkims/v2/model/create_or_update_tags_request.py +19 -16
- huaweicloudsdkims/v2/model/create_or_update_tags_response.py +14 -10
- huaweicloudsdkims/v2/model/create_whole_image_request.py +19 -16
- huaweicloudsdkims/v2/model/create_whole_image_request_body.py +74 -50
- huaweicloudsdkims/v2/model/create_whole_image_response.py +19 -13
- huaweicloudsdkims/v2/model/delete_image_tag_request.py +27 -16
- huaweicloudsdkims/v2/model/delete_image_tag_response.py +14 -10
- huaweicloudsdkims/v2/model/export_image_in_safe_mode_request.py +139 -0
- huaweicloudsdkims/v2/model/export_image_in_safe_mode_response.py +116 -0
- huaweicloudsdkims/v2/model/export_image_request.py +26 -19
- huaweicloudsdkims/v2/model/export_image_request_body.py +55 -19
- huaweicloudsdkims/v2/model/export_image_response.py +19 -13
- huaweicloudsdkims/v2/model/glance_add_image_member_request.py +26 -19
- huaweicloudsdkims/v2/model/glance_add_image_member_request_body.py +18 -13
- huaweicloudsdkims/v2/model/glance_add_image_member_response.py +105 -31
- huaweicloudsdkims/v2/model/glance_create_image_metadata_request.py +19 -16
- huaweicloudsdkims/v2/model/glance_create_image_metadata_request_body.py +58 -37
- huaweicloudsdkims/v2/model/glance_create_image_metadata_response.py +239 -94
- huaweicloudsdkims/v2/model/glance_create_tag_request.py +27 -16
- huaweicloudsdkims/v2/model/glance_create_tag_response.py +14 -10
- huaweicloudsdkims/v2/model/glance_delete_image_member_request.py +27 -16
- huaweicloudsdkims/v2/model/glance_delete_image_member_response.py +14 -10
- huaweicloudsdkims/v2/model/glance_delete_image_request.py +26 -19
- huaweicloudsdkims/v2/model/glance_delete_image_request_body.py +18 -13
- huaweicloudsdkims/v2/model/glance_delete_image_response.py +14 -10
- huaweicloudsdkims/v2/model/glance_delete_tag_request.py +27 -16
- huaweicloudsdkims/v2/model/glance_delete_tag_response.py +14 -10
- huaweicloudsdkims/v2/model/glance_image_members.py +104 -31
- huaweicloudsdkims/v2/model/glance_list_image_member_schemas_request.py +13 -10
- huaweicloudsdkims/v2/model/glance_list_image_member_schemas_response.py +30 -20
- huaweicloudsdkims/v2/model/glance_list_image_members_request.py +20 -13
- huaweicloudsdkims/v2/model/glance_list_image_members_response.py +25 -17
- huaweicloudsdkims/v2/model/glance_list_image_schemas_request.py +13 -10
- huaweicloudsdkims/v2/model/glance_list_image_schemas_response.py +30 -20
- huaweicloudsdkims/v2/model/glance_list_images_request.py +237 -106
- huaweicloudsdkims/v2/model/glance_list_images_response.py +36 -24
- huaweicloudsdkims/v2/model/glance_show_image_list_response_body.py +1833 -0
- huaweicloudsdkims/v2/model/glance_show_image_member_request.py +27 -16
- huaweicloudsdkims/v2/model/glance_show_image_member_response.py +105 -31
- huaweicloudsdkims/v2/model/glance_show_image_member_schemas_request.py +13 -10
- huaweicloudsdkims/v2/model/glance_show_image_member_schemas_response.py +24 -16
- huaweicloudsdkims/v2/model/glance_show_image_request.py +20 -13
- huaweicloudsdkims/v2/model/glance_show_image_response.py +631 -210
- huaweicloudsdkims/v2/model/glance_show_image_schemas_request.py +13 -10
- huaweicloudsdkims/v2/model/glance_show_image_schemas_response.py +36 -26
- huaweicloudsdkims/v2/model/glance_update_image_member_request.py +33 -22
- huaweicloudsdkims/v2/model/glance_update_image_member_request_body.py +23 -16
- huaweicloudsdkims/v2/model/glance_update_image_member_response.py +105 -31
- huaweicloudsdkims/v2/model/glance_update_image_request.py +26 -19
- huaweicloudsdkims/v2/model/glance_update_image_request_body.py +28 -19
- huaweicloudsdkims/v2/model/glance_update_image_response.py +631 -210
- huaweicloudsdkims/v2/model/image_info.py +616 -260
- huaweicloudsdkims/v2/model/image_member.py +310 -0
- huaweicloudsdkims/v2/model/image_tag.py +23 -16
- huaweicloudsdkims/v2/model/import_image_quick_in_safe_mode_request.py +111 -0
- huaweicloudsdkims/v2/model/import_image_quick_in_safe_mode_response.py +116 -0
- huaweicloudsdkims/v2/model/import_image_quick_request.py +19 -16
- huaweicloudsdkims/v2/model/import_image_quick_response.py +19 -13
- huaweicloudsdkims/v2/model/job_entities.py +340 -16
- huaweicloudsdkims/v2/model/job_entities_result.py +173 -0
- huaweicloudsdkims/v2/model/job_progress_entities.py +289 -0
- huaweicloudsdkims/v2/model/links.py +23 -16
- huaweicloudsdkims/v2/model/list_image_by_tags_request.py +19 -16
- huaweicloudsdkims/v2/model/list_image_by_tags_request_body.py +90 -42
- huaweicloudsdkims/v2/model/list_image_by_tags_response.py +25 -17
- huaweicloudsdkims/v2/model/list_image_members_request.py +114 -0
- huaweicloudsdkims/v2/model/list_image_members_response.py +145 -0
- huaweicloudsdkims/v2/model/list_image_tags_request.py +20 -13
- huaweicloudsdkims/v2/model/list_image_tags_response.py +20 -14
- huaweicloudsdkims/v2/model/list_images_request.py +272 -121
- huaweicloudsdkims/v2/model/list_images_response.py +20 -14
- huaweicloudsdkims/v2/model/list_images_tags_request.py +13 -10
- huaweicloudsdkims/v2/model/list_images_tags_response.py +20 -14
- huaweicloudsdkims/v2/model/list_os_versions_request.py +20 -13
- huaweicloudsdkims/v2/model/list_os_versions_response.py +20 -16
- huaweicloudsdkims/v2/model/list_os_versions_response_body.py +24 -17
- huaweicloudsdkims/v2/model/list_tags_request.py +118 -55
- huaweicloudsdkims/v2/model/list_tags_response.py +19 -13
- huaweicloudsdkims/v2/model/list_versions_request.py +84 -0
- huaweicloudsdkims/v2/model/list_versions_response.py +116 -0
- huaweicloudsdkims/v2/model/os_version_info.py +38 -25
- huaweicloudsdkims/v2/model/os_version_response.py +172 -0
- huaweicloudsdkims/v2/model/query_image_by_tags_resource_detail.py +18 -13
- huaweicloudsdkims/v2/model/quick_import_image_by_file_request_body.py +130 -47
- huaweicloudsdkims/v2/model/quota.py +19 -14
- huaweicloudsdkims/v2/model/quota_info.py +38 -25
- huaweicloudsdkims/v2/model/register_image_request.py +26 -19
- huaweicloudsdkims/v2/model/register_image_request_body.py +18 -13
- huaweicloudsdkims/v2/model/register_image_response.py +19 -13
- huaweicloudsdkims/v2/model/resource_tag.py +23 -16
- huaweicloudsdkims/v2/model/show_image_by_tags_resource.py +47 -38
- huaweicloudsdkims/v2/model/show_image_member_request.py +142 -0
- huaweicloudsdkims/v2/model/show_image_member_response.py +319 -0
- huaweicloudsdkims/v2/model/show_image_quota_request.py +13 -10
- huaweicloudsdkims/v2/model/show_image_quota_response.py +20 -16
- huaweicloudsdkims/v2/model/show_job_progress_request.py +114 -0
- huaweicloudsdkims/v2/model/show_job_progress_response.py +315 -0
- huaweicloudsdkims/v2/model/show_job_request.py +20 -13
- huaweicloudsdkims/v2/model/show_job_response.py +55 -37
- huaweicloudsdkims/v2/model/show_version_request.py +114 -0
- huaweicloudsdkims/v2/model/show_version_response.py +116 -0
- huaweicloudsdkims/v2/model/sub_job_entities.py +144 -0
- huaweicloudsdkims/v2/model/sub_job_result.py +314 -0
- huaweicloudsdkims/v2/model/tag_key_value.py +23 -16
- huaweicloudsdkims/v2/model/tags.py +23 -16
- huaweicloudsdkims/v2/model/update_image_request.py +26 -19
- huaweicloudsdkims/v2/model/update_image_request_body.py +29 -21
- huaweicloudsdkims/v2/model/update_image_response.py +600 -254
- huaweicloudsdkims/v2/region/ims_region.py +101 -42
- {huaweicloudsdkims-3.0.42rc0.dist-info → huaweicloudsdkims-3.1.160.dist-info}/METADATA +9 -9
- huaweicloudsdkims-3.1.160.dist-info/RECORD +158 -0
- {huaweicloudsdkims-3.0.42rc0.dist-info → huaweicloudsdkims-3.1.160.dist-info}/WHEEL +1 -1
- huaweicloudsdkims/v2/model/glance_show_image_response_body.py +0 -1357
- huaweicloudsdkims-3.0.42rc0.dist-info/RECORD +0 -129
- {huaweicloudsdkims-3.0.42rc0.dist-info → huaweicloudsdkims-3.1.160.dist-info}/LICENSE +0 -0
- {huaweicloudsdkims-3.0.42rc0.dist-info → huaweicloudsdkims-3.1.160.dist-info}/top_level.txt +0 -0
@@ -1,17 +1,12 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
|
-
import pprint
|
4
|
-
import re
|
5
|
-
|
6
3
|
import six
|
7
4
|
|
8
|
-
|
9
|
-
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
10
6
|
|
11
7
|
|
12
8
|
class ListImagesRequest:
|
13
9
|
|
14
|
-
|
15
10
|
"""
|
16
11
|
Attributes:
|
17
12
|
openapi_types (dict): The key is attribute name
|
@@ -19,7 +14,6 @@ class ListImagesRequest:
|
|
19
14
|
attribute_map (dict): The key is attribute name
|
20
15
|
and the value is json key in definition.
|
21
16
|
"""
|
22
|
-
|
23
17
|
sensitive_list = []
|
24
18
|
|
25
19
|
openapi_types = {
|
@@ -103,7 +97,85 @@ class ListImagesRequest:
|
|
103
97
|
}
|
104
98
|
|
105
99
|
def __init__(self, imagetype=None, isregistered=None, os_bit=None, os_type=None, platform=None, support_diskintensive=None, support_highperformance=None, support_kvm=None, support_kvm_gpu_type=None, support_kvm_infiniband=None, support_largememory=None, support_xen=None, support_xen_gpu_type=None, support_xen_hana=None, container_format=None, disk_format=None, enterprise_project_id=None, id=None, limit=None, marker=None, member_status=None, min_disk=None, min_ram=None, name=None, owner=None, protected=None, sort_dir=None, sort_key=None, status=None, tag=None, virtual_env_type=None, visibility=None, x_sdk_date=None, flavor_id=None, created_at=None, updated_at=None, architecture=None):
|
106
|
-
"""ListImagesRequest
|
100
|
+
r"""ListImagesRequest
|
101
|
+
|
102
|
+
The model defined in huaweicloud sdk
|
103
|
+
|
104
|
+
:param imagetype: 镜像类型,目前支持以下类型: 公共镜像:gold 私有镜像:private 共享镜像:shared 市场镜像:market
|
105
|
+
:type imagetype: str
|
106
|
+
:param isregistered: 镜像是否可用,取值为true,扩展接口会默认为true,普通用户只能查询取值为true的镜像。
|
107
|
+
:type isregistered: str
|
108
|
+
:param os_bit: 操作系统位数,一般取值为32或者64。
|
109
|
+
:type os_bit: str
|
110
|
+
:param os_type: 镜像系统类型,取值为Linux,Windows,Other。
|
111
|
+
:type os_type: str
|
112
|
+
:param platform: 镜像平台分类
|
113
|
+
:type platform: str
|
114
|
+
:param support_diskintensive: 表示该镜像支持密集存储。如果镜像支持密集存储性能,则值为true,否则无需增加该属性。
|
115
|
+
:type support_diskintensive: str
|
116
|
+
:param support_highperformance: 表示该镜像支持高计算性能。如果镜像支持高计算性能,则值为true,否则无需增加该属性。
|
117
|
+
:type support_highperformance: str
|
118
|
+
:param support_kvm: 如果镜像支持KVM,取值为true,否则无需增加该属性。
|
119
|
+
:type support_kvm: str
|
120
|
+
:param support_kvm_gpu_type: 表示该镜像是支持KVM虚拟化平台下的GPU类型,如果不支持KVM虚拟机下GPU类型,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存。
|
121
|
+
:type support_kvm_gpu_type: str
|
122
|
+
:param support_kvm_infiniband: 如果镜像支持KVM虚拟化下Infiniband网卡类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”属性不共存。
|
123
|
+
:type support_kvm_infiniband: str
|
124
|
+
:param support_largememory: 表示该镜像支持超大内存。如果镜像支持超大内存,取值为true,否则无需增加该属性。
|
125
|
+
:type support_largememory: str
|
126
|
+
:param support_xen: 如果镜像支持XEN,取值为true,否则无需增加该属性。
|
127
|
+
:type support_xen: str
|
128
|
+
:param support_xen_gpu_type: 表示该镜像是支持XEN虚拟化平台下的GPU优化类型,如果不支持XEN虚拟化下GPU类型,无需添加该属性 。该属性与“__support_xen”和“__support_kvm”属性不共存。
|
129
|
+
:type support_xen_gpu_type: str
|
130
|
+
:param support_xen_hana: 如果镜像支持XEN虚拟化下HANA类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存。
|
131
|
+
:type support_xen_hana: str
|
132
|
+
:param container_format: 容器类型
|
133
|
+
:type container_format: str
|
134
|
+
:param disk_format: 镜像格式,目前支持vhd,zvhd、raw,qcow2,zvhd2。默认值是vhd。
|
135
|
+
:type disk_format: str
|
136
|
+
:param enterprise_project_id: 表示查询某个企业项目下的镜像。 取值为0,表示查询属于default企业项目下的镜像。 取值为UUID,表示查询属于该UUID对应的企业项目下的镜像。取值为all_granted_eps,表示查询当前用户所有企业项目下的镜像。 关于企业项目ID的获取及企业项目特性的详细信息,请参考《企业管理用户指南》。
|
137
|
+
:type enterprise_project_id: str
|
138
|
+
:param id: 镜像ID
|
139
|
+
:type id: str
|
140
|
+
:param limit: 用于分页,表示查询几条镜像记录,取值为整数,默认取值为500。
|
141
|
+
:type limit: int
|
142
|
+
:param marker: 用于分页,表示从哪个镜像开始查询,取值为镜像ID。
|
143
|
+
:type marker: str
|
144
|
+
:param member_status: 成员状态。目前取值有accepted、rejected、pending。accepted表示已经接受共享的镜像,rejected表示已经拒绝了其他用户共享的镜像,pending表示需要确认的其他用户的共享镜像。需要在查询时设置“visibility”参数为“shared”。
|
145
|
+
:type member_status: str
|
146
|
+
:param min_disk: 镜像运行需要的最小磁盘,单位为GB 。取值为40~1024GB。
|
147
|
+
:type min_disk: int
|
148
|
+
:param min_ram: 镜像运行需要的最小内存,单位为MB。参数取值依据弹性云服务器的规格限制,一般设置为0。
|
149
|
+
:type min_ram: int
|
150
|
+
:param name: 镜像名称
|
151
|
+
:type name: str
|
152
|
+
:param owner: 镜像属于哪个租户
|
153
|
+
:type owner: str
|
154
|
+
:param protected: 镜像是否是受保护,取值为true/false,一般查询公共镜像时候取值为true,查询私有镜像可以不指定。
|
155
|
+
:type protected: bool
|
156
|
+
:param sort_dir: 用于排序,表示升序还是降序,取值为asc和desc。与sort_key一起组合使用,默认为降序desc。
|
157
|
+
:type sort_dir: str
|
158
|
+
:param sort_key: 用于排序,表示按照哪个字段排序。取值为镜像属性name,container_format,disk_format,status ,id,size字段,默认为创建时间。
|
159
|
+
:type sort_key: str
|
160
|
+
:param status: 镜像状态。取值如下: queued:表示镜像元数据已经创建成功,等待上传镜像文件。 saving:表示镜像正在上传文件到后端存储。 deleted:表示镜像已经删除。 killed:表示镜像上传错误。 active:表示镜像可以正常使用。
|
161
|
+
:type status: str
|
162
|
+
:param tag: 标签,用户为镜像增加自定义标签后可以通过该参数过滤查询。
|
163
|
+
:type tag: str
|
164
|
+
:param virtual_env_type: 镜像使用环境类型:FusionCompute,Ironic,DataImage。如果弹性云服务器镜像,则取值为FusionCompute,如果是数据卷镜像则取值是DataImage,如果是裸金属服务器镜像,则取值是Ironic。
|
165
|
+
:type virtual_env_type: str
|
166
|
+
:param visibility: 是否被其他租户可见,取值为public、private或shared
|
167
|
+
:type visibility: str
|
168
|
+
:param x_sdk_date: 请求的发生时间,格式为YYYYMMDDTHHMMSSZ。取值为当前系统的GMT时间。使用AK/SK认证时该字段必选
|
169
|
+
:type x_sdk_date: str
|
170
|
+
:param flavor_id: 用于通过云服务器规格过滤出可用公共镜像,取值为规格ID。 当前仅支持通过单个规格进行过滤。
|
171
|
+
:type flavor_id: str
|
172
|
+
:param created_at: 镜像创建时间。支持按照时间点过滤查询,取值格式为“操作符:UTC时间”。 其中操作符支持如下几种: gt:大于 gte:大于等于 lt:小于 lte:小于等于 eq:等于 neq:不等于 时间格式支持:yyyy-MM-ddThh:mm:ssZ或者yyyy-MM-dd hh:mm:ss 例如,查询创建时间在2018-10-28 10:00:00之前的镜像,可以通过如下条件过滤: created_at=gt:2018-10-28T10:00:00Z
|
173
|
+
:type created_at: str
|
174
|
+
:param updated_at: 镜像修改时间。支持按照时间点过滤查询,取值格式为“ 操作符:UTC时间”。 其中操作符支持如下几种: gt:大于 gte:大于等于 lt:小于 lte:小于等于 eq:等于 neq:不等于 时间格式支持:yyyy-MM-ddThh:mm:ssZ或者yyyy-MM-dd hh:mm:ss 例如,查询修改时间在2018-10-28 10:00:00之前的镜像,可以通过如下条件过滤: updated_at=gt:2018-10-28T10:00:00Z
|
175
|
+
:type updated_at: str
|
176
|
+
:param architecture: 镜像架构类型。取值包括: x86 arm
|
177
|
+
:type architecture: str
|
178
|
+
"""
|
107
179
|
|
108
180
|
|
109
181
|
|
@@ -223,8 +295,9 @@ class ListImagesRequest:
|
|
223
295
|
|
224
296
|
@property
|
225
297
|
def imagetype(self):
|
226
|
-
"""Gets the imagetype of this ListImagesRequest.
|
298
|
+
r"""Gets the imagetype of this ListImagesRequest.
|
227
299
|
|
300
|
+
镜像类型,目前支持以下类型: 公共镜像:gold 私有镜像:private 共享镜像:shared 市场镜像:market
|
228
301
|
|
229
302
|
:return: The imagetype of this ListImagesRequest.
|
230
303
|
:rtype: str
|
@@ -233,18 +306,20 @@ class ListImagesRequest:
|
|
233
306
|
|
234
307
|
@imagetype.setter
|
235
308
|
def imagetype(self, imagetype):
|
236
|
-
"""Sets the imagetype of this ListImagesRequest.
|
309
|
+
r"""Sets the imagetype of this ListImagesRequest.
|
237
310
|
|
311
|
+
镜像类型,目前支持以下类型: 公共镜像:gold 私有镜像:private 共享镜像:shared 市场镜像:market
|
238
312
|
|
239
313
|
:param imagetype: The imagetype of this ListImagesRequest.
|
240
|
-
:type: str
|
314
|
+
:type imagetype: str
|
241
315
|
"""
|
242
316
|
self._imagetype = imagetype
|
243
317
|
|
244
318
|
@property
|
245
319
|
def isregistered(self):
|
246
|
-
"""Gets the isregistered of this ListImagesRequest.
|
320
|
+
r"""Gets the isregistered of this ListImagesRequest.
|
247
321
|
|
322
|
+
镜像是否可用,取值为true,扩展接口会默认为true,普通用户只能查询取值为true的镜像。
|
248
323
|
|
249
324
|
:return: The isregistered of this ListImagesRequest.
|
250
325
|
:rtype: str
|
@@ -253,18 +328,20 @@ class ListImagesRequest:
|
|
253
328
|
|
254
329
|
@isregistered.setter
|
255
330
|
def isregistered(self, isregistered):
|
256
|
-
"""Sets the isregistered of this ListImagesRequest.
|
331
|
+
r"""Sets the isregistered of this ListImagesRequest.
|
257
332
|
|
333
|
+
镜像是否可用,取值为true,扩展接口会默认为true,普通用户只能查询取值为true的镜像。
|
258
334
|
|
259
335
|
:param isregistered: The isregistered of this ListImagesRequest.
|
260
|
-
:type: str
|
336
|
+
:type isregistered: str
|
261
337
|
"""
|
262
338
|
self._isregistered = isregistered
|
263
339
|
|
264
340
|
@property
|
265
341
|
def os_bit(self):
|
266
|
-
"""Gets the os_bit of this ListImagesRequest.
|
342
|
+
r"""Gets the os_bit of this ListImagesRequest.
|
267
343
|
|
344
|
+
操作系统位数,一般取值为32或者64。
|
268
345
|
|
269
346
|
:return: The os_bit of this ListImagesRequest.
|
270
347
|
:rtype: str
|
@@ -273,18 +350,20 @@ class ListImagesRequest:
|
|
273
350
|
|
274
351
|
@os_bit.setter
|
275
352
|
def os_bit(self, os_bit):
|
276
|
-
"""Sets the os_bit of this ListImagesRequest.
|
353
|
+
r"""Sets the os_bit of this ListImagesRequest.
|
277
354
|
|
355
|
+
操作系统位数,一般取值为32或者64。
|
278
356
|
|
279
357
|
:param os_bit: The os_bit of this ListImagesRequest.
|
280
|
-
:type: str
|
358
|
+
:type os_bit: str
|
281
359
|
"""
|
282
360
|
self._os_bit = os_bit
|
283
361
|
|
284
362
|
@property
|
285
363
|
def os_type(self):
|
286
|
-
"""Gets the os_type of this ListImagesRequest.
|
364
|
+
r"""Gets the os_type of this ListImagesRequest.
|
287
365
|
|
366
|
+
镜像系统类型,取值为Linux,Windows,Other。
|
288
367
|
|
289
368
|
:return: The os_type of this ListImagesRequest.
|
290
369
|
:rtype: str
|
@@ -293,18 +372,20 @@ class ListImagesRequest:
|
|
293
372
|
|
294
373
|
@os_type.setter
|
295
374
|
def os_type(self, os_type):
|
296
|
-
"""Sets the os_type of this ListImagesRequest.
|
375
|
+
r"""Sets the os_type of this ListImagesRequest.
|
297
376
|
|
377
|
+
镜像系统类型,取值为Linux,Windows,Other。
|
298
378
|
|
299
379
|
:param os_type: The os_type of this ListImagesRequest.
|
300
|
-
:type: str
|
380
|
+
:type os_type: str
|
301
381
|
"""
|
302
382
|
self._os_type = os_type
|
303
383
|
|
304
384
|
@property
|
305
385
|
def platform(self):
|
306
|
-
"""Gets the platform of this ListImagesRequest.
|
386
|
+
r"""Gets the platform of this ListImagesRequest.
|
307
387
|
|
388
|
+
镜像平台分类
|
308
389
|
|
309
390
|
:return: The platform of this ListImagesRequest.
|
310
391
|
:rtype: str
|
@@ -313,18 +394,20 @@ class ListImagesRequest:
|
|
313
394
|
|
314
395
|
@platform.setter
|
315
396
|
def platform(self, platform):
|
316
|
-
"""Sets the platform of this ListImagesRequest.
|
397
|
+
r"""Sets the platform of this ListImagesRequest.
|
317
398
|
|
399
|
+
镜像平台分类
|
318
400
|
|
319
401
|
:param platform: The platform of this ListImagesRequest.
|
320
|
-
:type: str
|
402
|
+
:type platform: str
|
321
403
|
"""
|
322
404
|
self._platform = platform
|
323
405
|
|
324
406
|
@property
|
325
407
|
def support_diskintensive(self):
|
326
|
-
"""Gets the support_diskintensive of this ListImagesRequest.
|
408
|
+
r"""Gets the support_diskintensive of this ListImagesRequest.
|
327
409
|
|
410
|
+
表示该镜像支持密集存储。如果镜像支持密集存储性能,则值为true,否则无需增加该属性。
|
328
411
|
|
329
412
|
:return: The support_diskintensive of this ListImagesRequest.
|
330
413
|
:rtype: str
|
@@ -333,18 +416,20 @@ class ListImagesRequest:
|
|
333
416
|
|
334
417
|
@support_diskintensive.setter
|
335
418
|
def support_diskintensive(self, support_diskintensive):
|
336
|
-
"""Sets the support_diskintensive of this ListImagesRequest.
|
419
|
+
r"""Sets the support_diskintensive of this ListImagesRequest.
|
337
420
|
|
421
|
+
表示该镜像支持密集存储。如果镜像支持密集存储性能,则值为true,否则无需增加该属性。
|
338
422
|
|
339
423
|
:param support_diskintensive: The support_diskintensive of this ListImagesRequest.
|
340
|
-
:type: str
|
424
|
+
:type support_diskintensive: str
|
341
425
|
"""
|
342
426
|
self._support_diskintensive = support_diskintensive
|
343
427
|
|
344
428
|
@property
|
345
429
|
def support_highperformance(self):
|
346
|
-
"""Gets the support_highperformance of this ListImagesRequest.
|
430
|
+
r"""Gets the support_highperformance of this ListImagesRequest.
|
347
431
|
|
432
|
+
表示该镜像支持高计算性能。如果镜像支持高计算性能,则值为true,否则无需增加该属性。
|
348
433
|
|
349
434
|
:return: The support_highperformance of this ListImagesRequest.
|
350
435
|
:rtype: str
|
@@ -353,18 +438,20 @@ class ListImagesRequest:
|
|
353
438
|
|
354
439
|
@support_highperformance.setter
|
355
440
|
def support_highperformance(self, support_highperformance):
|
356
|
-
"""Sets the support_highperformance of this ListImagesRequest.
|
441
|
+
r"""Sets the support_highperformance of this ListImagesRequest.
|
357
442
|
|
443
|
+
表示该镜像支持高计算性能。如果镜像支持高计算性能,则值为true,否则无需增加该属性。
|
358
444
|
|
359
445
|
:param support_highperformance: The support_highperformance of this ListImagesRequest.
|
360
|
-
:type: str
|
446
|
+
:type support_highperformance: str
|
361
447
|
"""
|
362
448
|
self._support_highperformance = support_highperformance
|
363
449
|
|
364
450
|
@property
|
365
451
|
def support_kvm(self):
|
366
|
-
"""Gets the support_kvm of this ListImagesRequest.
|
452
|
+
r"""Gets the support_kvm of this ListImagesRequest.
|
367
453
|
|
454
|
+
如果镜像支持KVM,取值为true,否则无需增加该属性。
|
368
455
|
|
369
456
|
:return: The support_kvm of this ListImagesRequest.
|
370
457
|
:rtype: str
|
@@ -373,18 +460,20 @@ class ListImagesRequest:
|
|
373
460
|
|
374
461
|
@support_kvm.setter
|
375
462
|
def support_kvm(self, support_kvm):
|
376
|
-
"""Sets the support_kvm of this ListImagesRequest.
|
463
|
+
r"""Sets the support_kvm of this ListImagesRequest.
|
377
464
|
|
465
|
+
如果镜像支持KVM,取值为true,否则无需增加该属性。
|
378
466
|
|
379
467
|
:param support_kvm: The support_kvm of this ListImagesRequest.
|
380
|
-
:type: str
|
468
|
+
:type support_kvm: str
|
381
469
|
"""
|
382
470
|
self._support_kvm = support_kvm
|
383
471
|
|
384
472
|
@property
|
385
473
|
def support_kvm_gpu_type(self):
|
386
|
-
"""Gets the support_kvm_gpu_type of this ListImagesRequest.
|
474
|
+
r"""Gets the support_kvm_gpu_type of this ListImagesRequest.
|
387
475
|
|
476
|
+
表示该镜像是支持KVM虚拟化平台下的GPU类型,如果不支持KVM虚拟机下GPU类型,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存。
|
388
477
|
|
389
478
|
:return: The support_kvm_gpu_type of this ListImagesRequest.
|
390
479
|
:rtype: str
|
@@ -393,18 +482,20 @@ class ListImagesRequest:
|
|
393
482
|
|
394
483
|
@support_kvm_gpu_type.setter
|
395
484
|
def support_kvm_gpu_type(self, support_kvm_gpu_type):
|
396
|
-
"""Sets the support_kvm_gpu_type of this ListImagesRequest.
|
485
|
+
r"""Sets the support_kvm_gpu_type of this ListImagesRequest.
|
397
486
|
|
487
|
+
表示该镜像是支持KVM虚拟化平台下的GPU类型,如果不支持KVM虚拟机下GPU类型,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存。
|
398
488
|
|
399
489
|
:param support_kvm_gpu_type: The support_kvm_gpu_type of this ListImagesRequest.
|
400
|
-
:type: str
|
490
|
+
:type support_kvm_gpu_type: str
|
401
491
|
"""
|
402
492
|
self._support_kvm_gpu_type = support_kvm_gpu_type
|
403
493
|
|
404
494
|
@property
|
405
495
|
def support_kvm_infiniband(self):
|
406
|
-
"""Gets the support_kvm_infiniband of this ListImagesRequest.
|
496
|
+
r"""Gets the support_kvm_infiniband of this ListImagesRequest.
|
407
497
|
|
498
|
+
如果镜像支持KVM虚拟化下Infiniband网卡类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”属性不共存。
|
408
499
|
|
409
500
|
:return: The support_kvm_infiniband of this ListImagesRequest.
|
410
501
|
:rtype: str
|
@@ -413,18 +504,20 @@ class ListImagesRequest:
|
|
413
504
|
|
414
505
|
@support_kvm_infiniband.setter
|
415
506
|
def support_kvm_infiniband(self, support_kvm_infiniband):
|
416
|
-
"""Sets the support_kvm_infiniband of this ListImagesRequest.
|
507
|
+
r"""Sets the support_kvm_infiniband of this ListImagesRequest.
|
417
508
|
|
509
|
+
如果镜像支持KVM虚拟化下Infiniband网卡类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”属性不共存。
|
418
510
|
|
419
511
|
:param support_kvm_infiniband: The support_kvm_infiniband of this ListImagesRequest.
|
420
|
-
:type: str
|
512
|
+
:type support_kvm_infiniband: str
|
421
513
|
"""
|
422
514
|
self._support_kvm_infiniband = support_kvm_infiniband
|
423
515
|
|
424
516
|
@property
|
425
517
|
def support_largememory(self):
|
426
|
-
"""Gets the support_largememory of this ListImagesRequest.
|
518
|
+
r"""Gets the support_largememory of this ListImagesRequest.
|
427
519
|
|
520
|
+
表示该镜像支持超大内存。如果镜像支持超大内存,取值为true,否则无需增加该属性。
|
428
521
|
|
429
522
|
:return: The support_largememory of this ListImagesRequest.
|
430
523
|
:rtype: str
|
@@ -433,18 +526,20 @@ class ListImagesRequest:
|
|
433
526
|
|
434
527
|
@support_largememory.setter
|
435
528
|
def support_largememory(self, support_largememory):
|
436
|
-
"""Sets the support_largememory of this ListImagesRequest.
|
529
|
+
r"""Sets the support_largememory of this ListImagesRequest.
|
437
530
|
|
531
|
+
表示该镜像支持超大内存。如果镜像支持超大内存,取值为true,否则无需增加该属性。
|
438
532
|
|
439
533
|
:param support_largememory: The support_largememory of this ListImagesRequest.
|
440
|
-
:type: str
|
534
|
+
:type support_largememory: str
|
441
535
|
"""
|
442
536
|
self._support_largememory = support_largememory
|
443
537
|
|
444
538
|
@property
|
445
539
|
def support_xen(self):
|
446
|
-
"""Gets the support_xen of this ListImagesRequest.
|
540
|
+
r"""Gets the support_xen of this ListImagesRequest.
|
447
541
|
|
542
|
+
如果镜像支持XEN,取值为true,否则无需增加该属性。
|
448
543
|
|
449
544
|
:return: The support_xen of this ListImagesRequest.
|
450
545
|
:rtype: str
|
@@ -453,18 +548,20 @@ class ListImagesRequest:
|
|
453
548
|
|
454
549
|
@support_xen.setter
|
455
550
|
def support_xen(self, support_xen):
|
456
|
-
"""Sets the support_xen of this ListImagesRequest.
|
551
|
+
r"""Sets the support_xen of this ListImagesRequest.
|
457
552
|
|
553
|
+
如果镜像支持XEN,取值为true,否则无需增加该属性。
|
458
554
|
|
459
555
|
:param support_xen: The support_xen of this ListImagesRequest.
|
460
|
-
:type: str
|
556
|
+
:type support_xen: str
|
461
557
|
"""
|
462
558
|
self._support_xen = support_xen
|
463
559
|
|
464
560
|
@property
|
465
561
|
def support_xen_gpu_type(self):
|
466
|
-
"""Gets the support_xen_gpu_type of this ListImagesRequest.
|
562
|
+
r"""Gets the support_xen_gpu_type of this ListImagesRequest.
|
467
563
|
|
564
|
+
表示该镜像是支持XEN虚拟化平台下的GPU优化类型,如果不支持XEN虚拟化下GPU类型,无需添加该属性 。该属性与“__support_xen”和“__support_kvm”属性不共存。
|
468
565
|
|
469
566
|
:return: The support_xen_gpu_type of this ListImagesRequest.
|
470
567
|
:rtype: str
|
@@ -473,18 +570,20 @@ class ListImagesRequest:
|
|
473
570
|
|
474
571
|
@support_xen_gpu_type.setter
|
475
572
|
def support_xen_gpu_type(self, support_xen_gpu_type):
|
476
|
-
"""Sets the support_xen_gpu_type of this ListImagesRequest.
|
573
|
+
r"""Sets the support_xen_gpu_type of this ListImagesRequest.
|
477
574
|
|
575
|
+
表示该镜像是支持XEN虚拟化平台下的GPU优化类型,如果不支持XEN虚拟化下GPU类型,无需添加该属性 。该属性与“__support_xen”和“__support_kvm”属性不共存。
|
478
576
|
|
479
577
|
:param support_xen_gpu_type: The support_xen_gpu_type of this ListImagesRequest.
|
480
|
-
:type: str
|
578
|
+
:type support_xen_gpu_type: str
|
481
579
|
"""
|
482
580
|
self._support_xen_gpu_type = support_xen_gpu_type
|
483
581
|
|
484
582
|
@property
|
485
583
|
def support_xen_hana(self):
|
486
|
-
"""Gets the support_xen_hana of this ListImagesRequest.
|
584
|
+
r"""Gets the support_xen_hana of this ListImagesRequest.
|
487
585
|
|
586
|
+
如果镜像支持XEN虚拟化下HANA类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存。
|
488
587
|
|
489
588
|
:return: The support_xen_hana of this ListImagesRequest.
|
490
589
|
:rtype: str
|
@@ -493,18 +592,20 @@ class ListImagesRequest:
|
|
493
592
|
|
494
593
|
@support_xen_hana.setter
|
495
594
|
def support_xen_hana(self, support_xen_hana):
|
496
|
-
"""Sets the support_xen_hana of this ListImagesRequest.
|
595
|
+
r"""Sets the support_xen_hana of this ListImagesRequest.
|
497
596
|
|
597
|
+
如果镜像支持XEN虚拟化下HANA类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存。
|
498
598
|
|
499
599
|
:param support_xen_hana: The support_xen_hana of this ListImagesRequest.
|
500
|
-
:type: str
|
600
|
+
:type support_xen_hana: str
|
501
601
|
"""
|
502
602
|
self._support_xen_hana = support_xen_hana
|
503
603
|
|
504
604
|
@property
|
505
605
|
def container_format(self):
|
506
|
-
"""Gets the container_format of this ListImagesRequest.
|
606
|
+
r"""Gets the container_format of this ListImagesRequest.
|
507
607
|
|
608
|
+
容器类型
|
508
609
|
|
509
610
|
:return: The container_format of this ListImagesRequest.
|
510
611
|
:rtype: str
|
@@ -513,18 +614,20 @@ class ListImagesRequest:
|
|
513
614
|
|
514
615
|
@container_format.setter
|
515
616
|
def container_format(self, container_format):
|
516
|
-
"""Sets the container_format of this ListImagesRequest.
|
617
|
+
r"""Sets the container_format of this ListImagesRequest.
|
517
618
|
|
619
|
+
容器类型
|
518
620
|
|
519
621
|
:param container_format: The container_format of this ListImagesRequest.
|
520
|
-
:type: str
|
622
|
+
:type container_format: str
|
521
623
|
"""
|
522
624
|
self._container_format = container_format
|
523
625
|
|
524
626
|
@property
|
525
627
|
def disk_format(self):
|
526
|
-
"""Gets the disk_format of this ListImagesRequest.
|
628
|
+
r"""Gets the disk_format of this ListImagesRequest.
|
527
629
|
|
630
|
+
镜像格式,目前支持vhd,zvhd、raw,qcow2,zvhd2。默认值是vhd。
|
528
631
|
|
529
632
|
:return: The disk_format of this ListImagesRequest.
|
530
633
|
:rtype: str
|
@@ -533,18 +636,20 @@ class ListImagesRequest:
|
|
533
636
|
|
534
637
|
@disk_format.setter
|
535
638
|
def disk_format(self, disk_format):
|
536
|
-
"""Sets the disk_format of this ListImagesRequest.
|
639
|
+
r"""Sets the disk_format of this ListImagesRequest.
|
537
640
|
|
641
|
+
镜像格式,目前支持vhd,zvhd、raw,qcow2,zvhd2。默认值是vhd。
|
538
642
|
|
539
643
|
:param disk_format: The disk_format of this ListImagesRequest.
|
540
|
-
:type: str
|
644
|
+
:type disk_format: str
|
541
645
|
"""
|
542
646
|
self._disk_format = disk_format
|
543
647
|
|
544
648
|
@property
|
545
649
|
def enterprise_project_id(self):
|
546
|
-
"""Gets the enterprise_project_id of this ListImagesRequest.
|
650
|
+
r"""Gets the enterprise_project_id of this ListImagesRequest.
|
547
651
|
|
652
|
+
表示查询某个企业项目下的镜像。 取值为0,表示查询属于default企业项目下的镜像。 取值为UUID,表示查询属于该UUID对应的企业项目下的镜像。取值为all_granted_eps,表示查询当前用户所有企业项目下的镜像。 关于企业项目ID的获取及企业项目特性的详细信息,请参考《企业管理用户指南》。
|
548
653
|
|
549
654
|
:return: The enterprise_project_id of this ListImagesRequest.
|
550
655
|
:rtype: str
|
@@ -553,18 +658,20 @@ class ListImagesRequest:
|
|
553
658
|
|
554
659
|
@enterprise_project_id.setter
|
555
660
|
def enterprise_project_id(self, enterprise_project_id):
|
556
|
-
"""Sets the enterprise_project_id of this ListImagesRequest.
|
661
|
+
r"""Sets the enterprise_project_id of this ListImagesRequest.
|
557
662
|
|
663
|
+
表示查询某个企业项目下的镜像。 取值为0,表示查询属于default企业项目下的镜像。 取值为UUID,表示查询属于该UUID对应的企业项目下的镜像。取值为all_granted_eps,表示查询当前用户所有企业项目下的镜像。 关于企业项目ID的获取及企业项目特性的详细信息,请参考《企业管理用户指南》。
|
558
664
|
|
559
665
|
:param enterprise_project_id: The enterprise_project_id of this ListImagesRequest.
|
560
|
-
:type: str
|
666
|
+
:type enterprise_project_id: str
|
561
667
|
"""
|
562
668
|
self._enterprise_project_id = enterprise_project_id
|
563
669
|
|
564
670
|
@property
|
565
671
|
def id(self):
|
566
|
-
"""Gets the id of this ListImagesRequest.
|
672
|
+
r"""Gets the id of this ListImagesRequest.
|
567
673
|
|
674
|
+
镜像ID
|
568
675
|
|
569
676
|
:return: The id of this ListImagesRequest.
|
570
677
|
:rtype: str
|
@@ -573,18 +680,20 @@ class ListImagesRequest:
|
|
573
680
|
|
574
681
|
@id.setter
|
575
682
|
def id(self, id):
|
576
|
-
"""Sets the id of this ListImagesRequest.
|
683
|
+
r"""Sets the id of this ListImagesRequest.
|
577
684
|
|
685
|
+
镜像ID
|
578
686
|
|
579
687
|
:param id: The id of this ListImagesRequest.
|
580
|
-
:type: str
|
688
|
+
:type id: str
|
581
689
|
"""
|
582
690
|
self._id = id
|
583
691
|
|
584
692
|
@property
|
585
693
|
def limit(self):
|
586
|
-
"""Gets the limit of this ListImagesRequest.
|
694
|
+
r"""Gets the limit of this ListImagesRequest.
|
587
695
|
|
696
|
+
用于分页,表示查询几条镜像记录,取值为整数,默认取值为500。
|
588
697
|
|
589
698
|
:return: The limit of this ListImagesRequest.
|
590
699
|
:rtype: int
|
@@ -593,18 +702,20 @@ class ListImagesRequest:
|
|
593
702
|
|
594
703
|
@limit.setter
|
595
704
|
def limit(self, limit):
|
596
|
-
"""Sets the limit of this ListImagesRequest.
|
705
|
+
r"""Sets the limit of this ListImagesRequest.
|
597
706
|
|
707
|
+
用于分页,表示查询几条镜像记录,取值为整数,默认取值为500。
|
598
708
|
|
599
709
|
:param limit: The limit of this ListImagesRequest.
|
600
|
-
:type: int
|
710
|
+
:type limit: int
|
601
711
|
"""
|
602
712
|
self._limit = limit
|
603
713
|
|
604
714
|
@property
|
605
715
|
def marker(self):
|
606
|
-
"""Gets the marker of this ListImagesRequest.
|
716
|
+
r"""Gets the marker of this ListImagesRequest.
|
607
717
|
|
718
|
+
用于分页,表示从哪个镜像开始查询,取值为镜像ID。
|
608
719
|
|
609
720
|
:return: The marker of this ListImagesRequest.
|
610
721
|
:rtype: str
|
@@ -613,18 +724,20 @@ class ListImagesRequest:
|
|
613
724
|
|
614
725
|
@marker.setter
|
615
726
|
def marker(self, marker):
|
616
|
-
"""Sets the marker of this ListImagesRequest.
|
727
|
+
r"""Sets the marker of this ListImagesRequest.
|
617
728
|
|
729
|
+
用于分页,表示从哪个镜像开始查询,取值为镜像ID。
|
618
730
|
|
619
731
|
:param marker: The marker of this ListImagesRequest.
|
620
|
-
:type: str
|
732
|
+
:type marker: str
|
621
733
|
"""
|
622
734
|
self._marker = marker
|
623
735
|
|
624
736
|
@property
|
625
737
|
def member_status(self):
|
626
|
-
"""Gets the member_status of this ListImagesRequest.
|
738
|
+
r"""Gets the member_status of this ListImagesRequest.
|
627
739
|
|
740
|
+
成员状态。目前取值有accepted、rejected、pending。accepted表示已经接受共享的镜像,rejected表示已经拒绝了其他用户共享的镜像,pending表示需要确认的其他用户的共享镜像。需要在查询时设置“visibility”参数为“shared”。
|
628
741
|
|
629
742
|
:return: The member_status of this ListImagesRequest.
|
630
743
|
:rtype: str
|
@@ -633,18 +746,20 @@ class ListImagesRequest:
|
|
633
746
|
|
634
747
|
@member_status.setter
|
635
748
|
def member_status(self, member_status):
|
636
|
-
"""Sets the member_status of this ListImagesRequest.
|
749
|
+
r"""Sets the member_status of this ListImagesRequest.
|
637
750
|
|
751
|
+
成员状态。目前取值有accepted、rejected、pending。accepted表示已经接受共享的镜像,rejected表示已经拒绝了其他用户共享的镜像,pending表示需要确认的其他用户的共享镜像。需要在查询时设置“visibility”参数为“shared”。
|
638
752
|
|
639
753
|
:param member_status: The member_status of this ListImagesRequest.
|
640
|
-
:type: str
|
754
|
+
:type member_status: str
|
641
755
|
"""
|
642
756
|
self._member_status = member_status
|
643
757
|
|
644
758
|
@property
|
645
759
|
def min_disk(self):
|
646
|
-
"""Gets the min_disk of this ListImagesRequest.
|
760
|
+
r"""Gets the min_disk of this ListImagesRequest.
|
647
761
|
|
762
|
+
镜像运行需要的最小磁盘,单位为GB 。取值为40~1024GB。
|
648
763
|
|
649
764
|
:return: The min_disk of this ListImagesRequest.
|
650
765
|
:rtype: int
|
@@ -653,18 +768,20 @@ class ListImagesRequest:
|
|
653
768
|
|
654
769
|
@min_disk.setter
|
655
770
|
def min_disk(self, min_disk):
|
656
|
-
"""Sets the min_disk of this ListImagesRequest.
|
771
|
+
r"""Sets the min_disk of this ListImagesRequest.
|
657
772
|
|
773
|
+
镜像运行需要的最小磁盘,单位为GB 。取值为40~1024GB。
|
658
774
|
|
659
775
|
:param min_disk: The min_disk of this ListImagesRequest.
|
660
|
-
:type: int
|
776
|
+
:type min_disk: int
|
661
777
|
"""
|
662
778
|
self._min_disk = min_disk
|
663
779
|
|
664
780
|
@property
|
665
781
|
def min_ram(self):
|
666
|
-
"""Gets the min_ram of this ListImagesRequest.
|
782
|
+
r"""Gets the min_ram of this ListImagesRequest.
|
667
783
|
|
784
|
+
镜像运行需要的最小内存,单位为MB。参数取值依据弹性云服务器的规格限制,一般设置为0。
|
668
785
|
|
669
786
|
:return: The min_ram of this ListImagesRequest.
|
670
787
|
:rtype: int
|
@@ -673,18 +790,20 @@ class ListImagesRequest:
|
|
673
790
|
|
674
791
|
@min_ram.setter
|
675
792
|
def min_ram(self, min_ram):
|
676
|
-
"""Sets the min_ram of this ListImagesRequest.
|
793
|
+
r"""Sets the min_ram of this ListImagesRequest.
|
677
794
|
|
795
|
+
镜像运行需要的最小内存,单位为MB。参数取值依据弹性云服务器的规格限制,一般设置为0。
|
678
796
|
|
679
797
|
:param min_ram: The min_ram of this ListImagesRequest.
|
680
|
-
:type: int
|
798
|
+
:type min_ram: int
|
681
799
|
"""
|
682
800
|
self._min_ram = min_ram
|
683
801
|
|
684
802
|
@property
|
685
803
|
def name(self):
|
686
|
-
"""Gets the name of this ListImagesRequest.
|
804
|
+
r"""Gets the name of this ListImagesRequest.
|
687
805
|
|
806
|
+
镜像名称
|
688
807
|
|
689
808
|
:return: The name of this ListImagesRequest.
|
690
809
|
:rtype: str
|
@@ -693,18 +812,20 @@ class ListImagesRequest:
|
|
693
812
|
|
694
813
|
@name.setter
|
695
814
|
def name(self, name):
|
696
|
-
"""Sets the name of this ListImagesRequest.
|
815
|
+
r"""Sets the name of this ListImagesRequest.
|
697
816
|
|
817
|
+
镜像名称
|
698
818
|
|
699
819
|
:param name: The name of this ListImagesRequest.
|
700
|
-
:type: str
|
820
|
+
:type name: str
|
701
821
|
"""
|
702
822
|
self._name = name
|
703
823
|
|
704
824
|
@property
|
705
825
|
def owner(self):
|
706
|
-
"""Gets the owner of this ListImagesRequest.
|
826
|
+
r"""Gets the owner of this ListImagesRequest.
|
707
827
|
|
828
|
+
镜像属于哪个租户
|
708
829
|
|
709
830
|
:return: The owner of this ListImagesRequest.
|
710
831
|
:rtype: str
|
@@ -713,18 +834,20 @@ class ListImagesRequest:
|
|
713
834
|
|
714
835
|
@owner.setter
|
715
836
|
def owner(self, owner):
|
716
|
-
"""Sets the owner of this ListImagesRequest.
|
837
|
+
r"""Sets the owner of this ListImagesRequest.
|
717
838
|
|
839
|
+
镜像属于哪个租户
|
718
840
|
|
719
841
|
:param owner: The owner of this ListImagesRequest.
|
720
|
-
:type: str
|
842
|
+
:type owner: str
|
721
843
|
"""
|
722
844
|
self._owner = owner
|
723
845
|
|
724
846
|
@property
|
725
847
|
def protected(self):
|
726
|
-
"""Gets the protected of this ListImagesRequest.
|
848
|
+
r"""Gets the protected of this ListImagesRequest.
|
727
849
|
|
850
|
+
镜像是否是受保护,取值为true/false,一般查询公共镜像时候取值为true,查询私有镜像可以不指定。
|
728
851
|
|
729
852
|
:return: The protected of this ListImagesRequest.
|
730
853
|
:rtype: bool
|
@@ -733,18 +856,20 @@ class ListImagesRequest:
|
|
733
856
|
|
734
857
|
@protected.setter
|
735
858
|
def protected(self, protected):
|
736
|
-
"""Sets the protected of this ListImagesRequest.
|
859
|
+
r"""Sets the protected of this ListImagesRequest.
|
737
860
|
|
861
|
+
镜像是否是受保护,取值为true/false,一般查询公共镜像时候取值为true,查询私有镜像可以不指定。
|
738
862
|
|
739
863
|
:param protected: The protected of this ListImagesRequest.
|
740
|
-
:type: bool
|
864
|
+
:type protected: bool
|
741
865
|
"""
|
742
866
|
self._protected = protected
|
743
867
|
|
744
868
|
@property
|
745
869
|
def sort_dir(self):
|
746
|
-
"""Gets the sort_dir of this ListImagesRequest.
|
870
|
+
r"""Gets the sort_dir of this ListImagesRequest.
|
747
871
|
|
872
|
+
用于排序,表示升序还是降序,取值为asc和desc。与sort_key一起组合使用,默认为降序desc。
|
748
873
|
|
749
874
|
:return: The sort_dir of this ListImagesRequest.
|
750
875
|
:rtype: str
|
@@ -753,18 +878,20 @@ class ListImagesRequest:
|
|
753
878
|
|
754
879
|
@sort_dir.setter
|
755
880
|
def sort_dir(self, sort_dir):
|
756
|
-
"""Sets the sort_dir of this ListImagesRequest.
|
881
|
+
r"""Sets the sort_dir of this ListImagesRequest.
|
757
882
|
|
883
|
+
用于排序,表示升序还是降序,取值为asc和desc。与sort_key一起组合使用,默认为降序desc。
|
758
884
|
|
759
885
|
:param sort_dir: The sort_dir of this ListImagesRequest.
|
760
|
-
:type: str
|
886
|
+
:type sort_dir: str
|
761
887
|
"""
|
762
888
|
self._sort_dir = sort_dir
|
763
889
|
|
764
890
|
@property
|
765
891
|
def sort_key(self):
|
766
|
-
"""Gets the sort_key of this ListImagesRequest.
|
892
|
+
r"""Gets the sort_key of this ListImagesRequest.
|
767
893
|
|
894
|
+
用于排序,表示按照哪个字段排序。取值为镜像属性name,container_format,disk_format,status ,id,size字段,默认为创建时间。
|
768
895
|
|
769
896
|
:return: The sort_key of this ListImagesRequest.
|
770
897
|
:rtype: str
|
@@ -773,18 +900,20 @@ class ListImagesRequest:
|
|
773
900
|
|
774
901
|
@sort_key.setter
|
775
902
|
def sort_key(self, sort_key):
|
776
|
-
"""Sets the sort_key of this ListImagesRequest.
|
903
|
+
r"""Sets the sort_key of this ListImagesRequest.
|
777
904
|
|
905
|
+
用于排序,表示按照哪个字段排序。取值为镜像属性name,container_format,disk_format,status ,id,size字段,默认为创建时间。
|
778
906
|
|
779
907
|
:param sort_key: The sort_key of this ListImagesRequest.
|
780
|
-
:type: str
|
908
|
+
:type sort_key: str
|
781
909
|
"""
|
782
910
|
self._sort_key = sort_key
|
783
911
|
|
784
912
|
@property
|
785
913
|
def status(self):
|
786
|
-
"""Gets the status of this ListImagesRequest.
|
914
|
+
r"""Gets the status of this ListImagesRequest.
|
787
915
|
|
916
|
+
镜像状态。取值如下: queued:表示镜像元数据已经创建成功,等待上传镜像文件。 saving:表示镜像正在上传文件到后端存储。 deleted:表示镜像已经删除。 killed:表示镜像上传错误。 active:表示镜像可以正常使用。
|
788
917
|
|
789
918
|
:return: The status of this ListImagesRequest.
|
790
919
|
:rtype: str
|
@@ -793,18 +922,20 @@ class ListImagesRequest:
|
|
793
922
|
|
794
923
|
@status.setter
|
795
924
|
def status(self, status):
|
796
|
-
"""Sets the status of this ListImagesRequest.
|
925
|
+
r"""Sets the status of this ListImagesRequest.
|
797
926
|
|
927
|
+
镜像状态。取值如下: queued:表示镜像元数据已经创建成功,等待上传镜像文件。 saving:表示镜像正在上传文件到后端存储。 deleted:表示镜像已经删除。 killed:表示镜像上传错误。 active:表示镜像可以正常使用。
|
798
928
|
|
799
929
|
:param status: The status of this ListImagesRequest.
|
800
|
-
:type: str
|
930
|
+
:type status: str
|
801
931
|
"""
|
802
932
|
self._status = status
|
803
933
|
|
804
934
|
@property
|
805
935
|
def tag(self):
|
806
|
-
"""Gets the tag of this ListImagesRequest.
|
936
|
+
r"""Gets the tag of this ListImagesRequest.
|
807
937
|
|
938
|
+
标签,用户为镜像增加自定义标签后可以通过该参数过滤查询。
|
808
939
|
|
809
940
|
:return: The tag of this ListImagesRequest.
|
810
941
|
:rtype: str
|
@@ -813,18 +944,20 @@ class ListImagesRequest:
|
|
813
944
|
|
814
945
|
@tag.setter
|
815
946
|
def tag(self, tag):
|
816
|
-
"""Sets the tag of this ListImagesRequest.
|
947
|
+
r"""Sets the tag of this ListImagesRequest.
|
817
948
|
|
949
|
+
标签,用户为镜像增加自定义标签后可以通过该参数过滤查询。
|
818
950
|
|
819
951
|
:param tag: The tag of this ListImagesRequest.
|
820
|
-
:type: str
|
952
|
+
:type tag: str
|
821
953
|
"""
|
822
954
|
self._tag = tag
|
823
955
|
|
824
956
|
@property
|
825
957
|
def virtual_env_type(self):
|
826
|
-
"""Gets the virtual_env_type of this ListImagesRequest.
|
958
|
+
r"""Gets the virtual_env_type of this ListImagesRequest.
|
827
959
|
|
960
|
+
镜像使用环境类型:FusionCompute,Ironic,DataImage。如果弹性云服务器镜像,则取值为FusionCompute,如果是数据卷镜像则取值是DataImage,如果是裸金属服务器镜像,则取值是Ironic。
|
828
961
|
|
829
962
|
:return: The virtual_env_type of this ListImagesRequest.
|
830
963
|
:rtype: str
|
@@ -833,18 +966,20 @@ class ListImagesRequest:
|
|
833
966
|
|
834
967
|
@virtual_env_type.setter
|
835
968
|
def virtual_env_type(self, virtual_env_type):
|
836
|
-
"""Sets the virtual_env_type of this ListImagesRequest.
|
969
|
+
r"""Sets the virtual_env_type of this ListImagesRequest.
|
837
970
|
|
971
|
+
镜像使用环境类型:FusionCompute,Ironic,DataImage。如果弹性云服务器镜像,则取值为FusionCompute,如果是数据卷镜像则取值是DataImage,如果是裸金属服务器镜像,则取值是Ironic。
|
838
972
|
|
839
973
|
:param virtual_env_type: The virtual_env_type of this ListImagesRequest.
|
840
|
-
:type: str
|
974
|
+
:type virtual_env_type: str
|
841
975
|
"""
|
842
976
|
self._virtual_env_type = virtual_env_type
|
843
977
|
|
844
978
|
@property
|
845
979
|
def visibility(self):
|
846
|
-
"""Gets the visibility of this ListImagesRequest.
|
980
|
+
r"""Gets the visibility of this ListImagesRequest.
|
847
981
|
|
982
|
+
是否被其他租户可见,取值为public、private或shared
|
848
983
|
|
849
984
|
:return: The visibility of this ListImagesRequest.
|
850
985
|
:rtype: str
|
@@ -853,18 +988,20 @@ class ListImagesRequest:
|
|
853
988
|
|
854
989
|
@visibility.setter
|
855
990
|
def visibility(self, visibility):
|
856
|
-
"""Sets the visibility of this ListImagesRequest.
|
991
|
+
r"""Sets the visibility of this ListImagesRequest.
|
857
992
|
|
993
|
+
是否被其他租户可见,取值为public、private或shared
|
858
994
|
|
859
995
|
:param visibility: The visibility of this ListImagesRequest.
|
860
|
-
:type: str
|
996
|
+
:type visibility: str
|
861
997
|
"""
|
862
998
|
self._visibility = visibility
|
863
999
|
|
864
1000
|
@property
|
865
1001
|
def x_sdk_date(self):
|
866
|
-
"""Gets the x_sdk_date of this ListImagesRequest.
|
1002
|
+
r"""Gets the x_sdk_date of this ListImagesRequest.
|
867
1003
|
|
1004
|
+
请求的发生时间,格式为YYYYMMDDTHHMMSSZ。取值为当前系统的GMT时间。使用AK/SK认证时该字段必选
|
868
1005
|
|
869
1006
|
:return: The x_sdk_date of this ListImagesRequest.
|
870
1007
|
:rtype: str
|
@@ -873,18 +1010,20 @@ class ListImagesRequest:
|
|
873
1010
|
|
874
1011
|
@x_sdk_date.setter
|
875
1012
|
def x_sdk_date(self, x_sdk_date):
|
876
|
-
"""Sets the x_sdk_date of this ListImagesRequest.
|
1013
|
+
r"""Sets the x_sdk_date of this ListImagesRequest.
|
877
1014
|
|
1015
|
+
请求的发生时间,格式为YYYYMMDDTHHMMSSZ。取值为当前系统的GMT时间。使用AK/SK认证时该字段必选
|
878
1016
|
|
879
1017
|
:param x_sdk_date: The x_sdk_date of this ListImagesRequest.
|
880
|
-
:type: str
|
1018
|
+
:type x_sdk_date: str
|
881
1019
|
"""
|
882
1020
|
self._x_sdk_date = x_sdk_date
|
883
1021
|
|
884
1022
|
@property
|
885
1023
|
def flavor_id(self):
|
886
|
-
"""Gets the flavor_id of this ListImagesRequest.
|
1024
|
+
r"""Gets the flavor_id of this ListImagesRequest.
|
887
1025
|
|
1026
|
+
用于通过云服务器规格过滤出可用公共镜像,取值为规格ID。 当前仅支持通过单个规格进行过滤。
|
888
1027
|
|
889
1028
|
:return: The flavor_id of this ListImagesRequest.
|
890
1029
|
:rtype: str
|
@@ -893,18 +1032,20 @@ class ListImagesRequest:
|
|
893
1032
|
|
894
1033
|
@flavor_id.setter
|
895
1034
|
def flavor_id(self, flavor_id):
|
896
|
-
"""Sets the flavor_id of this ListImagesRequest.
|
1035
|
+
r"""Sets the flavor_id of this ListImagesRequest.
|
897
1036
|
|
1037
|
+
用于通过云服务器规格过滤出可用公共镜像,取值为规格ID。 当前仅支持通过单个规格进行过滤。
|
898
1038
|
|
899
1039
|
:param flavor_id: The flavor_id of this ListImagesRequest.
|
900
|
-
:type: str
|
1040
|
+
:type flavor_id: str
|
901
1041
|
"""
|
902
1042
|
self._flavor_id = flavor_id
|
903
1043
|
|
904
1044
|
@property
|
905
1045
|
def created_at(self):
|
906
|
-
"""Gets the created_at of this ListImagesRequest.
|
1046
|
+
r"""Gets the created_at of this ListImagesRequest.
|
907
1047
|
|
1048
|
+
镜像创建时间。支持按照时间点过滤查询,取值格式为“操作符:UTC时间”。 其中操作符支持如下几种: gt:大于 gte:大于等于 lt:小于 lte:小于等于 eq:等于 neq:不等于 时间格式支持:yyyy-MM-ddThh:mm:ssZ或者yyyy-MM-dd hh:mm:ss 例如,查询创建时间在2018-10-28 10:00:00之前的镜像,可以通过如下条件过滤: created_at=gt:2018-10-28T10:00:00Z
|
908
1049
|
|
909
1050
|
:return: The created_at of this ListImagesRequest.
|
910
1051
|
:rtype: str
|
@@ -913,18 +1054,20 @@ class ListImagesRequest:
|
|
913
1054
|
|
914
1055
|
@created_at.setter
|
915
1056
|
def created_at(self, created_at):
|
916
|
-
"""Sets the created_at of this ListImagesRequest.
|
1057
|
+
r"""Sets the created_at of this ListImagesRequest.
|
917
1058
|
|
1059
|
+
镜像创建时间。支持按照时间点过滤查询,取值格式为“操作符:UTC时间”。 其中操作符支持如下几种: gt:大于 gte:大于等于 lt:小于 lte:小于等于 eq:等于 neq:不等于 时间格式支持:yyyy-MM-ddThh:mm:ssZ或者yyyy-MM-dd hh:mm:ss 例如,查询创建时间在2018-10-28 10:00:00之前的镜像,可以通过如下条件过滤: created_at=gt:2018-10-28T10:00:00Z
|
918
1060
|
|
919
1061
|
:param created_at: The created_at of this ListImagesRequest.
|
920
|
-
:type: str
|
1062
|
+
:type created_at: str
|
921
1063
|
"""
|
922
1064
|
self._created_at = created_at
|
923
1065
|
|
924
1066
|
@property
|
925
1067
|
def updated_at(self):
|
926
|
-
"""Gets the updated_at of this ListImagesRequest.
|
1068
|
+
r"""Gets the updated_at of this ListImagesRequest.
|
927
1069
|
|
1070
|
+
镜像修改时间。支持按照时间点过滤查询,取值格式为“ 操作符:UTC时间”。 其中操作符支持如下几种: gt:大于 gte:大于等于 lt:小于 lte:小于等于 eq:等于 neq:不等于 时间格式支持:yyyy-MM-ddThh:mm:ssZ或者yyyy-MM-dd hh:mm:ss 例如,查询修改时间在2018-10-28 10:00:00之前的镜像,可以通过如下条件过滤: updated_at=gt:2018-10-28T10:00:00Z
|
928
1071
|
|
929
1072
|
:return: The updated_at of this ListImagesRequest.
|
930
1073
|
:rtype: str
|
@@ -933,18 +1076,20 @@ class ListImagesRequest:
|
|
933
1076
|
|
934
1077
|
@updated_at.setter
|
935
1078
|
def updated_at(self, updated_at):
|
936
|
-
"""Sets the updated_at of this ListImagesRequest.
|
1079
|
+
r"""Sets the updated_at of this ListImagesRequest.
|
937
1080
|
|
1081
|
+
镜像修改时间。支持按照时间点过滤查询,取值格式为“ 操作符:UTC时间”。 其中操作符支持如下几种: gt:大于 gte:大于等于 lt:小于 lte:小于等于 eq:等于 neq:不等于 时间格式支持:yyyy-MM-ddThh:mm:ssZ或者yyyy-MM-dd hh:mm:ss 例如,查询修改时间在2018-10-28 10:00:00之前的镜像,可以通过如下条件过滤: updated_at=gt:2018-10-28T10:00:00Z
|
938
1082
|
|
939
1083
|
:param updated_at: The updated_at of this ListImagesRequest.
|
940
|
-
:type: str
|
1084
|
+
:type updated_at: str
|
941
1085
|
"""
|
942
1086
|
self._updated_at = updated_at
|
943
1087
|
|
944
1088
|
@property
|
945
1089
|
def architecture(self):
|
946
|
-
"""Gets the architecture of this ListImagesRequest.
|
1090
|
+
r"""Gets the architecture of this ListImagesRequest.
|
947
1091
|
|
1092
|
+
镜像架构类型。取值包括: x86 arm
|
948
1093
|
|
949
1094
|
:return: The architecture of this ListImagesRequest.
|
950
1095
|
:rtype: str
|
@@ -953,11 +1098,12 @@ class ListImagesRequest:
|
|
953
1098
|
|
954
1099
|
@architecture.setter
|
955
1100
|
def architecture(self, architecture):
|
956
|
-
"""Sets the architecture of this ListImagesRequest.
|
1101
|
+
r"""Sets the architecture of this ListImagesRequest.
|
957
1102
|
|
1103
|
+
镜像架构类型。取值包括: x86 arm
|
958
1104
|
|
959
1105
|
:param architecture: The architecture of this ListImagesRequest.
|
960
|
-
:type: str
|
1106
|
+
:type architecture: str
|
961
1107
|
"""
|
962
1108
|
self._architecture = architecture
|
963
1109
|
|
@@ -990,10 +1136,15 @@ class ListImagesRequest:
|
|
990
1136
|
|
991
1137
|
def to_str(self):
|
992
1138
|
"""Returns the string representation of the model"""
|
993
|
-
|
1139
|
+
import simplejson as json
|
1140
|
+
if six.PY2:
|
1141
|
+
import sys
|
1142
|
+
reload(sys)
|
1143
|
+
sys.setdefaultencoding("utf-8")
|
1144
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
994
1145
|
|
995
1146
|
def __repr__(self):
|
996
|
-
"""For `print`
|
1147
|
+
"""For `print`"""
|
997
1148
|
return self.to_str()
|
998
1149
|
|
999
1150
|
def __eq__(self, other):
|