huaweicloudsdkclouddc 3.1.160__py3-none-any.whl → 3.1.162__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.
Potentially problematic release.
This version of huaweicloudsdkclouddc might be problematic. Click here for more details.
- huaweicloudsdkclouddc/v1/__init__.py +2 -2
- huaweicloudsdkclouddc/v1/clouddc_async_client.py +11 -11
- huaweicloudsdkclouddc/v1/clouddc_client.py +11 -11
- huaweicloudsdkclouddc/v1/model/__init__.py +2 -2
- huaweicloudsdkclouddc/v1/model/create_instance_opitons.py +9 -5
- huaweicloudsdkclouddc/v1/model/i_dc.py +18 -18
- huaweicloudsdkclouddc/v1/model/{list_i_rack_request.py → list_i_racks_request.py} +19 -19
- huaweicloudsdkclouddc/v1/model/{list_i_rack_response.py → list_i_racks_response.py} +12 -12
- {huaweicloudsdkclouddc-3.1.160.dist-info → huaweicloudsdkclouddc-3.1.162.dist-info}/METADATA +2 -2
- {huaweicloudsdkclouddc-3.1.160.dist-info → huaweicloudsdkclouddc-3.1.162.dist-info}/RECORD +13 -13
- {huaweicloudsdkclouddc-3.1.160.dist-info → huaweicloudsdkclouddc-3.1.162.dist-info}/LICENSE +0 -0
- {huaweicloudsdkclouddc-3.1.160.dist-info → huaweicloudsdkclouddc-3.1.162.dist-info}/WHEEL +0 -0
- {huaweicloudsdkclouddc-3.1.160.dist-info → huaweicloudsdkclouddc-3.1.162.dist-info}/top_level.txt +0 -0
|
@@ -62,8 +62,8 @@ from huaweicloudsdkclouddc.v1.model.list_events_request import ListEventsRequest
|
|
|
62
62
|
from huaweicloudsdkclouddc.v1.model.list_events_response import ListEventsResponse
|
|
63
63
|
from huaweicloudsdkclouddc.v1.model.list_i_dcs_request import ListIDcsRequest
|
|
64
64
|
from huaweicloudsdkclouddc.v1.model.list_i_dcs_response import ListIDcsResponse
|
|
65
|
-
from huaweicloudsdkclouddc.v1.model.
|
|
66
|
-
from huaweicloudsdkclouddc.v1.model.
|
|
65
|
+
from huaweicloudsdkclouddc.v1.model.list_i_racks_request import ListIRacksRequest
|
|
66
|
+
from huaweicloudsdkclouddc.v1.model.list_i_racks_response import ListIRacksResponse
|
|
67
67
|
from huaweicloudsdkclouddc.v1.model.list_instances_request import ListInstancesRequest
|
|
68
68
|
from huaweicloudsdkclouddc.v1.model.list_instances_response import ListInstancesResponse
|
|
69
69
|
from huaweicloudsdkclouddc.v1.model.list_servers_request import ListServersRequest
|
|
@@ -55,7 +55,7 @@ class CloudDCAsyncClient(Client):
|
|
|
55
55
|
def _batch_create_irack_tags_http_info(self, request):
|
|
56
56
|
http_info = {
|
|
57
57
|
"method": "POST",
|
|
58
|
-
"resource_path": "/v1/{project_id}/
|
|
58
|
+
"resource_path": "/v1/{project_id}/iracks/{id}/tags/create",
|
|
59
59
|
"request_type": request.__class__.__name__,
|
|
60
60
|
"response_type": "BatchCreateIrackTagsResponse"
|
|
61
61
|
}
|
|
@@ -191,7 +191,7 @@ class CloudDCAsyncClient(Client):
|
|
|
191
191
|
def _batch_delete_irack_tags_http_info(self, request):
|
|
192
192
|
http_info = {
|
|
193
193
|
"method": "POST",
|
|
194
|
-
"resource_path": "/v1/{project_id}/
|
|
194
|
+
"resource_path": "/v1/{project_id}/iracks/{id}/tags/delete",
|
|
195
195
|
"request_type": request.__class__.__name__,
|
|
196
196
|
"response_type": "BatchDeleteIrackTagsResponse"
|
|
197
197
|
}
|
|
@@ -1003,7 +1003,7 @@ class CloudDCAsyncClient(Client):
|
|
|
1003
1003
|
|
|
1004
1004
|
return http_info
|
|
1005
1005
|
|
|
1006
|
-
def
|
|
1006
|
+
def list_i_racks_async(self, request):
|
|
1007
1007
|
r"""查询 iRack 实例列表
|
|
1008
1008
|
|
|
1009
1009
|
用户下单后,用户上报iRack设备列表。该 API 可以查看 iRack 实例与关联imetal数量列表。
|
|
@@ -1011,23 +1011,23 @@ class CloudDCAsyncClient(Client):
|
|
|
1011
1011
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
1012
1012
|
|
|
1013
1013
|
|
|
1014
|
-
:param request: Request instance for
|
|
1015
|
-
:type request: :class:`huaweicloudsdkclouddc.v1.
|
|
1016
|
-
:rtype: :class:`huaweicloudsdkclouddc.v1.
|
|
1014
|
+
:param request: Request instance for ListIRacks
|
|
1015
|
+
:type request: :class:`huaweicloudsdkclouddc.v1.ListIRacksRequest`
|
|
1016
|
+
:rtype: :class:`huaweicloudsdkclouddc.v1.ListIRacksResponse`
|
|
1017
1017
|
"""
|
|
1018
|
-
http_info = self.
|
|
1018
|
+
http_info = self._list_i_racks_http_info(request)
|
|
1019
1019
|
return self._call_api(**http_info)
|
|
1020
1020
|
|
|
1021
|
-
def
|
|
1022
|
-
http_info = self.
|
|
1021
|
+
def list_i_racks_async_invoker(self, request):
|
|
1022
|
+
http_info = self._list_i_racks_http_info(request)
|
|
1023
1023
|
return AsyncInvoker(self, http_info)
|
|
1024
1024
|
|
|
1025
|
-
def
|
|
1025
|
+
def _list_i_racks_http_info(self, request):
|
|
1026
1026
|
http_info = {
|
|
1027
1027
|
"method": "GET",
|
|
1028
1028
|
"resource_path": "/v1/{project_id}/iracks",
|
|
1029
1029
|
"request_type": request.__class__.__name__,
|
|
1030
|
-
"response_type": "
|
|
1030
|
+
"response_type": "ListIRacksResponse"
|
|
1031
1031
|
}
|
|
1032
1032
|
|
|
1033
1033
|
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
@@ -55,7 +55,7 @@ class CloudDCClient(Client):
|
|
|
55
55
|
def _batch_create_irack_tags_http_info(cls, request):
|
|
56
56
|
http_info = {
|
|
57
57
|
"method": "POST",
|
|
58
|
-
"resource_path": "/v1/{project_id}/
|
|
58
|
+
"resource_path": "/v1/{project_id}/iracks/{id}/tags/create",
|
|
59
59
|
"request_type": request.__class__.__name__,
|
|
60
60
|
"response_type": "BatchCreateIrackTagsResponse"
|
|
61
61
|
}
|
|
@@ -191,7 +191,7 @@ class CloudDCClient(Client):
|
|
|
191
191
|
def _batch_delete_irack_tags_http_info(cls, request):
|
|
192
192
|
http_info = {
|
|
193
193
|
"method": "POST",
|
|
194
|
-
"resource_path": "/v1/{project_id}/
|
|
194
|
+
"resource_path": "/v1/{project_id}/iracks/{id}/tags/delete",
|
|
195
195
|
"request_type": request.__class__.__name__,
|
|
196
196
|
"response_type": "BatchDeleteIrackTagsResponse"
|
|
197
197
|
}
|
|
@@ -1003,31 +1003,31 @@ class CloudDCClient(Client):
|
|
|
1003
1003
|
|
|
1004
1004
|
return http_info
|
|
1005
1005
|
|
|
1006
|
-
def
|
|
1006
|
+
def list_i_racks(self, request):
|
|
1007
1007
|
r"""查询 iRack 实例列表
|
|
1008
1008
|
|
|
1009
1009
|
用户下单后,用户上报iRack设备列表。该 API 可以查看 iRack 实例与关联imetal数量列表。
|
|
1010
1010
|
|
|
1011
1011
|
Please refer to HUAWEI cloud API Explorer for details.
|
|
1012
1012
|
|
|
1013
|
-
:param request: Request instance for
|
|
1014
|
-
:type request: :class:`huaweicloudsdkclouddc.v1.
|
|
1015
|
-
:rtype: :class:`huaweicloudsdkclouddc.v1.
|
|
1013
|
+
:param request: Request instance for ListIRacks
|
|
1014
|
+
:type request: :class:`huaweicloudsdkclouddc.v1.ListIRacksRequest`
|
|
1015
|
+
:rtype: :class:`huaweicloudsdkclouddc.v1.ListIRacksResponse`
|
|
1016
1016
|
"""
|
|
1017
|
-
http_info = self.
|
|
1017
|
+
http_info = self._list_i_racks_http_info(request)
|
|
1018
1018
|
return self._call_api(**http_info)
|
|
1019
1019
|
|
|
1020
|
-
def
|
|
1021
|
-
http_info = self.
|
|
1020
|
+
def list_i_racks_invoker(self, request):
|
|
1021
|
+
http_info = self._list_i_racks_http_info(request)
|
|
1022
1022
|
return SyncInvoker(self, http_info)
|
|
1023
1023
|
|
|
1024
1024
|
@classmethod
|
|
1025
|
-
def
|
|
1025
|
+
def _list_i_racks_http_info(cls, request):
|
|
1026
1026
|
http_info = {
|
|
1027
1027
|
"method": "GET",
|
|
1028
1028
|
"resource_path": "/v1/{project_id}/iracks",
|
|
1029
1029
|
"request_type": request.__class__.__name__,
|
|
1030
|
-
"response_type": "
|
|
1030
|
+
"response_type": "ListIRacksResponse"
|
|
1031
1031
|
}
|
|
1032
1032
|
|
|
1033
1033
|
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
|
@@ -60,8 +60,8 @@ from huaweicloudsdkclouddc.v1.model.list_events_request import ListEventsRequest
|
|
|
60
60
|
from huaweicloudsdkclouddc.v1.model.list_events_response import ListEventsResponse
|
|
61
61
|
from huaweicloudsdkclouddc.v1.model.list_i_dcs_request import ListIDcsRequest
|
|
62
62
|
from huaweicloudsdkclouddc.v1.model.list_i_dcs_response import ListIDcsResponse
|
|
63
|
-
from huaweicloudsdkclouddc.v1.model.
|
|
64
|
-
from huaweicloudsdkclouddc.v1.model.
|
|
63
|
+
from huaweicloudsdkclouddc.v1.model.list_i_racks_request import ListIRacksRequest
|
|
64
|
+
from huaweicloudsdkclouddc.v1.model.list_i_racks_response import ListIRacksResponse
|
|
65
65
|
from huaweicloudsdkclouddc.v1.model.list_instances_request import ListInstancesRequest
|
|
66
66
|
from huaweicloudsdkclouddc.v1.model.list_instances_response import ListInstancesResponse
|
|
67
67
|
from huaweicloudsdkclouddc.v1.model.list_servers_request import ListServersRequest
|
|
@@ -22,7 +22,7 @@ class CreateInstanceOpitons:
|
|
|
22
22
|
'vpc_id': 'str',
|
|
23
23
|
'network_interfaces': 'list[NetworkInterface]',
|
|
24
24
|
'password': 'str',
|
|
25
|
-
'metadata': '
|
|
25
|
+
'metadata': 'dict(str, str)',
|
|
26
26
|
'description': 'str',
|
|
27
27
|
'placement': 'CreateInstanceOpitonsPlacement'
|
|
28
28
|
}
|
|
@@ -53,8 +53,8 @@ class CreateInstanceOpitons:
|
|
|
53
53
|
:type network_interfaces: list[:class:`huaweicloudsdkclouddc.v1.NetworkInterface`]
|
|
54
54
|
:param password: 设置实例的管理员账户初始登录密码,其中,Linux管理员账户为root,Windows管理员账户为Administrator。
|
|
55
55
|
:type password: str
|
|
56
|
-
:param metadata:
|
|
57
|
-
:type metadata:
|
|
56
|
+
:param metadata: 创建裸机实例的元数据。 可以通过元数据自定义键值对。 说明: 如果元数据中包含了敏感数据,您应当采取适当的措施来保护敏感数据,比如限制访问范围、加密等。 最多可注入10对键值(Key/Value)。 主键(Key)只能由大写字母(A-Z)、小写字母(a-z)、数字(0-9)、中划线(-)、下划线(_)、冒号(:)、空格( )和小数点(.)组成,长度为[1-255]个字符。 值(value)最大长度为255个字符。
|
|
57
|
+
:type metadata: dict(str, str)
|
|
58
58
|
:param description: 裸机实例的描述信息,默认为空字符串。
|
|
59
59
|
:type description: str
|
|
60
60
|
:param placement:
|
|
@@ -199,8 +199,10 @@ class CreateInstanceOpitons:
|
|
|
199
199
|
def metadata(self):
|
|
200
200
|
r"""Gets the metadata of this CreateInstanceOpitons.
|
|
201
201
|
|
|
202
|
+
创建裸机实例的元数据。 可以通过元数据自定义键值对。 说明: 如果元数据中包含了敏感数据,您应当采取适当的措施来保护敏感数据,比如限制访问范围、加密等。 最多可注入10对键值(Key/Value)。 主键(Key)只能由大写字母(A-Z)、小写字母(a-z)、数字(0-9)、中划线(-)、下划线(_)、冒号(:)、空格( )和小数点(.)组成,长度为[1-255]个字符。 值(value)最大长度为255个字符。
|
|
203
|
+
|
|
202
204
|
:return: The metadata of this CreateInstanceOpitons.
|
|
203
|
-
:rtype:
|
|
205
|
+
:rtype: dict(str, str)
|
|
204
206
|
"""
|
|
205
207
|
return self._metadata
|
|
206
208
|
|
|
@@ -208,8 +210,10 @@ class CreateInstanceOpitons:
|
|
|
208
210
|
def metadata(self, metadata):
|
|
209
211
|
r"""Sets the metadata of this CreateInstanceOpitons.
|
|
210
212
|
|
|
213
|
+
创建裸机实例的元数据。 可以通过元数据自定义键值对。 说明: 如果元数据中包含了敏感数据,您应当采取适当的措施来保护敏感数据,比如限制访问范围、加密等。 最多可注入10对键值(Key/Value)。 主键(Key)只能由大写字母(A-Z)、小写字母(a-z)、数字(0-9)、中划线(-)、下划线(_)、冒号(:)、空格( )和小数点(.)组成,长度为[1-255]个字符。 值(value)最大长度为255个字符。
|
|
214
|
+
|
|
211
215
|
:param metadata: The metadata of this CreateInstanceOpitons.
|
|
212
|
-
:type metadata:
|
|
216
|
+
:type metadata: dict(str, str)
|
|
213
217
|
"""
|
|
214
218
|
self._metadata = metadata
|
|
215
219
|
|
|
@@ -21,7 +21,7 @@ class IDc:
|
|
|
21
21
|
'irack_num': 'int',
|
|
22
22
|
'id': 'str',
|
|
23
23
|
'region': 'str',
|
|
24
|
-
'
|
|
24
|
+
'description': 'str'
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
attribute_map = {
|
|
@@ -29,10 +29,10 @@ class IDc:
|
|
|
29
29
|
'irack_num': 'irack_num',
|
|
30
30
|
'id': 'id',
|
|
31
31
|
'region': 'region',
|
|
32
|
-
'
|
|
32
|
+
'description': 'description'
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
def __init__(self, name=None, irack_num=None, id=None, region=None,
|
|
35
|
+
def __init__(self, name=None, irack_num=None, id=None, region=None, description=None):
|
|
36
36
|
r"""IDc
|
|
37
37
|
|
|
38
38
|
The model defined in huaweicloud sdk
|
|
@@ -45,8 +45,8 @@ class IDc:
|
|
|
45
45
|
:type id: str
|
|
46
46
|
:param region:
|
|
47
47
|
:type region: str
|
|
48
|
-
:param
|
|
49
|
-
:type
|
|
48
|
+
:param description:
|
|
49
|
+
:type description: str
|
|
50
50
|
"""
|
|
51
51
|
|
|
52
52
|
|
|
@@ -55,7 +55,7 @@ class IDc:
|
|
|
55
55
|
self._irack_num = None
|
|
56
56
|
self._id = None
|
|
57
57
|
self._region = None
|
|
58
|
-
self.
|
|
58
|
+
self._description = None
|
|
59
59
|
self.discriminator = None
|
|
60
60
|
|
|
61
61
|
self.name = name
|
|
@@ -63,8 +63,8 @@ class IDc:
|
|
|
63
63
|
self.id = id
|
|
64
64
|
if region is not None:
|
|
65
65
|
self.region = region
|
|
66
|
-
if
|
|
67
|
-
self.
|
|
66
|
+
if description is not None:
|
|
67
|
+
self.description = description
|
|
68
68
|
|
|
69
69
|
@property
|
|
70
70
|
def name(self):
|
|
@@ -139,22 +139,22 @@ class IDc:
|
|
|
139
139
|
self._region = region
|
|
140
140
|
|
|
141
141
|
@property
|
|
142
|
-
def
|
|
143
|
-
r"""Gets the
|
|
142
|
+
def description(self):
|
|
143
|
+
r"""Gets the description of this IDc.
|
|
144
144
|
|
|
145
|
-
:return: The
|
|
145
|
+
:return: The description of this IDc.
|
|
146
146
|
:rtype: str
|
|
147
147
|
"""
|
|
148
|
-
return self.
|
|
148
|
+
return self._description
|
|
149
149
|
|
|
150
|
-
@
|
|
151
|
-
def
|
|
152
|
-
r"""Sets the
|
|
150
|
+
@description.setter
|
|
151
|
+
def description(self, description):
|
|
152
|
+
r"""Sets the description of this IDc.
|
|
153
153
|
|
|
154
|
-
:param
|
|
155
|
-
:type
|
|
154
|
+
:param description: The description of this IDc.
|
|
155
|
+
:type description: str
|
|
156
156
|
"""
|
|
157
|
-
self.
|
|
157
|
+
self._description = description
|
|
158
158
|
|
|
159
159
|
def to_dict(self):
|
|
160
160
|
"""Returns the model properties as a dict"""
|
|
@@ -5,7 +5,7 @@ import six
|
|
|
5
5
|
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
class
|
|
8
|
+
class ListIRacksRequest:
|
|
9
9
|
|
|
10
10
|
"""
|
|
11
11
|
Attributes:
|
|
@@ -31,7 +31,7 @@ class ListIRackRequest:
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
def __init__(self, region=None, marker=None, limit=None, order=None):
|
|
34
|
-
r"""
|
|
34
|
+
r"""ListIRacksRequest
|
|
35
35
|
|
|
36
36
|
The model defined in huaweicloud sdk
|
|
37
37
|
|
|
@@ -63,88 +63,88 @@ class ListIRackRequest:
|
|
|
63
63
|
|
|
64
64
|
@property
|
|
65
65
|
def region(self):
|
|
66
|
-
r"""Gets the region of this
|
|
66
|
+
r"""Gets the region of this ListIRacksRequest.
|
|
67
67
|
|
|
68
68
|
区域
|
|
69
69
|
|
|
70
|
-
:return: The region of this
|
|
70
|
+
:return: The region of this ListIRacksRequest.
|
|
71
71
|
:rtype: str
|
|
72
72
|
"""
|
|
73
73
|
return self._region
|
|
74
74
|
|
|
75
75
|
@region.setter
|
|
76
76
|
def region(self, region):
|
|
77
|
-
r"""Sets the region of this
|
|
77
|
+
r"""Sets the region of this ListIRacksRequest.
|
|
78
78
|
|
|
79
79
|
区域
|
|
80
80
|
|
|
81
|
-
:param region: The region of this
|
|
81
|
+
:param region: The region of this ListIRacksRequest.
|
|
82
82
|
:type region: str
|
|
83
83
|
"""
|
|
84
84
|
self._region = region
|
|
85
85
|
|
|
86
86
|
@property
|
|
87
87
|
def marker(self):
|
|
88
|
-
r"""Gets the marker of this
|
|
88
|
+
r"""Gets the marker of this ListIRacksRequest.
|
|
89
89
|
|
|
90
90
|
取值为上一页数据的最后一条记录的id
|
|
91
91
|
|
|
92
|
-
:return: The marker of this
|
|
92
|
+
:return: The marker of this ListIRacksRequest.
|
|
93
93
|
:rtype: str
|
|
94
94
|
"""
|
|
95
95
|
return self._marker
|
|
96
96
|
|
|
97
97
|
@marker.setter
|
|
98
98
|
def marker(self, marker):
|
|
99
|
-
r"""Sets the marker of this
|
|
99
|
+
r"""Sets the marker of this ListIRacksRequest.
|
|
100
100
|
|
|
101
101
|
取值为上一页数据的最后一条记录的id
|
|
102
102
|
|
|
103
|
-
:param marker: The marker of this
|
|
103
|
+
:param marker: The marker of this ListIRacksRequest.
|
|
104
104
|
:type marker: str
|
|
105
105
|
"""
|
|
106
106
|
self._marker = marker
|
|
107
107
|
|
|
108
108
|
@property
|
|
109
109
|
def limit(self):
|
|
110
|
-
r"""Gets the limit of this
|
|
110
|
+
r"""Gets the limit of this ListIRacksRequest.
|
|
111
111
|
|
|
112
112
|
分页大小,取值范围为[1,2000],默认2000
|
|
113
113
|
|
|
114
|
-
:return: The limit of this
|
|
114
|
+
:return: The limit of this ListIRacksRequest.
|
|
115
115
|
:rtype: str
|
|
116
116
|
"""
|
|
117
117
|
return self._limit
|
|
118
118
|
|
|
119
119
|
@limit.setter
|
|
120
120
|
def limit(self, limit):
|
|
121
|
-
r"""Sets the limit of this
|
|
121
|
+
r"""Sets the limit of this ListIRacksRequest.
|
|
122
122
|
|
|
123
123
|
分页大小,取值范围为[1,2000],默认2000
|
|
124
124
|
|
|
125
|
-
:param limit: The limit of this
|
|
125
|
+
:param limit: The limit of this ListIRacksRequest.
|
|
126
126
|
:type limit: str
|
|
127
127
|
"""
|
|
128
128
|
self._limit = limit
|
|
129
129
|
|
|
130
130
|
@property
|
|
131
131
|
def order(self):
|
|
132
|
-
r"""Gets the order of this
|
|
132
|
+
r"""Gets the order of this ListIRacksRequest.
|
|
133
133
|
|
|
134
134
|
排序升、降序
|
|
135
135
|
|
|
136
|
-
:return: The order of this
|
|
136
|
+
:return: The order of this ListIRacksRequest.
|
|
137
137
|
:rtype: str
|
|
138
138
|
"""
|
|
139
139
|
return self._order
|
|
140
140
|
|
|
141
141
|
@order.setter
|
|
142
142
|
def order(self, order):
|
|
143
|
-
r"""Sets the order of this
|
|
143
|
+
r"""Sets the order of this ListIRacksRequest.
|
|
144
144
|
|
|
145
145
|
排序升、降序
|
|
146
146
|
|
|
147
|
-
:param order: The order of this
|
|
147
|
+
:param order: The order of this ListIRacksRequest.
|
|
148
148
|
:type order: str
|
|
149
149
|
"""
|
|
150
150
|
self._order = order
|
|
@@ -191,7 +191,7 @@ class ListIRackRequest:
|
|
|
191
191
|
|
|
192
192
|
def __eq__(self, other):
|
|
193
193
|
"""Returns true if both objects are equal"""
|
|
194
|
-
if not isinstance(other,
|
|
194
|
+
if not isinstance(other, ListIRacksRequest):
|
|
195
195
|
return False
|
|
196
196
|
|
|
197
197
|
return self.__dict__ == other.__dict__
|
|
@@ -6,7 +6,7 @@ from huaweicloudsdkcore.sdk_response import SdkResponse
|
|
|
6
6
|
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
class
|
|
9
|
+
class ListIRacksResponse(SdkResponse):
|
|
10
10
|
|
|
11
11
|
"""
|
|
12
12
|
Attributes:
|
|
@@ -28,7 +28,7 @@ class ListIRackResponse(SdkResponse):
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
def __init__(self, iracks=None, page_info=None):
|
|
31
|
-
r"""
|
|
31
|
+
r"""ListIRacksResponse
|
|
32
32
|
|
|
33
33
|
The model defined in huaweicloud sdk
|
|
34
34
|
|
|
@@ -38,7 +38,7 @@ class ListIRackResponse(SdkResponse):
|
|
|
38
38
|
:type page_info: :class:`huaweicloudsdkclouddc.v1.PageInfo`
|
|
39
39
|
"""
|
|
40
40
|
|
|
41
|
-
super(
|
|
41
|
+
super(ListIRacksResponse, self).__init__()
|
|
42
42
|
|
|
43
43
|
self._iracks = None
|
|
44
44
|
self._page_info = None
|
|
@@ -51,36 +51,36 @@ class ListIRackResponse(SdkResponse):
|
|
|
51
51
|
|
|
52
52
|
@property
|
|
53
53
|
def iracks(self):
|
|
54
|
-
r"""Gets the iracks of this
|
|
54
|
+
r"""Gets the iracks of this ListIRacksResponse.
|
|
55
55
|
|
|
56
|
-
:return: The iracks of this
|
|
56
|
+
:return: The iracks of this ListIRacksResponse.
|
|
57
57
|
:rtype: list[:class:`huaweicloudsdkclouddc.v1.IRack`]
|
|
58
58
|
"""
|
|
59
59
|
return self._iracks
|
|
60
60
|
|
|
61
61
|
@iracks.setter
|
|
62
62
|
def iracks(self, iracks):
|
|
63
|
-
r"""Sets the iracks of this
|
|
63
|
+
r"""Sets the iracks of this ListIRacksResponse.
|
|
64
64
|
|
|
65
|
-
:param iracks: The iracks of this
|
|
65
|
+
:param iracks: The iracks of this ListIRacksResponse.
|
|
66
66
|
:type iracks: list[:class:`huaweicloudsdkclouddc.v1.IRack`]
|
|
67
67
|
"""
|
|
68
68
|
self._iracks = iracks
|
|
69
69
|
|
|
70
70
|
@property
|
|
71
71
|
def page_info(self):
|
|
72
|
-
r"""Gets the page_info of this
|
|
72
|
+
r"""Gets the page_info of this ListIRacksResponse.
|
|
73
73
|
|
|
74
|
-
:return: The page_info of this
|
|
74
|
+
:return: The page_info of this ListIRacksResponse.
|
|
75
75
|
:rtype: :class:`huaweicloudsdkclouddc.v1.PageInfo`
|
|
76
76
|
"""
|
|
77
77
|
return self._page_info
|
|
78
78
|
|
|
79
79
|
@page_info.setter
|
|
80
80
|
def page_info(self, page_info):
|
|
81
|
-
r"""Sets the page_info of this
|
|
81
|
+
r"""Sets the page_info of this ListIRacksResponse.
|
|
82
82
|
|
|
83
|
-
:param page_info: The page_info of this
|
|
83
|
+
:param page_info: The page_info of this ListIRacksResponse.
|
|
84
84
|
:type page_info: :class:`huaweicloudsdkclouddc.v1.PageInfo`
|
|
85
85
|
"""
|
|
86
86
|
self._page_info = page_info
|
|
@@ -127,7 +127,7 @@ class ListIRackResponse(SdkResponse):
|
|
|
127
127
|
|
|
128
128
|
def __eq__(self, other):
|
|
129
129
|
"""Returns true if both objects are equal"""
|
|
130
|
-
if not isinstance(other,
|
|
130
|
+
if not isinstance(other, ListIRacksResponse):
|
|
131
131
|
return False
|
|
132
132
|
|
|
133
133
|
return self.__dict__ == other.__dict__
|
{huaweicloudsdkclouddc-3.1.160.dist-info → huaweicloudsdkclouddc-3.1.162.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: huaweicloudsdkclouddc
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.162
|
|
4
4
|
Summary: CloudDC
|
|
5
5
|
Home-page: https://github.com/huaweicloud/huaweicloud-sdk-python-v3
|
|
6
6
|
Author: HuaweiCloud SDK
|
|
@@ -21,6 +21,6 @@ Classifier: Topic :: Software Development
|
|
|
21
21
|
Requires-Python: >=3.6
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
23
|
License-File: LICENSE
|
|
24
|
-
Requires-Dist: huaweicloudsdkcore>=3.1.
|
|
24
|
+
Requires-Dist: huaweicloudsdkcore>=3.1.162
|
|
25
25
|
|
|
26
26
|
See detailed information in [huaweicloud-sdk-python-v3](https://github.com/huaweicloud/huaweicloud-sdk-python-v3).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
huaweicloudsdkclouddc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
huaweicloudsdkclouddc/v1/__init__.py,sha256
|
|
3
|
-
huaweicloudsdkclouddc/v1/clouddc_async_client.py,sha256=
|
|
4
|
-
huaweicloudsdkclouddc/v1/clouddc_client.py,sha256=
|
|
5
|
-
huaweicloudsdkclouddc/v1/model/__init__.py,sha256=
|
|
2
|
+
huaweicloudsdkclouddc/v1/__init__.py,sha256=u0NAJ6WI3QpJHaUFHRDQzIXYWUHGnl7s-AUwj9bZoPc,10934
|
|
3
|
+
huaweicloudsdkclouddc/v1/clouddc_async_client.py,sha256=4vq9_QPpci8lOMhlI8McbJNgbmguy3vlw66eq8nfiVA,76270
|
|
4
|
+
huaweicloudsdkclouddc/v1/clouddc_client.py,sha256=qTB5PhTVh931U-ab1Waj05YPZYVDy3m_sYVvWafjNGg,76229
|
|
5
|
+
huaweicloudsdkclouddc/v1/model/__init__.py,sha256=mgxeIUKRjnf2iRiZ-zZcV2uFPPixIHIXSqZDBOVm05c,10824
|
|
6
6
|
huaweicloudsdkclouddc/v1/model/alarm_daily_trend.py,sha256=1QtdVYvX-6Uc0rlWsqx373Bac9yRQozwcYvkSpCz8sE,5282
|
|
7
7
|
huaweicloudsdkclouddc/v1/model/alarm_device_info.py,sha256=WTDro26coaLZKZLLgQNlfhEKCXcjIpjWw50k4kN00hI,3978
|
|
8
8
|
huaweicloudsdkclouddc/v1/model/alarm_group.py,sha256=DRhAJEQ82iDaT6sB-VlldyKp-h3fkht9AmZmIE_ciVI,4563
|
|
@@ -25,7 +25,7 @@ huaweicloudsdkclouddc/v1/model/change_instance_password_request.py,sha256=uzj3Ty
|
|
|
25
25
|
huaweicloudsdkclouddc/v1/model/change_instance_password_response.py,sha256=bm2CmKKfS7eVzgp9YggP8gJvxXZuGjiWSUQS7ufRKWo,3552
|
|
26
26
|
huaweicloudsdkclouddc/v1/model/change_server_power_state_request.py,sha256=_SSO7tK_MejDBab2mJ0cgVcT-8svfosA8BoLW7GbKGQ,3174
|
|
27
27
|
huaweicloudsdkclouddc/v1/model/change_server_power_state_response.py,sha256=q5D-xHQ1PGoR3B4s59VRRjJETjY_Y1kY6mKS79fVXFY,3740
|
|
28
|
-
huaweicloudsdkclouddc/v1/model/create_instance_opitons.py,sha256=
|
|
28
|
+
huaweicloudsdkclouddc/v1/model/create_instance_opitons.py,sha256=47Fyoavg0WxOYDsTEvBgQGHx0dVgJuBOP5WoMS02hak,12430
|
|
29
29
|
huaweicloudsdkclouddc/v1/model/create_instance_opitons_placement.py,sha256=OGSiEtBBy8_m2_h-fBWu7BDb_OPeb9lkZYSqwF_gnSs,3186
|
|
30
30
|
huaweicloudsdkclouddc/v1/model/create_instance_request.py,sha256=qNfw6MopHjv2OS9dFC1ADimEaab_NcQ4lMUOy0XYRaI,3150
|
|
31
31
|
huaweicloudsdkclouddc/v1/model/create_instance_response.py,sha256=gy-r1-C4lqhmdmP8KHwfsQ_qeWx_OTvZOafECaxpcwE,3270
|
|
@@ -46,7 +46,7 @@ huaweicloudsdkclouddc/v1/model/fault_host_info.py,sha256=dtmw0qoSxdD1pNR0I8Bsu3J
|
|
|
46
46
|
huaweicloudsdkclouddc/v1/model/firmware_details.py,sha256=PLFBLhxfAmntzMoYNfWZF6Bf-6jerjcIJqfiaM9d9vo,5359
|
|
47
47
|
huaweicloudsdkclouddc/v1/model/hardware_summary.py,sha256=E78VK1wmmIbs3WSTdVlv7K7MJsSsMJbepBZ0WNpAtRY,5384
|
|
48
48
|
huaweicloudsdkclouddc/v1/model/health.py,sha256=r_g8ygjcq1F8dcXnEMH1fbSERRgs4KyN3-_r71XtaBQ,2404
|
|
49
|
-
huaweicloudsdkclouddc/v1/model/i_dc.py,sha256=
|
|
49
|
+
huaweicloudsdkclouddc/v1/model/i_dc.py,sha256=dk0tMOgzbPvsfRM7NntdKdghWe_cOVX0dqDzHMe6e68,5187
|
|
50
50
|
huaweicloudsdkclouddc/v1/model/i_rack.py,sha256=-ntP1aEfsEj5ABhZ35Iz3scotuB1r7VteWW0XdRNC8o,12808
|
|
51
51
|
huaweicloudsdkclouddc/v1/model/i_rack_request.py,sha256=sfXgPWa3q9sYzCgol0kKDScPWFJmljzFatLRc394toE,3178
|
|
52
52
|
huaweicloudsdkclouddc/v1/model/image.py,sha256=slW44WOtmgwoSIra_8lt2QQPOdsXpzKJYerx9g8DPHg,4087
|
|
@@ -60,8 +60,8 @@ huaweicloudsdkclouddc/v1/model/list_events_request.py,sha256=Gmkk2HB1TAmuj1kLuit
|
|
|
60
60
|
huaweicloudsdkclouddc/v1/model/list_events_response.py,sha256=R1-x92UxzoQ26oT8olZIIpT1FL3fUeHjXVllZgoZQ8s,4009
|
|
61
61
|
huaweicloudsdkclouddc/v1/model/list_i_dcs_request.py,sha256=rVfHChYp2YPvAXGksTJYG7uos9C6105mMdAxdPssyBo,5214
|
|
62
62
|
huaweicloudsdkclouddc/v1/model/list_i_dcs_response.py,sha256=nMBeHNn3MC-GILWrmr-L81GW2pIe18HLDwgGQKmIpzU,3981
|
|
63
|
-
huaweicloudsdkclouddc/v1/model/
|
|
64
|
-
huaweicloudsdkclouddc/v1/model/
|
|
63
|
+
huaweicloudsdkclouddc/v1/model/list_i_racks_request.py,sha256=Khrl16XJv0ncBjqwPAJ5AF9Uq2MOvV7zZQNMQThV8-s,5288
|
|
64
|
+
huaweicloudsdkclouddc/v1/model/list_i_racks_response.py,sha256=bcVY7Br5VBwLqFmWMEwp9BvfOPbah4qfB52RKIZ_1EE,4059
|
|
65
65
|
huaweicloudsdkclouddc/v1/model/list_instances_request.py,sha256=XS0uuGAO9juL45QittT40rzSPbtnrAvf5oI4mKo-d-w,7744
|
|
66
66
|
huaweicloudsdkclouddc/v1/model/list_instances_response.py,sha256=yGtkwUFt50pbLqbEWQrTs8fLqihbufcmZgV5lvpSoi0,5000
|
|
67
67
|
huaweicloudsdkclouddc/v1/model/list_servers_request.py,sha256=KG2SCh-a1Qg83sj6p7Owr4Ghs_E-i4WYg94Se_TGHNc,6364
|
|
@@ -135,8 +135,8 @@ huaweicloudsdkclouddc/v1/model/volume.py,sha256=8rWWb3iOHgnp4wQHkpnyjcVcKVeRb-FI
|
|
|
135
135
|
huaweicloudsdkclouddc/v1/model/vpc_id.py,sha256=VKRp7QxaI5KhJGATdP_AWwkDG9ChySRH5NyEytUCbp0,2274
|
|
136
136
|
huaweicloudsdkclouddc/v1/region/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
137
137
|
huaweicloudsdkclouddc/v1/region/clouddc_region.py,sha256=Q2cKs2wJoOvtpB22TeljLmV6H8sC5hTOIsqpUSREuQQ,1444
|
|
138
|
-
huaweicloudsdkclouddc-3.1.
|
|
139
|
-
huaweicloudsdkclouddc-3.1.
|
|
140
|
-
huaweicloudsdkclouddc-3.1.
|
|
141
|
-
huaweicloudsdkclouddc-3.1.
|
|
142
|
-
huaweicloudsdkclouddc-3.1.
|
|
138
|
+
huaweicloudsdkclouddc-3.1.162.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
|
|
139
|
+
huaweicloudsdkclouddc-3.1.162.dist-info/METADATA,sha256=aJW1b9VaDIhY-aSOUVjMD8_gabCU2dmrsb0e07KMQAM,1076
|
|
140
|
+
huaweicloudsdkclouddc-3.1.162.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
141
|
+
huaweicloudsdkclouddc-3.1.162.dist-info/top_level.txt,sha256=B3y_Q2safjtuyQ6vwtcZR_sn0-82R1YWR9YaFuc1pbo,22
|
|
142
|
+
huaweicloudsdkclouddc-3.1.162.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
{huaweicloudsdkclouddc-3.1.160.dist-info → huaweicloudsdkclouddc-3.1.162.dist-info}/top_level.txt
RENAMED
|
File without changes
|