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