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