huaweicloudsdkims 3.0.42rc0__py3-none-any.whl → 3.1.160__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- huaweicloudsdkims/v2/__init__.py +31 -3
- huaweicloudsdkims/v2/ims_async_client.py +2198 -1356
- huaweicloudsdkims/v2/ims_client.py +2188 -1347
- huaweicloudsdkims/v2/model/__init__.py +30 -1
- huaweicloudsdkims/v2/model/add_image_tag_request.py +26 -19
- huaweicloudsdkims/v2/model/add_image_tag_request_body.py +19 -16
- huaweicloudsdkims/v2/model/add_image_tag_response.py +14 -10
- huaweicloudsdkims/v2/model/add_or_update_tags_request_body.py +29 -22
- huaweicloudsdkims/v2/model/additional_properties.py +18 -13
- huaweicloudsdkims/v2/model/batch_add_members_request.py +19 -16
- huaweicloudsdkims/v2/model/batch_add_members_request_body.py +84 -19
- huaweicloudsdkims/v2/model/batch_add_members_response.py +19 -13
- huaweicloudsdkims/v2/model/batch_add_or_delete_tags_request.py +26 -19
- huaweicloudsdkims/v2/model/batch_add_or_delete_tags_request_body.py +24 -17
- huaweicloudsdkims/v2/model/batch_add_or_delete_tags_response.py +14 -10
- huaweicloudsdkims/v2/model/batch_delete_members_request.py +19 -16
- huaweicloudsdkims/v2/model/batch_delete_members_response.py +19 -13
- huaweicloudsdkims/v2/model/batch_delete_tags_request.py +139 -0
- huaweicloudsdkims/v2/model/batch_delete_tags_request_body.py +114 -0
- huaweicloudsdkims/v2/model/batch_delete_tags_response.py +85 -0
- huaweicloudsdkims/v2/model/batch_update_members_request.py +19 -16
- huaweicloudsdkims/v2/model/batch_update_members_request_body.py +33 -22
- huaweicloudsdkims/v2/model/batch_update_members_response.py +19 -13
- huaweicloudsdkims/v2/model/copy_image_cross_region_request.py +26 -19
- huaweicloudsdkims/v2/model/copy_image_cross_region_request_body.py +70 -28
- huaweicloudsdkims/v2/model/copy_image_cross_region_response.py +19 -13
- huaweicloudsdkims/v2/model/copy_image_in_region_in_safe_mode_request.py +139 -0
- huaweicloudsdkims/v2/model/copy_image_in_region_in_safe_mode_response.py +116 -0
- huaweicloudsdkims/v2/model/copy_image_in_region_request.py +26 -19
- huaweicloudsdkims/v2/model/copy_image_in_region_request_body.py +33 -22
- huaweicloudsdkims/v2/model/copy_image_in_region_response.py +19 -13
- huaweicloudsdkims/v2/model/create_data_image.py +33 -22
- huaweicloudsdkims/v2/model/create_data_image_in_safe_mode_request.py +111 -0
- huaweicloudsdkims/v2/model/create_data_image_in_safe_mode_response.py +116 -0
- huaweicloudsdkims/v2/model/create_data_image_request.py +19 -16
- huaweicloudsdkims/v2/model/create_data_image_request_body.py +63 -41
- huaweicloudsdkims/v2/model/create_data_image_response.py +19 -13
- huaweicloudsdkims/v2/model/create_image_in_safe_mode_request.py +111 -0
- huaweicloudsdkims/v2/model/create_image_in_safe_mode_response.py +116 -0
- huaweicloudsdkims/v2/model/create_image_request.py +19 -16
- huaweicloudsdkims/v2/model/create_image_request_body.py +139 -70
- huaweicloudsdkims/v2/model/create_image_response.py +19 -13
- huaweicloudsdkims/v2/model/create_or_update_tags_request.py +19 -16
- huaweicloudsdkims/v2/model/create_or_update_tags_response.py +14 -10
- huaweicloudsdkims/v2/model/create_whole_image_request.py +19 -16
- huaweicloudsdkims/v2/model/create_whole_image_request_body.py +74 -50
- huaweicloudsdkims/v2/model/create_whole_image_response.py +19 -13
- huaweicloudsdkims/v2/model/delete_image_tag_request.py +27 -16
- huaweicloudsdkims/v2/model/delete_image_tag_response.py +14 -10
- huaweicloudsdkims/v2/model/export_image_in_safe_mode_request.py +139 -0
- huaweicloudsdkims/v2/model/export_image_in_safe_mode_response.py +116 -0
- huaweicloudsdkims/v2/model/export_image_request.py +26 -19
- huaweicloudsdkims/v2/model/export_image_request_body.py +55 -19
- huaweicloudsdkims/v2/model/export_image_response.py +19 -13
- huaweicloudsdkims/v2/model/glance_add_image_member_request.py +26 -19
- huaweicloudsdkims/v2/model/glance_add_image_member_request_body.py +18 -13
- huaweicloudsdkims/v2/model/glance_add_image_member_response.py +105 -31
- huaweicloudsdkims/v2/model/glance_create_image_metadata_request.py +19 -16
- huaweicloudsdkims/v2/model/glance_create_image_metadata_request_body.py +58 -37
- huaweicloudsdkims/v2/model/glance_create_image_metadata_response.py +239 -94
- huaweicloudsdkims/v2/model/glance_create_tag_request.py +27 -16
- huaweicloudsdkims/v2/model/glance_create_tag_response.py +14 -10
- huaweicloudsdkims/v2/model/glance_delete_image_member_request.py +27 -16
- huaweicloudsdkims/v2/model/glance_delete_image_member_response.py +14 -10
- huaweicloudsdkims/v2/model/glance_delete_image_request.py +26 -19
- huaweicloudsdkims/v2/model/glance_delete_image_request_body.py +18 -13
- huaweicloudsdkims/v2/model/glance_delete_image_response.py +14 -10
- huaweicloudsdkims/v2/model/glance_delete_tag_request.py +27 -16
- huaweicloudsdkims/v2/model/glance_delete_tag_response.py +14 -10
- huaweicloudsdkims/v2/model/glance_image_members.py +104 -31
- huaweicloudsdkims/v2/model/glance_list_image_member_schemas_request.py +13 -10
- huaweicloudsdkims/v2/model/glance_list_image_member_schemas_response.py +30 -20
- huaweicloudsdkims/v2/model/glance_list_image_members_request.py +20 -13
- huaweicloudsdkims/v2/model/glance_list_image_members_response.py +25 -17
- huaweicloudsdkims/v2/model/glance_list_image_schemas_request.py +13 -10
- huaweicloudsdkims/v2/model/glance_list_image_schemas_response.py +30 -20
- huaweicloudsdkims/v2/model/glance_list_images_request.py +237 -106
- huaweicloudsdkims/v2/model/glance_list_images_response.py +36 -24
- huaweicloudsdkims/v2/model/glance_show_image_list_response_body.py +1833 -0
- huaweicloudsdkims/v2/model/glance_show_image_member_request.py +27 -16
- huaweicloudsdkims/v2/model/glance_show_image_member_response.py +105 -31
- huaweicloudsdkims/v2/model/glance_show_image_member_schemas_request.py +13 -10
- huaweicloudsdkims/v2/model/glance_show_image_member_schemas_response.py +24 -16
- huaweicloudsdkims/v2/model/glance_show_image_request.py +20 -13
- huaweicloudsdkims/v2/model/glance_show_image_response.py +631 -210
- huaweicloudsdkims/v2/model/glance_show_image_schemas_request.py +13 -10
- huaweicloudsdkims/v2/model/glance_show_image_schemas_response.py +36 -26
- huaweicloudsdkims/v2/model/glance_update_image_member_request.py +33 -22
- huaweicloudsdkims/v2/model/glance_update_image_member_request_body.py +23 -16
- huaweicloudsdkims/v2/model/glance_update_image_member_response.py +105 -31
- huaweicloudsdkims/v2/model/glance_update_image_request.py +26 -19
- huaweicloudsdkims/v2/model/glance_update_image_request_body.py +28 -19
- huaweicloudsdkims/v2/model/glance_update_image_response.py +631 -210
- huaweicloudsdkims/v2/model/image_info.py +616 -260
- huaweicloudsdkims/v2/model/image_member.py +310 -0
- huaweicloudsdkims/v2/model/image_tag.py +23 -16
- huaweicloudsdkims/v2/model/import_image_quick_in_safe_mode_request.py +111 -0
- huaweicloudsdkims/v2/model/import_image_quick_in_safe_mode_response.py +116 -0
- huaweicloudsdkims/v2/model/import_image_quick_request.py +19 -16
- huaweicloudsdkims/v2/model/import_image_quick_response.py +19 -13
- huaweicloudsdkims/v2/model/job_entities.py +340 -16
- huaweicloudsdkims/v2/model/job_entities_result.py +173 -0
- huaweicloudsdkims/v2/model/job_progress_entities.py +289 -0
- huaweicloudsdkims/v2/model/links.py +23 -16
- huaweicloudsdkims/v2/model/list_image_by_tags_request.py +19 -16
- huaweicloudsdkims/v2/model/list_image_by_tags_request_body.py +90 -42
- huaweicloudsdkims/v2/model/list_image_by_tags_response.py +25 -17
- huaweicloudsdkims/v2/model/list_image_members_request.py +114 -0
- huaweicloudsdkims/v2/model/list_image_members_response.py +145 -0
- huaweicloudsdkims/v2/model/list_image_tags_request.py +20 -13
- huaweicloudsdkims/v2/model/list_image_tags_response.py +20 -14
- huaweicloudsdkims/v2/model/list_images_request.py +272 -121
- huaweicloudsdkims/v2/model/list_images_response.py +20 -14
- huaweicloudsdkims/v2/model/list_images_tags_request.py +13 -10
- huaweicloudsdkims/v2/model/list_images_tags_response.py +20 -14
- huaweicloudsdkims/v2/model/list_os_versions_request.py +20 -13
- huaweicloudsdkims/v2/model/list_os_versions_response.py +20 -16
- huaweicloudsdkims/v2/model/list_os_versions_response_body.py +24 -17
- huaweicloudsdkims/v2/model/list_tags_request.py +118 -55
- huaweicloudsdkims/v2/model/list_tags_response.py +19 -13
- huaweicloudsdkims/v2/model/list_versions_request.py +84 -0
- huaweicloudsdkims/v2/model/list_versions_response.py +116 -0
- huaweicloudsdkims/v2/model/os_version_info.py +38 -25
- huaweicloudsdkims/v2/model/os_version_response.py +172 -0
- huaweicloudsdkims/v2/model/query_image_by_tags_resource_detail.py +18 -13
- huaweicloudsdkims/v2/model/quick_import_image_by_file_request_body.py +130 -47
- huaweicloudsdkims/v2/model/quota.py +19 -14
- huaweicloudsdkims/v2/model/quota_info.py +38 -25
- huaweicloudsdkims/v2/model/register_image_request.py +26 -19
- huaweicloudsdkims/v2/model/register_image_request_body.py +18 -13
- huaweicloudsdkims/v2/model/register_image_response.py +19 -13
- huaweicloudsdkims/v2/model/resource_tag.py +23 -16
- huaweicloudsdkims/v2/model/show_image_by_tags_resource.py +47 -38
- huaweicloudsdkims/v2/model/show_image_member_request.py +142 -0
- huaweicloudsdkims/v2/model/show_image_member_response.py +319 -0
- huaweicloudsdkims/v2/model/show_image_quota_request.py +13 -10
- huaweicloudsdkims/v2/model/show_image_quota_response.py +20 -16
- huaweicloudsdkims/v2/model/show_job_progress_request.py +114 -0
- huaweicloudsdkims/v2/model/show_job_progress_response.py +315 -0
- huaweicloudsdkims/v2/model/show_job_request.py +20 -13
- huaweicloudsdkims/v2/model/show_job_response.py +55 -37
- huaweicloudsdkims/v2/model/show_version_request.py +114 -0
- huaweicloudsdkims/v2/model/show_version_response.py +116 -0
- huaweicloudsdkims/v2/model/sub_job_entities.py +144 -0
- huaweicloudsdkims/v2/model/sub_job_result.py +314 -0
- huaweicloudsdkims/v2/model/tag_key_value.py +23 -16
- huaweicloudsdkims/v2/model/tags.py +23 -16
- huaweicloudsdkims/v2/model/update_image_request.py +26 -19
- huaweicloudsdkims/v2/model/update_image_request_body.py +29 -21
- huaweicloudsdkims/v2/model/update_image_response.py +600 -254
- huaweicloudsdkims/v2/region/ims_region.py +101 -42
- {huaweicloudsdkims-3.0.42rc0.dist-info → huaweicloudsdkims-3.1.160.dist-info}/METADATA +9 -9
- huaweicloudsdkims-3.1.160.dist-info/RECORD +158 -0
- {huaweicloudsdkims-3.0.42rc0.dist-info → huaweicloudsdkims-3.1.160.dist-info}/WHEEL +1 -1
- huaweicloudsdkims/v2/model/glance_show_image_response_body.py +0 -1357
- huaweicloudsdkims-3.0.42rc0.dist-info/RECORD +0 -129
- {huaweicloudsdkims-3.0.42rc0.dist-info → huaweicloudsdkims-3.1.160.dist-info}/LICENSE +0 -0
- {huaweicloudsdkims-3.0.42rc0.dist-info → huaweicloudsdkims-3.1.160.dist-info}/top_level.txt +0 -0
@@ -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 ListImagesResponse(SdkResponse):
|
13
10
|
|
14
|
-
|
15
11
|
"""
|
16
12
|
Attributes:
|
17
13
|
openapi_types (dict): The key is attribute name
|
@@ -19,7 +15,6 @@ class ListImagesResponse(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 = {
|
@@ -31,9 +26,15 @@ class ListImagesResponse(SdkResponse):
|
|
31
26
|
}
|
32
27
|
|
33
28
|
def __init__(self, images=None):
|
34
|
-
"""ListImagesResponse
|
29
|
+
r"""ListImagesResponse
|
30
|
+
|
31
|
+
The model defined in huaweicloud sdk
|
32
|
+
|
33
|
+
:param images: 镜像列表
|
34
|
+
:type images: list[:class:`huaweicloudsdkims.v2.ImageInfo`]
|
35
|
+
"""
|
35
36
|
|
36
|
-
super().__init__()
|
37
|
+
super(ListImagesResponse, self).__init__()
|
37
38
|
|
38
39
|
self._images = None
|
39
40
|
self.discriminator = None
|
@@ -43,23 +44,23 @@ class ListImagesResponse(SdkResponse):
|
|
43
44
|
|
44
45
|
@property
|
45
46
|
def images(self):
|
46
|
-
"""Gets the images of this ListImagesResponse.
|
47
|
+
r"""Gets the images of this ListImagesResponse.
|
47
48
|
|
48
49
|
镜像列表
|
49
50
|
|
50
51
|
:return: The images of this ListImagesResponse.
|
51
|
-
:rtype: list[ImageInfo]
|
52
|
+
:rtype: list[:class:`huaweicloudsdkims.v2.ImageInfo`]
|
52
53
|
"""
|
53
54
|
return self._images
|
54
55
|
|
55
56
|
@images.setter
|
56
57
|
def images(self, images):
|
57
|
-
"""Sets the images of this ListImagesResponse.
|
58
|
+
r"""Sets the images of this ListImagesResponse.
|
58
59
|
|
59
60
|
镜像列表
|
60
61
|
|
61
62
|
:param images: The images of this ListImagesResponse.
|
62
|
-
:type: list[ImageInfo]
|
63
|
+
:type images: list[:class:`huaweicloudsdkims.v2.ImageInfo`]
|
63
64
|
"""
|
64
65
|
self._images = images
|
65
66
|
|
@@ -92,10 +93,15 @@ class ListImagesResponse(SdkResponse):
|
|
92
93
|
|
93
94
|
def to_str(self):
|
94
95
|
"""Returns the string representation of the model"""
|
95
|
-
|
96
|
+
import simplejson as json
|
97
|
+
if six.PY2:
|
98
|
+
import sys
|
99
|
+
reload(sys)
|
100
|
+
sys.setdefaultencoding("utf-8")
|
101
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
96
102
|
|
97
103
|
def __repr__(self):
|
98
|
-
"""For `print`
|
104
|
+
"""For `print`"""
|
99
105
|
return self.to_str()
|
100
106
|
|
101
107
|
def __eq__(self, other):
|
@@ -1,17 +1,12 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
|
-
import pprint
|
4
|
-
import re
|
5
|
-
|
6
3
|
import six
|
7
4
|
|
8
|
-
|
9
|
-
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
10
6
|
|
11
7
|
|
12
8
|
class ListImagesTagsRequest:
|
13
9
|
|
14
|
-
|
15
10
|
"""
|
16
11
|
Attributes:
|
17
12
|
openapi_types (dict): The key is attribute name
|
@@ -19,7 +14,6 @@ class ListImagesTagsRequest:
|
|
19
14
|
attribute_map (dict): The key is attribute name
|
20
15
|
and the value is json key in definition.
|
21
16
|
"""
|
22
|
-
|
23
17
|
sensitive_list = []
|
24
18
|
|
25
19
|
openapi_types = {
|
@@ -29,7 +23,11 @@ class ListImagesTagsRequest:
|
|
29
23
|
}
|
30
24
|
|
31
25
|
def __init__(self):
|
32
|
-
"""ListImagesTagsRequest
|
26
|
+
r"""ListImagesTagsRequest
|
27
|
+
|
28
|
+
The model defined in huaweicloud sdk
|
29
|
+
|
30
|
+
"""
|
33
31
|
|
34
32
|
|
35
33
|
self.discriminator = None
|
@@ -63,10 +61,15 @@ class ListImagesTagsRequest:
|
|
63
61
|
|
64
62
|
def to_str(self):
|
65
63
|
"""Returns the string representation of the model"""
|
66
|
-
|
64
|
+
import simplejson as json
|
65
|
+
if six.PY2:
|
66
|
+
import sys
|
67
|
+
reload(sys)
|
68
|
+
sys.setdefaultencoding("utf-8")
|
69
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
67
70
|
|
68
71
|
def __repr__(self):
|
69
|
-
"""For `print`
|
72
|
+
"""For `print`"""
|
70
73
|
return self.to_str()
|
71
74
|
|
72
75
|
def __eq__(self, other):
|
@@ -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 ListImagesTagsResponse(SdkResponse):
|
13
10
|
|
14
|
-
|
15
11
|
"""
|
16
12
|
Attributes:
|
17
13
|
openapi_types (dict): The key is attribute name
|
@@ -19,7 +15,6 @@ class ListImagesTagsResponse(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 = {
|
@@ -31,9 +26,15 @@ class ListImagesTagsResponse(SdkResponse):
|
|
31
26
|
}
|
32
27
|
|
33
28
|
def __init__(self, tags=None):
|
34
|
-
"""ListImagesTagsResponse
|
29
|
+
r"""ListImagesTagsResponse
|
30
|
+
|
31
|
+
The model defined in huaweicloud sdk
|
32
|
+
|
33
|
+
:param tags: 标签列表
|
34
|
+
:type tags: list[:class:`huaweicloudsdkims.v2.Tags`]
|
35
|
+
"""
|
35
36
|
|
36
|
-
super().__init__()
|
37
|
+
super(ListImagesTagsResponse, self).__init__()
|
37
38
|
|
38
39
|
self._tags = None
|
39
40
|
self.discriminator = None
|
@@ -43,23 +44,23 @@ class ListImagesTagsResponse(SdkResponse):
|
|
43
44
|
|
44
45
|
@property
|
45
46
|
def tags(self):
|
46
|
-
"""Gets the tags of this ListImagesTagsResponse.
|
47
|
+
r"""Gets the tags of this ListImagesTagsResponse.
|
47
48
|
|
48
49
|
标签列表
|
49
50
|
|
50
51
|
:return: The tags of this ListImagesTagsResponse.
|
51
|
-
:rtype: list[Tags]
|
52
|
+
:rtype: list[:class:`huaweicloudsdkims.v2.Tags`]
|
52
53
|
"""
|
53
54
|
return self._tags
|
54
55
|
|
55
56
|
@tags.setter
|
56
57
|
def tags(self, tags):
|
57
|
-
"""Sets the tags of this ListImagesTagsResponse.
|
58
|
+
r"""Sets the tags of this ListImagesTagsResponse.
|
58
59
|
|
59
60
|
标签列表
|
60
61
|
|
61
62
|
:param tags: The tags of this ListImagesTagsResponse.
|
62
|
-
:type: list[Tags]
|
63
|
+
:type tags: list[:class:`huaweicloudsdkims.v2.Tags`]
|
63
64
|
"""
|
64
65
|
self._tags = tags
|
65
66
|
|
@@ -92,10 +93,15 @@ class ListImagesTagsResponse(SdkResponse):
|
|
92
93
|
|
93
94
|
def to_str(self):
|
94
95
|
"""Returns the string representation of the model"""
|
95
|
-
|
96
|
+
import simplejson as json
|
97
|
+
if six.PY2:
|
98
|
+
import sys
|
99
|
+
reload(sys)
|
100
|
+
sys.setdefaultencoding("utf-8")
|
101
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
96
102
|
|
97
103
|
def __repr__(self):
|
98
|
-
"""For `print`
|
104
|
+
"""For `print`"""
|
99
105
|
return self.to_str()
|
100
106
|
|
101
107
|
def __eq__(self, other):
|
@@ -1,17 +1,12 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
|
-
import pprint
|
4
|
-
import re
|
5
|
-
|
6
3
|
import six
|
7
4
|
|
8
|
-
|
9
|
-
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
10
6
|
|
11
7
|
|
12
8
|
class ListOsVersionsRequest:
|
13
9
|
|
14
|
-
|
15
10
|
"""
|
16
11
|
Attributes:
|
17
12
|
openapi_types (dict): The key is attribute name
|
@@ -19,7 +14,6 @@ class ListOsVersionsRequest:
|
|
19
14
|
attribute_map (dict): The key is attribute name
|
20
15
|
and the value is json key in definition.
|
21
16
|
"""
|
22
|
-
|
23
17
|
sensitive_list = []
|
24
18
|
|
25
19
|
openapi_types = {
|
@@ -31,7 +25,13 @@ class ListOsVersionsRequest:
|
|
31
25
|
}
|
32
26
|
|
33
27
|
def __init__(self, tag=None):
|
34
|
-
"""ListOsVersionsRequest
|
28
|
+
r"""ListOsVersionsRequest
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param tag: OS的标签。 根据标签值可以过滤查询指定特性的OS信息。 取值范围: bms:表示该镜像支持BMS的os_version列表。 uefi:支持UEFI启动方式的os_version列表。 arm:显示基于arm架构的os_version列表。 x86:显示基于x86架构的os_version列表。不带tag查询条件则默认查询当前region支持的所有的OS列表。
|
33
|
+
:type tag: str
|
34
|
+
"""
|
35
35
|
|
36
36
|
|
37
37
|
|
@@ -43,8 +43,9 @@ class ListOsVersionsRequest:
|
|
43
43
|
|
44
44
|
@property
|
45
45
|
def tag(self):
|
46
|
-
"""Gets the tag of this ListOsVersionsRequest.
|
46
|
+
r"""Gets the tag of this ListOsVersionsRequest.
|
47
47
|
|
48
|
+
OS的标签。 根据标签值可以过滤查询指定特性的OS信息。 取值范围: bms:表示该镜像支持BMS的os_version列表。 uefi:支持UEFI启动方式的os_version列表。 arm:显示基于arm架构的os_version列表。 x86:显示基于x86架构的os_version列表。不带tag查询条件则默认查询当前region支持的所有的OS列表。
|
48
49
|
|
49
50
|
:return: The tag of this ListOsVersionsRequest.
|
50
51
|
:rtype: str
|
@@ -53,11 +54,12 @@ class ListOsVersionsRequest:
|
|
53
54
|
|
54
55
|
@tag.setter
|
55
56
|
def tag(self, tag):
|
56
|
-
"""Sets the tag of this ListOsVersionsRequest.
|
57
|
+
r"""Sets the tag of this ListOsVersionsRequest.
|
57
58
|
|
59
|
+
OS的标签。 根据标签值可以过滤查询指定特性的OS信息。 取值范围: bms:表示该镜像支持BMS的os_version列表。 uefi:支持UEFI启动方式的os_version列表。 arm:显示基于arm架构的os_version列表。 x86:显示基于x86架构的os_version列表。不带tag查询条件则默认查询当前region支持的所有的OS列表。
|
58
60
|
|
59
61
|
:param tag: The tag of this ListOsVersionsRequest.
|
60
|
-
:type: str
|
62
|
+
:type tag: str
|
61
63
|
"""
|
62
64
|
self._tag = tag
|
63
65
|
|
@@ -90,10 +92,15 @@ class ListOsVersionsRequest:
|
|
90
92
|
|
91
93
|
def to_str(self):
|
92
94
|
"""Returns the string representation of the model"""
|
93
|
-
|
95
|
+
import simplejson as json
|
96
|
+
if six.PY2:
|
97
|
+
import sys
|
98
|
+
reload(sys)
|
99
|
+
sys.setdefaultencoding("utf-8")
|
100
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
94
101
|
|
95
102
|
def __repr__(self):
|
96
|
-
"""For `print`
|
103
|
+
"""For `print`"""
|
97
104
|
return self.to_str()
|
98
105
|
|
99
106
|
def __eq__(self, other):
|
@@ -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 ListOsVersionsResponse(SdkResponse):
|
13
10
|
|
14
|
-
|
15
11
|
"""
|
16
12
|
Attributes:
|
17
13
|
openapi_types (dict): The key is attribute name
|
@@ -19,7 +15,6 @@ class ListOsVersionsResponse(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 = {
|
@@ -31,9 +26,15 @@ class ListOsVersionsResponse(SdkResponse):
|
|
31
26
|
}
|
32
27
|
|
33
28
|
def __init__(self, body=None):
|
34
|
-
"""ListOsVersionsResponse
|
29
|
+
r"""ListOsVersionsResponse
|
30
|
+
|
31
|
+
The model defined in huaweicloud sdk
|
32
|
+
|
33
|
+
:param body:
|
34
|
+
:type body: list[:class:`huaweicloudsdkims.v2.ListOsVersionsResponseBody`]
|
35
|
+
"""
|
35
36
|
|
36
|
-
super().__init__()
|
37
|
+
super(ListOsVersionsResponse, self).__init__()
|
37
38
|
|
38
39
|
self._body = None
|
39
40
|
self.discriminator = None
|
@@ -43,21 +44,19 @@ class ListOsVersionsResponse(SdkResponse):
|
|
43
44
|
|
44
45
|
@property
|
45
46
|
def body(self):
|
46
|
-
"""Gets the body of this ListOsVersionsResponse.
|
47
|
-
|
47
|
+
r"""Gets the body of this ListOsVersionsResponse.
|
48
48
|
|
49
49
|
:return: The body of this ListOsVersionsResponse.
|
50
|
-
:rtype: list[ListOsVersionsResponseBody]
|
50
|
+
:rtype: list[:class:`huaweicloudsdkims.v2.ListOsVersionsResponseBody`]
|
51
51
|
"""
|
52
52
|
return self._body
|
53
53
|
|
54
54
|
@body.setter
|
55
55
|
def body(self, body):
|
56
|
-
"""Sets the body of this ListOsVersionsResponse.
|
57
|
-
|
56
|
+
r"""Sets the body of this ListOsVersionsResponse.
|
58
57
|
|
59
58
|
:param body: The body of this ListOsVersionsResponse.
|
60
|
-
:type: list[ListOsVersionsResponseBody]
|
59
|
+
:type body: list[:class:`huaweicloudsdkims.v2.ListOsVersionsResponseBody`]
|
61
60
|
"""
|
62
61
|
self._body = body
|
63
62
|
|
@@ -90,10 +89,15 @@ class ListOsVersionsResponse(SdkResponse):
|
|
90
89
|
|
91
90
|
def to_str(self):
|
92
91
|
"""Returns the string representation of the model"""
|
93
|
-
|
92
|
+
import simplejson as json
|
93
|
+
if six.PY2:
|
94
|
+
import sys
|
95
|
+
reload(sys)
|
96
|
+
sys.setdefaultencoding("utf-8")
|
97
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
94
98
|
|
95
99
|
def __repr__(self):
|
96
|
-
"""For `print`
|
100
|
+
"""For `print`"""
|
97
101
|
return self.to_str()
|
98
102
|
|
99
103
|
def __eq__(self, other):
|
@@ -1,17 +1,12 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
|
-
import pprint
|
4
|
-
import re
|
5
|
-
|
6
3
|
import six
|
7
4
|
|
8
|
-
|
9
|
-
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
10
6
|
|
11
7
|
|
12
8
|
class ListOsVersionsResponseBody:
|
13
9
|
|
14
|
-
|
15
10
|
"""
|
16
11
|
Attributes:
|
17
12
|
openapi_types (dict): The key is attribute name
|
@@ -19,7 +14,6 @@ class ListOsVersionsResponseBody:
|
|
19
14
|
attribute_map (dict): The key is attribute name
|
20
15
|
and the value is json key in definition.
|
21
16
|
"""
|
22
|
-
|
23
17
|
sensitive_list = []
|
24
18
|
|
25
19
|
openapi_types = {
|
@@ -33,7 +27,15 @@ class ListOsVersionsResponseBody:
|
|
33
27
|
}
|
34
28
|
|
35
29
|
def __init__(self, platform=None, version_list=None):
|
36
|
-
"""ListOsVersionsResponseBody
|
30
|
+
r"""ListOsVersionsResponseBody
|
31
|
+
|
32
|
+
The model defined in huaweicloud sdk
|
33
|
+
|
34
|
+
:param platform: 操作系统的平台值,如RedHat等
|
35
|
+
:type platform: str
|
36
|
+
:param version_list: 操作系统的详情值
|
37
|
+
:type version_list: list[:class:`huaweicloudsdkims.v2.OsVersionInfo`]
|
38
|
+
"""
|
37
39
|
|
38
40
|
|
39
41
|
|
@@ -46,7 +48,7 @@ class ListOsVersionsResponseBody:
|
|
46
48
|
|
47
49
|
@property
|
48
50
|
def platform(self):
|
49
|
-
"""Gets the platform of this ListOsVersionsResponseBody.
|
51
|
+
r"""Gets the platform of this ListOsVersionsResponseBody.
|
50
52
|
|
51
53
|
操作系统的平台值,如RedHat等
|
52
54
|
|
@@ -57,34 +59,34 @@ class ListOsVersionsResponseBody:
|
|
57
59
|
|
58
60
|
@platform.setter
|
59
61
|
def platform(self, platform):
|
60
|
-
"""Sets the platform of this ListOsVersionsResponseBody.
|
62
|
+
r"""Sets the platform of this ListOsVersionsResponseBody.
|
61
63
|
|
62
64
|
操作系统的平台值,如RedHat等
|
63
65
|
|
64
66
|
:param platform: The platform of this ListOsVersionsResponseBody.
|
65
|
-
:type: str
|
67
|
+
:type platform: str
|
66
68
|
"""
|
67
69
|
self._platform = platform
|
68
70
|
|
69
71
|
@property
|
70
72
|
def version_list(self):
|
71
|
-
"""Gets the version_list of this ListOsVersionsResponseBody.
|
73
|
+
r"""Gets the version_list of this ListOsVersionsResponseBody.
|
72
74
|
|
73
75
|
操作系统的详情值
|
74
76
|
|
75
77
|
:return: The version_list of this ListOsVersionsResponseBody.
|
76
|
-
:rtype: list[OsVersionInfo]
|
78
|
+
:rtype: list[:class:`huaweicloudsdkims.v2.OsVersionInfo`]
|
77
79
|
"""
|
78
80
|
return self._version_list
|
79
81
|
|
80
82
|
@version_list.setter
|
81
83
|
def version_list(self, version_list):
|
82
|
-
"""Sets the version_list of this ListOsVersionsResponseBody.
|
84
|
+
r"""Sets the version_list of this ListOsVersionsResponseBody.
|
83
85
|
|
84
86
|
操作系统的详情值
|
85
87
|
|
86
88
|
:param version_list: The version_list of this ListOsVersionsResponseBody.
|
87
|
-
:type: list[OsVersionInfo]
|
89
|
+
:type version_list: list[:class:`huaweicloudsdkims.v2.OsVersionInfo`]
|
88
90
|
"""
|
89
91
|
self._version_list = version_list
|
90
92
|
|
@@ -117,10 +119,15 @@ class ListOsVersionsResponseBody:
|
|
117
119
|
|
118
120
|
def to_str(self):
|
119
121
|
"""Returns the string representation of the model"""
|
120
|
-
|
122
|
+
import simplejson as json
|
123
|
+
if six.PY2:
|
124
|
+
import sys
|
125
|
+
reload(sys)
|
126
|
+
sys.setdefaultencoding("utf-8")
|
127
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
121
128
|
|
122
129
|
def __repr__(self):
|
123
|
-
"""For `print`
|
130
|
+
"""For `print`"""
|
124
131
|
return self.to_str()
|
125
132
|
|
126
133
|
def __eq__(self, other):
|