huaweicloudsdkims 3.0.43rc0__py3-none-any.whl → 3.1.161__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.161.dist-info}/METADATA +9 -9
- huaweicloudsdkims-3.1.161.dist-info/RECORD +158 -0
- {huaweicloudsdkims-3.0.43rc0.dist-info → huaweicloudsdkims-3.1.161.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.161.dist-info}/LICENSE +0 -0
- {huaweicloudsdkims-3.0.43rc0.dist-info → huaweicloudsdkims-3.1.161.dist-info}/top_level.txt +0 -0
@@ -1,1357 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
import pprint
|
4
|
-
import re
|
5
|
-
|
6
|
-
import six
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
class GlanceShowImageResponseBody:
|
13
|
-
|
14
|
-
|
15
|
-
"""
|
16
|
-
Attributes:
|
17
|
-
openapi_types (dict): The key is attribute name
|
18
|
-
and the value is attribute type.
|
19
|
-
attribute_map (dict): The key is attribute name
|
20
|
-
and the value is json key in definition.
|
21
|
-
"""
|
22
|
-
|
23
|
-
sensitive_list = []
|
24
|
-
|
25
|
-
openapi_types = {
|
26
|
-
'backup_id': 'str',
|
27
|
-
'data_origin': 'str',
|
28
|
-
'description': 'str',
|
29
|
-
'image_size': 'str',
|
30
|
-
'image_source_type': 'str',
|
31
|
-
'imagetype': 'str',
|
32
|
-
'isregistered': 'str',
|
33
|
-
'originalimagename': 'str',
|
34
|
-
'os_bit': 'str',
|
35
|
-
'os_type': 'str',
|
36
|
-
'os_version': 'str',
|
37
|
-
'platform': 'str',
|
38
|
-
'productcode': 'str',
|
39
|
-
'support_diskintensive': 'str',
|
40
|
-
'support_highperformance': 'str',
|
41
|
-
'support_kvm': 'str',
|
42
|
-
'support_kvm_gpu_type': 'str',
|
43
|
-
'support_kvm_infiniband': 'str',
|
44
|
-
'support_largememory': 'str',
|
45
|
-
'support_xen': 'str',
|
46
|
-
'support_xen_gpu_type': 'str',
|
47
|
-
'support_xen_hana': 'str',
|
48
|
-
'checksum': 'str',
|
49
|
-
'container_format': 'str',
|
50
|
-
'created_at': 'str',
|
51
|
-
'deleted': 'bool',
|
52
|
-
'deleted_at': 'str',
|
53
|
-
'disk_format': 'str',
|
54
|
-
'file': 'str',
|
55
|
-
'id': 'str',
|
56
|
-
'min_disk': 'int',
|
57
|
-
'min_ram': 'int',
|
58
|
-
'name': 'str',
|
59
|
-
'owner': 'str',
|
60
|
-
'protected': 'bool',
|
61
|
-
'schema': 'str',
|
62
|
-
'_self': 'str',
|
63
|
-
'size': 'int',
|
64
|
-
'status': 'str',
|
65
|
-
'tags': 'list[str]',
|
66
|
-
'updated_at': 'str',
|
67
|
-
'virtual_env_type': 'str',
|
68
|
-
'virtual_size': 'int',
|
69
|
-
'visibility': 'str',
|
70
|
-
'support_fc_inject': 'str',
|
71
|
-
'enterprise_project_id': 'str',
|
72
|
-
'hw_firmware_type': 'str',
|
73
|
-
'support_arm': 'str',
|
74
|
-
'is_offshelved': 'str'
|
75
|
-
}
|
76
|
-
|
77
|
-
attribute_map = {
|
78
|
-
'backup_id': '__backup_id',
|
79
|
-
'data_origin': '__data_origin',
|
80
|
-
'description': '__description',
|
81
|
-
'image_size': '__image_size',
|
82
|
-
'image_source_type': '__image_source_type',
|
83
|
-
'imagetype': '__imagetype',
|
84
|
-
'isregistered': '__isregistered',
|
85
|
-
'originalimagename': '__originalimagename',
|
86
|
-
'os_bit': '__os_bit',
|
87
|
-
'os_type': '__os_type',
|
88
|
-
'os_version': '__os_version',
|
89
|
-
'platform': '__platform',
|
90
|
-
'productcode': '__productcode',
|
91
|
-
'support_diskintensive': '__support_diskintensive',
|
92
|
-
'support_highperformance': '__support_highperformance',
|
93
|
-
'support_kvm': '__support_kvm',
|
94
|
-
'support_kvm_gpu_type': '__support_kvm_gpu_type',
|
95
|
-
'support_kvm_infiniband': '__support_kvm_infiniband',
|
96
|
-
'support_largememory': '__support_largememory',
|
97
|
-
'support_xen': '__support_xen',
|
98
|
-
'support_xen_gpu_type': '__support_xen_gpu_type',
|
99
|
-
'support_xen_hana': '__support_xen_hana',
|
100
|
-
'checksum': 'checksum',
|
101
|
-
'container_format': 'container_format',
|
102
|
-
'created_at': 'created_at',
|
103
|
-
'deleted': 'deleted',
|
104
|
-
'deleted_at': 'deleted_at',
|
105
|
-
'disk_format': 'disk_format',
|
106
|
-
'file': 'file',
|
107
|
-
'id': 'id',
|
108
|
-
'min_disk': 'min_disk',
|
109
|
-
'min_ram': 'min_ram',
|
110
|
-
'name': 'name',
|
111
|
-
'owner': 'owner',
|
112
|
-
'protected': 'protected',
|
113
|
-
'schema': 'schema',
|
114
|
-
'_self': 'self',
|
115
|
-
'size': 'size',
|
116
|
-
'status': 'status',
|
117
|
-
'tags': 'tags',
|
118
|
-
'updated_at': 'updated_at',
|
119
|
-
'virtual_env_type': 'virtual_env_type',
|
120
|
-
'virtual_size': 'virtual_size',
|
121
|
-
'visibility': 'visibility',
|
122
|
-
'support_fc_inject': '__support_fc_inject',
|
123
|
-
'enterprise_project_id': 'enterprise_project_id',
|
124
|
-
'hw_firmware_type': 'hw_firmware_type',
|
125
|
-
'support_arm': '__support_arm',
|
126
|
-
'is_offshelved': '__is_offshelved'
|
127
|
-
}
|
128
|
-
|
129
|
-
def __init__(self, backup_id=None, data_origin=None, description=None, image_size=None, image_source_type=None, imagetype=None, isregistered=None, originalimagename=None, os_bit=None, os_type=None, os_version=None, platform=None, productcode=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, checksum=None, container_format=None, created_at=None, deleted=None, deleted_at=None, disk_format=None, file=None, id=None, min_disk=None, min_ram=None, name=None, owner=None, protected=None, schema=None, _self=None, size=None, status=None, tags=None, updated_at=None, virtual_env_type=None, virtual_size=None, visibility=None, support_fc_inject=None, enterprise_project_id=None, hw_firmware_type=None, support_arm=None, is_offshelved=None):
|
130
|
-
"""GlanceShowImageResponseBody - a model defined in huaweicloud sdk"""
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
self._backup_id = None
|
135
|
-
self._data_origin = None
|
136
|
-
self._description = None
|
137
|
-
self._image_size = None
|
138
|
-
self._image_source_type = None
|
139
|
-
self._imagetype = None
|
140
|
-
self._isregistered = None
|
141
|
-
self._originalimagename = None
|
142
|
-
self._os_bit = None
|
143
|
-
self._os_type = None
|
144
|
-
self._os_version = None
|
145
|
-
self._platform = None
|
146
|
-
self._productcode = None
|
147
|
-
self._support_diskintensive = None
|
148
|
-
self._support_highperformance = None
|
149
|
-
self._support_kvm = None
|
150
|
-
self._support_kvm_gpu_type = None
|
151
|
-
self._support_kvm_infiniband = None
|
152
|
-
self._support_largememory = None
|
153
|
-
self._support_xen = None
|
154
|
-
self._support_xen_gpu_type = None
|
155
|
-
self._support_xen_hana = None
|
156
|
-
self._checksum = None
|
157
|
-
self._container_format = None
|
158
|
-
self._created_at = None
|
159
|
-
self._deleted = None
|
160
|
-
self._deleted_at = None
|
161
|
-
self._disk_format = None
|
162
|
-
self._file = None
|
163
|
-
self._id = None
|
164
|
-
self._min_disk = None
|
165
|
-
self._min_ram = None
|
166
|
-
self._name = None
|
167
|
-
self._owner = None
|
168
|
-
self._protected = None
|
169
|
-
self._schema = None
|
170
|
-
self.__self = None
|
171
|
-
self._size = None
|
172
|
-
self._status = None
|
173
|
-
self._tags = None
|
174
|
-
self._updated_at = None
|
175
|
-
self._virtual_env_type = None
|
176
|
-
self._virtual_size = None
|
177
|
-
self._visibility = None
|
178
|
-
self._support_fc_inject = None
|
179
|
-
self._enterprise_project_id = None
|
180
|
-
self._hw_firmware_type = None
|
181
|
-
self._support_arm = None
|
182
|
-
self._is_offshelved = None
|
183
|
-
self.discriminator = None
|
184
|
-
|
185
|
-
self.backup_id = backup_id
|
186
|
-
self.data_origin = data_origin
|
187
|
-
self.description = description
|
188
|
-
self.image_size = image_size
|
189
|
-
self.image_source_type = image_source_type
|
190
|
-
self.imagetype = imagetype
|
191
|
-
self.isregistered = isregistered
|
192
|
-
self.originalimagename = originalimagename
|
193
|
-
self.os_bit = os_bit
|
194
|
-
self.os_type = os_type
|
195
|
-
self.os_version = os_version
|
196
|
-
self.platform = platform
|
197
|
-
self.productcode = productcode
|
198
|
-
self.support_diskintensive = support_diskintensive
|
199
|
-
self.support_highperformance = support_highperformance
|
200
|
-
self.support_kvm = support_kvm
|
201
|
-
self.support_kvm_gpu_type = support_kvm_gpu_type
|
202
|
-
self.support_kvm_infiniband = support_kvm_infiniband
|
203
|
-
self.support_largememory = support_largememory
|
204
|
-
self.support_xen = support_xen
|
205
|
-
self.support_xen_gpu_type = support_xen_gpu_type
|
206
|
-
self.support_xen_hana = support_xen_hana
|
207
|
-
self.checksum = checksum
|
208
|
-
self.container_format = container_format
|
209
|
-
self.created_at = created_at
|
210
|
-
self.deleted = deleted
|
211
|
-
self.deleted_at = deleted_at
|
212
|
-
self.disk_format = disk_format
|
213
|
-
self.file = file
|
214
|
-
self.id = id
|
215
|
-
self.min_disk = min_disk
|
216
|
-
self.min_ram = min_ram
|
217
|
-
self.name = name
|
218
|
-
self.owner = owner
|
219
|
-
self.protected = protected
|
220
|
-
self.schema = schema
|
221
|
-
self._self = _self
|
222
|
-
self.size = size
|
223
|
-
self.status = status
|
224
|
-
self.tags = tags
|
225
|
-
self.updated_at = updated_at
|
226
|
-
self.virtual_env_type = virtual_env_type
|
227
|
-
self.virtual_size = virtual_size
|
228
|
-
self.visibility = visibility
|
229
|
-
self.support_fc_inject = support_fc_inject
|
230
|
-
self.enterprise_project_id = enterprise_project_id
|
231
|
-
self.hw_firmware_type = hw_firmware_type
|
232
|
-
self.support_arm = support_arm
|
233
|
-
self.is_offshelved = is_offshelved
|
234
|
-
|
235
|
-
@property
|
236
|
-
def backup_id(self):
|
237
|
-
"""Gets the backup_id of this GlanceShowImageResponseBody.
|
238
|
-
|
239
|
-
备份ID。如果是备份创建的镜像,则填写为备份的ID,否则为空。
|
240
|
-
|
241
|
-
:return: The backup_id of this GlanceShowImageResponseBody.
|
242
|
-
:rtype: str
|
243
|
-
"""
|
244
|
-
return self._backup_id
|
245
|
-
|
246
|
-
@backup_id.setter
|
247
|
-
def backup_id(self, backup_id):
|
248
|
-
"""Sets the backup_id of this GlanceShowImageResponseBody.
|
249
|
-
|
250
|
-
备份ID。如果是备份创建的镜像,则填写为备份的ID,否则为空。
|
251
|
-
|
252
|
-
:param backup_id: The backup_id of this GlanceShowImageResponseBody.
|
253
|
-
:type: str
|
254
|
-
"""
|
255
|
-
self._backup_id = backup_id
|
256
|
-
|
257
|
-
@property
|
258
|
-
def data_origin(self):
|
259
|
-
"""Gets the data_origin of this GlanceShowImageResponseBody.
|
260
|
-
|
261
|
-
镜像来源。公共镜像为空。
|
262
|
-
|
263
|
-
:return: The data_origin of this GlanceShowImageResponseBody.
|
264
|
-
:rtype: str
|
265
|
-
"""
|
266
|
-
return self._data_origin
|
267
|
-
|
268
|
-
@data_origin.setter
|
269
|
-
def data_origin(self, data_origin):
|
270
|
-
"""Sets the data_origin of this GlanceShowImageResponseBody.
|
271
|
-
|
272
|
-
镜像来源。公共镜像为空。
|
273
|
-
|
274
|
-
:param data_origin: The data_origin of this GlanceShowImageResponseBody.
|
275
|
-
:type: str
|
276
|
-
"""
|
277
|
-
self._data_origin = data_origin
|
278
|
-
|
279
|
-
@property
|
280
|
-
def description(self):
|
281
|
-
"""Gets the description of this GlanceShowImageResponseBody.
|
282
|
-
|
283
|
-
镜像描述信息。
|
284
|
-
|
285
|
-
:return: The description of this GlanceShowImageResponseBody.
|
286
|
-
:rtype: str
|
287
|
-
"""
|
288
|
-
return self._description
|
289
|
-
|
290
|
-
@description.setter
|
291
|
-
def description(self, description):
|
292
|
-
"""Sets the description of this GlanceShowImageResponseBody.
|
293
|
-
|
294
|
-
镜像描述信息。
|
295
|
-
|
296
|
-
:param description: The description of this GlanceShowImageResponseBody.
|
297
|
-
:type: str
|
298
|
-
"""
|
299
|
-
self._description = description
|
300
|
-
|
301
|
-
@property
|
302
|
-
def image_size(self):
|
303
|
-
"""Gets the image_size of this GlanceShowImageResponseBody.
|
304
|
-
|
305
|
-
镜像文件的大小,单位为字节。目前取值为大于0的字符串。
|
306
|
-
|
307
|
-
:return: The image_size of this GlanceShowImageResponseBody.
|
308
|
-
:rtype: str
|
309
|
-
"""
|
310
|
-
return self._image_size
|
311
|
-
|
312
|
-
@image_size.setter
|
313
|
-
def image_size(self, image_size):
|
314
|
-
"""Sets the image_size of this GlanceShowImageResponseBody.
|
315
|
-
|
316
|
-
镜像文件的大小,单位为字节。目前取值为大于0的字符串。
|
317
|
-
|
318
|
-
:param image_size: The image_size of this GlanceShowImageResponseBody.
|
319
|
-
:type: str
|
320
|
-
"""
|
321
|
-
self._image_size = image_size
|
322
|
-
|
323
|
-
@property
|
324
|
-
def image_source_type(self):
|
325
|
-
"""Gets the image_source_type of this GlanceShowImageResponseBody.
|
326
|
-
|
327
|
-
镜像后端存储类型,目前只支持uds
|
328
|
-
|
329
|
-
:return: The image_source_type of this GlanceShowImageResponseBody.
|
330
|
-
:rtype: str
|
331
|
-
"""
|
332
|
-
return self._image_source_type
|
333
|
-
|
334
|
-
@image_source_type.setter
|
335
|
-
def image_source_type(self, image_source_type):
|
336
|
-
"""Sets the image_source_type of this GlanceShowImageResponseBody.
|
337
|
-
|
338
|
-
镜像后端存储类型,目前只支持uds
|
339
|
-
|
340
|
-
:param image_source_type: The image_source_type of this GlanceShowImageResponseBody.
|
341
|
-
:type: str
|
342
|
-
"""
|
343
|
-
self._image_source_type = image_source_type
|
344
|
-
|
345
|
-
@property
|
346
|
-
def imagetype(self):
|
347
|
-
"""Gets the imagetype of this GlanceShowImageResponseBody.
|
348
|
-
|
349
|
-
镜像类型,目前支持以下类型:公共镜像:gold私有镜像:private共享镜像:shared
|
350
|
-
|
351
|
-
:return: The imagetype of this GlanceShowImageResponseBody.
|
352
|
-
:rtype: str
|
353
|
-
"""
|
354
|
-
return self._imagetype
|
355
|
-
|
356
|
-
@imagetype.setter
|
357
|
-
def imagetype(self, imagetype):
|
358
|
-
"""Sets the imagetype of this GlanceShowImageResponseBody.
|
359
|
-
|
360
|
-
镜像类型,目前支持以下类型:公共镜像:gold私有镜像:private共享镜像:shared
|
361
|
-
|
362
|
-
:param imagetype: The imagetype of this GlanceShowImageResponseBody.
|
363
|
-
:type: str
|
364
|
-
"""
|
365
|
-
self._imagetype = imagetype
|
366
|
-
|
367
|
-
@property
|
368
|
-
def isregistered(self):
|
369
|
-
"""Gets the isregistered of this GlanceShowImageResponseBody.
|
370
|
-
|
371
|
-
是否是注册过的镜像,取值为“true”或者“false”。
|
372
|
-
|
373
|
-
:return: The isregistered of this GlanceShowImageResponseBody.
|
374
|
-
:rtype: str
|
375
|
-
"""
|
376
|
-
return self._isregistered
|
377
|
-
|
378
|
-
@isregistered.setter
|
379
|
-
def isregistered(self, isregistered):
|
380
|
-
"""Sets the isregistered of this GlanceShowImageResponseBody.
|
381
|
-
|
382
|
-
是否是注册过的镜像,取值为“true”或者“false”。
|
383
|
-
|
384
|
-
:param isregistered: The isregistered of this GlanceShowImageResponseBody.
|
385
|
-
:type: str
|
386
|
-
"""
|
387
|
-
self._isregistered = isregistered
|
388
|
-
|
389
|
-
@property
|
390
|
-
def originalimagename(self):
|
391
|
-
"""Gets the originalimagename of this GlanceShowImageResponseBody.
|
392
|
-
|
393
|
-
父镜像ID。公共镜像或通过文件创建的私有镜像,取值为空。
|
394
|
-
|
395
|
-
:return: The originalimagename of this GlanceShowImageResponseBody.
|
396
|
-
:rtype: str
|
397
|
-
"""
|
398
|
-
return self._originalimagename
|
399
|
-
|
400
|
-
@originalimagename.setter
|
401
|
-
def originalimagename(self, originalimagename):
|
402
|
-
"""Sets the originalimagename of this GlanceShowImageResponseBody.
|
403
|
-
|
404
|
-
父镜像ID。公共镜像或通过文件创建的私有镜像,取值为空。
|
405
|
-
|
406
|
-
:param originalimagename: The originalimagename of this GlanceShowImageResponseBody.
|
407
|
-
:type: str
|
408
|
-
"""
|
409
|
-
self._originalimagename = originalimagename
|
410
|
-
|
411
|
-
@property
|
412
|
-
def os_bit(self):
|
413
|
-
"""Gets the os_bit of this GlanceShowImageResponseBody.
|
414
|
-
|
415
|
-
操作系统位数,一般取值为“32”或者“64”。
|
416
|
-
|
417
|
-
:return: The os_bit of this GlanceShowImageResponseBody.
|
418
|
-
:rtype: str
|
419
|
-
"""
|
420
|
-
return self._os_bit
|
421
|
-
|
422
|
-
@os_bit.setter
|
423
|
-
def os_bit(self, os_bit):
|
424
|
-
"""Sets the os_bit of this GlanceShowImageResponseBody.
|
425
|
-
|
426
|
-
操作系统位数,一般取值为“32”或者“64”。
|
427
|
-
|
428
|
-
:param os_bit: The os_bit of this GlanceShowImageResponseBody.
|
429
|
-
:type: str
|
430
|
-
"""
|
431
|
-
self._os_bit = os_bit
|
432
|
-
|
433
|
-
@property
|
434
|
-
def os_type(self):
|
435
|
-
"""Gets the os_type of this GlanceShowImageResponseBody.
|
436
|
-
|
437
|
-
操作系统类型,目前取值Linux, Windows,Other。
|
438
|
-
|
439
|
-
:return: The os_type of this GlanceShowImageResponseBody.
|
440
|
-
:rtype: str
|
441
|
-
"""
|
442
|
-
return self._os_type
|
443
|
-
|
444
|
-
@os_type.setter
|
445
|
-
def os_type(self, os_type):
|
446
|
-
"""Sets the os_type of this GlanceShowImageResponseBody.
|
447
|
-
|
448
|
-
操作系统类型,目前取值Linux, Windows,Other。
|
449
|
-
|
450
|
-
:param os_type: The os_type of this GlanceShowImageResponseBody.
|
451
|
-
:type: str
|
452
|
-
"""
|
453
|
-
self._os_type = os_type
|
454
|
-
|
455
|
-
@property
|
456
|
-
def os_version(self):
|
457
|
-
"""Gets the os_version of this GlanceShowImageResponseBody.
|
458
|
-
|
459
|
-
操作系统具体版本。
|
460
|
-
|
461
|
-
:return: The os_version of this GlanceShowImageResponseBody.
|
462
|
-
:rtype: str
|
463
|
-
"""
|
464
|
-
return self._os_version
|
465
|
-
|
466
|
-
@os_version.setter
|
467
|
-
def os_version(self, os_version):
|
468
|
-
"""Sets the os_version of this GlanceShowImageResponseBody.
|
469
|
-
|
470
|
-
操作系统具体版本。
|
471
|
-
|
472
|
-
:param os_version: The os_version of this GlanceShowImageResponseBody.
|
473
|
-
:type: str
|
474
|
-
"""
|
475
|
-
self._os_version = os_version
|
476
|
-
|
477
|
-
@property
|
478
|
-
def platform(self):
|
479
|
-
"""Gets the platform of this GlanceShowImageResponseBody.
|
480
|
-
|
481
|
-
镜像平台分类,取值为Windows,Ubuntu,RedHat,SUSE,CentOS,Debian,OpenSUSE, Oracle Linux,Fedora,Other,CoreOS和EulerOS。
|
482
|
-
|
483
|
-
:return: The platform of this GlanceShowImageResponseBody.
|
484
|
-
:rtype: str
|
485
|
-
"""
|
486
|
-
return self._platform
|
487
|
-
|
488
|
-
@platform.setter
|
489
|
-
def platform(self, platform):
|
490
|
-
"""Sets the platform of this GlanceShowImageResponseBody.
|
491
|
-
|
492
|
-
镜像平台分类,取值为Windows,Ubuntu,RedHat,SUSE,CentOS,Debian,OpenSUSE, Oracle Linux,Fedora,Other,CoreOS和EulerOS。
|
493
|
-
|
494
|
-
:param platform: The platform of this GlanceShowImageResponseBody.
|
495
|
-
:type: str
|
496
|
-
"""
|
497
|
-
self._platform = platform
|
498
|
-
|
499
|
-
@property
|
500
|
-
def productcode(self):
|
501
|
-
"""Gets the productcode of this GlanceShowImageResponseBody.
|
502
|
-
|
503
|
-
市场镜像的产品ID。
|
504
|
-
|
505
|
-
:return: The productcode of this GlanceShowImageResponseBody.
|
506
|
-
:rtype: str
|
507
|
-
"""
|
508
|
-
return self._productcode
|
509
|
-
|
510
|
-
@productcode.setter
|
511
|
-
def productcode(self, productcode):
|
512
|
-
"""Sets the productcode of this GlanceShowImageResponseBody.
|
513
|
-
|
514
|
-
市场镜像的产品ID。
|
515
|
-
|
516
|
-
:param productcode: The productcode of this GlanceShowImageResponseBody.
|
517
|
-
:type: str
|
518
|
-
"""
|
519
|
-
self._productcode = productcode
|
520
|
-
|
521
|
-
@property
|
522
|
-
def support_diskintensive(self):
|
523
|
-
"""Gets the support_diskintensive of this GlanceShowImageResponseBody.
|
524
|
-
|
525
|
-
表示该镜像支持密集存储。如果镜像支持密集存储性能,则值为true,否则无需增加该属性。
|
526
|
-
|
527
|
-
:return: The support_diskintensive of this GlanceShowImageResponseBody.
|
528
|
-
:rtype: str
|
529
|
-
"""
|
530
|
-
return self._support_diskintensive
|
531
|
-
|
532
|
-
@support_diskintensive.setter
|
533
|
-
def support_diskintensive(self, support_diskintensive):
|
534
|
-
"""Sets the support_diskintensive of this GlanceShowImageResponseBody.
|
535
|
-
|
536
|
-
表示该镜像支持密集存储。如果镜像支持密集存储性能,则值为true,否则无需增加该属性。
|
537
|
-
|
538
|
-
:param support_diskintensive: The support_diskintensive of this GlanceShowImageResponseBody.
|
539
|
-
:type: str
|
540
|
-
"""
|
541
|
-
self._support_diskintensive = support_diskintensive
|
542
|
-
|
543
|
-
@property
|
544
|
-
def support_highperformance(self):
|
545
|
-
"""Gets the support_highperformance of this GlanceShowImageResponseBody.
|
546
|
-
|
547
|
-
表示该镜像支持高计算性能。如果镜像支持高计算性能,则值为true,否则无需增加该属性。
|
548
|
-
|
549
|
-
:return: The support_highperformance of this GlanceShowImageResponseBody.
|
550
|
-
:rtype: str
|
551
|
-
"""
|
552
|
-
return self._support_highperformance
|
553
|
-
|
554
|
-
@support_highperformance.setter
|
555
|
-
def support_highperformance(self, support_highperformance):
|
556
|
-
"""Sets the support_highperformance of this GlanceShowImageResponseBody.
|
557
|
-
|
558
|
-
表示该镜像支持高计算性能。如果镜像支持高计算性能,则值为true,否则无需增加该属性。
|
559
|
-
|
560
|
-
:param support_highperformance: The support_highperformance of this GlanceShowImageResponseBody.
|
561
|
-
:type: str
|
562
|
-
"""
|
563
|
-
self._support_highperformance = support_highperformance
|
564
|
-
|
565
|
-
@property
|
566
|
-
def support_kvm(self):
|
567
|
-
"""Gets the support_kvm of this GlanceShowImageResponseBody.
|
568
|
-
|
569
|
-
如果镜像支持KVM,取值为true,否则无需增加该属性。
|
570
|
-
|
571
|
-
:return: The support_kvm of this GlanceShowImageResponseBody.
|
572
|
-
:rtype: str
|
573
|
-
"""
|
574
|
-
return self._support_kvm
|
575
|
-
|
576
|
-
@support_kvm.setter
|
577
|
-
def support_kvm(self, support_kvm):
|
578
|
-
"""Sets the support_kvm of this GlanceShowImageResponseBody.
|
579
|
-
|
580
|
-
如果镜像支持KVM,取值为true,否则无需增加该属性。
|
581
|
-
|
582
|
-
:param support_kvm: The support_kvm of this GlanceShowImageResponseBody.
|
583
|
-
:type: str
|
584
|
-
"""
|
585
|
-
self._support_kvm = support_kvm
|
586
|
-
|
587
|
-
@property
|
588
|
-
def support_kvm_gpu_type(self):
|
589
|
-
"""Gets the support_kvm_gpu_type of this GlanceShowImageResponseBody.
|
590
|
-
|
591
|
-
表示该镜像是支持KVM虚拟化平台下的GPU类型,如果不支持KVM虚拟机下GPU类型,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存。
|
592
|
-
|
593
|
-
:return: The support_kvm_gpu_type of this GlanceShowImageResponseBody.
|
594
|
-
:rtype: str
|
595
|
-
"""
|
596
|
-
return self._support_kvm_gpu_type
|
597
|
-
|
598
|
-
@support_kvm_gpu_type.setter
|
599
|
-
def support_kvm_gpu_type(self, support_kvm_gpu_type):
|
600
|
-
"""Sets the support_kvm_gpu_type of this GlanceShowImageResponseBody.
|
601
|
-
|
602
|
-
表示该镜像是支持KVM虚拟化平台下的GPU类型,如果不支持KVM虚拟机下GPU类型,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存。
|
603
|
-
|
604
|
-
:param support_kvm_gpu_type: The support_kvm_gpu_type of this GlanceShowImageResponseBody.
|
605
|
-
:type: str
|
606
|
-
"""
|
607
|
-
self._support_kvm_gpu_type = support_kvm_gpu_type
|
608
|
-
|
609
|
-
@property
|
610
|
-
def support_kvm_infiniband(self):
|
611
|
-
"""Gets the support_kvm_infiniband of this GlanceShowImageResponseBody.
|
612
|
-
|
613
|
-
如果镜像支持KVM虚拟化下Infiniband网卡类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”属性不共存。
|
614
|
-
|
615
|
-
:return: The support_kvm_infiniband of this GlanceShowImageResponseBody.
|
616
|
-
:rtype: str
|
617
|
-
"""
|
618
|
-
return self._support_kvm_infiniband
|
619
|
-
|
620
|
-
@support_kvm_infiniband.setter
|
621
|
-
def support_kvm_infiniband(self, support_kvm_infiniband):
|
622
|
-
"""Sets the support_kvm_infiniband of this GlanceShowImageResponseBody.
|
623
|
-
|
624
|
-
如果镜像支持KVM虚拟化下Infiniband网卡类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”属性不共存。
|
625
|
-
|
626
|
-
:param support_kvm_infiniband: The support_kvm_infiniband of this GlanceShowImageResponseBody.
|
627
|
-
:type: str
|
628
|
-
"""
|
629
|
-
self._support_kvm_infiniband = support_kvm_infiniband
|
630
|
-
|
631
|
-
@property
|
632
|
-
def support_largememory(self):
|
633
|
-
"""Gets the support_largememory of this GlanceShowImageResponseBody.
|
634
|
-
|
635
|
-
表示该镜像支持超大内存。如果镜像支持超大内存,取值为true,否则无需增加该属性
|
636
|
-
|
637
|
-
:return: The support_largememory of this GlanceShowImageResponseBody.
|
638
|
-
:rtype: str
|
639
|
-
"""
|
640
|
-
return self._support_largememory
|
641
|
-
|
642
|
-
@support_largememory.setter
|
643
|
-
def support_largememory(self, support_largememory):
|
644
|
-
"""Sets the support_largememory of this GlanceShowImageResponseBody.
|
645
|
-
|
646
|
-
表示该镜像支持超大内存。如果镜像支持超大内存,取值为true,否则无需增加该属性
|
647
|
-
|
648
|
-
:param support_largememory: The support_largememory of this GlanceShowImageResponseBody.
|
649
|
-
:type: str
|
650
|
-
"""
|
651
|
-
self._support_largememory = support_largememory
|
652
|
-
|
653
|
-
@property
|
654
|
-
def support_xen(self):
|
655
|
-
"""Gets the support_xen of this GlanceShowImageResponseBody.
|
656
|
-
|
657
|
-
如果镜像支持XEN,取值为true,否则无需增加该属性。
|
658
|
-
|
659
|
-
:return: The support_xen of this GlanceShowImageResponseBody.
|
660
|
-
:rtype: str
|
661
|
-
"""
|
662
|
-
return self._support_xen
|
663
|
-
|
664
|
-
@support_xen.setter
|
665
|
-
def support_xen(self, support_xen):
|
666
|
-
"""Sets the support_xen of this GlanceShowImageResponseBody.
|
667
|
-
|
668
|
-
如果镜像支持XEN,取值为true,否则无需增加该属性。
|
669
|
-
|
670
|
-
:param support_xen: The support_xen of this GlanceShowImageResponseBody.
|
671
|
-
:type: str
|
672
|
-
"""
|
673
|
-
self._support_xen = support_xen
|
674
|
-
|
675
|
-
@property
|
676
|
-
def support_xen_gpu_type(self):
|
677
|
-
"""Gets the support_xen_gpu_type of this GlanceShowImageResponseBody.
|
678
|
-
|
679
|
-
表示该镜像是支持XEN虚拟化平台下的GPU优化类型,取值参考8.10-表 镜像支持的GPU类型说明。镜像操作系统类型请参考8.10-表 镜像类型。如果不支持XEN虚拟化下GPU类型,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存。
|
680
|
-
|
681
|
-
:return: The support_xen_gpu_type of this GlanceShowImageResponseBody.
|
682
|
-
:rtype: str
|
683
|
-
"""
|
684
|
-
return self._support_xen_gpu_type
|
685
|
-
|
686
|
-
@support_xen_gpu_type.setter
|
687
|
-
def support_xen_gpu_type(self, support_xen_gpu_type):
|
688
|
-
"""Sets the support_xen_gpu_type of this GlanceShowImageResponseBody.
|
689
|
-
|
690
|
-
表示该镜像是支持XEN虚拟化平台下的GPU优化类型,取值参考8.10-表 镜像支持的GPU类型说明。镜像操作系统类型请参考8.10-表 镜像类型。如果不支持XEN虚拟化下GPU类型,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存。
|
691
|
-
|
692
|
-
:param support_xen_gpu_type: The support_xen_gpu_type of this GlanceShowImageResponseBody.
|
693
|
-
:type: str
|
694
|
-
"""
|
695
|
-
self._support_xen_gpu_type = support_xen_gpu_type
|
696
|
-
|
697
|
-
@property
|
698
|
-
def support_xen_hana(self):
|
699
|
-
"""Gets the support_xen_hana of this GlanceShowImageResponseBody.
|
700
|
-
|
701
|
-
如果镜像支持XEN虚拟化下HANA类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存。
|
702
|
-
|
703
|
-
:return: The support_xen_hana of this GlanceShowImageResponseBody.
|
704
|
-
:rtype: str
|
705
|
-
"""
|
706
|
-
return self._support_xen_hana
|
707
|
-
|
708
|
-
@support_xen_hana.setter
|
709
|
-
def support_xen_hana(self, support_xen_hana):
|
710
|
-
"""Sets the support_xen_hana of this GlanceShowImageResponseBody.
|
711
|
-
|
712
|
-
如果镜像支持XEN虚拟化下HANA类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存。
|
713
|
-
|
714
|
-
:param support_xen_hana: The support_xen_hana of this GlanceShowImageResponseBody.
|
715
|
-
:type: str
|
716
|
-
"""
|
717
|
-
self._support_xen_hana = support_xen_hana
|
718
|
-
|
719
|
-
@property
|
720
|
-
def checksum(self):
|
721
|
-
"""Gets the checksum of this GlanceShowImageResponseBody.
|
722
|
-
|
723
|
-
目前暂时不使用。
|
724
|
-
|
725
|
-
:return: The checksum of this GlanceShowImageResponseBody.
|
726
|
-
:rtype: str
|
727
|
-
"""
|
728
|
-
return self._checksum
|
729
|
-
|
730
|
-
@checksum.setter
|
731
|
-
def checksum(self, checksum):
|
732
|
-
"""Sets the checksum of this GlanceShowImageResponseBody.
|
733
|
-
|
734
|
-
目前暂时不使用。
|
735
|
-
|
736
|
-
:param checksum: The checksum of this GlanceShowImageResponseBody.
|
737
|
-
:type: str
|
738
|
-
"""
|
739
|
-
self._checksum = checksum
|
740
|
-
|
741
|
-
@property
|
742
|
-
def container_format(self):
|
743
|
-
"""Gets the container_format of this GlanceShowImageResponseBody.
|
744
|
-
|
745
|
-
容器类型。
|
746
|
-
|
747
|
-
:return: The container_format of this GlanceShowImageResponseBody.
|
748
|
-
:rtype: str
|
749
|
-
"""
|
750
|
-
return self._container_format
|
751
|
-
|
752
|
-
@container_format.setter
|
753
|
-
def container_format(self, container_format):
|
754
|
-
"""Sets the container_format of this GlanceShowImageResponseBody.
|
755
|
-
|
756
|
-
容器类型。
|
757
|
-
|
758
|
-
:param container_format: The container_format of this GlanceShowImageResponseBody.
|
759
|
-
:type: str
|
760
|
-
"""
|
761
|
-
self._container_format = container_format
|
762
|
-
|
763
|
-
@property
|
764
|
-
def created_at(self):
|
765
|
-
"""Gets the created_at of this GlanceShowImageResponseBody.
|
766
|
-
|
767
|
-
创建时间。格式为UTC时间。
|
768
|
-
|
769
|
-
:return: The created_at of this GlanceShowImageResponseBody.
|
770
|
-
:rtype: str
|
771
|
-
"""
|
772
|
-
return self._created_at
|
773
|
-
|
774
|
-
@created_at.setter
|
775
|
-
def created_at(self, created_at):
|
776
|
-
"""Sets the created_at of this GlanceShowImageResponseBody.
|
777
|
-
|
778
|
-
创建时间。格式为UTC时间。
|
779
|
-
|
780
|
-
:param created_at: The created_at of this GlanceShowImageResponseBody.
|
781
|
-
:type: str
|
782
|
-
"""
|
783
|
-
self._created_at = created_at
|
784
|
-
|
785
|
-
@property
|
786
|
-
def deleted(self):
|
787
|
-
"""Gets the deleted of this GlanceShowImageResponseBody.
|
788
|
-
|
789
|
-
是否是删除的镜像,取值为true或者false。
|
790
|
-
|
791
|
-
:return: The deleted of this GlanceShowImageResponseBody.
|
792
|
-
:rtype: bool
|
793
|
-
"""
|
794
|
-
return self._deleted
|
795
|
-
|
796
|
-
@deleted.setter
|
797
|
-
def deleted(self, deleted):
|
798
|
-
"""Sets the deleted of this GlanceShowImageResponseBody.
|
799
|
-
|
800
|
-
是否是删除的镜像,取值为true或者false。
|
801
|
-
|
802
|
-
:param deleted: The deleted of this GlanceShowImageResponseBody.
|
803
|
-
:type: bool
|
804
|
-
"""
|
805
|
-
self._deleted = deleted
|
806
|
-
|
807
|
-
@property
|
808
|
-
def deleted_at(self):
|
809
|
-
"""Gets the deleted_at of this GlanceShowImageResponseBody.
|
810
|
-
|
811
|
-
删除时间。格式为UTC时间
|
812
|
-
|
813
|
-
:return: The deleted_at of this GlanceShowImageResponseBody.
|
814
|
-
:rtype: str
|
815
|
-
"""
|
816
|
-
return self._deleted_at
|
817
|
-
|
818
|
-
@deleted_at.setter
|
819
|
-
def deleted_at(self, deleted_at):
|
820
|
-
"""Sets the deleted_at of this GlanceShowImageResponseBody.
|
821
|
-
|
822
|
-
删除时间。格式为UTC时间
|
823
|
-
|
824
|
-
:param deleted_at: The deleted_at of this GlanceShowImageResponseBody.
|
825
|
-
:type: str
|
826
|
-
"""
|
827
|
-
self._deleted_at = deleted_at
|
828
|
-
|
829
|
-
@property
|
830
|
-
def disk_format(self):
|
831
|
-
"""Gets the disk_format of this GlanceShowImageResponseBody.
|
832
|
-
|
833
|
-
镜像的格式,目前支持vhd,zvhd、raw,qcow2,zvhd2。默认值是vhd。
|
834
|
-
|
835
|
-
:return: The disk_format of this GlanceShowImageResponseBody.
|
836
|
-
:rtype: str
|
837
|
-
"""
|
838
|
-
return self._disk_format
|
839
|
-
|
840
|
-
@disk_format.setter
|
841
|
-
def disk_format(self, disk_format):
|
842
|
-
"""Sets the disk_format of this GlanceShowImageResponseBody.
|
843
|
-
|
844
|
-
镜像的格式,目前支持vhd,zvhd、raw,qcow2,zvhd2。默认值是vhd。
|
845
|
-
|
846
|
-
:param disk_format: The disk_format of this GlanceShowImageResponseBody.
|
847
|
-
:type: str
|
848
|
-
"""
|
849
|
-
self._disk_format = disk_format
|
850
|
-
|
851
|
-
@property
|
852
|
-
def file(self):
|
853
|
-
"""Gets the file of this GlanceShowImageResponseBody.
|
854
|
-
|
855
|
-
镜像文件下载和上传链接。
|
856
|
-
|
857
|
-
:return: The file of this GlanceShowImageResponseBody.
|
858
|
-
:rtype: str
|
859
|
-
"""
|
860
|
-
return self._file
|
861
|
-
|
862
|
-
@file.setter
|
863
|
-
def file(self, file):
|
864
|
-
"""Sets the file of this GlanceShowImageResponseBody.
|
865
|
-
|
866
|
-
镜像文件下载和上传链接。
|
867
|
-
|
868
|
-
:param file: The file of this GlanceShowImageResponseBody.
|
869
|
-
:type: str
|
870
|
-
"""
|
871
|
-
self._file = file
|
872
|
-
|
873
|
-
@property
|
874
|
-
def id(self):
|
875
|
-
"""Gets the id of this GlanceShowImageResponseBody.
|
876
|
-
|
877
|
-
镜像ID。
|
878
|
-
|
879
|
-
:return: The id of this GlanceShowImageResponseBody.
|
880
|
-
:rtype: str
|
881
|
-
"""
|
882
|
-
return self._id
|
883
|
-
|
884
|
-
@id.setter
|
885
|
-
def id(self, id):
|
886
|
-
"""Sets the id of this GlanceShowImageResponseBody.
|
887
|
-
|
888
|
-
镜像ID。
|
889
|
-
|
890
|
-
:param id: The id of this GlanceShowImageResponseBody.
|
891
|
-
:type: str
|
892
|
-
"""
|
893
|
-
self._id = id
|
894
|
-
|
895
|
-
@property
|
896
|
-
def min_disk(self):
|
897
|
-
"""Gets the min_disk of this GlanceShowImageResponseBody.
|
898
|
-
|
899
|
-
镜像运行需要的最小磁盘容量,单位为GB
|
900
|
-
|
901
|
-
:return: The min_disk of this GlanceShowImageResponseBody.
|
902
|
-
:rtype: int
|
903
|
-
"""
|
904
|
-
return self._min_disk
|
905
|
-
|
906
|
-
@min_disk.setter
|
907
|
-
def min_disk(self, min_disk):
|
908
|
-
"""Sets the min_disk of this GlanceShowImageResponseBody.
|
909
|
-
|
910
|
-
镜像运行需要的最小磁盘容量,单位为GB
|
911
|
-
|
912
|
-
:param min_disk: The min_disk of this GlanceShowImageResponseBody.
|
913
|
-
:type: int
|
914
|
-
"""
|
915
|
-
self._min_disk = min_disk
|
916
|
-
|
917
|
-
@property
|
918
|
-
def min_ram(self):
|
919
|
-
"""Gets the min_ram of this GlanceShowImageResponseBody.
|
920
|
-
|
921
|
-
镜像运行最小内存,单位为MB。
|
922
|
-
|
923
|
-
:return: The min_ram of this GlanceShowImageResponseBody.
|
924
|
-
:rtype: int
|
925
|
-
"""
|
926
|
-
return self._min_ram
|
927
|
-
|
928
|
-
@min_ram.setter
|
929
|
-
def min_ram(self, min_ram):
|
930
|
-
"""Sets the min_ram of this GlanceShowImageResponseBody.
|
931
|
-
|
932
|
-
镜像运行最小内存,单位为MB。
|
933
|
-
|
934
|
-
:param min_ram: The min_ram of this GlanceShowImageResponseBody.
|
935
|
-
:type: int
|
936
|
-
"""
|
937
|
-
self._min_ram = min_ram
|
938
|
-
|
939
|
-
@property
|
940
|
-
def name(self):
|
941
|
-
"""Gets the name of this GlanceShowImageResponseBody.
|
942
|
-
|
943
|
-
镜像名称。
|
944
|
-
|
945
|
-
:return: The name of this GlanceShowImageResponseBody.
|
946
|
-
:rtype: str
|
947
|
-
"""
|
948
|
-
return self._name
|
949
|
-
|
950
|
-
@name.setter
|
951
|
-
def name(self, name):
|
952
|
-
"""Sets the name of this GlanceShowImageResponseBody.
|
953
|
-
|
954
|
-
镜像名称。
|
955
|
-
|
956
|
-
:param name: The name of this GlanceShowImageResponseBody.
|
957
|
-
:type: str
|
958
|
-
"""
|
959
|
-
self._name = name
|
960
|
-
|
961
|
-
@property
|
962
|
-
def owner(self):
|
963
|
-
"""Gets the owner of this GlanceShowImageResponseBody.
|
964
|
-
|
965
|
-
镜像属于哪个租户。
|
966
|
-
|
967
|
-
:return: The owner of this GlanceShowImageResponseBody.
|
968
|
-
:rtype: str
|
969
|
-
"""
|
970
|
-
return self._owner
|
971
|
-
|
972
|
-
@owner.setter
|
973
|
-
def owner(self, owner):
|
974
|
-
"""Sets the owner of this GlanceShowImageResponseBody.
|
975
|
-
|
976
|
-
镜像属于哪个租户。
|
977
|
-
|
978
|
-
:param owner: The owner of this GlanceShowImageResponseBody.
|
979
|
-
:type: str
|
980
|
-
"""
|
981
|
-
self._owner = owner
|
982
|
-
|
983
|
-
@property
|
984
|
-
def protected(self):
|
985
|
-
"""Gets the protected of this GlanceShowImageResponseBody.
|
986
|
-
|
987
|
-
是否是受保护的,受保护的镜像不允许删除。取值为true或false。
|
988
|
-
|
989
|
-
:return: The protected of this GlanceShowImageResponseBody.
|
990
|
-
:rtype: bool
|
991
|
-
"""
|
992
|
-
return self._protected
|
993
|
-
|
994
|
-
@protected.setter
|
995
|
-
def protected(self, protected):
|
996
|
-
"""Sets the protected of this GlanceShowImageResponseBody.
|
997
|
-
|
998
|
-
是否是受保护的,受保护的镜像不允许删除。取值为true或false。
|
999
|
-
|
1000
|
-
:param protected: The protected of this GlanceShowImageResponseBody.
|
1001
|
-
:type: bool
|
1002
|
-
"""
|
1003
|
-
self._protected = protected
|
1004
|
-
|
1005
|
-
@property
|
1006
|
-
def schema(self):
|
1007
|
-
"""Gets the schema of this GlanceShowImageResponseBody.
|
1008
|
-
|
1009
|
-
镜像视图。
|
1010
|
-
|
1011
|
-
:return: The schema of this GlanceShowImageResponseBody.
|
1012
|
-
:rtype: str
|
1013
|
-
"""
|
1014
|
-
return self._schema
|
1015
|
-
|
1016
|
-
@schema.setter
|
1017
|
-
def schema(self, schema):
|
1018
|
-
"""Sets the schema of this GlanceShowImageResponseBody.
|
1019
|
-
|
1020
|
-
镜像视图。
|
1021
|
-
|
1022
|
-
:param schema: The schema of this GlanceShowImageResponseBody.
|
1023
|
-
:type: str
|
1024
|
-
"""
|
1025
|
-
self._schema = schema
|
1026
|
-
|
1027
|
-
@property
|
1028
|
-
def _self(self):
|
1029
|
-
"""Gets the _self of this GlanceShowImageResponseBody.
|
1030
|
-
|
1031
|
-
镜像链接信息。
|
1032
|
-
|
1033
|
-
:return: The _self of this GlanceShowImageResponseBody.
|
1034
|
-
:rtype: str
|
1035
|
-
"""
|
1036
|
-
return self.__self
|
1037
|
-
|
1038
|
-
@_self.setter
|
1039
|
-
def _self(self, _self):
|
1040
|
-
"""Sets the _self of this GlanceShowImageResponseBody.
|
1041
|
-
|
1042
|
-
镜像链接信息。
|
1043
|
-
|
1044
|
-
:param _self: The _self of this GlanceShowImageResponseBody.
|
1045
|
-
:type: str
|
1046
|
-
"""
|
1047
|
-
self.__self = _self
|
1048
|
-
|
1049
|
-
@property
|
1050
|
-
def size(self):
|
1051
|
-
"""Gets the size of this GlanceShowImageResponseBody.
|
1052
|
-
|
1053
|
-
目前暂时不使用。
|
1054
|
-
|
1055
|
-
:return: The size of this GlanceShowImageResponseBody.
|
1056
|
-
:rtype: int
|
1057
|
-
"""
|
1058
|
-
return self._size
|
1059
|
-
|
1060
|
-
@size.setter
|
1061
|
-
def size(self, size):
|
1062
|
-
"""Sets the size of this GlanceShowImageResponseBody.
|
1063
|
-
|
1064
|
-
目前暂时不使用。
|
1065
|
-
|
1066
|
-
:param size: The size of this GlanceShowImageResponseBody.
|
1067
|
-
:type: int
|
1068
|
-
"""
|
1069
|
-
self._size = size
|
1070
|
-
|
1071
|
-
@property
|
1072
|
-
def status(self):
|
1073
|
-
"""Gets the status of this GlanceShowImageResponseBody.
|
1074
|
-
|
1075
|
-
镜像状态。取值如下:queued:表示镜像元数据已经创建成功,等待上传镜像文件。saving:表示镜像正在上传文件到后端存储。deleted:表示镜像已经删除。killed:表示镜像上传错误。active:表示镜像可以正常使用。
|
1076
|
-
|
1077
|
-
:return: The status of this GlanceShowImageResponseBody.
|
1078
|
-
:rtype: str
|
1079
|
-
"""
|
1080
|
-
return self._status
|
1081
|
-
|
1082
|
-
@status.setter
|
1083
|
-
def status(self, status):
|
1084
|
-
"""Sets the status of this GlanceShowImageResponseBody.
|
1085
|
-
|
1086
|
-
镜像状态。取值如下:queued:表示镜像元数据已经创建成功,等待上传镜像文件。saving:表示镜像正在上传文件到后端存储。deleted:表示镜像已经删除。killed:表示镜像上传错误。active:表示镜像可以正常使用。
|
1087
|
-
|
1088
|
-
:param status: The status of this GlanceShowImageResponseBody.
|
1089
|
-
:type: str
|
1090
|
-
"""
|
1091
|
-
self._status = status
|
1092
|
-
|
1093
|
-
@property
|
1094
|
-
def tags(self):
|
1095
|
-
"""Gets the tags of this GlanceShowImageResponseBody.
|
1096
|
-
|
1097
|
-
镜像标签列表,提供用户可以自定义管理私有镜像的能力。用户可以通过镜像标签接口为每个镜像增加不同的标签,在查询接口中可以根据标签进行过滤。
|
1098
|
-
|
1099
|
-
:return: The tags of this GlanceShowImageResponseBody.
|
1100
|
-
:rtype: list[str]
|
1101
|
-
"""
|
1102
|
-
return self._tags
|
1103
|
-
|
1104
|
-
@tags.setter
|
1105
|
-
def tags(self, tags):
|
1106
|
-
"""Sets the tags of this GlanceShowImageResponseBody.
|
1107
|
-
|
1108
|
-
镜像标签列表,提供用户可以自定义管理私有镜像的能力。用户可以通过镜像标签接口为每个镜像增加不同的标签,在查询接口中可以根据标签进行过滤。
|
1109
|
-
|
1110
|
-
:param tags: The tags of this GlanceShowImageResponseBody.
|
1111
|
-
:type: list[str]
|
1112
|
-
"""
|
1113
|
-
self._tags = tags
|
1114
|
-
|
1115
|
-
@property
|
1116
|
-
def updated_at(self):
|
1117
|
-
"""Gets the updated_at of this GlanceShowImageResponseBody.
|
1118
|
-
|
1119
|
-
更新时间。格式为UTC时间。
|
1120
|
-
|
1121
|
-
:return: The updated_at of this GlanceShowImageResponseBody.
|
1122
|
-
:rtype: str
|
1123
|
-
"""
|
1124
|
-
return self._updated_at
|
1125
|
-
|
1126
|
-
@updated_at.setter
|
1127
|
-
def updated_at(self, updated_at):
|
1128
|
-
"""Sets the updated_at of this GlanceShowImageResponseBody.
|
1129
|
-
|
1130
|
-
更新时间。格式为UTC时间。
|
1131
|
-
|
1132
|
-
:param updated_at: The updated_at of this GlanceShowImageResponseBody.
|
1133
|
-
:type: str
|
1134
|
-
"""
|
1135
|
-
self._updated_at = updated_at
|
1136
|
-
|
1137
|
-
@property
|
1138
|
-
def virtual_env_type(self):
|
1139
|
-
"""Gets the virtual_env_type of this GlanceShowImageResponseBody.
|
1140
|
-
|
1141
|
-
镜像使用环境类型:FusionCompute,Ironic,DataImage。
|
1142
|
-
|
1143
|
-
:return: The virtual_env_type of this GlanceShowImageResponseBody.
|
1144
|
-
:rtype: str
|
1145
|
-
"""
|
1146
|
-
return self._virtual_env_type
|
1147
|
-
|
1148
|
-
@virtual_env_type.setter
|
1149
|
-
def virtual_env_type(self, virtual_env_type):
|
1150
|
-
"""Sets the virtual_env_type of this GlanceShowImageResponseBody.
|
1151
|
-
|
1152
|
-
镜像使用环境类型:FusionCompute,Ironic,DataImage。
|
1153
|
-
|
1154
|
-
:param virtual_env_type: The virtual_env_type of this GlanceShowImageResponseBody.
|
1155
|
-
:type: str
|
1156
|
-
"""
|
1157
|
-
self._virtual_env_type = virtual_env_type
|
1158
|
-
|
1159
|
-
@property
|
1160
|
-
def virtual_size(self):
|
1161
|
-
"""Gets the virtual_size of this GlanceShowImageResponseBody.
|
1162
|
-
|
1163
|
-
目前暂时不使用。
|
1164
|
-
|
1165
|
-
:return: The virtual_size of this GlanceShowImageResponseBody.
|
1166
|
-
:rtype: int
|
1167
|
-
"""
|
1168
|
-
return self._virtual_size
|
1169
|
-
|
1170
|
-
@virtual_size.setter
|
1171
|
-
def virtual_size(self, virtual_size):
|
1172
|
-
"""Sets the virtual_size of this GlanceShowImageResponseBody.
|
1173
|
-
|
1174
|
-
目前暂时不使用。
|
1175
|
-
|
1176
|
-
:param virtual_size: The virtual_size of this GlanceShowImageResponseBody.
|
1177
|
-
:type: int
|
1178
|
-
"""
|
1179
|
-
self._virtual_size = virtual_size
|
1180
|
-
|
1181
|
-
@property
|
1182
|
-
def visibility(self):
|
1183
|
-
"""Gets the visibility of this GlanceShowImageResponseBody.
|
1184
|
-
|
1185
|
-
是否被其他租户可见,取值如下:private:私有镜像public:公共镜像shared:共享镜像
|
1186
|
-
|
1187
|
-
:return: The visibility of this GlanceShowImageResponseBody.
|
1188
|
-
:rtype: str
|
1189
|
-
"""
|
1190
|
-
return self._visibility
|
1191
|
-
|
1192
|
-
@visibility.setter
|
1193
|
-
def visibility(self, visibility):
|
1194
|
-
"""Sets the visibility of this GlanceShowImageResponseBody.
|
1195
|
-
|
1196
|
-
是否被其他租户可见,取值如下:private:私有镜像public:公共镜像shared:共享镜像
|
1197
|
-
|
1198
|
-
:param visibility: The visibility of this GlanceShowImageResponseBody.
|
1199
|
-
:type: str
|
1200
|
-
"""
|
1201
|
-
self._visibility = visibility
|
1202
|
-
|
1203
|
-
@property
|
1204
|
-
def support_fc_inject(self):
|
1205
|
-
"""Gets the support_fc_inject of this GlanceShowImageResponseBody.
|
1206
|
-
|
1207
|
-
表示当前镜像支持CloudInit密码/密钥注入方式,建议设置为\"true\"或者\"false\"。如果取值为\"true\",表示该镜像不支持CloudInit注入密码/密钥,其他取值时表示支持CloudInit注入密钥/密码。
|
1208
|
-
|
1209
|
-
:return: The support_fc_inject of this GlanceShowImageResponseBody.
|
1210
|
-
:rtype: str
|
1211
|
-
"""
|
1212
|
-
return self._support_fc_inject
|
1213
|
-
|
1214
|
-
@support_fc_inject.setter
|
1215
|
-
def support_fc_inject(self, support_fc_inject):
|
1216
|
-
"""Sets the support_fc_inject of this GlanceShowImageResponseBody.
|
1217
|
-
|
1218
|
-
表示当前镜像支持CloudInit密码/密钥注入方式,建议设置为\"true\"或者\"false\"。如果取值为\"true\",表示该镜像不支持CloudInit注入密码/密钥,其他取值时表示支持CloudInit注入密钥/密码。
|
1219
|
-
|
1220
|
-
:param support_fc_inject: The support_fc_inject of this GlanceShowImageResponseBody.
|
1221
|
-
:type: str
|
1222
|
-
"""
|
1223
|
-
self._support_fc_inject = support_fc_inject
|
1224
|
-
|
1225
|
-
@property
|
1226
|
-
def enterprise_project_id(self):
|
1227
|
-
"""Gets the enterprise_project_id of this GlanceShowImageResponseBody.
|
1228
|
-
|
1229
|
-
表示当前镜像所属的企业项目。 取值为0或无该值,表示属于default企业项目。 取值为UUID,表示属于该UUID对应的企业项目。 关于企业项目ID的获取及企业项目特性的详细信息,请参考《企业管理用户指南》。
|
1230
|
-
|
1231
|
-
:return: The enterprise_project_id of this GlanceShowImageResponseBody.
|
1232
|
-
:rtype: str
|
1233
|
-
"""
|
1234
|
-
return self._enterprise_project_id
|
1235
|
-
|
1236
|
-
@enterprise_project_id.setter
|
1237
|
-
def enterprise_project_id(self, enterprise_project_id):
|
1238
|
-
"""Sets the enterprise_project_id of this GlanceShowImageResponseBody.
|
1239
|
-
|
1240
|
-
表示当前镜像所属的企业项目。 取值为0或无该值,表示属于default企业项目。 取值为UUID,表示属于该UUID对应的企业项目。 关于企业项目ID的获取及企业项目特性的详细信息,请参考《企业管理用户指南》。
|
1241
|
-
|
1242
|
-
:param enterprise_project_id: The enterprise_project_id of this GlanceShowImageResponseBody.
|
1243
|
-
:type: str
|
1244
|
-
"""
|
1245
|
-
self._enterprise_project_id = enterprise_project_id
|
1246
|
-
|
1247
|
-
@property
|
1248
|
-
def hw_firmware_type(self):
|
1249
|
-
"""Gets the hw_firmware_type of this GlanceShowImageResponseBody.
|
1250
|
-
|
1251
|
-
云主机云服务器的启动方式。目前支持: bios:表示bios引导启动。 uefi:表示uefi引导启动。
|
1252
|
-
|
1253
|
-
:return: The hw_firmware_type of this GlanceShowImageResponseBody.
|
1254
|
-
:rtype: str
|
1255
|
-
"""
|
1256
|
-
return self._hw_firmware_type
|
1257
|
-
|
1258
|
-
@hw_firmware_type.setter
|
1259
|
-
def hw_firmware_type(self, hw_firmware_type):
|
1260
|
-
"""Sets the hw_firmware_type of this GlanceShowImageResponseBody.
|
1261
|
-
|
1262
|
-
云主机云服务器的启动方式。目前支持: bios:表示bios引导启动。 uefi:表示uefi引导启动。
|
1263
|
-
|
1264
|
-
:param hw_firmware_type: The hw_firmware_type of this GlanceShowImageResponseBody.
|
1265
|
-
:type: str
|
1266
|
-
"""
|
1267
|
-
self._hw_firmware_type = hw_firmware_type
|
1268
|
-
|
1269
|
-
@property
|
1270
|
-
def support_arm(self):
|
1271
|
-
"""Gets the support_arm of this GlanceShowImageResponseBody.
|
1272
|
-
|
1273
|
-
是否为ARM架构类型的镜像,取值为“true”或者“false”。
|
1274
|
-
|
1275
|
-
:return: The support_arm of this GlanceShowImageResponseBody.
|
1276
|
-
:rtype: str
|
1277
|
-
"""
|
1278
|
-
return self._support_arm
|
1279
|
-
|
1280
|
-
@support_arm.setter
|
1281
|
-
def support_arm(self, support_arm):
|
1282
|
-
"""Sets the support_arm of this GlanceShowImageResponseBody.
|
1283
|
-
|
1284
|
-
是否为ARM架构类型的镜像,取值为“true”或者“false”。
|
1285
|
-
|
1286
|
-
:param support_arm: The support_arm of this GlanceShowImageResponseBody.
|
1287
|
-
:type: str
|
1288
|
-
"""
|
1289
|
-
self._support_arm = support_arm
|
1290
|
-
|
1291
|
-
@property
|
1292
|
-
def is_offshelved(self):
|
1293
|
-
"""Gets the is_offshelved of this GlanceShowImageResponseBody.
|
1294
|
-
|
1295
|
-
表示当前市场镜像是否下架。 true:已下架 false:未下架
|
1296
|
-
|
1297
|
-
:return: The is_offshelved of this GlanceShowImageResponseBody.
|
1298
|
-
:rtype: str
|
1299
|
-
"""
|
1300
|
-
return self._is_offshelved
|
1301
|
-
|
1302
|
-
@is_offshelved.setter
|
1303
|
-
def is_offshelved(self, is_offshelved):
|
1304
|
-
"""Sets the is_offshelved of this GlanceShowImageResponseBody.
|
1305
|
-
|
1306
|
-
表示当前市场镜像是否下架。 true:已下架 false:未下架
|
1307
|
-
|
1308
|
-
:param is_offshelved: The is_offshelved of this GlanceShowImageResponseBody.
|
1309
|
-
:type: str
|
1310
|
-
"""
|
1311
|
-
self._is_offshelved = is_offshelved
|
1312
|
-
|
1313
|
-
def to_dict(self):
|
1314
|
-
"""Returns the model properties as a dict"""
|
1315
|
-
result = {}
|
1316
|
-
|
1317
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
1318
|
-
value = getattr(self, attr)
|
1319
|
-
if isinstance(value, list):
|
1320
|
-
result[attr] = list(map(
|
1321
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
1322
|
-
value
|
1323
|
-
))
|
1324
|
-
elif hasattr(value, "to_dict"):
|
1325
|
-
result[attr] = value.to_dict()
|
1326
|
-
elif isinstance(value, dict):
|
1327
|
-
result[attr] = dict(map(
|
1328
|
-
lambda item: (item[0], item[1].to_dict())
|
1329
|
-
if hasattr(item[1], "to_dict") else item,
|
1330
|
-
value.items()
|
1331
|
-
))
|
1332
|
-
else:
|
1333
|
-
if attr in self.sensitive_list:
|
1334
|
-
result[attr] = "****"
|
1335
|
-
else:
|
1336
|
-
result[attr] = value
|
1337
|
-
|
1338
|
-
return result
|
1339
|
-
|
1340
|
-
def to_str(self):
|
1341
|
-
"""Returns the string representation of the model"""
|
1342
|
-
return pprint.pformat(self.to_dict())
|
1343
|
-
|
1344
|
-
def __repr__(self):
|
1345
|
-
"""For `print` and `pprint`"""
|
1346
|
-
return self.to_str()
|
1347
|
-
|
1348
|
-
def __eq__(self, other):
|
1349
|
-
"""Returns true if both objects are equal"""
|
1350
|
-
if not isinstance(other, GlanceShowImageResponseBody):
|
1351
|
-
return False
|
1352
|
-
|
1353
|
-
return self.__dict__ == other.__dict__
|
1354
|
-
|
1355
|
-
def __ne__(self, other):
|
1356
|
-
"""Returns true if both objects are not equal"""
|
1357
|
-
return not self == other
|