huaweicloudsdkims 3.0.43rc0__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.43rc0.dist-info → huaweicloudsdkims-3.1.160.dist-info}/METADATA +9 -9
- huaweicloudsdkims-3.1.160.dist-info/RECORD +158 -0
- {huaweicloudsdkims-3.0.43rc0.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.43rc0.dist-info/RECORD +0 -129
- {huaweicloudsdkims-3.0.43rc0.dist-info → huaweicloudsdkims-3.1.160.dist-info}/LICENSE +0 -0
- {huaweicloudsdkims-3.0.43rc0.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 GlanceListImagesRequest:
|
13
9
|
|
14
|
-
|
15
10
|
"""
|
16
11
|
Attributes:
|
17
12
|
openapi_types (dict): The key is attribute name
|
@@ -19,7 +14,6 @@ class GlanceListImagesRequest:
|
|
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 = {
|
@@ -93,7 +87,75 @@ class GlanceListImagesRequest:
|
|
93
87
|
}
|
94
88
|
|
95
89
|
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, 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, visibility=None, created_at=None, updated_at=None):
|
96
|
-
"""GlanceListImagesRequest
|
90
|
+
r"""GlanceListImagesRequest
|
91
|
+
|
92
|
+
The model defined in huaweicloud sdk
|
93
|
+
|
94
|
+
:param imagetype: 镜像类型,目前支持以下类型:公共镜像:gold私有镜像:private共享镜像:shared 市场镜像:market
|
95
|
+
:type imagetype: str
|
96
|
+
:param isregistered: 镜像是否是受保护,取值为true/false。一般查询公共镜像时候取值为true,查询私有镜像可以不指定。
|
97
|
+
:type isregistered: bool
|
98
|
+
:param os_bit: 操作系统位数,一般取值为32或者64
|
99
|
+
:type os_bit: str
|
100
|
+
:param os_type: 镜像系统类型,取值为Linux,Windows,Other
|
101
|
+
:type os_type: str
|
102
|
+
:param platform: 镜像平台分类,取值为Windows,Ubuntu,RedHat,SUSE,CentOS,Debian,OpenSUSE, Oracle Linux,Fedora,Other,CoreOS和EulerOS
|
103
|
+
:type platform: str
|
104
|
+
:param support_diskintensive: 表示该镜像支持密集存储。如果镜像支持密集存储性能,则值为true,否则无需增加该属性
|
105
|
+
:type support_diskintensive: str
|
106
|
+
:param support_highperformance: 表示该镜像支持高计算性能。如果镜像支持高计算性能,则值为true,否则无需增加该属性
|
107
|
+
:type support_highperformance: str
|
108
|
+
:param support_kvm: 如果镜像支持KVM,取值为true,否则无需增加该属性
|
109
|
+
:type support_kvm: str
|
110
|
+
:param support_kvm_gpu_type: 表示该镜像是支持KVM虚拟化平台下的GPU类型,如果不支持KVM虚拟机下GPU类型,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存
|
111
|
+
:type support_kvm_gpu_type: str
|
112
|
+
:param support_kvm_infiniband: 如果镜像支持KVM虚拟化下Infiniband网卡类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”属性不共存。
|
113
|
+
:type support_kvm_infiniband: str
|
114
|
+
:param support_largememory: 表示该镜像支持超大内存。如果镜像支持超大内存,取值为true,否则无需增加该属性
|
115
|
+
:type support_largememory: str
|
116
|
+
:param support_xen: 如果镜像支持XEN,取值为true,否则无需增加该属性
|
117
|
+
:type support_xen: str
|
118
|
+
:param support_xen_gpu_type: 表示该镜像是支持XEN虚拟化平台下的GPU优化类型,如果不支持XEN虚拟化下GPU类型,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存
|
119
|
+
:type support_xen_gpu_type: str
|
120
|
+
:param support_xen_hana: 如果镜像支持XEN虚拟化下HANA类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存
|
121
|
+
:type support_xen_hana: str
|
122
|
+
:param container_format: 容器类型
|
123
|
+
:type container_format: str
|
124
|
+
:param disk_format: 镜像格式,目前支持vhd,zvhd、raw,qcow2。默认值是vhd
|
125
|
+
:type disk_format: str
|
126
|
+
:param id: 镜像ID
|
127
|
+
:type id: str
|
128
|
+
:param limit: 用于分页,表示查询几条镜像记录,取值为整数,默认返回25条镜像记录
|
129
|
+
:type limit: int
|
130
|
+
:param marker: 用于分页,表示从哪个镜像开始查询,取值为镜像ID。
|
131
|
+
:type marker: str
|
132
|
+
:param member_status: 成员状态。目前取值有accepted、rejected、pending。accepted表示已经接受共享的镜像,rejected表示已经拒绝了其他用户共享的镜像,pending表示需要确认的其他用户的共享镜像。需要在查询时,设置“visibility”参数为“shared”
|
133
|
+
:type member_status: str
|
134
|
+
:param min_disk: 镜像运行需要的最小磁盘,单位为GB 。取值为40~1024GB。取值为1~1024GB。取值为40~255GB
|
135
|
+
:type min_disk: int
|
136
|
+
:param min_ram: 镜像运行需要的最小内存,单位为MB。参数取值依据弹性云服务器的规格限制,一般设置为0。
|
137
|
+
:type min_ram: int
|
138
|
+
:param name: 镜像名称
|
139
|
+
:type name: str
|
140
|
+
:param owner: 镜像属于哪个租户
|
141
|
+
:type owner: str
|
142
|
+
:param protected: 镜像是否是受保护,查询公共镜像时候取值为True,查询私有镜像可以不指定。
|
143
|
+
:type protected: bool
|
144
|
+
:param sort_dir: 用于排序,表示升序还是降序,取值为asc和desc。与sort_key一起组合使用,默认为降序desc
|
145
|
+
:type sort_dir: str
|
146
|
+
:param sort_key: 用于排序,表示按照哪个字段排序。取值为镜像属性name,container_format,disk_format,status,id,size字段,默认为创建时间。
|
147
|
+
:type sort_key: str
|
148
|
+
:param status: 镜像状态。取值如下:queued:表示镜像元数据已经创建成功,等待上传镜像文件。saving:表示镜像正在上传文件到后端存储。deleted:表示镜像已经删除。killed:表示镜像上传错误。active:表示镜像可以正常使用
|
149
|
+
:type status: str
|
150
|
+
:param tag: 标签,用户为镜像增加自定义标签后可以通过该参数过滤查询
|
151
|
+
:type tag: str
|
152
|
+
:param visibility: 是否被其他租户可见,取值如下: public:公共镜像 private:私有镜像 shared:共享镜像
|
153
|
+
:type visibility: str
|
154
|
+
: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
|
155
|
+
:type created_at: str
|
156
|
+
: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
|
157
|
+
:type updated_at: str
|
158
|
+
"""
|
97
159
|
|
98
160
|
|
99
161
|
|
@@ -198,8 +260,9 @@ class GlanceListImagesRequest:
|
|
198
260
|
|
199
261
|
@property
|
200
262
|
def imagetype(self):
|
201
|
-
"""Gets the imagetype of this GlanceListImagesRequest.
|
263
|
+
r"""Gets the imagetype of this GlanceListImagesRequest.
|
202
264
|
|
265
|
+
镜像类型,目前支持以下类型:公共镜像:gold私有镜像:private共享镜像:shared 市场镜像:market
|
203
266
|
|
204
267
|
:return: The imagetype of this GlanceListImagesRequest.
|
205
268
|
:rtype: str
|
@@ -208,18 +271,20 @@ class GlanceListImagesRequest:
|
|
208
271
|
|
209
272
|
@imagetype.setter
|
210
273
|
def imagetype(self, imagetype):
|
211
|
-
"""Sets the imagetype of this GlanceListImagesRequest.
|
274
|
+
r"""Sets the imagetype of this GlanceListImagesRequest.
|
212
275
|
|
276
|
+
镜像类型,目前支持以下类型:公共镜像:gold私有镜像:private共享镜像:shared 市场镜像:market
|
213
277
|
|
214
278
|
:param imagetype: The imagetype of this GlanceListImagesRequest.
|
215
|
-
:type: str
|
279
|
+
:type imagetype: str
|
216
280
|
"""
|
217
281
|
self._imagetype = imagetype
|
218
282
|
|
219
283
|
@property
|
220
284
|
def isregistered(self):
|
221
|
-
"""Gets the isregistered of this GlanceListImagesRequest.
|
285
|
+
r"""Gets the isregistered of this GlanceListImagesRequest.
|
222
286
|
|
287
|
+
镜像是否是受保护,取值为true/false。一般查询公共镜像时候取值为true,查询私有镜像可以不指定。
|
223
288
|
|
224
289
|
:return: The isregistered of this GlanceListImagesRequest.
|
225
290
|
:rtype: bool
|
@@ -228,18 +293,20 @@ class GlanceListImagesRequest:
|
|
228
293
|
|
229
294
|
@isregistered.setter
|
230
295
|
def isregistered(self, isregistered):
|
231
|
-
"""Sets the isregistered of this GlanceListImagesRequest.
|
296
|
+
r"""Sets the isregistered of this GlanceListImagesRequest.
|
232
297
|
|
298
|
+
镜像是否是受保护,取值为true/false。一般查询公共镜像时候取值为true,查询私有镜像可以不指定。
|
233
299
|
|
234
300
|
:param isregistered: The isregistered of this GlanceListImagesRequest.
|
235
|
-
:type: bool
|
301
|
+
:type isregistered: bool
|
236
302
|
"""
|
237
303
|
self._isregistered = isregistered
|
238
304
|
|
239
305
|
@property
|
240
306
|
def os_bit(self):
|
241
|
-
"""Gets the os_bit of this GlanceListImagesRequest.
|
307
|
+
r"""Gets the os_bit of this GlanceListImagesRequest.
|
242
308
|
|
309
|
+
操作系统位数,一般取值为32或者64
|
243
310
|
|
244
311
|
:return: The os_bit of this GlanceListImagesRequest.
|
245
312
|
:rtype: str
|
@@ -248,18 +315,20 @@ class GlanceListImagesRequest:
|
|
248
315
|
|
249
316
|
@os_bit.setter
|
250
317
|
def os_bit(self, os_bit):
|
251
|
-
"""Sets the os_bit of this GlanceListImagesRequest.
|
318
|
+
r"""Sets the os_bit of this GlanceListImagesRequest.
|
252
319
|
|
320
|
+
操作系统位数,一般取值为32或者64
|
253
321
|
|
254
322
|
:param os_bit: The os_bit of this GlanceListImagesRequest.
|
255
|
-
:type: str
|
323
|
+
:type os_bit: str
|
256
324
|
"""
|
257
325
|
self._os_bit = os_bit
|
258
326
|
|
259
327
|
@property
|
260
328
|
def os_type(self):
|
261
|
-
"""Gets the os_type of this GlanceListImagesRequest.
|
329
|
+
r"""Gets the os_type of this GlanceListImagesRequest.
|
262
330
|
|
331
|
+
镜像系统类型,取值为Linux,Windows,Other
|
263
332
|
|
264
333
|
:return: The os_type of this GlanceListImagesRequest.
|
265
334
|
:rtype: str
|
@@ -268,18 +337,20 @@ class GlanceListImagesRequest:
|
|
268
337
|
|
269
338
|
@os_type.setter
|
270
339
|
def os_type(self, os_type):
|
271
|
-
"""Sets the os_type of this GlanceListImagesRequest.
|
340
|
+
r"""Sets the os_type of this GlanceListImagesRequest.
|
272
341
|
|
342
|
+
镜像系统类型,取值为Linux,Windows,Other
|
273
343
|
|
274
344
|
:param os_type: The os_type of this GlanceListImagesRequest.
|
275
|
-
:type: str
|
345
|
+
:type os_type: str
|
276
346
|
"""
|
277
347
|
self._os_type = os_type
|
278
348
|
|
279
349
|
@property
|
280
350
|
def platform(self):
|
281
|
-
"""Gets the platform of this GlanceListImagesRequest.
|
351
|
+
r"""Gets the platform of this GlanceListImagesRequest.
|
282
352
|
|
353
|
+
镜像平台分类,取值为Windows,Ubuntu,RedHat,SUSE,CentOS,Debian,OpenSUSE, Oracle Linux,Fedora,Other,CoreOS和EulerOS
|
283
354
|
|
284
355
|
:return: The platform of this GlanceListImagesRequest.
|
285
356
|
:rtype: str
|
@@ -288,18 +359,20 @@ class GlanceListImagesRequest:
|
|
288
359
|
|
289
360
|
@platform.setter
|
290
361
|
def platform(self, platform):
|
291
|
-
"""Sets the platform of this GlanceListImagesRequest.
|
362
|
+
r"""Sets the platform of this GlanceListImagesRequest.
|
292
363
|
|
364
|
+
镜像平台分类,取值为Windows,Ubuntu,RedHat,SUSE,CentOS,Debian,OpenSUSE, Oracle Linux,Fedora,Other,CoreOS和EulerOS
|
293
365
|
|
294
366
|
:param platform: The platform of this GlanceListImagesRequest.
|
295
|
-
:type: str
|
367
|
+
:type platform: str
|
296
368
|
"""
|
297
369
|
self._platform = platform
|
298
370
|
|
299
371
|
@property
|
300
372
|
def support_diskintensive(self):
|
301
|
-
"""Gets the support_diskintensive of this GlanceListImagesRequest.
|
373
|
+
r"""Gets the support_diskintensive of this GlanceListImagesRequest.
|
302
374
|
|
375
|
+
表示该镜像支持密集存储。如果镜像支持密集存储性能,则值为true,否则无需增加该属性
|
303
376
|
|
304
377
|
:return: The support_diskintensive of this GlanceListImagesRequest.
|
305
378
|
:rtype: str
|
@@ -308,18 +381,20 @@ class GlanceListImagesRequest:
|
|
308
381
|
|
309
382
|
@support_diskintensive.setter
|
310
383
|
def support_diskintensive(self, support_diskintensive):
|
311
|
-
"""Sets the support_diskintensive of this GlanceListImagesRequest.
|
384
|
+
r"""Sets the support_diskintensive of this GlanceListImagesRequest.
|
312
385
|
|
386
|
+
表示该镜像支持密集存储。如果镜像支持密集存储性能,则值为true,否则无需增加该属性
|
313
387
|
|
314
388
|
:param support_diskintensive: The support_diskintensive of this GlanceListImagesRequest.
|
315
|
-
:type: str
|
389
|
+
:type support_diskintensive: str
|
316
390
|
"""
|
317
391
|
self._support_diskintensive = support_diskintensive
|
318
392
|
|
319
393
|
@property
|
320
394
|
def support_highperformance(self):
|
321
|
-
"""Gets the support_highperformance of this GlanceListImagesRequest.
|
395
|
+
r"""Gets the support_highperformance of this GlanceListImagesRequest.
|
322
396
|
|
397
|
+
表示该镜像支持高计算性能。如果镜像支持高计算性能,则值为true,否则无需增加该属性
|
323
398
|
|
324
399
|
:return: The support_highperformance of this GlanceListImagesRequest.
|
325
400
|
:rtype: str
|
@@ -328,18 +403,20 @@ class GlanceListImagesRequest:
|
|
328
403
|
|
329
404
|
@support_highperformance.setter
|
330
405
|
def support_highperformance(self, support_highperformance):
|
331
|
-
"""Sets the support_highperformance of this GlanceListImagesRequest.
|
406
|
+
r"""Sets the support_highperformance of this GlanceListImagesRequest.
|
332
407
|
|
408
|
+
表示该镜像支持高计算性能。如果镜像支持高计算性能,则值为true,否则无需增加该属性
|
333
409
|
|
334
410
|
:param support_highperformance: The support_highperformance of this GlanceListImagesRequest.
|
335
|
-
:type: str
|
411
|
+
:type support_highperformance: str
|
336
412
|
"""
|
337
413
|
self._support_highperformance = support_highperformance
|
338
414
|
|
339
415
|
@property
|
340
416
|
def support_kvm(self):
|
341
|
-
"""Gets the support_kvm of this GlanceListImagesRequest.
|
417
|
+
r"""Gets the support_kvm of this GlanceListImagesRequest.
|
342
418
|
|
419
|
+
如果镜像支持KVM,取值为true,否则无需增加该属性
|
343
420
|
|
344
421
|
:return: The support_kvm of this GlanceListImagesRequest.
|
345
422
|
:rtype: str
|
@@ -348,18 +425,20 @@ class GlanceListImagesRequest:
|
|
348
425
|
|
349
426
|
@support_kvm.setter
|
350
427
|
def support_kvm(self, support_kvm):
|
351
|
-
"""Sets the support_kvm of this GlanceListImagesRequest.
|
428
|
+
r"""Sets the support_kvm of this GlanceListImagesRequest.
|
352
429
|
|
430
|
+
如果镜像支持KVM,取值为true,否则无需增加该属性
|
353
431
|
|
354
432
|
:param support_kvm: The support_kvm of this GlanceListImagesRequest.
|
355
|
-
:type: str
|
433
|
+
:type support_kvm: str
|
356
434
|
"""
|
357
435
|
self._support_kvm = support_kvm
|
358
436
|
|
359
437
|
@property
|
360
438
|
def support_kvm_gpu_type(self):
|
361
|
-
"""Gets the support_kvm_gpu_type of this GlanceListImagesRequest.
|
439
|
+
r"""Gets the support_kvm_gpu_type of this GlanceListImagesRequest.
|
362
440
|
|
441
|
+
表示该镜像是支持KVM虚拟化平台下的GPU类型,如果不支持KVM虚拟机下GPU类型,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存
|
363
442
|
|
364
443
|
:return: The support_kvm_gpu_type of this GlanceListImagesRequest.
|
365
444
|
:rtype: str
|
@@ -368,18 +447,20 @@ class GlanceListImagesRequest:
|
|
368
447
|
|
369
448
|
@support_kvm_gpu_type.setter
|
370
449
|
def support_kvm_gpu_type(self, support_kvm_gpu_type):
|
371
|
-
"""Sets the support_kvm_gpu_type of this GlanceListImagesRequest.
|
450
|
+
r"""Sets the support_kvm_gpu_type of this GlanceListImagesRequest.
|
372
451
|
|
452
|
+
表示该镜像是支持KVM虚拟化平台下的GPU类型,如果不支持KVM虚拟机下GPU类型,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存
|
373
453
|
|
374
454
|
:param support_kvm_gpu_type: The support_kvm_gpu_type of this GlanceListImagesRequest.
|
375
|
-
:type: str
|
455
|
+
:type support_kvm_gpu_type: str
|
376
456
|
"""
|
377
457
|
self._support_kvm_gpu_type = support_kvm_gpu_type
|
378
458
|
|
379
459
|
@property
|
380
460
|
def support_kvm_infiniband(self):
|
381
|
-
"""Gets the support_kvm_infiniband of this GlanceListImagesRequest.
|
461
|
+
r"""Gets the support_kvm_infiniband of this GlanceListImagesRequest.
|
382
462
|
|
463
|
+
如果镜像支持KVM虚拟化下Infiniband网卡类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”属性不共存。
|
383
464
|
|
384
465
|
:return: The support_kvm_infiniband of this GlanceListImagesRequest.
|
385
466
|
:rtype: str
|
@@ -388,18 +469,20 @@ class GlanceListImagesRequest:
|
|
388
469
|
|
389
470
|
@support_kvm_infiniband.setter
|
390
471
|
def support_kvm_infiniband(self, support_kvm_infiniband):
|
391
|
-
"""Sets the support_kvm_infiniband of this GlanceListImagesRequest.
|
472
|
+
r"""Sets the support_kvm_infiniband of this GlanceListImagesRequest.
|
392
473
|
|
474
|
+
如果镜像支持KVM虚拟化下Infiniband网卡类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”属性不共存。
|
393
475
|
|
394
476
|
:param support_kvm_infiniband: The support_kvm_infiniband of this GlanceListImagesRequest.
|
395
|
-
:type: str
|
477
|
+
:type support_kvm_infiniband: str
|
396
478
|
"""
|
397
479
|
self._support_kvm_infiniband = support_kvm_infiniband
|
398
480
|
|
399
481
|
@property
|
400
482
|
def support_largememory(self):
|
401
|
-
"""Gets the support_largememory of this GlanceListImagesRequest.
|
483
|
+
r"""Gets the support_largememory of this GlanceListImagesRequest.
|
402
484
|
|
485
|
+
表示该镜像支持超大内存。如果镜像支持超大内存,取值为true,否则无需增加该属性
|
403
486
|
|
404
487
|
:return: The support_largememory of this GlanceListImagesRequest.
|
405
488
|
:rtype: str
|
@@ -408,18 +491,20 @@ class GlanceListImagesRequest:
|
|
408
491
|
|
409
492
|
@support_largememory.setter
|
410
493
|
def support_largememory(self, support_largememory):
|
411
|
-
"""Sets the support_largememory of this GlanceListImagesRequest.
|
494
|
+
r"""Sets the support_largememory of this GlanceListImagesRequest.
|
412
495
|
|
496
|
+
表示该镜像支持超大内存。如果镜像支持超大内存,取值为true,否则无需增加该属性
|
413
497
|
|
414
498
|
:param support_largememory: The support_largememory of this GlanceListImagesRequest.
|
415
|
-
:type: str
|
499
|
+
:type support_largememory: str
|
416
500
|
"""
|
417
501
|
self._support_largememory = support_largememory
|
418
502
|
|
419
503
|
@property
|
420
504
|
def support_xen(self):
|
421
|
-
"""Gets the support_xen of this GlanceListImagesRequest.
|
505
|
+
r"""Gets the support_xen of this GlanceListImagesRequest.
|
422
506
|
|
507
|
+
如果镜像支持XEN,取值为true,否则无需增加该属性
|
423
508
|
|
424
509
|
:return: The support_xen of this GlanceListImagesRequest.
|
425
510
|
:rtype: str
|
@@ -428,18 +513,20 @@ class GlanceListImagesRequest:
|
|
428
513
|
|
429
514
|
@support_xen.setter
|
430
515
|
def support_xen(self, support_xen):
|
431
|
-
"""Sets the support_xen of this GlanceListImagesRequest.
|
516
|
+
r"""Sets the support_xen of this GlanceListImagesRequest.
|
432
517
|
|
518
|
+
如果镜像支持XEN,取值为true,否则无需增加该属性
|
433
519
|
|
434
520
|
:param support_xen: The support_xen of this GlanceListImagesRequest.
|
435
|
-
:type: str
|
521
|
+
:type support_xen: str
|
436
522
|
"""
|
437
523
|
self._support_xen = support_xen
|
438
524
|
|
439
525
|
@property
|
440
526
|
def support_xen_gpu_type(self):
|
441
|
-
"""Gets the support_xen_gpu_type of this GlanceListImagesRequest.
|
527
|
+
r"""Gets the support_xen_gpu_type of this GlanceListImagesRequest.
|
442
528
|
|
529
|
+
表示该镜像是支持XEN虚拟化平台下的GPU优化类型,如果不支持XEN虚拟化下GPU类型,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存
|
443
530
|
|
444
531
|
:return: The support_xen_gpu_type of this GlanceListImagesRequest.
|
445
532
|
:rtype: str
|
@@ -448,18 +535,20 @@ class GlanceListImagesRequest:
|
|
448
535
|
|
449
536
|
@support_xen_gpu_type.setter
|
450
537
|
def support_xen_gpu_type(self, support_xen_gpu_type):
|
451
|
-
"""Sets the support_xen_gpu_type of this GlanceListImagesRequest.
|
538
|
+
r"""Sets the support_xen_gpu_type of this GlanceListImagesRequest.
|
452
539
|
|
540
|
+
表示该镜像是支持XEN虚拟化平台下的GPU优化类型,如果不支持XEN虚拟化下GPU类型,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存
|
453
541
|
|
454
542
|
:param support_xen_gpu_type: The support_xen_gpu_type of this GlanceListImagesRequest.
|
455
|
-
:type: str
|
543
|
+
:type support_xen_gpu_type: str
|
456
544
|
"""
|
457
545
|
self._support_xen_gpu_type = support_xen_gpu_type
|
458
546
|
|
459
547
|
@property
|
460
548
|
def support_xen_hana(self):
|
461
|
-
"""Gets the support_xen_hana of this GlanceListImagesRequest.
|
549
|
+
r"""Gets the support_xen_hana of this GlanceListImagesRequest.
|
462
550
|
|
551
|
+
如果镜像支持XEN虚拟化下HANA类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存
|
463
552
|
|
464
553
|
:return: The support_xen_hana of this GlanceListImagesRequest.
|
465
554
|
:rtype: str
|
@@ -468,18 +557,20 @@ class GlanceListImagesRequest:
|
|
468
557
|
|
469
558
|
@support_xen_hana.setter
|
470
559
|
def support_xen_hana(self, support_xen_hana):
|
471
|
-
"""Sets the support_xen_hana of this GlanceListImagesRequest.
|
560
|
+
r"""Sets the support_xen_hana of this GlanceListImagesRequest.
|
472
561
|
|
562
|
+
如果镜像支持XEN虚拟化下HANA类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存
|
473
563
|
|
474
564
|
:param support_xen_hana: The support_xen_hana of this GlanceListImagesRequest.
|
475
|
-
:type: str
|
565
|
+
:type support_xen_hana: str
|
476
566
|
"""
|
477
567
|
self._support_xen_hana = support_xen_hana
|
478
568
|
|
479
569
|
@property
|
480
570
|
def container_format(self):
|
481
|
-
"""Gets the container_format of this GlanceListImagesRequest.
|
571
|
+
r"""Gets the container_format of this GlanceListImagesRequest.
|
482
572
|
|
573
|
+
容器类型
|
483
574
|
|
484
575
|
:return: The container_format of this GlanceListImagesRequest.
|
485
576
|
:rtype: str
|
@@ -488,18 +579,20 @@ class GlanceListImagesRequest:
|
|
488
579
|
|
489
580
|
@container_format.setter
|
490
581
|
def container_format(self, container_format):
|
491
|
-
"""Sets the container_format of this GlanceListImagesRequest.
|
582
|
+
r"""Sets the container_format of this GlanceListImagesRequest.
|
492
583
|
|
584
|
+
容器类型
|
493
585
|
|
494
586
|
:param container_format: The container_format of this GlanceListImagesRequest.
|
495
|
-
:type: str
|
587
|
+
:type container_format: str
|
496
588
|
"""
|
497
589
|
self._container_format = container_format
|
498
590
|
|
499
591
|
@property
|
500
592
|
def disk_format(self):
|
501
|
-
"""Gets the disk_format of this GlanceListImagesRequest.
|
593
|
+
r"""Gets the disk_format of this GlanceListImagesRequest.
|
502
594
|
|
595
|
+
镜像格式,目前支持vhd,zvhd、raw,qcow2。默认值是vhd
|
503
596
|
|
504
597
|
:return: The disk_format of this GlanceListImagesRequest.
|
505
598
|
:rtype: str
|
@@ -508,18 +601,20 @@ class GlanceListImagesRequest:
|
|
508
601
|
|
509
602
|
@disk_format.setter
|
510
603
|
def disk_format(self, disk_format):
|
511
|
-
"""Sets the disk_format of this GlanceListImagesRequest.
|
604
|
+
r"""Sets the disk_format of this GlanceListImagesRequest.
|
512
605
|
|
606
|
+
镜像格式,目前支持vhd,zvhd、raw,qcow2。默认值是vhd
|
513
607
|
|
514
608
|
:param disk_format: The disk_format of this GlanceListImagesRequest.
|
515
|
-
:type: str
|
609
|
+
:type disk_format: str
|
516
610
|
"""
|
517
611
|
self._disk_format = disk_format
|
518
612
|
|
519
613
|
@property
|
520
614
|
def id(self):
|
521
|
-
"""Gets the id of this GlanceListImagesRequest.
|
615
|
+
r"""Gets the id of this GlanceListImagesRequest.
|
522
616
|
|
617
|
+
镜像ID
|
523
618
|
|
524
619
|
:return: The id of this GlanceListImagesRequest.
|
525
620
|
:rtype: str
|
@@ -528,18 +623,20 @@ class GlanceListImagesRequest:
|
|
528
623
|
|
529
624
|
@id.setter
|
530
625
|
def id(self, id):
|
531
|
-
"""Sets the id of this GlanceListImagesRequest.
|
626
|
+
r"""Sets the id of this GlanceListImagesRequest.
|
532
627
|
|
628
|
+
镜像ID
|
533
629
|
|
534
630
|
:param id: The id of this GlanceListImagesRequest.
|
535
|
-
:type: str
|
631
|
+
:type id: str
|
536
632
|
"""
|
537
633
|
self._id = id
|
538
634
|
|
539
635
|
@property
|
540
636
|
def limit(self):
|
541
|
-
"""Gets the limit of this GlanceListImagesRequest.
|
637
|
+
r"""Gets the limit of this GlanceListImagesRequest.
|
542
638
|
|
639
|
+
用于分页,表示查询几条镜像记录,取值为整数,默认返回25条镜像记录
|
543
640
|
|
544
641
|
:return: The limit of this GlanceListImagesRequest.
|
545
642
|
:rtype: int
|
@@ -548,18 +645,20 @@ class GlanceListImagesRequest:
|
|
548
645
|
|
549
646
|
@limit.setter
|
550
647
|
def limit(self, limit):
|
551
|
-
"""Sets the limit of this GlanceListImagesRequest.
|
648
|
+
r"""Sets the limit of this GlanceListImagesRequest.
|
552
649
|
|
650
|
+
用于分页,表示查询几条镜像记录,取值为整数,默认返回25条镜像记录
|
553
651
|
|
554
652
|
:param limit: The limit of this GlanceListImagesRequest.
|
555
|
-
:type: int
|
653
|
+
:type limit: int
|
556
654
|
"""
|
557
655
|
self._limit = limit
|
558
656
|
|
559
657
|
@property
|
560
658
|
def marker(self):
|
561
|
-
"""Gets the marker of this GlanceListImagesRequest.
|
659
|
+
r"""Gets the marker of this GlanceListImagesRequest.
|
562
660
|
|
661
|
+
用于分页,表示从哪个镜像开始查询,取值为镜像ID。
|
563
662
|
|
564
663
|
:return: The marker of this GlanceListImagesRequest.
|
565
664
|
:rtype: str
|
@@ -568,18 +667,20 @@ class GlanceListImagesRequest:
|
|
568
667
|
|
569
668
|
@marker.setter
|
570
669
|
def marker(self, marker):
|
571
|
-
"""Sets the marker of this GlanceListImagesRequest.
|
670
|
+
r"""Sets the marker of this GlanceListImagesRequest.
|
572
671
|
|
672
|
+
用于分页,表示从哪个镜像开始查询,取值为镜像ID。
|
573
673
|
|
574
674
|
:param marker: The marker of this GlanceListImagesRequest.
|
575
|
-
:type: str
|
675
|
+
:type marker: str
|
576
676
|
"""
|
577
677
|
self._marker = marker
|
578
678
|
|
579
679
|
@property
|
580
680
|
def member_status(self):
|
581
|
-
"""Gets the member_status of this GlanceListImagesRequest.
|
681
|
+
r"""Gets the member_status of this GlanceListImagesRequest.
|
582
682
|
|
683
|
+
成员状态。目前取值有accepted、rejected、pending。accepted表示已经接受共享的镜像,rejected表示已经拒绝了其他用户共享的镜像,pending表示需要确认的其他用户的共享镜像。需要在查询时,设置“visibility”参数为“shared”
|
583
684
|
|
584
685
|
:return: The member_status of this GlanceListImagesRequest.
|
585
686
|
:rtype: str
|
@@ -588,18 +689,20 @@ class GlanceListImagesRequest:
|
|
588
689
|
|
589
690
|
@member_status.setter
|
590
691
|
def member_status(self, member_status):
|
591
|
-
"""Sets the member_status of this GlanceListImagesRequest.
|
692
|
+
r"""Sets the member_status of this GlanceListImagesRequest.
|
592
693
|
|
694
|
+
成员状态。目前取值有accepted、rejected、pending。accepted表示已经接受共享的镜像,rejected表示已经拒绝了其他用户共享的镜像,pending表示需要确认的其他用户的共享镜像。需要在查询时,设置“visibility”参数为“shared”
|
593
695
|
|
594
696
|
:param member_status: The member_status of this GlanceListImagesRequest.
|
595
|
-
:type: str
|
697
|
+
:type member_status: str
|
596
698
|
"""
|
597
699
|
self._member_status = member_status
|
598
700
|
|
599
701
|
@property
|
600
702
|
def min_disk(self):
|
601
|
-
"""Gets the min_disk of this GlanceListImagesRequest.
|
703
|
+
r"""Gets the min_disk of this GlanceListImagesRequest.
|
602
704
|
|
705
|
+
镜像运行需要的最小磁盘,单位为GB 。取值为40~1024GB。取值为1~1024GB。取值为40~255GB
|
603
706
|
|
604
707
|
:return: The min_disk of this GlanceListImagesRequest.
|
605
708
|
:rtype: int
|
@@ -608,18 +711,20 @@ class GlanceListImagesRequest:
|
|
608
711
|
|
609
712
|
@min_disk.setter
|
610
713
|
def min_disk(self, min_disk):
|
611
|
-
"""Sets the min_disk of this GlanceListImagesRequest.
|
714
|
+
r"""Sets the min_disk of this GlanceListImagesRequest.
|
612
715
|
|
716
|
+
镜像运行需要的最小磁盘,单位为GB 。取值为40~1024GB。取值为1~1024GB。取值为40~255GB
|
613
717
|
|
614
718
|
:param min_disk: The min_disk of this GlanceListImagesRequest.
|
615
|
-
:type: int
|
719
|
+
:type min_disk: int
|
616
720
|
"""
|
617
721
|
self._min_disk = min_disk
|
618
722
|
|
619
723
|
@property
|
620
724
|
def min_ram(self):
|
621
|
-
"""Gets the min_ram of this GlanceListImagesRequest.
|
725
|
+
r"""Gets the min_ram of this GlanceListImagesRequest.
|
622
726
|
|
727
|
+
镜像运行需要的最小内存,单位为MB。参数取值依据弹性云服务器的规格限制,一般设置为0。
|
623
728
|
|
624
729
|
:return: The min_ram of this GlanceListImagesRequest.
|
625
730
|
:rtype: int
|
@@ -628,18 +733,20 @@ class GlanceListImagesRequest:
|
|
628
733
|
|
629
734
|
@min_ram.setter
|
630
735
|
def min_ram(self, min_ram):
|
631
|
-
"""Sets the min_ram of this GlanceListImagesRequest.
|
736
|
+
r"""Sets the min_ram of this GlanceListImagesRequest.
|
632
737
|
|
738
|
+
镜像运行需要的最小内存,单位为MB。参数取值依据弹性云服务器的规格限制,一般设置为0。
|
633
739
|
|
634
740
|
:param min_ram: The min_ram of this GlanceListImagesRequest.
|
635
|
-
:type: int
|
741
|
+
:type min_ram: int
|
636
742
|
"""
|
637
743
|
self._min_ram = min_ram
|
638
744
|
|
639
745
|
@property
|
640
746
|
def name(self):
|
641
|
-
"""Gets the name of this GlanceListImagesRequest.
|
747
|
+
r"""Gets the name of this GlanceListImagesRequest.
|
642
748
|
|
749
|
+
镜像名称
|
643
750
|
|
644
751
|
:return: The name of this GlanceListImagesRequest.
|
645
752
|
:rtype: str
|
@@ -648,18 +755,20 @@ class GlanceListImagesRequest:
|
|
648
755
|
|
649
756
|
@name.setter
|
650
757
|
def name(self, name):
|
651
|
-
"""Sets the name of this GlanceListImagesRequest.
|
758
|
+
r"""Sets the name of this GlanceListImagesRequest.
|
652
759
|
|
760
|
+
镜像名称
|
653
761
|
|
654
762
|
:param name: The name of this GlanceListImagesRequest.
|
655
|
-
:type: str
|
763
|
+
:type name: str
|
656
764
|
"""
|
657
765
|
self._name = name
|
658
766
|
|
659
767
|
@property
|
660
768
|
def owner(self):
|
661
|
-
"""Gets the owner of this GlanceListImagesRequest.
|
769
|
+
r"""Gets the owner of this GlanceListImagesRequest.
|
662
770
|
|
771
|
+
镜像属于哪个租户
|
663
772
|
|
664
773
|
:return: The owner of this GlanceListImagesRequest.
|
665
774
|
:rtype: str
|
@@ -668,18 +777,20 @@ class GlanceListImagesRequest:
|
|
668
777
|
|
669
778
|
@owner.setter
|
670
779
|
def owner(self, owner):
|
671
|
-
"""Sets the owner of this GlanceListImagesRequest.
|
780
|
+
r"""Sets the owner of this GlanceListImagesRequest.
|
672
781
|
|
782
|
+
镜像属于哪个租户
|
673
783
|
|
674
784
|
:param owner: The owner of this GlanceListImagesRequest.
|
675
|
-
:type: str
|
785
|
+
:type owner: str
|
676
786
|
"""
|
677
787
|
self._owner = owner
|
678
788
|
|
679
789
|
@property
|
680
790
|
def protected(self):
|
681
|
-
"""Gets the protected of this GlanceListImagesRequest.
|
791
|
+
r"""Gets the protected of this GlanceListImagesRequest.
|
682
792
|
|
793
|
+
镜像是否是受保护,查询公共镜像时候取值为True,查询私有镜像可以不指定。
|
683
794
|
|
684
795
|
:return: The protected of this GlanceListImagesRequest.
|
685
796
|
:rtype: bool
|
@@ -688,18 +799,20 @@ class GlanceListImagesRequest:
|
|
688
799
|
|
689
800
|
@protected.setter
|
690
801
|
def protected(self, protected):
|
691
|
-
"""Sets the protected of this GlanceListImagesRequest.
|
802
|
+
r"""Sets the protected of this GlanceListImagesRequest.
|
692
803
|
|
804
|
+
镜像是否是受保护,查询公共镜像时候取值为True,查询私有镜像可以不指定。
|
693
805
|
|
694
806
|
:param protected: The protected of this GlanceListImagesRequest.
|
695
|
-
:type: bool
|
807
|
+
:type protected: bool
|
696
808
|
"""
|
697
809
|
self._protected = protected
|
698
810
|
|
699
811
|
@property
|
700
812
|
def sort_dir(self):
|
701
|
-
"""Gets the sort_dir of this GlanceListImagesRequest.
|
813
|
+
r"""Gets the sort_dir of this GlanceListImagesRequest.
|
702
814
|
|
815
|
+
用于排序,表示升序还是降序,取值为asc和desc。与sort_key一起组合使用,默认为降序desc
|
703
816
|
|
704
817
|
:return: The sort_dir of this GlanceListImagesRequest.
|
705
818
|
:rtype: str
|
@@ -708,18 +821,20 @@ class GlanceListImagesRequest:
|
|
708
821
|
|
709
822
|
@sort_dir.setter
|
710
823
|
def sort_dir(self, sort_dir):
|
711
|
-
"""Sets the sort_dir of this GlanceListImagesRequest.
|
824
|
+
r"""Sets the sort_dir of this GlanceListImagesRequest.
|
712
825
|
|
826
|
+
用于排序,表示升序还是降序,取值为asc和desc。与sort_key一起组合使用,默认为降序desc
|
713
827
|
|
714
828
|
:param sort_dir: The sort_dir of this GlanceListImagesRequest.
|
715
|
-
:type: str
|
829
|
+
:type sort_dir: str
|
716
830
|
"""
|
717
831
|
self._sort_dir = sort_dir
|
718
832
|
|
719
833
|
@property
|
720
834
|
def sort_key(self):
|
721
|
-
"""Gets the sort_key of this GlanceListImagesRequest.
|
835
|
+
r"""Gets the sort_key of this GlanceListImagesRequest.
|
722
836
|
|
837
|
+
用于排序,表示按照哪个字段排序。取值为镜像属性name,container_format,disk_format,status,id,size字段,默认为创建时间。
|
723
838
|
|
724
839
|
:return: The sort_key of this GlanceListImagesRequest.
|
725
840
|
:rtype: str
|
@@ -728,18 +843,20 @@ class GlanceListImagesRequest:
|
|
728
843
|
|
729
844
|
@sort_key.setter
|
730
845
|
def sort_key(self, sort_key):
|
731
|
-
"""Sets the sort_key of this GlanceListImagesRequest.
|
846
|
+
r"""Sets the sort_key of this GlanceListImagesRequest.
|
732
847
|
|
848
|
+
用于排序,表示按照哪个字段排序。取值为镜像属性name,container_format,disk_format,status,id,size字段,默认为创建时间。
|
733
849
|
|
734
850
|
:param sort_key: The sort_key of this GlanceListImagesRequest.
|
735
|
-
:type: str
|
851
|
+
:type sort_key: str
|
736
852
|
"""
|
737
853
|
self._sort_key = sort_key
|
738
854
|
|
739
855
|
@property
|
740
856
|
def status(self):
|
741
|
-
"""Gets the status of this GlanceListImagesRequest.
|
857
|
+
r"""Gets the status of this GlanceListImagesRequest.
|
742
858
|
|
859
|
+
镜像状态。取值如下:queued:表示镜像元数据已经创建成功,等待上传镜像文件。saving:表示镜像正在上传文件到后端存储。deleted:表示镜像已经删除。killed:表示镜像上传错误。active:表示镜像可以正常使用
|
743
860
|
|
744
861
|
:return: The status of this GlanceListImagesRequest.
|
745
862
|
:rtype: str
|
@@ -748,18 +865,20 @@ class GlanceListImagesRequest:
|
|
748
865
|
|
749
866
|
@status.setter
|
750
867
|
def status(self, status):
|
751
|
-
"""Sets the status of this GlanceListImagesRequest.
|
868
|
+
r"""Sets the status of this GlanceListImagesRequest.
|
752
869
|
|
870
|
+
镜像状态。取值如下:queued:表示镜像元数据已经创建成功,等待上传镜像文件。saving:表示镜像正在上传文件到后端存储。deleted:表示镜像已经删除。killed:表示镜像上传错误。active:表示镜像可以正常使用
|
753
871
|
|
754
872
|
:param status: The status of this GlanceListImagesRequest.
|
755
|
-
:type: str
|
873
|
+
:type status: str
|
756
874
|
"""
|
757
875
|
self._status = status
|
758
876
|
|
759
877
|
@property
|
760
878
|
def tag(self):
|
761
|
-
"""Gets the tag of this GlanceListImagesRequest.
|
879
|
+
r"""Gets the tag of this GlanceListImagesRequest.
|
762
880
|
|
881
|
+
标签,用户为镜像增加自定义标签后可以通过该参数过滤查询
|
763
882
|
|
764
883
|
:return: The tag of this GlanceListImagesRequest.
|
765
884
|
:rtype: str
|
@@ -768,18 +887,20 @@ class GlanceListImagesRequest:
|
|
768
887
|
|
769
888
|
@tag.setter
|
770
889
|
def tag(self, tag):
|
771
|
-
"""Sets the tag of this GlanceListImagesRequest.
|
890
|
+
r"""Sets the tag of this GlanceListImagesRequest.
|
772
891
|
|
892
|
+
标签,用户为镜像增加自定义标签后可以通过该参数过滤查询
|
773
893
|
|
774
894
|
:param tag: The tag of this GlanceListImagesRequest.
|
775
|
-
:type: str
|
895
|
+
:type tag: str
|
776
896
|
"""
|
777
897
|
self._tag = tag
|
778
898
|
|
779
899
|
@property
|
780
900
|
def visibility(self):
|
781
|
-
"""Gets the visibility of this GlanceListImagesRequest.
|
901
|
+
r"""Gets the visibility of this GlanceListImagesRequest.
|
782
902
|
|
903
|
+
是否被其他租户可见,取值如下: public:公共镜像 private:私有镜像 shared:共享镜像
|
783
904
|
|
784
905
|
:return: The visibility of this GlanceListImagesRequest.
|
785
906
|
:rtype: str
|
@@ -788,18 +909,20 @@ class GlanceListImagesRequest:
|
|
788
909
|
|
789
910
|
@visibility.setter
|
790
911
|
def visibility(self, visibility):
|
791
|
-
"""Sets the visibility of this GlanceListImagesRequest.
|
912
|
+
r"""Sets the visibility of this GlanceListImagesRequest.
|
792
913
|
|
914
|
+
是否被其他租户可见,取值如下: public:公共镜像 private:私有镜像 shared:共享镜像
|
793
915
|
|
794
916
|
:param visibility: The visibility of this GlanceListImagesRequest.
|
795
|
-
:type: str
|
917
|
+
:type visibility: str
|
796
918
|
"""
|
797
919
|
self._visibility = visibility
|
798
920
|
|
799
921
|
@property
|
800
922
|
def created_at(self):
|
801
|
-
"""Gets the created_at of this GlanceListImagesRequest.
|
923
|
+
r"""Gets the created_at of this GlanceListImagesRequest.
|
802
924
|
|
925
|
+
镜像创建时间。支持按照时间点过滤查询,取值格式为“ 操作符: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
|
803
926
|
|
804
927
|
:return: The created_at of this GlanceListImagesRequest.
|
805
928
|
:rtype: str
|
@@ -808,18 +931,20 @@ class GlanceListImagesRequest:
|
|
808
931
|
|
809
932
|
@created_at.setter
|
810
933
|
def created_at(self, created_at):
|
811
|
-
"""Sets the created_at of this GlanceListImagesRequest.
|
934
|
+
r"""Sets the created_at of this GlanceListImagesRequest.
|
812
935
|
|
936
|
+
镜像创建时间。支持按照时间点过滤查询,取值格式为“ 操作符: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
|
813
937
|
|
814
938
|
:param created_at: The created_at of this GlanceListImagesRequest.
|
815
|
-
:type: str
|
939
|
+
:type created_at: str
|
816
940
|
"""
|
817
941
|
self._created_at = created_at
|
818
942
|
|
819
943
|
@property
|
820
944
|
def updated_at(self):
|
821
|
-
"""Gets the updated_at of this GlanceListImagesRequest.
|
945
|
+
r"""Gets the updated_at of this GlanceListImagesRequest.
|
822
946
|
|
947
|
+
镜像修改时间。支持按照时间点过滤查询,取值格式为 “ 操作符: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
|
823
948
|
|
824
949
|
:return: The updated_at of this GlanceListImagesRequest.
|
825
950
|
:rtype: str
|
@@ -828,11 +953,12 @@ class GlanceListImagesRequest:
|
|
828
953
|
|
829
954
|
@updated_at.setter
|
830
955
|
def updated_at(self, updated_at):
|
831
|
-
"""Sets the updated_at of this GlanceListImagesRequest.
|
956
|
+
r"""Sets the updated_at of this GlanceListImagesRequest.
|
832
957
|
|
958
|
+
镜像修改时间。支持按照时间点过滤查询,取值格式为 “ 操作符: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
|
833
959
|
|
834
960
|
:param updated_at: The updated_at of this GlanceListImagesRequest.
|
835
|
-
:type: str
|
961
|
+
:type updated_at: str
|
836
962
|
"""
|
837
963
|
self._updated_at = updated_at
|
838
964
|
|
@@ -865,10 +991,15 @@ class GlanceListImagesRequest:
|
|
865
991
|
|
866
992
|
def to_str(self):
|
867
993
|
"""Returns the string representation of the model"""
|
868
|
-
|
994
|
+
import simplejson as json
|
995
|
+
if six.PY2:
|
996
|
+
import sys
|
997
|
+
reload(sys)
|
998
|
+
sys.setdefaultencoding("utf-8")
|
999
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
869
1000
|
|
870
1001
|
def __repr__(self):
|
871
|
-
"""For `print`
|
1002
|
+
"""For `print`"""
|
872
1003
|
return self.to_str()
|
873
1004
|
|
874
1005
|
def __eq__(self, other):
|