huaweicloudsdkims 3.0.42rc0__py3-none-any.whl → 3.1.160__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- huaweicloudsdkims/v2/__init__.py +31 -3
- huaweicloudsdkims/v2/ims_async_client.py +2198 -1356
- huaweicloudsdkims/v2/ims_client.py +2188 -1347
- huaweicloudsdkims/v2/model/__init__.py +30 -1
- huaweicloudsdkims/v2/model/add_image_tag_request.py +26 -19
- huaweicloudsdkims/v2/model/add_image_tag_request_body.py +19 -16
- huaweicloudsdkims/v2/model/add_image_tag_response.py +14 -10
- huaweicloudsdkims/v2/model/add_or_update_tags_request_body.py +29 -22
- huaweicloudsdkims/v2/model/additional_properties.py +18 -13
- huaweicloudsdkims/v2/model/batch_add_members_request.py +19 -16
- huaweicloudsdkims/v2/model/batch_add_members_request_body.py +84 -19
- huaweicloudsdkims/v2/model/batch_add_members_response.py +19 -13
- huaweicloudsdkims/v2/model/batch_add_or_delete_tags_request.py +26 -19
- huaweicloudsdkims/v2/model/batch_add_or_delete_tags_request_body.py +24 -17
- huaweicloudsdkims/v2/model/batch_add_or_delete_tags_response.py +14 -10
- huaweicloudsdkims/v2/model/batch_delete_members_request.py +19 -16
- huaweicloudsdkims/v2/model/batch_delete_members_response.py +19 -13
- huaweicloudsdkims/v2/model/batch_delete_tags_request.py +139 -0
- huaweicloudsdkims/v2/model/batch_delete_tags_request_body.py +114 -0
- huaweicloudsdkims/v2/model/batch_delete_tags_response.py +85 -0
- huaweicloudsdkims/v2/model/batch_update_members_request.py +19 -16
- huaweicloudsdkims/v2/model/batch_update_members_request_body.py +33 -22
- huaweicloudsdkims/v2/model/batch_update_members_response.py +19 -13
- huaweicloudsdkims/v2/model/copy_image_cross_region_request.py +26 -19
- huaweicloudsdkims/v2/model/copy_image_cross_region_request_body.py +70 -28
- huaweicloudsdkims/v2/model/copy_image_cross_region_response.py +19 -13
- huaweicloudsdkims/v2/model/copy_image_in_region_in_safe_mode_request.py +139 -0
- huaweicloudsdkims/v2/model/copy_image_in_region_in_safe_mode_response.py +116 -0
- huaweicloudsdkims/v2/model/copy_image_in_region_request.py +26 -19
- huaweicloudsdkims/v2/model/copy_image_in_region_request_body.py +33 -22
- huaweicloudsdkims/v2/model/copy_image_in_region_response.py +19 -13
- huaweicloudsdkims/v2/model/create_data_image.py +33 -22
- huaweicloudsdkims/v2/model/create_data_image_in_safe_mode_request.py +111 -0
- huaweicloudsdkims/v2/model/create_data_image_in_safe_mode_response.py +116 -0
- huaweicloudsdkims/v2/model/create_data_image_request.py +19 -16
- huaweicloudsdkims/v2/model/create_data_image_request_body.py +63 -41
- huaweicloudsdkims/v2/model/create_data_image_response.py +19 -13
- huaweicloudsdkims/v2/model/create_image_in_safe_mode_request.py +111 -0
- huaweicloudsdkims/v2/model/create_image_in_safe_mode_response.py +116 -0
- huaweicloudsdkims/v2/model/create_image_request.py +19 -16
- huaweicloudsdkims/v2/model/create_image_request_body.py +139 -70
- huaweicloudsdkims/v2/model/create_image_response.py +19 -13
- huaweicloudsdkims/v2/model/create_or_update_tags_request.py +19 -16
- huaweicloudsdkims/v2/model/create_or_update_tags_response.py +14 -10
- huaweicloudsdkims/v2/model/create_whole_image_request.py +19 -16
- huaweicloudsdkims/v2/model/create_whole_image_request_body.py +74 -50
- huaweicloudsdkims/v2/model/create_whole_image_response.py +19 -13
- huaweicloudsdkims/v2/model/delete_image_tag_request.py +27 -16
- huaweicloudsdkims/v2/model/delete_image_tag_response.py +14 -10
- huaweicloudsdkims/v2/model/export_image_in_safe_mode_request.py +139 -0
- huaweicloudsdkims/v2/model/export_image_in_safe_mode_response.py +116 -0
- huaweicloudsdkims/v2/model/export_image_request.py +26 -19
- huaweicloudsdkims/v2/model/export_image_request_body.py +55 -19
- huaweicloudsdkims/v2/model/export_image_response.py +19 -13
- huaweicloudsdkims/v2/model/glance_add_image_member_request.py +26 -19
- huaweicloudsdkims/v2/model/glance_add_image_member_request_body.py +18 -13
- huaweicloudsdkims/v2/model/glance_add_image_member_response.py +105 -31
- huaweicloudsdkims/v2/model/glance_create_image_metadata_request.py +19 -16
- huaweicloudsdkims/v2/model/glance_create_image_metadata_request_body.py +58 -37
- huaweicloudsdkims/v2/model/glance_create_image_metadata_response.py +239 -94
- huaweicloudsdkims/v2/model/glance_create_tag_request.py +27 -16
- huaweicloudsdkims/v2/model/glance_create_tag_response.py +14 -10
- huaweicloudsdkims/v2/model/glance_delete_image_member_request.py +27 -16
- huaweicloudsdkims/v2/model/glance_delete_image_member_response.py +14 -10
- huaweicloudsdkims/v2/model/glance_delete_image_request.py +26 -19
- huaweicloudsdkims/v2/model/glance_delete_image_request_body.py +18 -13
- huaweicloudsdkims/v2/model/glance_delete_image_response.py +14 -10
- huaweicloudsdkims/v2/model/glance_delete_tag_request.py +27 -16
- huaweicloudsdkims/v2/model/glance_delete_tag_response.py +14 -10
- huaweicloudsdkims/v2/model/glance_image_members.py +104 -31
- huaweicloudsdkims/v2/model/glance_list_image_member_schemas_request.py +13 -10
- huaweicloudsdkims/v2/model/glance_list_image_member_schemas_response.py +30 -20
- huaweicloudsdkims/v2/model/glance_list_image_members_request.py +20 -13
- huaweicloudsdkims/v2/model/glance_list_image_members_response.py +25 -17
- huaweicloudsdkims/v2/model/glance_list_image_schemas_request.py +13 -10
- huaweicloudsdkims/v2/model/glance_list_image_schemas_response.py +30 -20
- huaweicloudsdkims/v2/model/glance_list_images_request.py +237 -106
- huaweicloudsdkims/v2/model/glance_list_images_response.py +36 -24
- huaweicloudsdkims/v2/model/glance_show_image_list_response_body.py +1833 -0
- huaweicloudsdkims/v2/model/glance_show_image_member_request.py +27 -16
- huaweicloudsdkims/v2/model/glance_show_image_member_response.py +105 -31
- huaweicloudsdkims/v2/model/glance_show_image_member_schemas_request.py +13 -10
- huaweicloudsdkims/v2/model/glance_show_image_member_schemas_response.py +24 -16
- huaweicloudsdkims/v2/model/glance_show_image_request.py +20 -13
- huaweicloudsdkims/v2/model/glance_show_image_response.py +631 -210
- huaweicloudsdkims/v2/model/glance_show_image_schemas_request.py +13 -10
- huaweicloudsdkims/v2/model/glance_show_image_schemas_response.py +36 -26
- huaweicloudsdkims/v2/model/glance_update_image_member_request.py +33 -22
- huaweicloudsdkims/v2/model/glance_update_image_member_request_body.py +23 -16
- huaweicloudsdkims/v2/model/glance_update_image_member_response.py +105 -31
- huaweicloudsdkims/v2/model/glance_update_image_request.py +26 -19
- huaweicloudsdkims/v2/model/glance_update_image_request_body.py +28 -19
- huaweicloudsdkims/v2/model/glance_update_image_response.py +631 -210
- huaweicloudsdkims/v2/model/image_info.py +616 -260
- huaweicloudsdkims/v2/model/image_member.py +310 -0
- huaweicloudsdkims/v2/model/image_tag.py +23 -16
- huaweicloudsdkims/v2/model/import_image_quick_in_safe_mode_request.py +111 -0
- huaweicloudsdkims/v2/model/import_image_quick_in_safe_mode_response.py +116 -0
- huaweicloudsdkims/v2/model/import_image_quick_request.py +19 -16
- huaweicloudsdkims/v2/model/import_image_quick_response.py +19 -13
- huaweicloudsdkims/v2/model/job_entities.py +340 -16
- huaweicloudsdkims/v2/model/job_entities_result.py +173 -0
- huaweicloudsdkims/v2/model/job_progress_entities.py +289 -0
- huaweicloudsdkims/v2/model/links.py +23 -16
- huaweicloudsdkims/v2/model/list_image_by_tags_request.py +19 -16
- huaweicloudsdkims/v2/model/list_image_by_tags_request_body.py +90 -42
- huaweicloudsdkims/v2/model/list_image_by_tags_response.py +25 -17
- huaweicloudsdkims/v2/model/list_image_members_request.py +114 -0
- huaweicloudsdkims/v2/model/list_image_members_response.py +145 -0
- huaweicloudsdkims/v2/model/list_image_tags_request.py +20 -13
- huaweicloudsdkims/v2/model/list_image_tags_response.py +20 -14
- huaweicloudsdkims/v2/model/list_images_request.py +272 -121
- huaweicloudsdkims/v2/model/list_images_response.py +20 -14
- huaweicloudsdkims/v2/model/list_images_tags_request.py +13 -10
- huaweicloudsdkims/v2/model/list_images_tags_response.py +20 -14
- huaweicloudsdkims/v2/model/list_os_versions_request.py +20 -13
- huaweicloudsdkims/v2/model/list_os_versions_response.py +20 -16
- huaweicloudsdkims/v2/model/list_os_versions_response_body.py +24 -17
- huaweicloudsdkims/v2/model/list_tags_request.py +118 -55
- huaweicloudsdkims/v2/model/list_tags_response.py +19 -13
- huaweicloudsdkims/v2/model/list_versions_request.py +84 -0
- huaweicloudsdkims/v2/model/list_versions_response.py +116 -0
- huaweicloudsdkims/v2/model/os_version_info.py +38 -25
- huaweicloudsdkims/v2/model/os_version_response.py +172 -0
- huaweicloudsdkims/v2/model/query_image_by_tags_resource_detail.py +18 -13
- huaweicloudsdkims/v2/model/quick_import_image_by_file_request_body.py +130 -47
- huaweicloudsdkims/v2/model/quota.py +19 -14
- huaweicloudsdkims/v2/model/quota_info.py +38 -25
- huaweicloudsdkims/v2/model/register_image_request.py +26 -19
- huaweicloudsdkims/v2/model/register_image_request_body.py +18 -13
- huaweicloudsdkims/v2/model/register_image_response.py +19 -13
- huaweicloudsdkims/v2/model/resource_tag.py +23 -16
- huaweicloudsdkims/v2/model/show_image_by_tags_resource.py +47 -38
- huaweicloudsdkims/v2/model/show_image_member_request.py +142 -0
- huaweicloudsdkims/v2/model/show_image_member_response.py +319 -0
- huaweicloudsdkims/v2/model/show_image_quota_request.py +13 -10
- huaweicloudsdkims/v2/model/show_image_quota_response.py +20 -16
- huaweicloudsdkims/v2/model/show_job_progress_request.py +114 -0
- huaweicloudsdkims/v2/model/show_job_progress_response.py +315 -0
- huaweicloudsdkims/v2/model/show_job_request.py +20 -13
- huaweicloudsdkims/v2/model/show_job_response.py +55 -37
- huaweicloudsdkims/v2/model/show_version_request.py +114 -0
- huaweicloudsdkims/v2/model/show_version_response.py +116 -0
- huaweicloudsdkims/v2/model/sub_job_entities.py +144 -0
- huaweicloudsdkims/v2/model/sub_job_result.py +314 -0
- huaweicloudsdkims/v2/model/tag_key_value.py +23 -16
- huaweicloudsdkims/v2/model/tags.py +23 -16
- huaweicloudsdkims/v2/model/update_image_request.py +26 -19
- huaweicloudsdkims/v2/model/update_image_request_body.py +29 -21
- huaweicloudsdkims/v2/model/update_image_response.py +600 -254
- huaweicloudsdkims/v2/region/ims_region.py +101 -42
- {huaweicloudsdkims-3.0.42rc0.dist-info → huaweicloudsdkims-3.1.160.dist-info}/METADATA +9 -9
- huaweicloudsdkims-3.1.160.dist-info/RECORD +158 -0
- {huaweicloudsdkims-3.0.42rc0.dist-info → huaweicloudsdkims-3.1.160.dist-info}/WHEEL +1 -1
- huaweicloudsdkims/v2/model/glance_show_image_response_body.py +0 -1357
- huaweicloudsdkims-3.0.42rc0.dist-info/RECORD +0 -129
- {huaweicloudsdkims-3.0.42rc0.dist-info → huaweicloudsdkims-3.1.160.dist-info}/LICENSE +0 -0
- {huaweicloudsdkims-3.0.42rc0.dist-info → huaweicloudsdkims-3.1.160.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1833 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class GlanceShowImageListResponseBody:
|
9
|
+
|
10
|
+
"""
|
11
|
+
Attributes:
|
12
|
+
openapi_types (dict): The key is attribute name
|
13
|
+
and the value is attribute type.
|
14
|
+
attribute_map (dict): The key is attribute name
|
15
|
+
and the value is json key in definition.
|
16
|
+
"""
|
17
|
+
sensitive_list = []
|
18
|
+
|
19
|
+
openapi_types = {
|
20
|
+
'backup_id': 'str',
|
21
|
+
'data_origin': 'str',
|
22
|
+
'description': 'str',
|
23
|
+
'image_size': 'str',
|
24
|
+
'image_source_type': 'str',
|
25
|
+
'imagetype': 'str',
|
26
|
+
'isregistered': 'str',
|
27
|
+
'originalimagename': 'str',
|
28
|
+
'os_bit': 'str',
|
29
|
+
'os_type': 'str',
|
30
|
+
'os_version': 'str',
|
31
|
+
'platform': 'str',
|
32
|
+
'productcode': 'str',
|
33
|
+
'support_diskintensive': 'str',
|
34
|
+
'support_highperformance': 'str',
|
35
|
+
'support_kvm': 'str',
|
36
|
+
'support_kvm_gpu_type': 'str',
|
37
|
+
'support_kvm_infiniband': 'str',
|
38
|
+
'support_largememory': 'str',
|
39
|
+
'support_xen': 'str',
|
40
|
+
'support_xen_gpu_type': 'str',
|
41
|
+
'support_xen_hana': 'str',
|
42
|
+
'checksum': 'str',
|
43
|
+
'container_format': 'str',
|
44
|
+
'created_at': 'str',
|
45
|
+
'disk_format': 'str',
|
46
|
+
'file': 'str',
|
47
|
+
'id': 'str',
|
48
|
+
'min_disk': 'int',
|
49
|
+
'min_ram': 'int',
|
50
|
+
'name': 'str',
|
51
|
+
'owner': 'str',
|
52
|
+
'protected': 'bool',
|
53
|
+
'schema': 'str',
|
54
|
+
'_self': 'str',
|
55
|
+
'size': 'int',
|
56
|
+
'status': 'str',
|
57
|
+
'tags': 'list[str]',
|
58
|
+
'updated_at': 'str',
|
59
|
+
'virtual_env_type': 'str',
|
60
|
+
'virtual_size': 'int',
|
61
|
+
'visibility': 'str',
|
62
|
+
'support_fc_inject': 'str',
|
63
|
+
'enterprise_project_id': 'str',
|
64
|
+
'sys_enterprise_project_id': 'str',
|
65
|
+
'hw_firmware_type': 'str',
|
66
|
+
'support_arm': 'str',
|
67
|
+
'is_offshelved': 'str',
|
68
|
+
'lazyloading': 'str',
|
69
|
+
'os_feature_list': 'str',
|
70
|
+
'root_origin': 'str',
|
71
|
+
'sequence_num': 'str',
|
72
|
+
'support_agent_list': 'str',
|
73
|
+
'system__cmkid': 'str',
|
74
|
+
'active_at': 'str',
|
75
|
+
'hw_vif_multiqueue_enabled': 'str',
|
76
|
+
'max_ram': 'str',
|
77
|
+
'image_location': 'str',
|
78
|
+
'is_config_init': 'str',
|
79
|
+
'account_code': 'str',
|
80
|
+
'support_amd': 'str'
|
81
|
+
}
|
82
|
+
|
83
|
+
attribute_map = {
|
84
|
+
'backup_id': '__backup_id',
|
85
|
+
'data_origin': '__data_origin',
|
86
|
+
'description': '__description',
|
87
|
+
'image_size': '__image_size',
|
88
|
+
'image_source_type': '__image_source_type',
|
89
|
+
'imagetype': '__imagetype',
|
90
|
+
'isregistered': '__isregistered',
|
91
|
+
'originalimagename': '__originalimagename',
|
92
|
+
'os_bit': '__os_bit',
|
93
|
+
'os_type': '__os_type',
|
94
|
+
'os_version': '__os_version',
|
95
|
+
'platform': '__platform',
|
96
|
+
'productcode': '__productcode',
|
97
|
+
'support_diskintensive': '__support_diskintensive',
|
98
|
+
'support_highperformance': '__support_highperformance',
|
99
|
+
'support_kvm': '__support_kvm',
|
100
|
+
'support_kvm_gpu_type': '__support_kvm_gpu_type',
|
101
|
+
'support_kvm_infiniband': '__support_kvm_infiniband',
|
102
|
+
'support_largememory': '__support_largememory',
|
103
|
+
'support_xen': '__support_xen',
|
104
|
+
'support_xen_gpu_type': '__support_xen_gpu_type',
|
105
|
+
'support_xen_hana': '__support_xen_hana',
|
106
|
+
'checksum': 'checksum',
|
107
|
+
'container_format': 'container_format',
|
108
|
+
'created_at': 'created_at',
|
109
|
+
'disk_format': 'disk_format',
|
110
|
+
'file': 'file',
|
111
|
+
'id': 'id',
|
112
|
+
'min_disk': 'min_disk',
|
113
|
+
'min_ram': 'min_ram',
|
114
|
+
'name': 'name',
|
115
|
+
'owner': 'owner',
|
116
|
+
'protected': 'protected',
|
117
|
+
'schema': 'schema',
|
118
|
+
'_self': 'self',
|
119
|
+
'size': 'size',
|
120
|
+
'status': 'status',
|
121
|
+
'tags': 'tags',
|
122
|
+
'updated_at': 'updated_at',
|
123
|
+
'virtual_env_type': 'virtual_env_type',
|
124
|
+
'virtual_size': 'virtual_size',
|
125
|
+
'visibility': 'visibility',
|
126
|
+
'support_fc_inject': '__support_fc_inject',
|
127
|
+
'enterprise_project_id': 'enterprise_project_id',
|
128
|
+
'sys_enterprise_project_id': '_sys_enterprise_project_id',
|
129
|
+
'hw_firmware_type': 'hw_firmware_type',
|
130
|
+
'support_arm': '__support_arm',
|
131
|
+
'is_offshelved': '__is_offshelved',
|
132
|
+
'lazyloading': '__lazyloading',
|
133
|
+
'os_feature_list': '__os_feature_list',
|
134
|
+
'root_origin': '__root_origin',
|
135
|
+
'sequence_num': '__sequence_num',
|
136
|
+
'support_agent_list': '__support_agent_list',
|
137
|
+
'system__cmkid': '__system__cmkid',
|
138
|
+
'active_at': 'active_at',
|
139
|
+
'hw_vif_multiqueue_enabled': 'hw_vif_multiqueue_enabled',
|
140
|
+
'max_ram': 'max_ram',
|
141
|
+
'image_location': '__image_location',
|
142
|
+
'is_config_init': '__is_config_init',
|
143
|
+
'account_code': '__account_code',
|
144
|
+
'support_amd': '__support_amd'
|
145
|
+
}
|
146
|
+
|
147
|
+
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, 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, sys_enterprise_project_id=None, hw_firmware_type=None, support_arm=None, is_offshelved=None, lazyloading=None, os_feature_list=None, root_origin=None, sequence_num=None, support_agent_list=None, system__cmkid=None, active_at=None, hw_vif_multiqueue_enabled=None, max_ram=None, image_location=None, is_config_init=None, account_code=None, support_amd=None):
|
148
|
+
r"""GlanceShowImageListResponseBody
|
149
|
+
|
150
|
+
The model defined in huaweicloud sdk
|
151
|
+
|
152
|
+
:param backup_id: 备份ID。如果是备份创建的镜像,则填写为备份的ID,否则为空。
|
153
|
+
:type backup_id: str
|
154
|
+
:param data_origin: 镜像来源。公共镜像为空。
|
155
|
+
:type data_origin: str
|
156
|
+
:param description: 镜像描述信息。
|
157
|
+
:type description: str
|
158
|
+
:param image_size: 镜像文件的大小,单位为字节。目前取值为大于0的字符串。
|
159
|
+
:type image_size: str
|
160
|
+
:param image_source_type: 镜像后端存储类型,目前只支持uds
|
161
|
+
:type image_source_type: str
|
162
|
+
:param imagetype: 镜像类型,目前支持以下类型:公共镜像:gold私有镜像:private共享镜像:shared 市场镜像:market
|
163
|
+
:type imagetype: str
|
164
|
+
:param isregistered: 是否是注册过的镜像,取值为“true”或者“false”。
|
165
|
+
:type isregistered: str
|
166
|
+
:param originalimagename: 父镜像ID。公共镜像或通过文件创建的私有镜像,取值为空。
|
167
|
+
:type originalimagename: str
|
168
|
+
:param os_bit: 操作系统位数,一般取值为“32”或者“64”。
|
169
|
+
:type os_bit: str
|
170
|
+
:param os_type: 操作系统类型,目前取值Linux, Windows,Other。
|
171
|
+
:type os_type: str
|
172
|
+
:param os_version: 操作系统具体版本。
|
173
|
+
:type os_version: str
|
174
|
+
:param platform: 镜像平台分类,取值为Windows,Ubuntu,RedHat,SUSE,CentOS,Debian,OpenSUSE, Oracle Linux,Fedora,Other,CoreOS和EulerOS。
|
175
|
+
:type platform: str
|
176
|
+
:param productcode: 市场镜像的产品ID。
|
177
|
+
:type productcode: str
|
178
|
+
:param support_diskintensive: 表示该镜像支持密集存储。如果镜像支持密集存储性能,则值为true,否则无需增加该属性。
|
179
|
+
:type support_diskintensive: str
|
180
|
+
:param support_highperformance: 表示该镜像支持高计算性能。如果镜像支持高计算性能,则值为true,否则无需增加该属性。
|
181
|
+
:type support_highperformance: str
|
182
|
+
:param support_kvm: 如果镜像支持KVM,取值为true,否则无需增加该属性。
|
183
|
+
:type support_kvm: str
|
184
|
+
:param support_kvm_gpu_type: 表示该镜像是支持KVM虚拟化平台下的GPU类型,如果不支持KVM虚拟机下GPU类型,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存。
|
185
|
+
:type support_kvm_gpu_type: str
|
186
|
+
:param support_kvm_infiniband: 如果镜像支持KVM虚拟化下Infiniband网卡类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”属性不共存。
|
187
|
+
:type support_kvm_infiniband: str
|
188
|
+
:param support_largememory: 表示该镜像支持超大内存。如果镜像支持超大内存,取值为true,否则无需增加该属性
|
189
|
+
:type support_largememory: str
|
190
|
+
:param support_xen: 如果镜像支持XEN,取值为true,否则无需增加该属性。
|
191
|
+
:type support_xen: str
|
192
|
+
:param support_xen_gpu_type: 表示该镜像是支持XEN虚拟化平台下的GPU优化类型,取值参考8.10-表 镜像支持的GPU类型说明。镜像操作系统类型请参考8.10-表 镜像类型。如果不支持XEN虚拟化下GPU类型,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存。
|
193
|
+
:type support_xen_gpu_type: str
|
194
|
+
:param support_xen_hana: 如果镜像支持XEN虚拟化下HANA类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存。
|
195
|
+
:type support_xen_hana: str
|
196
|
+
:param checksum: 目前暂时不使用。
|
197
|
+
:type checksum: str
|
198
|
+
:param container_format: 容器类型。
|
199
|
+
:type container_format: str
|
200
|
+
:param created_at: 创建时间。格式为UTC时间。
|
201
|
+
:type created_at: str
|
202
|
+
:param disk_format: 镜像的格式,目前支持vhd,zvhd、raw,qcow2,zvhd2。默认值是vhd。
|
203
|
+
:type disk_format: str
|
204
|
+
:param file: 镜像文件下载和上传链接。
|
205
|
+
:type file: str
|
206
|
+
:param id: 镜像ID。
|
207
|
+
:type id: str
|
208
|
+
:param min_disk: 镜像运行需要的最小磁盘容量,单位为GB
|
209
|
+
:type min_disk: int
|
210
|
+
:param min_ram: 镜像运行最小内存,单位为MB。
|
211
|
+
:type min_ram: int
|
212
|
+
:param name: 镜像名称。
|
213
|
+
:type name: str
|
214
|
+
:param owner: 镜像属于哪个租户。
|
215
|
+
:type owner: str
|
216
|
+
:param protected: 是否是受保护的,受保护的镜像不允许删除。取值为true或false。
|
217
|
+
:type protected: bool
|
218
|
+
:param schema: 镜像视图。
|
219
|
+
:type schema: str
|
220
|
+
:param _self: 镜像链接信息。
|
221
|
+
:type _self: str
|
222
|
+
:param size: 目前暂时不使用。
|
223
|
+
:type size: int
|
224
|
+
:param status: 镜像状态。取值如下:queued:表示镜像元数据已经创建成功,等待上传镜像文件。saving:表示镜像正在上传文件到后端存储。deleted:表示镜像已经删除。killed:表示镜像上传错误。active:表示镜像可以正常使用。
|
225
|
+
:type status: str
|
226
|
+
:param tags: 镜像标签列表,提供用户可以自定义管理私有镜像的能力。用户可以通过镜像标签接口为每个镜像增加不同的标签,在查询接口中可以根据标签进行过滤。
|
227
|
+
:type tags: list[str]
|
228
|
+
:param updated_at: 更新时间。格式为UTC时间。
|
229
|
+
:type updated_at: str
|
230
|
+
:param virtual_env_type: 镜像使用环境类型:FusionCompute,Ironic,DataImage。
|
231
|
+
:type virtual_env_type: str
|
232
|
+
:param virtual_size: 目前暂时不使用。
|
233
|
+
:type virtual_size: int
|
234
|
+
:param visibility: 是否被其他租户可见,取值如下:private:私有镜像public:公共镜像shared:共享镜像
|
235
|
+
:type visibility: str
|
236
|
+
:param support_fc_inject: 表示当前镜像支持CloudInit密码/密钥注入方式,建议设置为\"true\"或者\"false\"。如果取值为\"true\",表示该镜像不支持CloudInit注入密码/密钥,其他取值时表示支持CloudInit注入密钥/密码。
|
237
|
+
:type support_fc_inject: str
|
238
|
+
:param enterprise_project_id: 表示当前镜像所属的企业项目。 取值为0或无该值,表示属于default企业项目。 取值为UUID,表示属于该UUID对应的企业项目。 关于企业项目ID的获取及企业项目特性的详细信息,请参考《企业管理用户指南》。
|
239
|
+
:type enterprise_project_id: str
|
240
|
+
:param sys_enterprise_project_id: 表示当前镜像所属的企业项目。 取值为0或无该值,表示属于default企业项目。 取值为UUID,表示属于该UUID对应的企业项目。 关于企业项目ID的获取及企业项目特性的详细信息,请参考《企业管理用户指南》。
|
241
|
+
:type sys_enterprise_project_id: str
|
242
|
+
:param hw_firmware_type: 云主机云服务器的启动方式。目前支持: bios:表示bios引导启动。 uefi:表示uefi引导启动。
|
243
|
+
:type hw_firmware_type: str
|
244
|
+
:param support_arm: 是否为ARM架构类型的镜像,取值为“true”或者“false”。
|
245
|
+
:type support_arm: str
|
246
|
+
:param is_offshelved: 表示当前市场镜像是否下架。 true:已下架 false:未下架
|
247
|
+
:type is_offshelved: str
|
248
|
+
:param lazyloading: 镜像是否支持延迟加载。取值为True或False。
|
249
|
+
:type lazyloading: str
|
250
|
+
:param os_feature_list: 镜像附加属性。该属性采用JSON格式来标识镜像支持的高级特性清单。
|
251
|
+
:type os_feature_list: str
|
252
|
+
:param root_origin: 表示当前镜像来源是从外部导入。取值:file。
|
253
|
+
:type root_origin: str
|
254
|
+
:param sequence_num: 目前暂时不用
|
255
|
+
:type sequence_num: str
|
256
|
+
:param support_agent_list: 镜像是否支持企业主机安全或主机监控。 hss:企业主机安全 ces:主机监控
|
257
|
+
:type support_agent_list: str
|
258
|
+
:param system__cmkid: 加密镜像所使用的密钥ID。
|
259
|
+
:type system__cmkid: str
|
260
|
+
:param active_at: 镜像状态变为正常的时间。
|
261
|
+
:type active_at: str
|
262
|
+
:param hw_vif_multiqueue_enabled: 镜像是否支持网卡多队列。取值为true或者false。
|
263
|
+
:type hw_vif_multiqueue_enabled: str
|
264
|
+
:param max_ram: 镜像支持的最大内存,单位为MB。取值可以参考云服务器规格限制,一般不设置。
|
265
|
+
:type max_ram: str
|
266
|
+
:param image_location: 镜像的存储位置。
|
267
|
+
:type image_location: str
|
268
|
+
:param is_config_init: 是否完成了初始化配置。取值为true或false
|
269
|
+
:type is_config_init: str
|
270
|
+
:param account_code: 收费镜像标识。
|
271
|
+
:type account_code: str
|
272
|
+
:param support_amd: 是否是AMD架构类型的镜像。取值为“true”或者“false”。
|
273
|
+
:type support_amd: str
|
274
|
+
"""
|
275
|
+
|
276
|
+
|
277
|
+
|
278
|
+
self._backup_id = None
|
279
|
+
self._data_origin = None
|
280
|
+
self._description = None
|
281
|
+
self._image_size = None
|
282
|
+
self._image_source_type = None
|
283
|
+
self._imagetype = None
|
284
|
+
self._isregistered = None
|
285
|
+
self._originalimagename = None
|
286
|
+
self._os_bit = None
|
287
|
+
self._os_type = None
|
288
|
+
self._os_version = None
|
289
|
+
self._platform = None
|
290
|
+
self._productcode = None
|
291
|
+
self._support_diskintensive = None
|
292
|
+
self._support_highperformance = None
|
293
|
+
self._support_kvm = None
|
294
|
+
self._support_kvm_gpu_type = None
|
295
|
+
self._support_kvm_infiniband = None
|
296
|
+
self._support_largememory = None
|
297
|
+
self._support_xen = None
|
298
|
+
self._support_xen_gpu_type = None
|
299
|
+
self._support_xen_hana = None
|
300
|
+
self._checksum = None
|
301
|
+
self._container_format = None
|
302
|
+
self._created_at = None
|
303
|
+
self._disk_format = None
|
304
|
+
self._file = None
|
305
|
+
self._id = None
|
306
|
+
self._min_disk = None
|
307
|
+
self._min_ram = None
|
308
|
+
self._name = None
|
309
|
+
self._owner = None
|
310
|
+
self._protected = None
|
311
|
+
self._schema = None
|
312
|
+
self.__self = None
|
313
|
+
self._size = None
|
314
|
+
self._status = None
|
315
|
+
self._tags = None
|
316
|
+
self._updated_at = None
|
317
|
+
self._virtual_env_type = None
|
318
|
+
self._virtual_size = None
|
319
|
+
self._visibility = None
|
320
|
+
self._support_fc_inject = None
|
321
|
+
self._enterprise_project_id = None
|
322
|
+
self._sys_enterprise_project_id = None
|
323
|
+
self._hw_firmware_type = None
|
324
|
+
self._support_arm = None
|
325
|
+
self._is_offshelved = None
|
326
|
+
self._lazyloading = None
|
327
|
+
self._os_feature_list = None
|
328
|
+
self._root_origin = None
|
329
|
+
self._sequence_num = None
|
330
|
+
self._support_agent_list = None
|
331
|
+
self._system__cmkid = None
|
332
|
+
self._active_at = None
|
333
|
+
self._hw_vif_multiqueue_enabled = None
|
334
|
+
self._max_ram = None
|
335
|
+
self._image_location = None
|
336
|
+
self._is_config_init = None
|
337
|
+
self._account_code = None
|
338
|
+
self._support_amd = None
|
339
|
+
self.discriminator = None
|
340
|
+
|
341
|
+
if backup_id is not None:
|
342
|
+
self.backup_id = backup_id
|
343
|
+
if data_origin is not None:
|
344
|
+
self.data_origin = data_origin
|
345
|
+
if description is not None:
|
346
|
+
self.description = description
|
347
|
+
self.image_size = image_size
|
348
|
+
self.image_source_type = image_source_type
|
349
|
+
self.imagetype = imagetype
|
350
|
+
self.isregistered = isregistered
|
351
|
+
if originalimagename is not None:
|
352
|
+
self.originalimagename = originalimagename
|
353
|
+
if os_bit is not None:
|
354
|
+
self.os_bit = os_bit
|
355
|
+
self.os_type = os_type
|
356
|
+
if os_version is not None:
|
357
|
+
self.os_version = os_version
|
358
|
+
if platform is not None:
|
359
|
+
self.platform = platform
|
360
|
+
if productcode is not None:
|
361
|
+
self.productcode = productcode
|
362
|
+
if support_diskintensive is not None:
|
363
|
+
self.support_diskintensive = support_diskintensive
|
364
|
+
if support_highperformance is not None:
|
365
|
+
self.support_highperformance = support_highperformance
|
366
|
+
if support_kvm is not None:
|
367
|
+
self.support_kvm = support_kvm
|
368
|
+
if support_kvm_gpu_type is not None:
|
369
|
+
self.support_kvm_gpu_type = support_kvm_gpu_type
|
370
|
+
if support_kvm_infiniband is not None:
|
371
|
+
self.support_kvm_infiniband = support_kvm_infiniband
|
372
|
+
if support_largememory is not None:
|
373
|
+
self.support_largememory = support_largememory
|
374
|
+
if support_xen is not None:
|
375
|
+
self.support_xen = support_xen
|
376
|
+
if support_xen_gpu_type is not None:
|
377
|
+
self.support_xen_gpu_type = support_xen_gpu_type
|
378
|
+
if support_xen_hana is not None:
|
379
|
+
self.support_xen_hana = support_xen_hana
|
380
|
+
if checksum is not None:
|
381
|
+
self.checksum = checksum
|
382
|
+
self.container_format = container_format
|
383
|
+
self.created_at = created_at
|
384
|
+
self.disk_format = disk_format
|
385
|
+
self.file = file
|
386
|
+
self.id = id
|
387
|
+
self.min_disk = min_disk
|
388
|
+
self.min_ram = min_ram
|
389
|
+
self.name = name
|
390
|
+
self.owner = owner
|
391
|
+
self.protected = protected
|
392
|
+
self.schema = schema
|
393
|
+
self._self = _self
|
394
|
+
if size is not None:
|
395
|
+
self.size = size
|
396
|
+
self.status = status
|
397
|
+
self.tags = tags
|
398
|
+
self.updated_at = updated_at
|
399
|
+
self.virtual_env_type = virtual_env_type
|
400
|
+
if virtual_size is not None:
|
401
|
+
self.virtual_size = virtual_size
|
402
|
+
self.visibility = visibility
|
403
|
+
if support_fc_inject is not None:
|
404
|
+
self.support_fc_inject = support_fc_inject
|
405
|
+
if enterprise_project_id is not None:
|
406
|
+
self.enterprise_project_id = enterprise_project_id
|
407
|
+
if sys_enterprise_project_id is not None:
|
408
|
+
self.sys_enterprise_project_id = sys_enterprise_project_id
|
409
|
+
if hw_firmware_type is not None:
|
410
|
+
self.hw_firmware_type = hw_firmware_type
|
411
|
+
if support_arm is not None:
|
412
|
+
self.support_arm = support_arm
|
413
|
+
if is_offshelved is not None:
|
414
|
+
self.is_offshelved = is_offshelved
|
415
|
+
if lazyloading is not None:
|
416
|
+
self.lazyloading = lazyloading
|
417
|
+
if os_feature_list is not None:
|
418
|
+
self.os_feature_list = os_feature_list
|
419
|
+
if root_origin is not None:
|
420
|
+
self.root_origin = root_origin
|
421
|
+
if sequence_num is not None:
|
422
|
+
self.sequence_num = sequence_num
|
423
|
+
if support_agent_list is not None:
|
424
|
+
self.support_agent_list = support_agent_list
|
425
|
+
if system__cmkid is not None:
|
426
|
+
self.system__cmkid = system__cmkid
|
427
|
+
if active_at is not None:
|
428
|
+
self.active_at = active_at
|
429
|
+
if hw_vif_multiqueue_enabled is not None:
|
430
|
+
self.hw_vif_multiqueue_enabled = hw_vif_multiqueue_enabled
|
431
|
+
if max_ram is not None:
|
432
|
+
self.max_ram = max_ram
|
433
|
+
if image_location is not None:
|
434
|
+
self.image_location = image_location
|
435
|
+
if is_config_init is not None:
|
436
|
+
self.is_config_init = is_config_init
|
437
|
+
if account_code is not None:
|
438
|
+
self.account_code = account_code
|
439
|
+
if support_amd is not None:
|
440
|
+
self.support_amd = support_amd
|
441
|
+
|
442
|
+
@property
|
443
|
+
def backup_id(self):
|
444
|
+
r"""Gets the backup_id of this GlanceShowImageListResponseBody.
|
445
|
+
|
446
|
+
备份ID。如果是备份创建的镜像,则填写为备份的ID,否则为空。
|
447
|
+
|
448
|
+
:return: The backup_id of this GlanceShowImageListResponseBody.
|
449
|
+
:rtype: str
|
450
|
+
"""
|
451
|
+
return self._backup_id
|
452
|
+
|
453
|
+
@backup_id.setter
|
454
|
+
def backup_id(self, backup_id):
|
455
|
+
r"""Sets the backup_id of this GlanceShowImageListResponseBody.
|
456
|
+
|
457
|
+
备份ID。如果是备份创建的镜像,则填写为备份的ID,否则为空。
|
458
|
+
|
459
|
+
:param backup_id: The backup_id of this GlanceShowImageListResponseBody.
|
460
|
+
:type backup_id: str
|
461
|
+
"""
|
462
|
+
self._backup_id = backup_id
|
463
|
+
|
464
|
+
@property
|
465
|
+
def data_origin(self):
|
466
|
+
r"""Gets the data_origin of this GlanceShowImageListResponseBody.
|
467
|
+
|
468
|
+
镜像来源。公共镜像为空。
|
469
|
+
|
470
|
+
:return: The data_origin of this GlanceShowImageListResponseBody.
|
471
|
+
:rtype: str
|
472
|
+
"""
|
473
|
+
return self._data_origin
|
474
|
+
|
475
|
+
@data_origin.setter
|
476
|
+
def data_origin(self, data_origin):
|
477
|
+
r"""Sets the data_origin of this GlanceShowImageListResponseBody.
|
478
|
+
|
479
|
+
镜像来源。公共镜像为空。
|
480
|
+
|
481
|
+
:param data_origin: The data_origin of this GlanceShowImageListResponseBody.
|
482
|
+
:type data_origin: str
|
483
|
+
"""
|
484
|
+
self._data_origin = data_origin
|
485
|
+
|
486
|
+
@property
|
487
|
+
def description(self):
|
488
|
+
r"""Gets the description of this GlanceShowImageListResponseBody.
|
489
|
+
|
490
|
+
镜像描述信息。
|
491
|
+
|
492
|
+
:return: The description of this GlanceShowImageListResponseBody.
|
493
|
+
:rtype: str
|
494
|
+
"""
|
495
|
+
return self._description
|
496
|
+
|
497
|
+
@description.setter
|
498
|
+
def description(self, description):
|
499
|
+
r"""Sets the description of this GlanceShowImageListResponseBody.
|
500
|
+
|
501
|
+
镜像描述信息。
|
502
|
+
|
503
|
+
:param description: The description of this GlanceShowImageListResponseBody.
|
504
|
+
:type description: str
|
505
|
+
"""
|
506
|
+
self._description = description
|
507
|
+
|
508
|
+
@property
|
509
|
+
def image_size(self):
|
510
|
+
r"""Gets the image_size of this GlanceShowImageListResponseBody.
|
511
|
+
|
512
|
+
镜像文件的大小,单位为字节。目前取值为大于0的字符串。
|
513
|
+
|
514
|
+
:return: The image_size of this GlanceShowImageListResponseBody.
|
515
|
+
:rtype: str
|
516
|
+
"""
|
517
|
+
return self._image_size
|
518
|
+
|
519
|
+
@image_size.setter
|
520
|
+
def image_size(self, image_size):
|
521
|
+
r"""Sets the image_size of this GlanceShowImageListResponseBody.
|
522
|
+
|
523
|
+
镜像文件的大小,单位为字节。目前取值为大于0的字符串。
|
524
|
+
|
525
|
+
:param image_size: The image_size of this GlanceShowImageListResponseBody.
|
526
|
+
:type image_size: str
|
527
|
+
"""
|
528
|
+
self._image_size = image_size
|
529
|
+
|
530
|
+
@property
|
531
|
+
def image_source_type(self):
|
532
|
+
r"""Gets the image_source_type of this GlanceShowImageListResponseBody.
|
533
|
+
|
534
|
+
镜像后端存储类型,目前只支持uds
|
535
|
+
|
536
|
+
:return: The image_source_type of this GlanceShowImageListResponseBody.
|
537
|
+
:rtype: str
|
538
|
+
"""
|
539
|
+
return self._image_source_type
|
540
|
+
|
541
|
+
@image_source_type.setter
|
542
|
+
def image_source_type(self, image_source_type):
|
543
|
+
r"""Sets the image_source_type of this GlanceShowImageListResponseBody.
|
544
|
+
|
545
|
+
镜像后端存储类型,目前只支持uds
|
546
|
+
|
547
|
+
:param image_source_type: The image_source_type of this GlanceShowImageListResponseBody.
|
548
|
+
:type image_source_type: str
|
549
|
+
"""
|
550
|
+
self._image_source_type = image_source_type
|
551
|
+
|
552
|
+
@property
|
553
|
+
def imagetype(self):
|
554
|
+
r"""Gets the imagetype of this GlanceShowImageListResponseBody.
|
555
|
+
|
556
|
+
镜像类型,目前支持以下类型:公共镜像:gold私有镜像:private共享镜像:shared 市场镜像:market
|
557
|
+
|
558
|
+
:return: The imagetype of this GlanceShowImageListResponseBody.
|
559
|
+
:rtype: str
|
560
|
+
"""
|
561
|
+
return self._imagetype
|
562
|
+
|
563
|
+
@imagetype.setter
|
564
|
+
def imagetype(self, imagetype):
|
565
|
+
r"""Sets the imagetype of this GlanceShowImageListResponseBody.
|
566
|
+
|
567
|
+
镜像类型,目前支持以下类型:公共镜像:gold私有镜像:private共享镜像:shared 市场镜像:market
|
568
|
+
|
569
|
+
:param imagetype: The imagetype of this GlanceShowImageListResponseBody.
|
570
|
+
:type imagetype: str
|
571
|
+
"""
|
572
|
+
self._imagetype = imagetype
|
573
|
+
|
574
|
+
@property
|
575
|
+
def isregistered(self):
|
576
|
+
r"""Gets the isregistered of this GlanceShowImageListResponseBody.
|
577
|
+
|
578
|
+
是否是注册过的镜像,取值为“true”或者“false”。
|
579
|
+
|
580
|
+
:return: The isregistered of this GlanceShowImageListResponseBody.
|
581
|
+
:rtype: str
|
582
|
+
"""
|
583
|
+
return self._isregistered
|
584
|
+
|
585
|
+
@isregistered.setter
|
586
|
+
def isregistered(self, isregistered):
|
587
|
+
r"""Sets the isregistered of this GlanceShowImageListResponseBody.
|
588
|
+
|
589
|
+
是否是注册过的镜像,取值为“true”或者“false”。
|
590
|
+
|
591
|
+
:param isregistered: The isregistered of this GlanceShowImageListResponseBody.
|
592
|
+
:type isregistered: str
|
593
|
+
"""
|
594
|
+
self._isregistered = isregistered
|
595
|
+
|
596
|
+
@property
|
597
|
+
def originalimagename(self):
|
598
|
+
r"""Gets the originalimagename of this GlanceShowImageListResponseBody.
|
599
|
+
|
600
|
+
父镜像ID。公共镜像或通过文件创建的私有镜像,取值为空。
|
601
|
+
|
602
|
+
:return: The originalimagename of this GlanceShowImageListResponseBody.
|
603
|
+
:rtype: str
|
604
|
+
"""
|
605
|
+
return self._originalimagename
|
606
|
+
|
607
|
+
@originalimagename.setter
|
608
|
+
def originalimagename(self, originalimagename):
|
609
|
+
r"""Sets the originalimagename of this GlanceShowImageListResponseBody.
|
610
|
+
|
611
|
+
父镜像ID。公共镜像或通过文件创建的私有镜像,取值为空。
|
612
|
+
|
613
|
+
:param originalimagename: The originalimagename of this GlanceShowImageListResponseBody.
|
614
|
+
:type originalimagename: str
|
615
|
+
"""
|
616
|
+
self._originalimagename = originalimagename
|
617
|
+
|
618
|
+
@property
|
619
|
+
def os_bit(self):
|
620
|
+
r"""Gets the os_bit of this GlanceShowImageListResponseBody.
|
621
|
+
|
622
|
+
操作系统位数,一般取值为“32”或者“64”。
|
623
|
+
|
624
|
+
:return: The os_bit of this GlanceShowImageListResponseBody.
|
625
|
+
:rtype: str
|
626
|
+
"""
|
627
|
+
return self._os_bit
|
628
|
+
|
629
|
+
@os_bit.setter
|
630
|
+
def os_bit(self, os_bit):
|
631
|
+
r"""Sets the os_bit of this GlanceShowImageListResponseBody.
|
632
|
+
|
633
|
+
操作系统位数,一般取值为“32”或者“64”。
|
634
|
+
|
635
|
+
:param os_bit: The os_bit of this GlanceShowImageListResponseBody.
|
636
|
+
:type os_bit: str
|
637
|
+
"""
|
638
|
+
self._os_bit = os_bit
|
639
|
+
|
640
|
+
@property
|
641
|
+
def os_type(self):
|
642
|
+
r"""Gets the os_type of this GlanceShowImageListResponseBody.
|
643
|
+
|
644
|
+
操作系统类型,目前取值Linux, Windows,Other。
|
645
|
+
|
646
|
+
:return: The os_type of this GlanceShowImageListResponseBody.
|
647
|
+
:rtype: str
|
648
|
+
"""
|
649
|
+
return self._os_type
|
650
|
+
|
651
|
+
@os_type.setter
|
652
|
+
def os_type(self, os_type):
|
653
|
+
r"""Sets the os_type of this GlanceShowImageListResponseBody.
|
654
|
+
|
655
|
+
操作系统类型,目前取值Linux, Windows,Other。
|
656
|
+
|
657
|
+
:param os_type: The os_type of this GlanceShowImageListResponseBody.
|
658
|
+
:type os_type: str
|
659
|
+
"""
|
660
|
+
self._os_type = os_type
|
661
|
+
|
662
|
+
@property
|
663
|
+
def os_version(self):
|
664
|
+
r"""Gets the os_version of this GlanceShowImageListResponseBody.
|
665
|
+
|
666
|
+
操作系统具体版本。
|
667
|
+
|
668
|
+
:return: The os_version of this GlanceShowImageListResponseBody.
|
669
|
+
:rtype: str
|
670
|
+
"""
|
671
|
+
return self._os_version
|
672
|
+
|
673
|
+
@os_version.setter
|
674
|
+
def os_version(self, os_version):
|
675
|
+
r"""Sets the os_version of this GlanceShowImageListResponseBody.
|
676
|
+
|
677
|
+
操作系统具体版本。
|
678
|
+
|
679
|
+
:param os_version: The os_version of this GlanceShowImageListResponseBody.
|
680
|
+
:type os_version: str
|
681
|
+
"""
|
682
|
+
self._os_version = os_version
|
683
|
+
|
684
|
+
@property
|
685
|
+
def platform(self):
|
686
|
+
r"""Gets the platform of this GlanceShowImageListResponseBody.
|
687
|
+
|
688
|
+
镜像平台分类,取值为Windows,Ubuntu,RedHat,SUSE,CentOS,Debian,OpenSUSE, Oracle Linux,Fedora,Other,CoreOS和EulerOS。
|
689
|
+
|
690
|
+
:return: The platform of this GlanceShowImageListResponseBody.
|
691
|
+
:rtype: str
|
692
|
+
"""
|
693
|
+
return self._platform
|
694
|
+
|
695
|
+
@platform.setter
|
696
|
+
def platform(self, platform):
|
697
|
+
r"""Sets the platform of this GlanceShowImageListResponseBody.
|
698
|
+
|
699
|
+
镜像平台分类,取值为Windows,Ubuntu,RedHat,SUSE,CentOS,Debian,OpenSUSE, Oracle Linux,Fedora,Other,CoreOS和EulerOS。
|
700
|
+
|
701
|
+
:param platform: The platform of this GlanceShowImageListResponseBody.
|
702
|
+
:type platform: str
|
703
|
+
"""
|
704
|
+
self._platform = platform
|
705
|
+
|
706
|
+
@property
|
707
|
+
def productcode(self):
|
708
|
+
r"""Gets the productcode of this GlanceShowImageListResponseBody.
|
709
|
+
|
710
|
+
市场镜像的产品ID。
|
711
|
+
|
712
|
+
:return: The productcode of this GlanceShowImageListResponseBody.
|
713
|
+
:rtype: str
|
714
|
+
"""
|
715
|
+
return self._productcode
|
716
|
+
|
717
|
+
@productcode.setter
|
718
|
+
def productcode(self, productcode):
|
719
|
+
r"""Sets the productcode of this GlanceShowImageListResponseBody.
|
720
|
+
|
721
|
+
市场镜像的产品ID。
|
722
|
+
|
723
|
+
:param productcode: The productcode of this GlanceShowImageListResponseBody.
|
724
|
+
:type productcode: str
|
725
|
+
"""
|
726
|
+
self._productcode = productcode
|
727
|
+
|
728
|
+
@property
|
729
|
+
def support_diskintensive(self):
|
730
|
+
r"""Gets the support_diskintensive of this GlanceShowImageListResponseBody.
|
731
|
+
|
732
|
+
表示该镜像支持密集存储。如果镜像支持密集存储性能,则值为true,否则无需增加该属性。
|
733
|
+
|
734
|
+
:return: The support_diskintensive of this GlanceShowImageListResponseBody.
|
735
|
+
:rtype: str
|
736
|
+
"""
|
737
|
+
return self._support_diskintensive
|
738
|
+
|
739
|
+
@support_diskintensive.setter
|
740
|
+
def support_diskintensive(self, support_diskintensive):
|
741
|
+
r"""Sets the support_diskintensive of this GlanceShowImageListResponseBody.
|
742
|
+
|
743
|
+
表示该镜像支持密集存储。如果镜像支持密集存储性能,则值为true,否则无需增加该属性。
|
744
|
+
|
745
|
+
:param support_diskintensive: The support_diskintensive of this GlanceShowImageListResponseBody.
|
746
|
+
:type support_diskintensive: str
|
747
|
+
"""
|
748
|
+
self._support_diskintensive = support_diskintensive
|
749
|
+
|
750
|
+
@property
|
751
|
+
def support_highperformance(self):
|
752
|
+
r"""Gets the support_highperformance of this GlanceShowImageListResponseBody.
|
753
|
+
|
754
|
+
表示该镜像支持高计算性能。如果镜像支持高计算性能,则值为true,否则无需增加该属性。
|
755
|
+
|
756
|
+
:return: The support_highperformance of this GlanceShowImageListResponseBody.
|
757
|
+
:rtype: str
|
758
|
+
"""
|
759
|
+
return self._support_highperformance
|
760
|
+
|
761
|
+
@support_highperformance.setter
|
762
|
+
def support_highperformance(self, support_highperformance):
|
763
|
+
r"""Sets the support_highperformance of this GlanceShowImageListResponseBody.
|
764
|
+
|
765
|
+
表示该镜像支持高计算性能。如果镜像支持高计算性能,则值为true,否则无需增加该属性。
|
766
|
+
|
767
|
+
:param support_highperformance: The support_highperformance of this GlanceShowImageListResponseBody.
|
768
|
+
:type support_highperformance: str
|
769
|
+
"""
|
770
|
+
self._support_highperformance = support_highperformance
|
771
|
+
|
772
|
+
@property
|
773
|
+
def support_kvm(self):
|
774
|
+
r"""Gets the support_kvm of this GlanceShowImageListResponseBody.
|
775
|
+
|
776
|
+
如果镜像支持KVM,取值为true,否则无需增加该属性。
|
777
|
+
|
778
|
+
:return: The support_kvm of this GlanceShowImageListResponseBody.
|
779
|
+
:rtype: str
|
780
|
+
"""
|
781
|
+
return self._support_kvm
|
782
|
+
|
783
|
+
@support_kvm.setter
|
784
|
+
def support_kvm(self, support_kvm):
|
785
|
+
r"""Sets the support_kvm of this GlanceShowImageListResponseBody.
|
786
|
+
|
787
|
+
如果镜像支持KVM,取值为true,否则无需增加该属性。
|
788
|
+
|
789
|
+
:param support_kvm: The support_kvm of this GlanceShowImageListResponseBody.
|
790
|
+
:type support_kvm: str
|
791
|
+
"""
|
792
|
+
self._support_kvm = support_kvm
|
793
|
+
|
794
|
+
@property
|
795
|
+
def support_kvm_gpu_type(self):
|
796
|
+
r"""Gets the support_kvm_gpu_type of this GlanceShowImageListResponseBody.
|
797
|
+
|
798
|
+
表示该镜像是支持KVM虚拟化平台下的GPU类型,如果不支持KVM虚拟机下GPU类型,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存。
|
799
|
+
|
800
|
+
:return: The support_kvm_gpu_type of this GlanceShowImageListResponseBody.
|
801
|
+
:rtype: str
|
802
|
+
"""
|
803
|
+
return self._support_kvm_gpu_type
|
804
|
+
|
805
|
+
@support_kvm_gpu_type.setter
|
806
|
+
def support_kvm_gpu_type(self, support_kvm_gpu_type):
|
807
|
+
r"""Sets the support_kvm_gpu_type of this GlanceShowImageListResponseBody.
|
808
|
+
|
809
|
+
表示该镜像是支持KVM虚拟化平台下的GPU类型,如果不支持KVM虚拟机下GPU类型,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存。
|
810
|
+
|
811
|
+
:param support_kvm_gpu_type: The support_kvm_gpu_type of this GlanceShowImageListResponseBody.
|
812
|
+
:type support_kvm_gpu_type: str
|
813
|
+
"""
|
814
|
+
self._support_kvm_gpu_type = support_kvm_gpu_type
|
815
|
+
|
816
|
+
@property
|
817
|
+
def support_kvm_infiniband(self):
|
818
|
+
r"""Gets the support_kvm_infiniband of this GlanceShowImageListResponseBody.
|
819
|
+
|
820
|
+
如果镜像支持KVM虚拟化下Infiniband网卡类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”属性不共存。
|
821
|
+
|
822
|
+
:return: The support_kvm_infiniband of this GlanceShowImageListResponseBody.
|
823
|
+
:rtype: str
|
824
|
+
"""
|
825
|
+
return self._support_kvm_infiniband
|
826
|
+
|
827
|
+
@support_kvm_infiniband.setter
|
828
|
+
def support_kvm_infiniband(self, support_kvm_infiniband):
|
829
|
+
r"""Sets the support_kvm_infiniband of this GlanceShowImageListResponseBody.
|
830
|
+
|
831
|
+
如果镜像支持KVM虚拟化下Infiniband网卡类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”属性不共存。
|
832
|
+
|
833
|
+
:param support_kvm_infiniband: The support_kvm_infiniband of this GlanceShowImageListResponseBody.
|
834
|
+
:type support_kvm_infiniband: str
|
835
|
+
"""
|
836
|
+
self._support_kvm_infiniband = support_kvm_infiniband
|
837
|
+
|
838
|
+
@property
|
839
|
+
def support_largememory(self):
|
840
|
+
r"""Gets the support_largememory of this GlanceShowImageListResponseBody.
|
841
|
+
|
842
|
+
表示该镜像支持超大内存。如果镜像支持超大内存,取值为true,否则无需增加该属性
|
843
|
+
|
844
|
+
:return: The support_largememory of this GlanceShowImageListResponseBody.
|
845
|
+
:rtype: str
|
846
|
+
"""
|
847
|
+
return self._support_largememory
|
848
|
+
|
849
|
+
@support_largememory.setter
|
850
|
+
def support_largememory(self, support_largememory):
|
851
|
+
r"""Sets the support_largememory of this GlanceShowImageListResponseBody.
|
852
|
+
|
853
|
+
表示该镜像支持超大内存。如果镜像支持超大内存,取值为true,否则无需增加该属性
|
854
|
+
|
855
|
+
:param support_largememory: The support_largememory of this GlanceShowImageListResponseBody.
|
856
|
+
:type support_largememory: str
|
857
|
+
"""
|
858
|
+
self._support_largememory = support_largememory
|
859
|
+
|
860
|
+
@property
|
861
|
+
def support_xen(self):
|
862
|
+
r"""Gets the support_xen of this GlanceShowImageListResponseBody.
|
863
|
+
|
864
|
+
如果镜像支持XEN,取值为true,否则无需增加该属性。
|
865
|
+
|
866
|
+
:return: The support_xen of this GlanceShowImageListResponseBody.
|
867
|
+
:rtype: str
|
868
|
+
"""
|
869
|
+
return self._support_xen
|
870
|
+
|
871
|
+
@support_xen.setter
|
872
|
+
def support_xen(self, support_xen):
|
873
|
+
r"""Sets the support_xen of this GlanceShowImageListResponseBody.
|
874
|
+
|
875
|
+
如果镜像支持XEN,取值为true,否则无需增加该属性。
|
876
|
+
|
877
|
+
:param support_xen: The support_xen of this GlanceShowImageListResponseBody.
|
878
|
+
:type support_xen: str
|
879
|
+
"""
|
880
|
+
self._support_xen = support_xen
|
881
|
+
|
882
|
+
@property
|
883
|
+
def support_xen_gpu_type(self):
|
884
|
+
r"""Gets the support_xen_gpu_type of this GlanceShowImageListResponseBody.
|
885
|
+
|
886
|
+
表示该镜像是支持XEN虚拟化平台下的GPU优化类型,取值参考8.10-表 镜像支持的GPU类型说明。镜像操作系统类型请参考8.10-表 镜像类型。如果不支持XEN虚拟化下GPU类型,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存。
|
887
|
+
|
888
|
+
:return: The support_xen_gpu_type of this GlanceShowImageListResponseBody.
|
889
|
+
:rtype: str
|
890
|
+
"""
|
891
|
+
return self._support_xen_gpu_type
|
892
|
+
|
893
|
+
@support_xen_gpu_type.setter
|
894
|
+
def support_xen_gpu_type(self, support_xen_gpu_type):
|
895
|
+
r"""Sets the support_xen_gpu_type of this GlanceShowImageListResponseBody.
|
896
|
+
|
897
|
+
表示该镜像是支持XEN虚拟化平台下的GPU优化类型,取值参考8.10-表 镜像支持的GPU类型说明。镜像操作系统类型请参考8.10-表 镜像类型。如果不支持XEN虚拟化下GPU类型,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存。
|
898
|
+
|
899
|
+
:param support_xen_gpu_type: The support_xen_gpu_type of this GlanceShowImageListResponseBody.
|
900
|
+
:type support_xen_gpu_type: str
|
901
|
+
"""
|
902
|
+
self._support_xen_gpu_type = support_xen_gpu_type
|
903
|
+
|
904
|
+
@property
|
905
|
+
def support_xen_hana(self):
|
906
|
+
r"""Gets the support_xen_hana of this GlanceShowImageListResponseBody.
|
907
|
+
|
908
|
+
如果镜像支持XEN虚拟化下HANA类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存。
|
909
|
+
|
910
|
+
:return: The support_xen_hana of this GlanceShowImageListResponseBody.
|
911
|
+
:rtype: str
|
912
|
+
"""
|
913
|
+
return self._support_xen_hana
|
914
|
+
|
915
|
+
@support_xen_hana.setter
|
916
|
+
def support_xen_hana(self, support_xen_hana):
|
917
|
+
r"""Sets the support_xen_hana of this GlanceShowImageListResponseBody.
|
918
|
+
|
919
|
+
如果镜像支持XEN虚拟化下HANA类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存。
|
920
|
+
|
921
|
+
:param support_xen_hana: The support_xen_hana of this GlanceShowImageListResponseBody.
|
922
|
+
:type support_xen_hana: str
|
923
|
+
"""
|
924
|
+
self._support_xen_hana = support_xen_hana
|
925
|
+
|
926
|
+
@property
|
927
|
+
def checksum(self):
|
928
|
+
r"""Gets the checksum of this GlanceShowImageListResponseBody.
|
929
|
+
|
930
|
+
目前暂时不使用。
|
931
|
+
|
932
|
+
:return: The checksum of this GlanceShowImageListResponseBody.
|
933
|
+
:rtype: str
|
934
|
+
"""
|
935
|
+
return self._checksum
|
936
|
+
|
937
|
+
@checksum.setter
|
938
|
+
def checksum(self, checksum):
|
939
|
+
r"""Sets the checksum of this GlanceShowImageListResponseBody.
|
940
|
+
|
941
|
+
目前暂时不使用。
|
942
|
+
|
943
|
+
:param checksum: The checksum of this GlanceShowImageListResponseBody.
|
944
|
+
:type checksum: str
|
945
|
+
"""
|
946
|
+
self._checksum = checksum
|
947
|
+
|
948
|
+
@property
|
949
|
+
def container_format(self):
|
950
|
+
r"""Gets the container_format of this GlanceShowImageListResponseBody.
|
951
|
+
|
952
|
+
容器类型。
|
953
|
+
|
954
|
+
:return: The container_format of this GlanceShowImageListResponseBody.
|
955
|
+
:rtype: str
|
956
|
+
"""
|
957
|
+
return self._container_format
|
958
|
+
|
959
|
+
@container_format.setter
|
960
|
+
def container_format(self, container_format):
|
961
|
+
r"""Sets the container_format of this GlanceShowImageListResponseBody.
|
962
|
+
|
963
|
+
容器类型。
|
964
|
+
|
965
|
+
:param container_format: The container_format of this GlanceShowImageListResponseBody.
|
966
|
+
:type container_format: str
|
967
|
+
"""
|
968
|
+
self._container_format = container_format
|
969
|
+
|
970
|
+
@property
|
971
|
+
def created_at(self):
|
972
|
+
r"""Gets the created_at of this GlanceShowImageListResponseBody.
|
973
|
+
|
974
|
+
创建时间。格式为UTC时间。
|
975
|
+
|
976
|
+
:return: The created_at of this GlanceShowImageListResponseBody.
|
977
|
+
:rtype: str
|
978
|
+
"""
|
979
|
+
return self._created_at
|
980
|
+
|
981
|
+
@created_at.setter
|
982
|
+
def created_at(self, created_at):
|
983
|
+
r"""Sets the created_at of this GlanceShowImageListResponseBody.
|
984
|
+
|
985
|
+
创建时间。格式为UTC时间。
|
986
|
+
|
987
|
+
:param created_at: The created_at of this GlanceShowImageListResponseBody.
|
988
|
+
:type created_at: str
|
989
|
+
"""
|
990
|
+
self._created_at = created_at
|
991
|
+
|
992
|
+
@property
|
993
|
+
def disk_format(self):
|
994
|
+
r"""Gets the disk_format of this GlanceShowImageListResponseBody.
|
995
|
+
|
996
|
+
镜像的格式,目前支持vhd,zvhd、raw,qcow2,zvhd2。默认值是vhd。
|
997
|
+
|
998
|
+
:return: The disk_format of this GlanceShowImageListResponseBody.
|
999
|
+
:rtype: str
|
1000
|
+
"""
|
1001
|
+
return self._disk_format
|
1002
|
+
|
1003
|
+
@disk_format.setter
|
1004
|
+
def disk_format(self, disk_format):
|
1005
|
+
r"""Sets the disk_format of this GlanceShowImageListResponseBody.
|
1006
|
+
|
1007
|
+
镜像的格式,目前支持vhd,zvhd、raw,qcow2,zvhd2。默认值是vhd。
|
1008
|
+
|
1009
|
+
:param disk_format: The disk_format of this GlanceShowImageListResponseBody.
|
1010
|
+
:type disk_format: str
|
1011
|
+
"""
|
1012
|
+
self._disk_format = disk_format
|
1013
|
+
|
1014
|
+
@property
|
1015
|
+
def file(self):
|
1016
|
+
r"""Gets the file of this GlanceShowImageListResponseBody.
|
1017
|
+
|
1018
|
+
镜像文件下载和上传链接。
|
1019
|
+
|
1020
|
+
:return: The file of this GlanceShowImageListResponseBody.
|
1021
|
+
:rtype: str
|
1022
|
+
"""
|
1023
|
+
return self._file
|
1024
|
+
|
1025
|
+
@file.setter
|
1026
|
+
def file(self, file):
|
1027
|
+
r"""Sets the file of this GlanceShowImageListResponseBody.
|
1028
|
+
|
1029
|
+
镜像文件下载和上传链接。
|
1030
|
+
|
1031
|
+
:param file: The file of this GlanceShowImageListResponseBody.
|
1032
|
+
:type file: str
|
1033
|
+
"""
|
1034
|
+
self._file = file
|
1035
|
+
|
1036
|
+
@property
|
1037
|
+
def id(self):
|
1038
|
+
r"""Gets the id of this GlanceShowImageListResponseBody.
|
1039
|
+
|
1040
|
+
镜像ID。
|
1041
|
+
|
1042
|
+
:return: The id of this GlanceShowImageListResponseBody.
|
1043
|
+
:rtype: str
|
1044
|
+
"""
|
1045
|
+
return self._id
|
1046
|
+
|
1047
|
+
@id.setter
|
1048
|
+
def id(self, id):
|
1049
|
+
r"""Sets the id of this GlanceShowImageListResponseBody.
|
1050
|
+
|
1051
|
+
镜像ID。
|
1052
|
+
|
1053
|
+
:param id: The id of this GlanceShowImageListResponseBody.
|
1054
|
+
:type id: str
|
1055
|
+
"""
|
1056
|
+
self._id = id
|
1057
|
+
|
1058
|
+
@property
|
1059
|
+
def min_disk(self):
|
1060
|
+
r"""Gets the min_disk of this GlanceShowImageListResponseBody.
|
1061
|
+
|
1062
|
+
镜像运行需要的最小磁盘容量,单位为GB
|
1063
|
+
|
1064
|
+
:return: The min_disk of this GlanceShowImageListResponseBody.
|
1065
|
+
:rtype: int
|
1066
|
+
"""
|
1067
|
+
return self._min_disk
|
1068
|
+
|
1069
|
+
@min_disk.setter
|
1070
|
+
def min_disk(self, min_disk):
|
1071
|
+
r"""Sets the min_disk of this GlanceShowImageListResponseBody.
|
1072
|
+
|
1073
|
+
镜像运行需要的最小磁盘容量,单位为GB
|
1074
|
+
|
1075
|
+
:param min_disk: The min_disk of this GlanceShowImageListResponseBody.
|
1076
|
+
:type min_disk: int
|
1077
|
+
"""
|
1078
|
+
self._min_disk = min_disk
|
1079
|
+
|
1080
|
+
@property
|
1081
|
+
def min_ram(self):
|
1082
|
+
r"""Gets the min_ram of this GlanceShowImageListResponseBody.
|
1083
|
+
|
1084
|
+
镜像运行最小内存,单位为MB。
|
1085
|
+
|
1086
|
+
:return: The min_ram of this GlanceShowImageListResponseBody.
|
1087
|
+
:rtype: int
|
1088
|
+
"""
|
1089
|
+
return self._min_ram
|
1090
|
+
|
1091
|
+
@min_ram.setter
|
1092
|
+
def min_ram(self, min_ram):
|
1093
|
+
r"""Sets the min_ram of this GlanceShowImageListResponseBody.
|
1094
|
+
|
1095
|
+
镜像运行最小内存,单位为MB。
|
1096
|
+
|
1097
|
+
:param min_ram: The min_ram of this GlanceShowImageListResponseBody.
|
1098
|
+
:type min_ram: int
|
1099
|
+
"""
|
1100
|
+
self._min_ram = min_ram
|
1101
|
+
|
1102
|
+
@property
|
1103
|
+
def name(self):
|
1104
|
+
r"""Gets the name of this GlanceShowImageListResponseBody.
|
1105
|
+
|
1106
|
+
镜像名称。
|
1107
|
+
|
1108
|
+
:return: The name of this GlanceShowImageListResponseBody.
|
1109
|
+
:rtype: str
|
1110
|
+
"""
|
1111
|
+
return self._name
|
1112
|
+
|
1113
|
+
@name.setter
|
1114
|
+
def name(self, name):
|
1115
|
+
r"""Sets the name of this GlanceShowImageListResponseBody.
|
1116
|
+
|
1117
|
+
镜像名称。
|
1118
|
+
|
1119
|
+
:param name: The name of this GlanceShowImageListResponseBody.
|
1120
|
+
:type name: str
|
1121
|
+
"""
|
1122
|
+
self._name = name
|
1123
|
+
|
1124
|
+
@property
|
1125
|
+
def owner(self):
|
1126
|
+
r"""Gets the owner of this GlanceShowImageListResponseBody.
|
1127
|
+
|
1128
|
+
镜像属于哪个租户。
|
1129
|
+
|
1130
|
+
:return: The owner of this GlanceShowImageListResponseBody.
|
1131
|
+
:rtype: str
|
1132
|
+
"""
|
1133
|
+
return self._owner
|
1134
|
+
|
1135
|
+
@owner.setter
|
1136
|
+
def owner(self, owner):
|
1137
|
+
r"""Sets the owner of this GlanceShowImageListResponseBody.
|
1138
|
+
|
1139
|
+
镜像属于哪个租户。
|
1140
|
+
|
1141
|
+
:param owner: The owner of this GlanceShowImageListResponseBody.
|
1142
|
+
:type owner: str
|
1143
|
+
"""
|
1144
|
+
self._owner = owner
|
1145
|
+
|
1146
|
+
@property
|
1147
|
+
def protected(self):
|
1148
|
+
r"""Gets the protected of this GlanceShowImageListResponseBody.
|
1149
|
+
|
1150
|
+
是否是受保护的,受保护的镜像不允许删除。取值为true或false。
|
1151
|
+
|
1152
|
+
:return: The protected of this GlanceShowImageListResponseBody.
|
1153
|
+
:rtype: bool
|
1154
|
+
"""
|
1155
|
+
return self._protected
|
1156
|
+
|
1157
|
+
@protected.setter
|
1158
|
+
def protected(self, protected):
|
1159
|
+
r"""Sets the protected of this GlanceShowImageListResponseBody.
|
1160
|
+
|
1161
|
+
是否是受保护的,受保护的镜像不允许删除。取值为true或false。
|
1162
|
+
|
1163
|
+
:param protected: The protected of this GlanceShowImageListResponseBody.
|
1164
|
+
:type protected: bool
|
1165
|
+
"""
|
1166
|
+
self._protected = protected
|
1167
|
+
|
1168
|
+
@property
|
1169
|
+
def schema(self):
|
1170
|
+
r"""Gets the schema of this GlanceShowImageListResponseBody.
|
1171
|
+
|
1172
|
+
镜像视图。
|
1173
|
+
|
1174
|
+
:return: The schema of this GlanceShowImageListResponseBody.
|
1175
|
+
:rtype: str
|
1176
|
+
"""
|
1177
|
+
return self._schema
|
1178
|
+
|
1179
|
+
@schema.setter
|
1180
|
+
def schema(self, schema):
|
1181
|
+
r"""Sets the schema of this GlanceShowImageListResponseBody.
|
1182
|
+
|
1183
|
+
镜像视图。
|
1184
|
+
|
1185
|
+
:param schema: The schema of this GlanceShowImageListResponseBody.
|
1186
|
+
:type schema: str
|
1187
|
+
"""
|
1188
|
+
self._schema = schema
|
1189
|
+
|
1190
|
+
@property
|
1191
|
+
def _self(self):
|
1192
|
+
r"""Gets the _self of this GlanceShowImageListResponseBody.
|
1193
|
+
|
1194
|
+
镜像链接信息。
|
1195
|
+
|
1196
|
+
:return: The _self of this GlanceShowImageListResponseBody.
|
1197
|
+
:rtype: str
|
1198
|
+
"""
|
1199
|
+
return self.__self
|
1200
|
+
|
1201
|
+
@_self.setter
|
1202
|
+
def _self(self, _self):
|
1203
|
+
r"""Sets the _self of this GlanceShowImageListResponseBody.
|
1204
|
+
|
1205
|
+
镜像链接信息。
|
1206
|
+
|
1207
|
+
:param _self: The _self of this GlanceShowImageListResponseBody.
|
1208
|
+
:type _self: str
|
1209
|
+
"""
|
1210
|
+
self.__self = _self
|
1211
|
+
|
1212
|
+
@property
|
1213
|
+
def size(self):
|
1214
|
+
r"""Gets the size of this GlanceShowImageListResponseBody.
|
1215
|
+
|
1216
|
+
目前暂时不使用。
|
1217
|
+
|
1218
|
+
:return: The size of this GlanceShowImageListResponseBody.
|
1219
|
+
:rtype: int
|
1220
|
+
"""
|
1221
|
+
return self._size
|
1222
|
+
|
1223
|
+
@size.setter
|
1224
|
+
def size(self, size):
|
1225
|
+
r"""Sets the size of this GlanceShowImageListResponseBody.
|
1226
|
+
|
1227
|
+
目前暂时不使用。
|
1228
|
+
|
1229
|
+
:param size: The size of this GlanceShowImageListResponseBody.
|
1230
|
+
:type size: int
|
1231
|
+
"""
|
1232
|
+
self._size = size
|
1233
|
+
|
1234
|
+
@property
|
1235
|
+
def status(self):
|
1236
|
+
r"""Gets the status of this GlanceShowImageListResponseBody.
|
1237
|
+
|
1238
|
+
镜像状态。取值如下:queued:表示镜像元数据已经创建成功,等待上传镜像文件。saving:表示镜像正在上传文件到后端存储。deleted:表示镜像已经删除。killed:表示镜像上传错误。active:表示镜像可以正常使用。
|
1239
|
+
|
1240
|
+
:return: The status of this GlanceShowImageListResponseBody.
|
1241
|
+
:rtype: str
|
1242
|
+
"""
|
1243
|
+
return self._status
|
1244
|
+
|
1245
|
+
@status.setter
|
1246
|
+
def status(self, status):
|
1247
|
+
r"""Sets the status of this GlanceShowImageListResponseBody.
|
1248
|
+
|
1249
|
+
镜像状态。取值如下:queued:表示镜像元数据已经创建成功,等待上传镜像文件。saving:表示镜像正在上传文件到后端存储。deleted:表示镜像已经删除。killed:表示镜像上传错误。active:表示镜像可以正常使用。
|
1250
|
+
|
1251
|
+
:param status: The status of this GlanceShowImageListResponseBody.
|
1252
|
+
:type status: str
|
1253
|
+
"""
|
1254
|
+
self._status = status
|
1255
|
+
|
1256
|
+
@property
|
1257
|
+
def tags(self):
|
1258
|
+
r"""Gets the tags of this GlanceShowImageListResponseBody.
|
1259
|
+
|
1260
|
+
镜像标签列表,提供用户可以自定义管理私有镜像的能力。用户可以通过镜像标签接口为每个镜像增加不同的标签,在查询接口中可以根据标签进行过滤。
|
1261
|
+
|
1262
|
+
:return: The tags of this GlanceShowImageListResponseBody.
|
1263
|
+
:rtype: list[str]
|
1264
|
+
"""
|
1265
|
+
return self._tags
|
1266
|
+
|
1267
|
+
@tags.setter
|
1268
|
+
def tags(self, tags):
|
1269
|
+
r"""Sets the tags of this GlanceShowImageListResponseBody.
|
1270
|
+
|
1271
|
+
镜像标签列表,提供用户可以自定义管理私有镜像的能力。用户可以通过镜像标签接口为每个镜像增加不同的标签,在查询接口中可以根据标签进行过滤。
|
1272
|
+
|
1273
|
+
:param tags: The tags of this GlanceShowImageListResponseBody.
|
1274
|
+
:type tags: list[str]
|
1275
|
+
"""
|
1276
|
+
self._tags = tags
|
1277
|
+
|
1278
|
+
@property
|
1279
|
+
def updated_at(self):
|
1280
|
+
r"""Gets the updated_at of this GlanceShowImageListResponseBody.
|
1281
|
+
|
1282
|
+
更新时间。格式为UTC时间。
|
1283
|
+
|
1284
|
+
:return: The updated_at of this GlanceShowImageListResponseBody.
|
1285
|
+
:rtype: str
|
1286
|
+
"""
|
1287
|
+
return self._updated_at
|
1288
|
+
|
1289
|
+
@updated_at.setter
|
1290
|
+
def updated_at(self, updated_at):
|
1291
|
+
r"""Sets the updated_at of this GlanceShowImageListResponseBody.
|
1292
|
+
|
1293
|
+
更新时间。格式为UTC时间。
|
1294
|
+
|
1295
|
+
:param updated_at: The updated_at of this GlanceShowImageListResponseBody.
|
1296
|
+
:type updated_at: str
|
1297
|
+
"""
|
1298
|
+
self._updated_at = updated_at
|
1299
|
+
|
1300
|
+
@property
|
1301
|
+
def virtual_env_type(self):
|
1302
|
+
r"""Gets the virtual_env_type of this GlanceShowImageListResponseBody.
|
1303
|
+
|
1304
|
+
镜像使用环境类型:FusionCompute,Ironic,DataImage。
|
1305
|
+
|
1306
|
+
:return: The virtual_env_type of this GlanceShowImageListResponseBody.
|
1307
|
+
:rtype: str
|
1308
|
+
"""
|
1309
|
+
return self._virtual_env_type
|
1310
|
+
|
1311
|
+
@virtual_env_type.setter
|
1312
|
+
def virtual_env_type(self, virtual_env_type):
|
1313
|
+
r"""Sets the virtual_env_type of this GlanceShowImageListResponseBody.
|
1314
|
+
|
1315
|
+
镜像使用环境类型:FusionCompute,Ironic,DataImage。
|
1316
|
+
|
1317
|
+
:param virtual_env_type: The virtual_env_type of this GlanceShowImageListResponseBody.
|
1318
|
+
:type virtual_env_type: str
|
1319
|
+
"""
|
1320
|
+
self._virtual_env_type = virtual_env_type
|
1321
|
+
|
1322
|
+
@property
|
1323
|
+
def virtual_size(self):
|
1324
|
+
r"""Gets the virtual_size of this GlanceShowImageListResponseBody.
|
1325
|
+
|
1326
|
+
目前暂时不使用。
|
1327
|
+
|
1328
|
+
:return: The virtual_size of this GlanceShowImageListResponseBody.
|
1329
|
+
:rtype: int
|
1330
|
+
"""
|
1331
|
+
return self._virtual_size
|
1332
|
+
|
1333
|
+
@virtual_size.setter
|
1334
|
+
def virtual_size(self, virtual_size):
|
1335
|
+
r"""Sets the virtual_size of this GlanceShowImageListResponseBody.
|
1336
|
+
|
1337
|
+
目前暂时不使用。
|
1338
|
+
|
1339
|
+
:param virtual_size: The virtual_size of this GlanceShowImageListResponseBody.
|
1340
|
+
:type virtual_size: int
|
1341
|
+
"""
|
1342
|
+
self._virtual_size = virtual_size
|
1343
|
+
|
1344
|
+
@property
|
1345
|
+
def visibility(self):
|
1346
|
+
r"""Gets the visibility of this GlanceShowImageListResponseBody.
|
1347
|
+
|
1348
|
+
是否被其他租户可见,取值如下:private:私有镜像public:公共镜像shared:共享镜像
|
1349
|
+
|
1350
|
+
:return: The visibility of this GlanceShowImageListResponseBody.
|
1351
|
+
:rtype: str
|
1352
|
+
"""
|
1353
|
+
return self._visibility
|
1354
|
+
|
1355
|
+
@visibility.setter
|
1356
|
+
def visibility(self, visibility):
|
1357
|
+
r"""Sets the visibility of this GlanceShowImageListResponseBody.
|
1358
|
+
|
1359
|
+
是否被其他租户可见,取值如下:private:私有镜像public:公共镜像shared:共享镜像
|
1360
|
+
|
1361
|
+
:param visibility: The visibility of this GlanceShowImageListResponseBody.
|
1362
|
+
:type visibility: str
|
1363
|
+
"""
|
1364
|
+
self._visibility = visibility
|
1365
|
+
|
1366
|
+
@property
|
1367
|
+
def support_fc_inject(self):
|
1368
|
+
r"""Gets the support_fc_inject of this GlanceShowImageListResponseBody.
|
1369
|
+
|
1370
|
+
表示当前镜像支持CloudInit密码/密钥注入方式,建议设置为\"true\"或者\"false\"。如果取值为\"true\",表示该镜像不支持CloudInit注入密码/密钥,其他取值时表示支持CloudInit注入密钥/密码。
|
1371
|
+
|
1372
|
+
:return: The support_fc_inject of this GlanceShowImageListResponseBody.
|
1373
|
+
:rtype: str
|
1374
|
+
"""
|
1375
|
+
return self._support_fc_inject
|
1376
|
+
|
1377
|
+
@support_fc_inject.setter
|
1378
|
+
def support_fc_inject(self, support_fc_inject):
|
1379
|
+
r"""Sets the support_fc_inject of this GlanceShowImageListResponseBody.
|
1380
|
+
|
1381
|
+
表示当前镜像支持CloudInit密码/密钥注入方式,建议设置为\"true\"或者\"false\"。如果取值为\"true\",表示该镜像不支持CloudInit注入密码/密钥,其他取值时表示支持CloudInit注入密钥/密码。
|
1382
|
+
|
1383
|
+
:param support_fc_inject: The support_fc_inject of this GlanceShowImageListResponseBody.
|
1384
|
+
:type support_fc_inject: str
|
1385
|
+
"""
|
1386
|
+
self._support_fc_inject = support_fc_inject
|
1387
|
+
|
1388
|
+
@property
|
1389
|
+
def enterprise_project_id(self):
|
1390
|
+
r"""Gets the enterprise_project_id of this GlanceShowImageListResponseBody.
|
1391
|
+
|
1392
|
+
表示当前镜像所属的企业项目。 取值为0或无该值,表示属于default企业项目。 取值为UUID,表示属于该UUID对应的企业项目。 关于企业项目ID的获取及企业项目特性的详细信息,请参考《企业管理用户指南》。
|
1393
|
+
|
1394
|
+
:return: The enterprise_project_id of this GlanceShowImageListResponseBody.
|
1395
|
+
:rtype: str
|
1396
|
+
"""
|
1397
|
+
return self._enterprise_project_id
|
1398
|
+
|
1399
|
+
@enterprise_project_id.setter
|
1400
|
+
def enterprise_project_id(self, enterprise_project_id):
|
1401
|
+
r"""Sets the enterprise_project_id of this GlanceShowImageListResponseBody.
|
1402
|
+
|
1403
|
+
表示当前镜像所属的企业项目。 取值为0或无该值,表示属于default企业项目。 取值为UUID,表示属于该UUID对应的企业项目。 关于企业项目ID的获取及企业项目特性的详细信息,请参考《企业管理用户指南》。
|
1404
|
+
|
1405
|
+
:param enterprise_project_id: The enterprise_project_id of this GlanceShowImageListResponseBody.
|
1406
|
+
:type enterprise_project_id: str
|
1407
|
+
"""
|
1408
|
+
self._enterprise_project_id = enterprise_project_id
|
1409
|
+
|
1410
|
+
@property
|
1411
|
+
def sys_enterprise_project_id(self):
|
1412
|
+
r"""Gets the sys_enterprise_project_id of this GlanceShowImageListResponseBody.
|
1413
|
+
|
1414
|
+
表示当前镜像所属的企业项目。 取值为0或无该值,表示属于default企业项目。 取值为UUID,表示属于该UUID对应的企业项目。 关于企业项目ID的获取及企业项目特性的详细信息,请参考《企业管理用户指南》。
|
1415
|
+
|
1416
|
+
:return: The sys_enterprise_project_id of this GlanceShowImageListResponseBody.
|
1417
|
+
:rtype: str
|
1418
|
+
"""
|
1419
|
+
return self._sys_enterprise_project_id
|
1420
|
+
|
1421
|
+
@sys_enterprise_project_id.setter
|
1422
|
+
def sys_enterprise_project_id(self, sys_enterprise_project_id):
|
1423
|
+
r"""Sets the sys_enterprise_project_id of this GlanceShowImageListResponseBody.
|
1424
|
+
|
1425
|
+
表示当前镜像所属的企业项目。 取值为0或无该值,表示属于default企业项目。 取值为UUID,表示属于该UUID对应的企业项目。 关于企业项目ID的获取及企业项目特性的详细信息,请参考《企业管理用户指南》。
|
1426
|
+
|
1427
|
+
:param sys_enterprise_project_id: The sys_enterprise_project_id of this GlanceShowImageListResponseBody.
|
1428
|
+
:type sys_enterprise_project_id: str
|
1429
|
+
"""
|
1430
|
+
self._sys_enterprise_project_id = sys_enterprise_project_id
|
1431
|
+
|
1432
|
+
@property
|
1433
|
+
def hw_firmware_type(self):
|
1434
|
+
r"""Gets the hw_firmware_type of this GlanceShowImageListResponseBody.
|
1435
|
+
|
1436
|
+
云主机云服务器的启动方式。目前支持: bios:表示bios引导启动。 uefi:表示uefi引导启动。
|
1437
|
+
|
1438
|
+
:return: The hw_firmware_type of this GlanceShowImageListResponseBody.
|
1439
|
+
:rtype: str
|
1440
|
+
"""
|
1441
|
+
return self._hw_firmware_type
|
1442
|
+
|
1443
|
+
@hw_firmware_type.setter
|
1444
|
+
def hw_firmware_type(self, hw_firmware_type):
|
1445
|
+
r"""Sets the hw_firmware_type of this GlanceShowImageListResponseBody.
|
1446
|
+
|
1447
|
+
云主机云服务器的启动方式。目前支持: bios:表示bios引导启动。 uefi:表示uefi引导启动。
|
1448
|
+
|
1449
|
+
:param hw_firmware_type: The hw_firmware_type of this GlanceShowImageListResponseBody.
|
1450
|
+
:type hw_firmware_type: str
|
1451
|
+
"""
|
1452
|
+
self._hw_firmware_type = hw_firmware_type
|
1453
|
+
|
1454
|
+
@property
|
1455
|
+
def support_arm(self):
|
1456
|
+
r"""Gets the support_arm of this GlanceShowImageListResponseBody.
|
1457
|
+
|
1458
|
+
是否为ARM架构类型的镜像,取值为“true”或者“false”。
|
1459
|
+
|
1460
|
+
:return: The support_arm of this GlanceShowImageListResponseBody.
|
1461
|
+
:rtype: str
|
1462
|
+
"""
|
1463
|
+
return self._support_arm
|
1464
|
+
|
1465
|
+
@support_arm.setter
|
1466
|
+
def support_arm(self, support_arm):
|
1467
|
+
r"""Sets the support_arm of this GlanceShowImageListResponseBody.
|
1468
|
+
|
1469
|
+
是否为ARM架构类型的镜像,取值为“true”或者“false”。
|
1470
|
+
|
1471
|
+
:param support_arm: The support_arm of this GlanceShowImageListResponseBody.
|
1472
|
+
:type support_arm: str
|
1473
|
+
"""
|
1474
|
+
self._support_arm = support_arm
|
1475
|
+
|
1476
|
+
@property
|
1477
|
+
def is_offshelved(self):
|
1478
|
+
r"""Gets the is_offshelved of this GlanceShowImageListResponseBody.
|
1479
|
+
|
1480
|
+
表示当前市场镜像是否下架。 true:已下架 false:未下架
|
1481
|
+
|
1482
|
+
:return: The is_offshelved of this GlanceShowImageListResponseBody.
|
1483
|
+
:rtype: str
|
1484
|
+
"""
|
1485
|
+
return self._is_offshelved
|
1486
|
+
|
1487
|
+
@is_offshelved.setter
|
1488
|
+
def is_offshelved(self, is_offshelved):
|
1489
|
+
r"""Sets the is_offshelved of this GlanceShowImageListResponseBody.
|
1490
|
+
|
1491
|
+
表示当前市场镜像是否下架。 true:已下架 false:未下架
|
1492
|
+
|
1493
|
+
:param is_offshelved: The is_offshelved of this GlanceShowImageListResponseBody.
|
1494
|
+
:type is_offshelved: str
|
1495
|
+
"""
|
1496
|
+
self._is_offshelved = is_offshelved
|
1497
|
+
|
1498
|
+
@property
|
1499
|
+
def lazyloading(self):
|
1500
|
+
r"""Gets the lazyloading of this GlanceShowImageListResponseBody.
|
1501
|
+
|
1502
|
+
镜像是否支持延迟加载。取值为True或False。
|
1503
|
+
|
1504
|
+
:return: The lazyloading of this GlanceShowImageListResponseBody.
|
1505
|
+
:rtype: str
|
1506
|
+
"""
|
1507
|
+
return self._lazyloading
|
1508
|
+
|
1509
|
+
@lazyloading.setter
|
1510
|
+
def lazyloading(self, lazyloading):
|
1511
|
+
r"""Sets the lazyloading of this GlanceShowImageListResponseBody.
|
1512
|
+
|
1513
|
+
镜像是否支持延迟加载。取值为True或False。
|
1514
|
+
|
1515
|
+
:param lazyloading: The lazyloading of this GlanceShowImageListResponseBody.
|
1516
|
+
:type lazyloading: str
|
1517
|
+
"""
|
1518
|
+
self._lazyloading = lazyloading
|
1519
|
+
|
1520
|
+
@property
|
1521
|
+
def os_feature_list(self):
|
1522
|
+
r"""Gets the os_feature_list of this GlanceShowImageListResponseBody.
|
1523
|
+
|
1524
|
+
镜像附加属性。该属性采用JSON格式来标识镜像支持的高级特性清单。
|
1525
|
+
|
1526
|
+
:return: The os_feature_list of this GlanceShowImageListResponseBody.
|
1527
|
+
:rtype: str
|
1528
|
+
"""
|
1529
|
+
return self._os_feature_list
|
1530
|
+
|
1531
|
+
@os_feature_list.setter
|
1532
|
+
def os_feature_list(self, os_feature_list):
|
1533
|
+
r"""Sets the os_feature_list of this GlanceShowImageListResponseBody.
|
1534
|
+
|
1535
|
+
镜像附加属性。该属性采用JSON格式来标识镜像支持的高级特性清单。
|
1536
|
+
|
1537
|
+
:param os_feature_list: The os_feature_list of this GlanceShowImageListResponseBody.
|
1538
|
+
:type os_feature_list: str
|
1539
|
+
"""
|
1540
|
+
self._os_feature_list = os_feature_list
|
1541
|
+
|
1542
|
+
@property
|
1543
|
+
def root_origin(self):
|
1544
|
+
r"""Gets the root_origin of this GlanceShowImageListResponseBody.
|
1545
|
+
|
1546
|
+
表示当前镜像来源是从外部导入。取值:file。
|
1547
|
+
|
1548
|
+
:return: The root_origin of this GlanceShowImageListResponseBody.
|
1549
|
+
:rtype: str
|
1550
|
+
"""
|
1551
|
+
return self._root_origin
|
1552
|
+
|
1553
|
+
@root_origin.setter
|
1554
|
+
def root_origin(self, root_origin):
|
1555
|
+
r"""Sets the root_origin of this GlanceShowImageListResponseBody.
|
1556
|
+
|
1557
|
+
表示当前镜像来源是从外部导入。取值:file。
|
1558
|
+
|
1559
|
+
:param root_origin: The root_origin of this GlanceShowImageListResponseBody.
|
1560
|
+
:type root_origin: str
|
1561
|
+
"""
|
1562
|
+
self._root_origin = root_origin
|
1563
|
+
|
1564
|
+
@property
|
1565
|
+
def sequence_num(self):
|
1566
|
+
r"""Gets the sequence_num of this GlanceShowImageListResponseBody.
|
1567
|
+
|
1568
|
+
目前暂时不用
|
1569
|
+
|
1570
|
+
:return: The sequence_num of this GlanceShowImageListResponseBody.
|
1571
|
+
:rtype: str
|
1572
|
+
"""
|
1573
|
+
return self._sequence_num
|
1574
|
+
|
1575
|
+
@sequence_num.setter
|
1576
|
+
def sequence_num(self, sequence_num):
|
1577
|
+
r"""Sets the sequence_num of this GlanceShowImageListResponseBody.
|
1578
|
+
|
1579
|
+
目前暂时不用
|
1580
|
+
|
1581
|
+
:param sequence_num: The sequence_num of this GlanceShowImageListResponseBody.
|
1582
|
+
:type sequence_num: str
|
1583
|
+
"""
|
1584
|
+
self._sequence_num = sequence_num
|
1585
|
+
|
1586
|
+
@property
|
1587
|
+
def support_agent_list(self):
|
1588
|
+
r"""Gets the support_agent_list of this GlanceShowImageListResponseBody.
|
1589
|
+
|
1590
|
+
镜像是否支持企业主机安全或主机监控。 hss:企业主机安全 ces:主机监控
|
1591
|
+
|
1592
|
+
:return: The support_agent_list of this GlanceShowImageListResponseBody.
|
1593
|
+
:rtype: str
|
1594
|
+
"""
|
1595
|
+
return self._support_agent_list
|
1596
|
+
|
1597
|
+
@support_agent_list.setter
|
1598
|
+
def support_agent_list(self, support_agent_list):
|
1599
|
+
r"""Sets the support_agent_list of this GlanceShowImageListResponseBody.
|
1600
|
+
|
1601
|
+
镜像是否支持企业主机安全或主机监控。 hss:企业主机安全 ces:主机监控
|
1602
|
+
|
1603
|
+
:param support_agent_list: The support_agent_list of this GlanceShowImageListResponseBody.
|
1604
|
+
:type support_agent_list: str
|
1605
|
+
"""
|
1606
|
+
self._support_agent_list = support_agent_list
|
1607
|
+
|
1608
|
+
@property
|
1609
|
+
def system__cmkid(self):
|
1610
|
+
r"""Gets the system__cmkid of this GlanceShowImageListResponseBody.
|
1611
|
+
|
1612
|
+
加密镜像所使用的密钥ID。
|
1613
|
+
|
1614
|
+
:return: The system__cmkid of this GlanceShowImageListResponseBody.
|
1615
|
+
:rtype: str
|
1616
|
+
"""
|
1617
|
+
return self._system__cmkid
|
1618
|
+
|
1619
|
+
@system__cmkid.setter
|
1620
|
+
def system__cmkid(self, system__cmkid):
|
1621
|
+
r"""Sets the system__cmkid of this GlanceShowImageListResponseBody.
|
1622
|
+
|
1623
|
+
加密镜像所使用的密钥ID。
|
1624
|
+
|
1625
|
+
:param system__cmkid: The system__cmkid of this GlanceShowImageListResponseBody.
|
1626
|
+
:type system__cmkid: str
|
1627
|
+
"""
|
1628
|
+
self._system__cmkid = system__cmkid
|
1629
|
+
|
1630
|
+
@property
|
1631
|
+
def active_at(self):
|
1632
|
+
r"""Gets the active_at of this GlanceShowImageListResponseBody.
|
1633
|
+
|
1634
|
+
镜像状态变为正常的时间。
|
1635
|
+
|
1636
|
+
:return: The active_at of this GlanceShowImageListResponseBody.
|
1637
|
+
:rtype: str
|
1638
|
+
"""
|
1639
|
+
return self._active_at
|
1640
|
+
|
1641
|
+
@active_at.setter
|
1642
|
+
def active_at(self, active_at):
|
1643
|
+
r"""Sets the active_at of this GlanceShowImageListResponseBody.
|
1644
|
+
|
1645
|
+
镜像状态变为正常的时间。
|
1646
|
+
|
1647
|
+
:param active_at: The active_at of this GlanceShowImageListResponseBody.
|
1648
|
+
:type active_at: str
|
1649
|
+
"""
|
1650
|
+
self._active_at = active_at
|
1651
|
+
|
1652
|
+
@property
|
1653
|
+
def hw_vif_multiqueue_enabled(self):
|
1654
|
+
r"""Gets the hw_vif_multiqueue_enabled of this GlanceShowImageListResponseBody.
|
1655
|
+
|
1656
|
+
镜像是否支持网卡多队列。取值为true或者false。
|
1657
|
+
|
1658
|
+
:return: The hw_vif_multiqueue_enabled of this GlanceShowImageListResponseBody.
|
1659
|
+
:rtype: str
|
1660
|
+
"""
|
1661
|
+
return self._hw_vif_multiqueue_enabled
|
1662
|
+
|
1663
|
+
@hw_vif_multiqueue_enabled.setter
|
1664
|
+
def hw_vif_multiqueue_enabled(self, hw_vif_multiqueue_enabled):
|
1665
|
+
r"""Sets the hw_vif_multiqueue_enabled of this GlanceShowImageListResponseBody.
|
1666
|
+
|
1667
|
+
镜像是否支持网卡多队列。取值为true或者false。
|
1668
|
+
|
1669
|
+
:param hw_vif_multiqueue_enabled: The hw_vif_multiqueue_enabled of this GlanceShowImageListResponseBody.
|
1670
|
+
:type hw_vif_multiqueue_enabled: str
|
1671
|
+
"""
|
1672
|
+
self._hw_vif_multiqueue_enabled = hw_vif_multiqueue_enabled
|
1673
|
+
|
1674
|
+
@property
|
1675
|
+
def max_ram(self):
|
1676
|
+
r"""Gets the max_ram of this GlanceShowImageListResponseBody.
|
1677
|
+
|
1678
|
+
镜像支持的最大内存,单位为MB。取值可以参考云服务器规格限制,一般不设置。
|
1679
|
+
|
1680
|
+
:return: The max_ram of this GlanceShowImageListResponseBody.
|
1681
|
+
:rtype: str
|
1682
|
+
"""
|
1683
|
+
return self._max_ram
|
1684
|
+
|
1685
|
+
@max_ram.setter
|
1686
|
+
def max_ram(self, max_ram):
|
1687
|
+
r"""Sets the max_ram of this GlanceShowImageListResponseBody.
|
1688
|
+
|
1689
|
+
镜像支持的最大内存,单位为MB。取值可以参考云服务器规格限制,一般不设置。
|
1690
|
+
|
1691
|
+
:param max_ram: The max_ram of this GlanceShowImageListResponseBody.
|
1692
|
+
:type max_ram: str
|
1693
|
+
"""
|
1694
|
+
self._max_ram = max_ram
|
1695
|
+
|
1696
|
+
@property
|
1697
|
+
def image_location(self):
|
1698
|
+
r"""Gets the image_location of this GlanceShowImageListResponseBody.
|
1699
|
+
|
1700
|
+
镜像的存储位置。
|
1701
|
+
|
1702
|
+
:return: The image_location of this GlanceShowImageListResponseBody.
|
1703
|
+
:rtype: str
|
1704
|
+
"""
|
1705
|
+
return self._image_location
|
1706
|
+
|
1707
|
+
@image_location.setter
|
1708
|
+
def image_location(self, image_location):
|
1709
|
+
r"""Sets the image_location of this GlanceShowImageListResponseBody.
|
1710
|
+
|
1711
|
+
镜像的存储位置。
|
1712
|
+
|
1713
|
+
:param image_location: The image_location of this GlanceShowImageListResponseBody.
|
1714
|
+
:type image_location: str
|
1715
|
+
"""
|
1716
|
+
self._image_location = image_location
|
1717
|
+
|
1718
|
+
@property
|
1719
|
+
def is_config_init(self):
|
1720
|
+
r"""Gets the is_config_init of this GlanceShowImageListResponseBody.
|
1721
|
+
|
1722
|
+
是否完成了初始化配置。取值为true或false
|
1723
|
+
|
1724
|
+
:return: The is_config_init of this GlanceShowImageListResponseBody.
|
1725
|
+
:rtype: str
|
1726
|
+
"""
|
1727
|
+
return self._is_config_init
|
1728
|
+
|
1729
|
+
@is_config_init.setter
|
1730
|
+
def is_config_init(self, is_config_init):
|
1731
|
+
r"""Sets the is_config_init of this GlanceShowImageListResponseBody.
|
1732
|
+
|
1733
|
+
是否完成了初始化配置。取值为true或false
|
1734
|
+
|
1735
|
+
:param is_config_init: The is_config_init of this GlanceShowImageListResponseBody.
|
1736
|
+
:type is_config_init: str
|
1737
|
+
"""
|
1738
|
+
self._is_config_init = is_config_init
|
1739
|
+
|
1740
|
+
@property
|
1741
|
+
def account_code(self):
|
1742
|
+
r"""Gets the account_code of this GlanceShowImageListResponseBody.
|
1743
|
+
|
1744
|
+
收费镜像标识。
|
1745
|
+
|
1746
|
+
:return: The account_code of this GlanceShowImageListResponseBody.
|
1747
|
+
:rtype: str
|
1748
|
+
"""
|
1749
|
+
return self._account_code
|
1750
|
+
|
1751
|
+
@account_code.setter
|
1752
|
+
def account_code(self, account_code):
|
1753
|
+
r"""Sets the account_code of this GlanceShowImageListResponseBody.
|
1754
|
+
|
1755
|
+
收费镜像标识。
|
1756
|
+
|
1757
|
+
:param account_code: The account_code of this GlanceShowImageListResponseBody.
|
1758
|
+
:type account_code: str
|
1759
|
+
"""
|
1760
|
+
self._account_code = account_code
|
1761
|
+
|
1762
|
+
@property
|
1763
|
+
def support_amd(self):
|
1764
|
+
r"""Gets the support_amd of this GlanceShowImageListResponseBody.
|
1765
|
+
|
1766
|
+
是否是AMD架构类型的镜像。取值为“true”或者“false”。
|
1767
|
+
|
1768
|
+
:return: The support_amd of this GlanceShowImageListResponseBody.
|
1769
|
+
:rtype: str
|
1770
|
+
"""
|
1771
|
+
return self._support_amd
|
1772
|
+
|
1773
|
+
@support_amd.setter
|
1774
|
+
def support_amd(self, support_amd):
|
1775
|
+
r"""Sets the support_amd of this GlanceShowImageListResponseBody.
|
1776
|
+
|
1777
|
+
是否是AMD架构类型的镜像。取值为“true”或者“false”。
|
1778
|
+
|
1779
|
+
:param support_amd: The support_amd of this GlanceShowImageListResponseBody.
|
1780
|
+
:type support_amd: str
|
1781
|
+
"""
|
1782
|
+
self._support_amd = support_amd
|
1783
|
+
|
1784
|
+
def to_dict(self):
|
1785
|
+
"""Returns the model properties as a dict"""
|
1786
|
+
result = {}
|
1787
|
+
|
1788
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
1789
|
+
value = getattr(self, attr)
|
1790
|
+
if isinstance(value, list):
|
1791
|
+
result[attr] = list(map(
|
1792
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
1793
|
+
value
|
1794
|
+
))
|
1795
|
+
elif hasattr(value, "to_dict"):
|
1796
|
+
result[attr] = value.to_dict()
|
1797
|
+
elif isinstance(value, dict):
|
1798
|
+
result[attr] = dict(map(
|
1799
|
+
lambda item: (item[0], item[1].to_dict())
|
1800
|
+
if hasattr(item[1], "to_dict") else item,
|
1801
|
+
value.items()
|
1802
|
+
))
|
1803
|
+
else:
|
1804
|
+
if attr in self.sensitive_list:
|
1805
|
+
result[attr] = "****"
|
1806
|
+
else:
|
1807
|
+
result[attr] = value
|
1808
|
+
|
1809
|
+
return result
|
1810
|
+
|
1811
|
+
def to_str(self):
|
1812
|
+
"""Returns the string representation of the model"""
|
1813
|
+
import simplejson as json
|
1814
|
+
if six.PY2:
|
1815
|
+
import sys
|
1816
|
+
reload(sys)
|
1817
|
+
sys.setdefaultencoding("utf-8")
|
1818
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
1819
|
+
|
1820
|
+
def __repr__(self):
|
1821
|
+
"""For `print`"""
|
1822
|
+
return self.to_str()
|
1823
|
+
|
1824
|
+
def __eq__(self, other):
|
1825
|
+
"""Returns true if both objects are equal"""
|
1826
|
+
if not isinstance(other, GlanceShowImageListResponseBody):
|
1827
|
+
return False
|
1828
|
+
|
1829
|
+
return self.__dict__ == other.__dict__
|
1830
|
+
|
1831
|
+
def __ne__(self, other):
|
1832
|
+
"""Returns true if both objects are not equal"""
|
1833
|
+
return not self == other
|