huaweicloudsdkmrs 3.1.85__py2.py3-none-any.whl → 3.1.132__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (27) hide show
  1. huaweicloudsdkmrs/v1/model/create_cluster_req_v11.py +3 -3
  2. huaweicloudsdkmrs/v1/model/create_scaling_policy_response.py +22 -18
  3. huaweicloudsdkmrs/v1/model/host_model.py +32 -3
  4. huaweicloudsdkmrs/v1/model/node_group_v11.py +3 -3
  5. huaweicloudsdkmrs/v1/model/task_node_group.py +3 -3
  6. huaweicloudsdkmrs/v1/model/task_node_info.py +3 -3
  7. huaweicloudsdkmrs/v1/region/mrs_region.py +6 -0
  8. huaweicloudsdkmrs/v2/__init__.py +7 -0
  9. huaweicloudsdkmrs/v2/model/__init__.py +7 -0
  10. huaweicloudsdkmrs/v2/model/cluster_node.py +396 -0
  11. huaweicloudsdkmrs/v2/model/component_info.py +521 -0
  12. huaweicloudsdkmrs/v2/model/list_nodes_request.py +375 -0
  13. huaweicloudsdkmrs/v2/model/list_nodes_response.py +145 -0
  14. huaweicloudsdkmrs/v2/model/node_detail.py +376 -0
  15. huaweicloudsdkmrs/v2/model/node_group_v2.py +3 -3
  16. huaweicloudsdkmrs/v2/model/server_info.py +340 -0
  17. huaweicloudsdkmrs/v2/model/show_mrs_flavors_request.py +32 -3
  18. huaweicloudsdkmrs/v2/model/tag.py +6 -6
  19. huaweicloudsdkmrs/v2/model/volume_info.py +170 -0
  20. huaweicloudsdkmrs/v2/mrs_async_client.py +85 -0
  21. huaweicloudsdkmrs/v2/mrs_client.py +85 -0
  22. huaweicloudsdkmrs/v2/region/mrs_region.py +6 -0
  23. {huaweicloudsdkmrs-3.1.85.dist-info → huaweicloudsdkmrs-3.1.132.dist-info}/METADATA +2 -2
  24. {huaweicloudsdkmrs-3.1.85.dist-info → huaweicloudsdkmrs-3.1.132.dist-info}/RECORD +27 -20
  25. {huaweicloudsdkmrs-3.1.85.dist-info → huaweicloudsdkmrs-3.1.132.dist-info}/WHEEL +1 -1
  26. {huaweicloudsdkmrs-3.1.85.dist-info → huaweicloudsdkmrs-3.1.132.dist-info}/LICENSE +0 -0
  27. {huaweicloudsdkmrs-3.1.85.dist-info → huaweicloudsdkmrs-3.1.132.dist-info}/top_level.txt +0 -0
@@ -145,7 +145,7 @@ class CreateClusterReqV11:
145
145
  :type core_data_volume_type: str
146
146
  :param core_data_volume_size: 该参数为多磁盘参数,表示Core节点数据磁盘存储空间。为增大数据存储容量,创建集群时可同时添加磁盘。 取值范围:100GB~32000GB,传值只需填数字,不需要带单位GB。
147
147
  :type core_data_volume_size: int
148
- :param core_data_volume_count: 该参数为多磁盘参数,表示Core节点数据磁盘个数。 取值范围:1~10
148
+ :param core_data_volume_count: 该参数为多磁盘参数,表示Core节点数据磁盘个数。 取值范围:1~20
149
149
  :type core_data_volume_count: int
150
150
  :param task_node_groups: Task节点列表信息。
151
151
  :type task_node_groups: list[:class:`huaweicloudsdkmrs.v1.TaskNodeGroup`]
@@ -785,7 +785,7 @@ class CreateClusterReqV11:
785
785
  def core_data_volume_count(self):
786
786
  """Gets the core_data_volume_count of this CreateClusterReqV11.
787
787
 
788
- 该参数为多磁盘参数,表示Core节点数据磁盘个数。 取值范围:1~10
788
+ 该参数为多磁盘参数,表示Core节点数据磁盘个数。 取值范围:1~20
789
789
 
790
790
  :return: The core_data_volume_count of this CreateClusterReqV11.
791
791
  :rtype: int
@@ -796,7 +796,7 @@ class CreateClusterReqV11:
796
796
  def core_data_volume_count(self, core_data_volume_count):
797
797
  """Sets the core_data_volume_count of this CreateClusterReqV11.
798
798
 
799
- 该参数为多磁盘参数,表示Core节点数据磁盘个数。 取值范围:1~10
799
+ 该参数为多磁盘参数,表示Core节点数据磁盘个数。 取值范围:1~20
800
800
 
801
801
  :param core_data_volume_count: The core_data_volume_count of this CreateClusterReqV11.
802
802
  :type core_data_volume_count: int
@@ -18,47 +18,51 @@ class CreateScalingPolicyResponse(SdkResponse):
18
18
  sensitive_list = []
19
19
 
20
20
  openapi_types = {
21
- 'body': 'str'
21
+ 'result': 'str'
22
22
  }
23
23
 
24
24
  attribute_map = {
25
- 'body': 'body'
25
+ 'result': 'result'
26
26
  }
27
27
 
28
- def __init__(self, body=None):
28
+ def __init__(self, result=None):
29
29
  """CreateScalingPolicyResponse
30
30
 
31
31
  The model defined in huaweicloud sdk
32
32
 
33
- :param body:
34
- :type body: str
33
+ :param result: 操作结果。 - succeeded:操作成功 - 操作失败时返回的错误码信息如[错误码](https://support.huaweicloud.com/api-mrs/ErrorCode.html)所示。
34
+ :type result: str
35
35
  """
36
36
 
37
37
  super(CreateScalingPolicyResponse, self).__init__()
38
38
 
39
- self._body = None
39
+ self._result = None
40
40
  self.discriminator = None
41
41
 
42
- if body is not None:
43
- self.body = body
42
+ if result is not None:
43
+ self.result = result
44
44
 
45
45
  @property
46
- def body(self):
47
- """Gets the body of this CreateScalingPolicyResponse.
46
+ def result(self):
47
+ """Gets the result of this CreateScalingPolicyResponse.
48
48
 
49
- :return: The body of this CreateScalingPolicyResponse.
49
+ 操作结果。 - succeeded:操作成功 - 操作失败时返回的错误码信息如[错误码](https://support.huaweicloud.com/api-mrs/ErrorCode.html)所示。
50
+
51
+ :return: The result of this CreateScalingPolicyResponse.
50
52
  :rtype: str
51
53
  """
52
- return self._body
54
+ return self._result
55
+
56
+ @result.setter
57
+ def result(self, result):
58
+ """Sets the result of this CreateScalingPolicyResponse.
53
59
 
54
- @body.setter
55
- def body(self, body):
56
- """Sets the body of this CreateScalingPolicyResponse.
60
+ 操作结果。 - succeeded:操作成功 - 操作失败时返回的错误码信息如[错误码](https://support.huaweicloud.com/api-mrs/ErrorCode.html)所示。
57
61
 
58
- :param body: The body of this CreateScalingPolicyResponse.
59
- :type body: str
62
+ :param result: The result of this CreateScalingPolicyResponse.
63
+ :type result: str
60
64
  """
61
- self._body = body
65
+ self._result = result
62
66
 
63
67
  def to_dict(self):
64
68
  """Returns the model properties as a dict"""
@@ -31,7 +31,8 @@ class HostModel:
31
31
  'root_volume_size': 'str',
32
32
  'data_volume_type': 'str',
33
33
  'data_volume_size': 'int',
34
- 'data_volume_count': 'int'
34
+ 'data_volume_count': 'int',
35
+ 'node_group_name': 'str'
35
36
  }
36
37
 
37
38
  attribute_map = {
@@ -49,10 +50,11 @@ class HostModel:
49
50
  'root_volume_size': 'root_volume_size',
50
51
  'data_volume_type': 'data_volume_type',
51
52
  'data_volume_size': 'data_volume_size',
52
- 'data_volume_count': 'data_volume_count'
53
+ 'data_volume_count': 'data_volume_count',
54
+ 'node_group_name': 'node_group_name'
53
55
  }
54
56
 
55
- def __init__(self, id=None, name=None, ip=None, availability_zone_id=None, tags=None, status=None, resource_id=None, flavor=None, type=None, mem=None, cpu=None, root_volume_size=None, data_volume_type=None, data_volume_size=None, data_volume_count=None):
57
+ def __init__(self, id=None, name=None, ip=None, availability_zone_id=None, tags=None, status=None, resource_id=None, flavor=None, type=None, mem=None, cpu=None, root_volume_size=None, data_volume_type=None, data_volume_size=None, data_volume_count=None, node_group_name=None):
56
58
  """HostModel
57
59
 
58
60
  The model defined in huaweicloud sdk
@@ -87,6 +89,8 @@ class HostModel:
87
89
  :type data_volume_size: int
88
90
  :param data_volume_count: 数据盘个数
89
91
  :type data_volume_count: int
92
+ :param node_group_name: 节点组名称
93
+ :type node_group_name: str
90
94
  """
91
95
 
92
96
 
@@ -106,6 +110,7 @@ class HostModel:
106
110
  self._data_volume_type = None
107
111
  self._data_volume_size = None
108
112
  self._data_volume_count = None
113
+ self._node_group_name = None
109
114
  self.discriminator = None
110
115
 
111
116
  if id is not None:
@@ -138,6 +143,8 @@ class HostModel:
138
143
  self.data_volume_size = data_volume_size
139
144
  if data_volume_count is not None:
140
145
  self.data_volume_count = data_volume_count
146
+ if node_group_name is not None:
147
+ self.node_group_name = node_group_name
141
148
 
142
149
  @property
143
150
  def id(self):
@@ -469,6 +476,28 @@ class HostModel:
469
476
  """
470
477
  self._data_volume_count = data_volume_count
471
478
 
479
+ @property
480
+ def node_group_name(self):
481
+ """Gets the node_group_name of this HostModel.
482
+
483
+ 节点组名称
484
+
485
+ :return: The node_group_name of this HostModel.
486
+ :rtype: str
487
+ """
488
+ return self._node_group_name
489
+
490
+ @node_group_name.setter
491
+ def node_group_name(self, node_group_name):
492
+ """Sets the node_group_name of this HostModel.
493
+
494
+ 节点组名称
495
+
496
+ :param node_group_name: The node_group_name of this HostModel.
497
+ :type node_group_name: str
498
+ """
499
+ self._node_group_name = node_group_name
500
+
472
501
  def to_dict(self):
473
502
  """Returns the model properties as a dict"""
474
503
  result = {}
@@ -57,7 +57,7 @@ class NodeGroupV11:
57
57
  :type root_volume_type: str
58
58
  :param data_volume_type: 节点数据磁盘存储类别,目前支持SATA、SAS和SSD。 - SATA:普通IO - SAS:高IO - SSD:超高IO - GPSSD:通用型SSD
59
59
  :type data_volume_type: str
60
- :param data_volume_count: 节点数据磁盘存储数目 取值范围:0~10
60
+ :param data_volume_count: 节点数据磁盘存储数目 取值范围:0~20
61
61
  :type data_volume_count: int
62
62
  :param data_volume_size: 节点数据磁盘存储大小 取值范围:100GB~32000GB。
63
63
  :type data_volume_size: int
@@ -230,7 +230,7 @@ class NodeGroupV11:
230
230
  def data_volume_count(self):
231
231
  """Gets the data_volume_count of this NodeGroupV11.
232
232
 
233
- 节点数据磁盘存储数目 取值范围:0~10
233
+ 节点数据磁盘存储数目 取值范围:0~20
234
234
 
235
235
  :return: The data_volume_count of this NodeGroupV11.
236
236
  :rtype: int
@@ -241,7 +241,7 @@ class NodeGroupV11:
241
241
  def data_volume_count(self, data_volume_count):
242
242
  """Sets the data_volume_count of this NodeGroupV11.
243
243
 
244
- 节点数据磁盘存储数目 取值范围:0~10
244
+ 节点数据磁盘存储数目 取值范围:0~20
245
245
 
246
246
  :param data_volume_count: The data_volume_count of this NodeGroupV11.
247
247
  :type data_volume_count: int
@@ -45,7 +45,7 @@ class TaskNodeGroup:
45
45
  :type node_size: str
46
46
  :param data_volume_type: Task节点数据磁盘存储类别,目前支持SATA、SAS和SSD。 - SATA:普通IO - SAS:高IO - SSD:超高IO - GPSSD:通用型SSD
47
47
  :type data_volume_type: str
48
- :param data_volume_count: Task节点数据磁盘存储数目,取值范围:0~10
48
+ :param data_volume_count: Task节点数据磁盘存储数目,取值范围:0~20
49
49
  :type data_volume_count: int
50
50
  :param data_volume_size: Task节点数据磁盘存储大小。 取值范围:100GB~32000GB,传值只需填数字,不需要带单位GB。
51
51
  :type data_volume_size: int
@@ -141,7 +141,7 @@ class TaskNodeGroup:
141
141
  def data_volume_count(self):
142
142
  """Gets the data_volume_count of this TaskNodeGroup.
143
143
 
144
- Task节点数据磁盘存储数目,取值范围:0~10
144
+ Task节点数据磁盘存储数目,取值范围:0~20
145
145
 
146
146
  :return: The data_volume_count of this TaskNodeGroup.
147
147
  :rtype: int
@@ -152,7 +152,7 @@ class TaskNodeGroup:
152
152
  def data_volume_count(self, data_volume_count):
153
153
  """Sets the data_volume_count of this TaskNodeGroup.
154
154
 
155
- Task节点数据磁盘存储数目,取值范围:0~10
155
+ Task节点数据磁盘存储数目,取值范围:0~20
156
156
 
157
157
  :param data_volume_count: The data_volume_count of this TaskNodeGroup.
158
158
  :type data_volume_count: int
@@ -39,7 +39,7 @@ class TaskNodeInfo:
39
39
  :type node_size: str
40
40
  :param data_volume_type: Task节点数据磁盘存储类别,目前支持SATA、SAS和SSD。 - SATA:普通IO - SAS:高IO - SSD:超高IO - GPSSD:通用型SSD
41
41
  :type data_volume_type: str
42
- :param data_volume_count: Task节点数据磁盘存储数目,取值范围:0~10
42
+ :param data_volume_count: Task节点数据磁盘存储数目,取值范围:0~20
43
43
  :type data_volume_count: int
44
44
  :param data_volume_size: Task节点数据磁盘存储大小。 取值范围:100GB~32000GB,传值只需填数字,不需要带单位GB。
45
45
  :type data_volume_size: int
@@ -106,7 +106,7 @@ class TaskNodeInfo:
106
106
  def data_volume_count(self):
107
107
  """Gets the data_volume_count of this TaskNodeInfo.
108
108
 
109
- Task节点数据磁盘存储数目,取值范围:0~10
109
+ Task节点数据磁盘存储数目,取值范围:0~20
110
110
 
111
111
  :return: The data_volume_count of this TaskNodeInfo.
112
112
  :rtype: int
@@ -117,7 +117,7 @@ class TaskNodeInfo:
117
117
  def data_volume_count(self, data_volume_count):
118
118
  """Sets the data_volume_count of this TaskNodeInfo.
119
119
 
120
- Task节点数据磁盘存储数目,取值范围:0~10
120
+ Task节点数据磁盘存储数目,取值范围:0~20
121
121
 
122
122
  :param data_volume_count: The data_volume_count of this TaskNodeInfo.
123
123
  :type data_volume_count: int
@@ -52,6 +52,10 @@ class MrsRegion:
52
52
  "https://mrs.eu-west-0.myhuaweicloud.com")
53
53
  MY_KUALALUMPUR_1 = Region("my-kualalumpur-1",
54
54
  "https://mrs.my-kualalumpur-1.myhuaweicloud.com")
55
+ RU_MOSCOW_1 = Region("ru-moscow-1",
56
+ "https://mrs.ru-moscow-1.myhuaweicloud.com")
57
+ AE_AD_1 = Region("ae-ad-1",
58
+ "https://mrs.ae-ad-1.myhuaweicloud.com")
55
59
 
56
60
  static_fields = {
57
61
  "cn-north-1": CN_NORTH_1,
@@ -77,6 +81,8 @@ class MrsRegion:
77
81
  "me-east-1": ME_EAST_1,
78
82
  "eu-west-0": EU_WEST_0,
79
83
  "my-kualalumpur-1": MY_KUALALUMPUR_1,
84
+ "ru-moscow-1": RU_MOSCOW_1,
85
+ "ae-ad-1": AE_AD_1,
80
86
  }
81
87
 
82
88
  @classmethod
@@ -27,7 +27,9 @@ from huaweicloudsdkmrs.v2.model.cancel_sync_iam_user_response import CancelSyncI
27
27
  from huaweicloudsdkmrs.v2.model.cancel_sync_request import CancelSyncRequest
28
28
  from huaweicloudsdkmrs.v2.model.charge_info import ChargeInfo
29
29
  from huaweicloudsdkmrs.v2.model.cluster_data_connector_map import ClusterDataConnectorMap
30
+ from huaweicloudsdkmrs.v2.model.cluster_node import ClusterNode
30
31
  from huaweicloudsdkmrs.v2.model.component_config import ComponentConfig
32
+ from huaweicloudsdkmrs.v2.model.component_info import ComponentInfo
31
33
  from huaweicloudsdkmrs.v2.model.component_install_mode import ComponentInstallMode
32
34
  from huaweicloudsdkmrs.v2.model.config import Config
33
35
  from huaweicloudsdkmrs.v2.model.create_auto_scaling_policy_request import CreateAutoScalingPolicyRequest
@@ -59,7 +61,10 @@ from huaweicloudsdkmrs.v2.model.job_query_bean import JobQueryBean
59
61
  from huaweicloudsdkmrs.v2.model.job_submit_result import JobSubmitResult
60
62
  from huaweicloudsdkmrs.v2.model.list_data_connector_request import ListDataConnectorRequest
61
63
  from huaweicloudsdkmrs.v2.model.list_data_connector_response import ListDataConnectorResponse
64
+ from huaweicloudsdkmrs.v2.model.list_nodes_request import ListNodesRequest
65
+ from huaweicloudsdkmrs.v2.model.list_nodes_response import ListNodesResponse
62
66
  from huaweicloudsdkmrs.v2.model.modify_default_tags_request_body import ModifyDefaultTagsRequestBody
67
+ from huaweicloudsdkmrs.v2.model.node_detail import NodeDetail
63
68
  from huaweicloudsdkmrs.v2.model.node_group_v2 import NodeGroupV2
64
69
  from huaweicloudsdkmrs.v2.model.resources_plan import ResourcesPlan
65
70
  from huaweicloudsdkmrs.v2.model.rule import Rule
@@ -67,6 +72,7 @@ from huaweicloudsdkmrs.v2.model.run_job_flow_command import RunJobFlowCommand
67
72
  from huaweicloudsdkmrs.v2.model.run_job_flow_request import RunJobFlowRequest
68
73
  from huaweicloudsdkmrs.v2.model.run_job_flow_response import RunJobFlowResponse
69
74
  from huaweicloudsdkmrs.v2.model.scale_script import ScaleScript
75
+ from huaweicloudsdkmrs.v2.model.server_info import ServerInfo
70
76
  from huaweicloudsdkmrs.v2.model.show_agency_mapping_request import ShowAgencyMappingRequest
71
77
  from huaweicloudsdkmrs.v2.model.show_agency_mapping_response import ShowAgencyMappingResponse
72
78
  from huaweicloudsdkmrs.v2.model.show_auto_scaling_policy_request import ShowAutoScalingPolicyRequest
@@ -116,4 +122,5 @@ from huaweicloudsdkmrs.v2.model.update_sync_iam_user_request import UpdateSyncIa
116
122
  from huaweicloudsdkmrs.v2.model.update_sync_iam_user_response import UpdateSyncIamUserResponse
117
123
  from huaweicloudsdkmrs.v2.model.update_sync_request import UpdateSyncRequest
118
124
  from huaweicloudsdkmrs.v2.model.volume import Volume
125
+ from huaweicloudsdkmrs.v2.model.volume_info import VolumeInfo
119
126
 
@@ -25,7 +25,9 @@ from huaweicloudsdkmrs.v2.model.cancel_sync_iam_user_response import CancelSyncI
25
25
  from huaweicloudsdkmrs.v2.model.cancel_sync_request import CancelSyncRequest
26
26
  from huaweicloudsdkmrs.v2.model.charge_info import ChargeInfo
27
27
  from huaweicloudsdkmrs.v2.model.cluster_data_connector_map import ClusterDataConnectorMap
28
+ from huaweicloudsdkmrs.v2.model.cluster_node import ClusterNode
28
29
  from huaweicloudsdkmrs.v2.model.component_config import ComponentConfig
30
+ from huaweicloudsdkmrs.v2.model.component_info import ComponentInfo
29
31
  from huaweicloudsdkmrs.v2.model.component_install_mode import ComponentInstallMode
30
32
  from huaweicloudsdkmrs.v2.model.config import Config
31
33
  from huaweicloudsdkmrs.v2.model.create_auto_scaling_policy_request import CreateAutoScalingPolicyRequest
@@ -57,7 +59,10 @@ from huaweicloudsdkmrs.v2.model.job_query_bean import JobQueryBean
57
59
  from huaweicloudsdkmrs.v2.model.job_submit_result import JobSubmitResult
58
60
  from huaweicloudsdkmrs.v2.model.list_data_connector_request import ListDataConnectorRequest
59
61
  from huaweicloudsdkmrs.v2.model.list_data_connector_response import ListDataConnectorResponse
62
+ from huaweicloudsdkmrs.v2.model.list_nodes_request import ListNodesRequest
63
+ from huaweicloudsdkmrs.v2.model.list_nodes_response import ListNodesResponse
60
64
  from huaweicloudsdkmrs.v2.model.modify_default_tags_request_body import ModifyDefaultTagsRequestBody
65
+ from huaweicloudsdkmrs.v2.model.node_detail import NodeDetail
61
66
  from huaweicloudsdkmrs.v2.model.node_group_v2 import NodeGroupV2
62
67
  from huaweicloudsdkmrs.v2.model.resources_plan import ResourcesPlan
63
68
  from huaweicloudsdkmrs.v2.model.rule import Rule
@@ -65,6 +70,7 @@ from huaweicloudsdkmrs.v2.model.run_job_flow_command import RunJobFlowCommand
65
70
  from huaweicloudsdkmrs.v2.model.run_job_flow_request import RunJobFlowRequest
66
71
  from huaweicloudsdkmrs.v2.model.run_job_flow_response import RunJobFlowResponse
67
72
  from huaweicloudsdkmrs.v2.model.scale_script import ScaleScript
73
+ from huaweicloudsdkmrs.v2.model.server_info import ServerInfo
68
74
  from huaweicloudsdkmrs.v2.model.show_agency_mapping_request import ShowAgencyMappingRequest
69
75
  from huaweicloudsdkmrs.v2.model.show_agency_mapping_response import ShowAgencyMappingResponse
70
76
  from huaweicloudsdkmrs.v2.model.show_auto_scaling_policy_request import ShowAutoScalingPolicyRequest
@@ -114,3 +120,4 @@ from huaweicloudsdkmrs.v2.model.update_sync_iam_user_request import UpdateSyncIa
114
120
  from huaweicloudsdkmrs.v2.model.update_sync_iam_user_response import UpdateSyncIamUserResponse
115
121
  from huaweicloudsdkmrs.v2.model.update_sync_request import UpdateSyncRequest
116
122
  from huaweicloudsdkmrs.v2.model.volume import Volume
123
+ from huaweicloudsdkmrs.v2.model.volume_info import VolumeInfo