huaweicloudsdkmrs 3.1.142__py2.py3-none-any.whl → 3.1.143__py2.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.
- huaweicloudsdkmrs/v1/model/add_jobs_req_v11.py +25 -25
- huaweicloudsdkmrs/v1/model/auto_scaling_policy.py +13 -13
- huaweicloudsdkmrs/v1/model/auto_scaling_policy_req_v11.py +5 -5
- huaweicloudsdkmrs/v1/model/available_tag.py +7 -7
- huaweicloudsdkmrs/v1/model/available_zone_v2.py +19 -19
- huaweicloudsdkmrs/v1/model/batch_create_cluster_tags_req.py +5 -5
- huaweicloudsdkmrs/v1/model/batch_create_cluster_tags_request.py +5 -5
- huaweicloudsdkmrs/v1/model/batch_create_cluster_tags_response.py +1 -1
- huaweicloudsdkmrs/v1/model/batch_delete_cluster_tags_req.py +5 -5
- huaweicloudsdkmrs/v1/model/batch_delete_cluster_tags_request.py +5 -5
- huaweicloudsdkmrs/v1/model/batch_delete_cluster_tags_response.py +1 -1
- huaweicloudsdkmrs/v1/model/bootstrap_script.py +21 -21
- huaweicloudsdkmrs/v1/model/cluster.py +137 -137
- huaweicloudsdkmrs/v1/model/cluster_scaling_params.py +19 -19
- huaweicloudsdkmrs/v1/model/cluster_scaling_req.py +9 -9
- huaweicloudsdkmrs/v1/model/component_amb.py +9 -9
- huaweicloudsdkmrs/v1/model/component_amb_v11.py +3 -3
- huaweicloudsdkmrs/v1/model/component_external_datasource.py +5 -5
- huaweicloudsdkmrs/v1/model/create_and_execute_job_request.py +3 -3
- huaweicloudsdkmrs/v1/model/create_and_execute_job_response.py +87 -87
- huaweicloudsdkmrs/v1/model/create_cluster_req_v11.py +73 -73
- huaweicloudsdkmrs/v1/model/create_cluster_request.py +3 -3
- huaweicloudsdkmrs/v1/model/create_cluster_response.py +7 -7
- huaweicloudsdkmrs/v1/model/create_cluster_tag_request.py +5 -5
- huaweicloudsdkmrs/v1/model/create_cluster_tag_response.py +1 -1
- huaweicloudsdkmrs/v1/model/create_scaling_policy_request.py +5 -5
- huaweicloudsdkmrs/v1/model/create_scaling_policy_response.py +3 -3
- huaweicloudsdkmrs/v1/model/create_tag_req.py +3 -3
- huaweicloudsdkmrs/v1/model/delete_cluster_request.py +3 -3
- huaweicloudsdkmrs/v1/model/delete_cluster_response.py +3 -3
- huaweicloudsdkmrs/v1/model/delete_cluster_tag_request.py +5 -5
- huaweicloudsdkmrs/v1/model/delete_cluster_tag_response.py +1 -1
- huaweicloudsdkmrs/v1/model/delete_job_execution_request.py +3 -3
- huaweicloudsdkmrs/v1/model/delete_job_execution_response.py +1 -1
- huaweicloudsdkmrs/v1/model/flavor_lists.py +7 -7
- huaweicloudsdkmrs/v1/model/host_model.py +33 -33
- huaweicloudsdkmrs/v1/model/job_exe_result.py +67 -67
- huaweicloudsdkmrs/v1/model/list_all_tags_request.py +1 -1
- huaweicloudsdkmrs/v1/model/list_all_tags_response.py +3 -3
- huaweicloudsdkmrs/v1/model/list_available_zones_request.py +5 -5
- huaweicloudsdkmrs/v1/model/list_available_zones_response.py +7 -7
- huaweicloudsdkmrs/v1/model/list_cluster_tags_request.py +3 -3
- huaweicloudsdkmrs/v1/model/list_cluster_tags_response.py +3 -3
- huaweicloudsdkmrs/v1/model/list_clusters_by_tags_request.py +3 -3
- huaweicloudsdkmrs/v1/model/list_clusters_by_tags_response.py +5 -5
- huaweicloudsdkmrs/v1/model/list_clusters_request.py +13 -13
- huaweicloudsdkmrs/v1/model/list_clusters_response.py +5 -5
- huaweicloudsdkmrs/v1/model/list_execute_job_request.py +13 -13
- huaweicloudsdkmrs/v1/model/list_execute_job_response.py +5 -5
- huaweicloudsdkmrs/v1/model/list_hosts_request.py +7 -7
- huaweicloudsdkmrs/v1/model/list_hosts_response.py +5 -5
- huaweicloudsdkmrs/v1/model/list_resource_req.py +17 -17
- huaweicloudsdkmrs/v1/model/match.py +5 -5
- huaweicloudsdkmrs/v1/model/mrs_resource.py +9 -9
- huaweicloudsdkmrs/v1/model/node_constraint.py +21 -21
- huaweicloudsdkmrs/v1/model/node_constraints.py +19 -19
- huaweicloudsdkmrs/v1/model/node_group_v10.py +37 -37
- huaweicloudsdkmrs/v1/model/node_group_v11.py +19 -19
- huaweicloudsdkmrs/v1/model/resources_plan.py +11 -11
- huaweicloudsdkmrs/v1/model/role_deploy_meta.py +39 -39
- huaweicloudsdkmrs/v1/model/rule.py +13 -13
- huaweicloudsdkmrs/v1/model/scale_script.py +15 -15
- huaweicloudsdkmrs/v1/model/show_cluster_details_request.py +3 -3
- huaweicloudsdkmrs/v1/model/show_cluster_details_response.py +3 -3
- huaweicloudsdkmrs/v1/model/show_job_exes_request.py +3 -3
- huaweicloudsdkmrs/v1/model/show_job_exes_response.py +3 -3
- huaweicloudsdkmrs/v1/model/show_mrs_version_metadata_request.py +5 -5
- huaweicloudsdkmrs/v1/model/show_mrs_version_metadata_response.py +27 -27
- huaweicloudsdkmrs/v1/model/submit_job_req_v11.py +23 -23
- huaweicloudsdkmrs/v1/model/tag.py +5 -5
- huaweicloudsdkmrs/v1/model/tag_plain.py +5 -5
- huaweicloudsdkmrs/v1/model/tag_with_multi_value.py +5 -5
- huaweicloudsdkmrs/v1/model/task_node_group.py +13 -13
- huaweicloudsdkmrs/v1/model/task_node_info.py +9 -9
- huaweicloudsdkmrs/v1/model/trigger.py +9 -9
- huaweicloudsdkmrs/v1/model/update_cluster_scaling_request.py +5 -5
- huaweicloudsdkmrs/v1/model/update_cluster_scaling_response.py +3 -3
- huaweicloudsdkmrs/v1/model/version_component.py +25 -25
- huaweicloudsdkmrs/v1/model/version_constraint.py +7 -7
- huaweicloudsdkmrs/v1/mrs_async_client.py +20 -20
- huaweicloudsdkmrs/v1/mrs_client.py +20 -20
- huaweicloudsdkmrs/v2/model/add_component_request.py +5 -5
- huaweicloudsdkmrs/v2/model/add_component_response.py +3 -3
- huaweicloudsdkmrs/v2/model/add_components_req.py +3 -3
- huaweicloudsdkmrs/v2/model/add_jobs_req_v11.py +25 -25
- huaweicloudsdkmrs/v2/model/agency_mapping.py +9 -9
- huaweicloudsdkmrs/v2/model/agency_mapping_array.py +3 -3
- huaweicloudsdkmrs/v2/model/assigned_node_group.py +5 -5
- huaweicloudsdkmrs/v2/model/auto_scaling_policy.py +13 -13
- huaweicloudsdkmrs/v2/model/auto_scaling_policy_delete_req.py +5 -5
- huaweicloudsdkmrs/v2/model/auto_scaling_policy_info.py +13 -13
- huaweicloudsdkmrs/v2/model/auto_scaling_policy_v2.py +7 -7
- huaweicloudsdkmrs/v2/model/az_flavors.py +11 -11
- huaweicloudsdkmrs/v2/model/batch_delete_jobs_request.py +5 -5
- huaweicloudsdkmrs/v2/model/batch_delete_jobs_response.py +1 -1
- huaweicloudsdkmrs/v2/model/bootstrap_script.py +21 -21
- huaweicloudsdkmrs/v2/model/cancel_sql_request.py +5 -5
- huaweicloudsdkmrs/v2/model/cancel_sql_response.py +5 -5
- huaweicloudsdkmrs/v2/model/cancel_sync_iam_user_request.py +5 -5
- huaweicloudsdkmrs/v2/model/cancel_sync_iam_user_response.py +3 -3
- huaweicloudsdkmrs/v2/model/cancel_sync_request.py +5 -5
- huaweicloudsdkmrs/v2/model/charge_info.py +9 -9
- huaweicloudsdkmrs/v2/model/cluster_data_connector_map.py +15 -15
- huaweicloudsdkmrs/v2/model/cluster_node.py +23 -23
- huaweicloudsdkmrs/v2/model/component_config.py +5 -5
- huaweicloudsdkmrs/v2/model/component_info.py +31 -31
- huaweicloudsdkmrs/v2/model/component_install_mode.py +9 -9
- huaweicloudsdkmrs/v2/model/config.py +7 -7
- huaweicloudsdkmrs/v2/model/create_auto_scaling_policy_request.py +5 -5
- huaweicloudsdkmrs/v2/model/create_auto_scaling_policy_response.py +1 -1
- huaweicloudsdkmrs/v2/model/create_cluster_req_v2.py +65 -65
- huaweicloudsdkmrs/v2/model/create_cluster_request.py +3 -3
- huaweicloudsdkmrs/v2/model/create_cluster_response.py +3 -3
- huaweicloudsdkmrs/v2/model/create_data_connector_request.py +3 -3
- huaweicloudsdkmrs/v2/model/create_data_connector_response.py +3 -3
- huaweicloudsdkmrs/v2/model/create_execute_job_request.py +5 -5
- huaweicloudsdkmrs/v2/model/create_execute_job_response.py +3 -3
- huaweicloudsdkmrs/v2/model/data_connector.py +7 -7
- huaweicloudsdkmrs/v2/model/data_connector_detail.py +27 -27
- huaweicloudsdkmrs/v2/model/data_connector_req.py +3 -3
- huaweicloudsdkmrs/v2/model/delete_auto_scaling_policy_request.py +5 -5
- huaweicloudsdkmrs/v2/model/delete_auto_scaling_policy_response.py +1 -1
- huaweicloudsdkmrs/v2/model/delete_data_connector_request.py +3 -3
- huaweicloudsdkmrs/v2/model/delete_data_connector_response.py +1 -1
- huaweicloudsdkmrs/v2/model/execute_sql_request.py +5 -5
- huaweicloudsdkmrs/v2/model/execute_sql_response.py +13 -13
- huaweicloudsdkmrs/v2/model/expand_cluster_request.py +5 -5
- huaweicloudsdkmrs/v2/model/expand_cluster_response.py +5 -5
- huaweicloudsdkmrs/v2/model/expand_param.py +9 -9
- huaweicloudsdkmrs/v2/model/file_status_v2.py +23 -23
- huaweicloudsdkmrs/v2/model/flavor.py +3 -3
- huaweicloudsdkmrs/v2/model/job_batch_delete.py +3 -3
- huaweicloudsdkmrs/v2/model/job_execution.py +9 -9
- huaweicloudsdkmrs/v2/model/job_query_bean.py +35 -35
- huaweicloudsdkmrs/v2/model/job_submit_result.py +5 -5
- huaweicloudsdkmrs/v2/model/list_data_connector_request.py +13 -13
- huaweicloudsdkmrs/v2/model/list_data_connector_response.py +5 -5
- huaweicloudsdkmrs/v2/model/list_nodes_request.py +21 -21
- huaweicloudsdkmrs/v2/model/list_nodes_response.py +5 -5
- huaweicloudsdkmrs/v2/model/modify_default_tags_request_body.py +3 -3
- huaweicloudsdkmrs/v2/model/node_detail.py +21 -21
- huaweicloudsdkmrs/v2/model/node_group_v2.py +19 -19
- huaweicloudsdkmrs/v2/model/resources_plan.py +13 -13
- huaweicloudsdkmrs/v2/model/rule.py +13 -13
- huaweicloudsdkmrs/v2/model/run_job_flow_command.py +65 -65
- huaweicloudsdkmrs/v2/model/run_job_flow_request.py +3 -3
- huaweicloudsdkmrs/v2/model/run_job_flow_response.py +3 -3
- huaweicloudsdkmrs/v2/model/scale_script.py +15 -15
- huaweicloudsdkmrs/v2/model/server_info.py +19 -19
- huaweicloudsdkmrs/v2/model/show_agency_mapping_request.py +3 -3
- huaweicloudsdkmrs/v2/model/show_agency_mapping_response.py +3 -3
- huaweicloudsdkmrs/v2/model/show_auto_scaling_policy_request.py +3 -3
- huaweicloudsdkmrs/v2/model/show_auto_scaling_policy_response.py +3 -3
- huaweicloudsdkmrs/v2/model/show_hdfs_file_list_request.py +13 -13
- huaweicloudsdkmrs/v2/model/show_hdfs_file_list_response.py +5 -5
- huaweicloudsdkmrs/v2/model/show_job_exe_list_new_request.py +27 -27
- huaweicloudsdkmrs/v2/model/show_job_exe_list_new_response.py +5 -5
- huaweicloudsdkmrs/v2/model/show_mrs_flavors_request.py +5 -5
- huaweicloudsdkmrs/v2/model/show_mrs_flavors_response.py +5 -5
- huaweicloudsdkmrs/v2/model/show_mrs_version_list_request.py +1 -1
- huaweicloudsdkmrs/v2/model/show_mrs_version_list_response.py +3 -3
- huaweicloudsdkmrs/v2/model/show_single_job_exe_request.py +5 -5
- huaweicloudsdkmrs/v2/model/show_single_job_exe_response.py +3 -3
- huaweicloudsdkmrs/v2/model/show_sql_result_request.py +5 -5
- huaweicloudsdkmrs/v2/model/show_sql_result_response.py +13 -13
- huaweicloudsdkmrs/v2/model/show_sql_result_with_job_request.py +5 -5
- huaweicloudsdkmrs/v2/model/show_sql_result_with_job_response.py +3 -3
- huaweicloudsdkmrs/v2/model/show_sync_iam_user_request.py +3 -3
- huaweicloudsdkmrs/v2/model/show_sync_iam_user_response.py +5 -5
- huaweicloudsdkmrs/v2/model/show_tag_quota_request.py +5 -5
- huaweicloudsdkmrs/v2/model/show_tag_quota_response.py +5 -5
- huaweicloudsdkmrs/v2/model/show_tag_status_request.py +3 -3
- huaweicloudsdkmrs/v2/model/show_tag_status_response.py +5 -5
- huaweicloudsdkmrs/v2/model/shrink_cluster_request.py +5 -5
- huaweicloudsdkmrs/v2/model/shrink_cluster_response.py +3 -3
- huaweicloudsdkmrs/v2/model/shrink_param.py +7 -7
- huaweicloudsdkmrs/v2/model/smn_notify.py +5 -5
- huaweicloudsdkmrs/v2/model/sql_execution_req.py +9 -9
- huaweicloudsdkmrs/v2/model/step_config.py +3 -3
- huaweicloudsdkmrs/v2/model/stop_job_request.py +5 -5
- huaweicloudsdkmrs/v2/model/stop_job_response.py +1 -1
- huaweicloudsdkmrs/v2/model/switch_cluster_tags_request.py +5 -5
- huaweicloudsdkmrs/v2/model/switch_cluster_tags_response.py +1 -1
- huaweicloudsdkmrs/v2/model/tag.py +5 -5
- huaweicloudsdkmrs/v2/model/trigger.py +9 -9
- huaweicloudsdkmrs/v2/model/update_agency_mapping_request.py +5 -5
- huaweicloudsdkmrs/v2/model/update_agency_mapping_response.py +3 -3
- huaweicloudsdkmrs/v2/model/update_auto_scaling_policy_request.py +5 -5
- huaweicloudsdkmrs/v2/model/update_auto_scaling_policy_response.py +1 -1
- huaweicloudsdkmrs/v2/model/update_cluster_name_request.py +5 -5
- huaweicloudsdkmrs/v2/model/update_cluster_name_response.py +3 -3
- huaweicloudsdkmrs/v2/model/update_cluster_req.py +3 -3
- huaweicloudsdkmrs/v2/model/update_data_connector_request.py +5 -5
- huaweicloudsdkmrs/v2/model/update_data_connector_response.py +3 -3
- huaweicloudsdkmrs/v2/model/update_sync_iam_user_request.py +5 -5
- huaweicloudsdkmrs/v2/model/update_sync_iam_user_response.py +3 -3
- huaweicloudsdkmrs/v2/model/update_sync_request.py +7 -7
- huaweicloudsdkmrs/v2/model/volume.py +5 -5
- huaweicloudsdkmrs/v2/model/volume_info.py +7 -7
- huaweicloudsdkmrs/v2/mrs_async_client.py +35 -35
- huaweicloudsdkmrs/v2/mrs_client.py +35 -35
- {huaweicloudsdkmrs-3.1.142.dist-info → huaweicloudsdkmrs-3.1.143.dist-info}/METADATA +2 -2
- huaweicloudsdkmrs-3.1.143.dist-info/RECORD +215 -0
- huaweicloudsdkmrs-3.1.142.dist-info/RECORD +0 -215
- {huaweicloudsdkmrs-3.1.142.dist-info → huaweicloudsdkmrs-3.1.143.dist-info}/LICENSE +0 -0
- {huaweicloudsdkmrs-3.1.142.dist-info → huaweicloudsdkmrs-3.1.143.dist-info}/WHEEL +0 -0
- {huaweicloudsdkmrs-3.1.142.dist-info → huaweicloudsdkmrs-3.1.143.dist-info}/top_level.txt +0 -0
@@ -87,7 +87,7 @@ class CreateClusterReqV2:
|
|
87
87
|
}
|
88
88
|
|
89
89
|
def __init__(self, is_dec_project=None, cluster_version=None, cluster_name=None, cluster_type=None, charge_info=None, region=None, vpc_name=None, subnet_id=None, subnet_name=None, components=None, external_datasources=None, availability_zone=None, security_groups_id=None, auto_create_default_security_group=None, safe_mode=None, manager_admin_password=None, login_mode=None, node_root_password=None, node_keypair_name=None, enterprise_project_id=None, eip_address=None, eip_id=None, mrs_ecs_default_agency=None, template_id=None, tags=None, log_collection=None, node_groups=None, bootstrap_scripts=None, add_jobs=None, log_uri=None, component_configs=None, smn_notify=None):
|
90
|
-
"""CreateClusterReqV2
|
90
|
+
r"""CreateClusterReqV2
|
91
91
|
|
92
92
|
The model defined in huaweicloud sdk
|
93
93
|
|
@@ -248,7 +248,7 @@ class CreateClusterReqV2:
|
|
248
248
|
|
249
249
|
@property
|
250
250
|
def is_dec_project(self):
|
251
|
-
"""Gets the is_dec_project of this CreateClusterReqV2.
|
251
|
+
r"""Gets the is_dec_project of this CreateClusterReqV2.
|
252
252
|
|
253
253
|
说明是否为专属云的资源,默认为false。
|
254
254
|
|
@@ -259,7 +259,7 @@ class CreateClusterReqV2:
|
|
259
259
|
|
260
260
|
@is_dec_project.setter
|
261
261
|
def is_dec_project(self, is_dec_project):
|
262
|
-
"""Sets the is_dec_project of this CreateClusterReqV2.
|
262
|
+
r"""Sets the is_dec_project of this CreateClusterReqV2.
|
263
263
|
|
264
264
|
说明是否为专属云的资源,默认为false。
|
265
265
|
|
@@ -270,7 +270,7 @@ class CreateClusterReqV2:
|
|
270
270
|
|
271
271
|
@property
|
272
272
|
def cluster_version(self):
|
273
|
-
"""Gets the cluster_version of this CreateClusterReqV2.
|
273
|
+
r"""Gets the cluster_version of this CreateClusterReqV2.
|
274
274
|
|
275
275
|
集群版本。例如:MRS 3.1.0。
|
276
276
|
|
@@ -281,7 +281,7 @@ class CreateClusterReqV2:
|
|
281
281
|
|
282
282
|
@cluster_version.setter
|
283
283
|
def cluster_version(self, cluster_version):
|
284
|
-
"""Sets the cluster_version of this CreateClusterReqV2.
|
284
|
+
r"""Sets the cluster_version of this CreateClusterReqV2.
|
285
285
|
|
286
286
|
集群版本。例如:MRS 3.1.0。
|
287
287
|
|
@@ -292,7 +292,7 @@ class CreateClusterReqV2:
|
|
292
292
|
|
293
293
|
@property
|
294
294
|
def cluster_name(self):
|
295
|
-
"""Gets the cluster_name of this CreateClusterReqV2.
|
295
|
+
r"""Gets the cluster_name of this CreateClusterReqV2.
|
296
296
|
|
297
297
|
集群名称,不允许相同。 只能由字母、数字、中划线和下划线组成,并且长度为1~64个字符。
|
298
298
|
|
@@ -303,7 +303,7 @@ class CreateClusterReqV2:
|
|
303
303
|
|
304
304
|
@cluster_name.setter
|
305
305
|
def cluster_name(self, cluster_name):
|
306
|
-
"""Sets the cluster_name of this CreateClusterReqV2.
|
306
|
+
r"""Sets the cluster_name of this CreateClusterReqV2.
|
307
307
|
|
308
308
|
集群名称,不允许相同。 只能由字母、数字、中划线和下划线组成,并且长度为1~64个字符。
|
309
309
|
|
@@ -314,7 +314,7 @@ class CreateClusterReqV2:
|
|
314
314
|
|
315
315
|
@property
|
316
316
|
def cluster_type(self):
|
317
|
-
"""Gets the cluster_type of this CreateClusterReqV2.
|
317
|
+
r"""Gets the cluster_type of this CreateClusterReqV2.
|
318
318
|
|
319
319
|
集群类型,取值范围: - ANALYSIS:分析集群 - STREAMING:流式集群 - MIXED:混合集群 - CUSTOM:自定义集群,仅MRS 3.x版本支持。
|
320
320
|
|
@@ -325,7 +325,7 @@ class CreateClusterReqV2:
|
|
325
325
|
|
326
326
|
@cluster_type.setter
|
327
327
|
def cluster_type(self, cluster_type):
|
328
|
-
"""Sets the cluster_type of this CreateClusterReqV2.
|
328
|
+
r"""Sets the cluster_type of this CreateClusterReqV2.
|
329
329
|
|
330
330
|
集群类型,取值范围: - ANALYSIS:分析集群 - STREAMING:流式集群 - MIXED:混合集群 - CUSTOM:自定义集群,仅MRS 3.x版本支持。
|
331
331
|
|
@@ -336,7 +336,7 @@ class CreateClusterReqV2:
|
|
336
336
|
|
337
337
|
@property
|
338
338
|
def charge_info(self):
|
339
|
-
"""Gets the charge_info of this CreateClusterReqV2.
|
339
|
+
r"""Gets the charge_info of this CreateClusterReqV2.
|
340
340
|
|
341
341
|
:return: The charge_info of this CreateClusterReqV2.
|
342
342
|
:rtype: :class:`huaweicloudsdkmrs.v2.ChargeInfo`
|
@@ -345,7 +345,7 @@ class CreateClusterReqV2:
|
|
345
345
|
|
346
346
|
@charge_info.setter
|
347
347
|
def charge_info(self, charge_info):
|
348
|
-
"""Sets the charge_info of this CreateClusterReqV2.
|
348
|
+
r"""Sets the charge_info of this CreateClusterReqV2.
|
349
349
|
|
350
350
|
:param charge_info: The charge_info of this CreateClusterReqV2.
|
351
351
|
:type charge_info: :class:`huaweicloudsdkmrs.v2.ChargeInfo`
|
@@ -354,7 +354,7 @@ class CreateClusterReqV2:
|
|
354
354
|
|
355
355
|
@property
|
356
356
|
def region(self):
|
357
|
-
"""Gets the region of this CreateClusterReqV2.
|
357
|
+
r"""Gets the region of this CreateClusterReqV2.
|
358
358
|
|
359
359
|
集群所在区域信息,请参见[终端节点](https://support.huaweicloud.com/api-mrs/mrs_02_0003.html)。
|
360
360
|
|
@@ -365,7 +365,7 @@ class CreateClusterReqV2:
|
|
365
365
|
|
366
366
|
@region.setter
|
367
367
|
def region(self, region):
|
368
|
-
"""Sets the region of this CreateClusterReqV2.
|
368
|
+
r"""Sets the region of this CreateClusterReqV2.
|
369
369
|
|
370
370
|
集群所在区域信息,请参见[终端节点](https://support.huaweicloud.com/api-mrs/mrs_02_0003.html)。
|
371
371
|
|
@@ -376,7 +376,7 @@ class CreateClusterReqV2:
|
|
376
376
|
|
377
377
|
@property
|
378
378
|
def vpc_name(self):
|
379
|
-
"""Gets the vpc_name of this CreateClusterReqV2.
|
379
|
+
r"""Gets the vpc_name of this CreateClusterReqV2.
|
380
380
|
|
381
381
|
子网所在VPC名称。 通过VPC管理控制台获取名称: 1) 登录VPC管理控制台。 2) 单击“虚拟私有云”,从左侧列表选择虚拟私有云。 在“虚拟私有云”页面的列表中即可获取VPC名称。
|
382
382
|
|
@@ -387,7 +387,7 @@ class CreateClusterReqV2:
|
|
387
387
|
|
388
388
|
@vpc_name.setter
|
389
389
|
def vpc_name(self, vpc_name):
|
390
|
-
"""Sets the vpc_name of this CreateClusterReqV2.
|
390
|
+
r"""Sets the vpc_name of this CreateClusterReqV2.
|
391
391
|
|
392
392
|
子网所在VPC名称。 通过VPC管理控制台获取名称: 1) 登录VPC管理控制台。 2) 单击“虚拟私有云”,从左侧列表选择虚拟私有云。 在“虚拟私有云”页面的列表中即可获取VPC名称。
|
393
393
|
|
@@ -398,7 +398,7 @@ class CreateClusterReqV2:
|
|
398
398
|
|
399
399
|
@property
|
400
400
|
def subnet_id(self):
|
401
|
-
"""Gets the subnet_id of this CreateClusterReqV2.
|
401
|
+
r"""Gets the subnet_id of this CreateClusterReqV2.
|
402
402
|
|
403
403
|
子网ID。通过VPC管理控制台获取子网ID: 1) 登录VPC管理控制台。 2) 单击“虚拟私有云”,从左侧列表选择虚拟私有云。 3) 单击对应虚拟私有云所在行的“子网个数”查看子网。 4) 单击对应子网名称,获取“网络ID”。 “subnet_id”和“subnet_name”必须至少填写一个,当这两个参数同时配置但是不匹配同一个子网时,集群会创建失败,请仔细填写参数。推荐使用“subnet_id”。
|
404
404
|
|
@@ -409,7 +409,7 @@ class CreateClusterReqV2:
|
|
409
409
|
|
410
410
|
@subnet_id.setter
|
411
411
|
def subnet_id(self, subnet_id):
|
412
|
-
"""Sets the subnet_id of this CreateClusterReqV2.
|
412
|
+
r"""Sets the subnet_id of this CreateClusterReqV2.
|
413
413
|
|
414
414
|
子网ID。通过VPC管理控制台获取子网ID: 1) 登录VPC管理控制台。 2) 单击“虚拟私有云”,从左侧列表选择虚拟私有云。 3) 单击对应虚拟私有云所在行的“子网个数”查看子网。 4) 单击对应子网名称,获取“网络ID”。 “subnet_id”和“subnet_name”必须至少填写一个,当这两个参数同时配置但是不匹配同一个子网时,集群会创建失败,请仔细填写参数。推荐使用“subnet_id”。
|
415
415
|
|
@@ -420,7 +420,7 @@ class CreateClusterReqV2:
|
|
420
420
|
|
421
421
|
@property
|
422
422
|
def subnet_name(self):
|
423
|
-
"""Gets the subnet_name of this CreateClusterReqV2.
|
423
|
+
r"""Gets the subnet_name of this CreateClusterReqV2.
|
424
424
|
|
425
425
|
子网名称。 通过VPC管理控制台获取子网名称: 1) 登录管理控制台。 2) 单击“虚拟私有云”,从左侧列表选择虚拟私有云。 3) 单击对应虚拟私有云所在行的“子网个数”查看子网,获取子网名称。 “subnet_id”和“subnet_name”必须至少填写一个,当这两个参数同时配置但是不匹配同一个子网时,集群会创建失败,请仔细填写参数。当仅填写“subnet_name”一个参数且VPC下存在同名子网时,创建集群时以VPC平台第一个名称的子网为准。推荐使用“subnet_id”。
|
426
426
|
|
@@ -431,7 +431,7 @@ class CreateClusterReqV2:
|
|
431
431
|
|
432
432
|
@subnet_name.setter
|
433
433
|
def subnet_name(self, subnet_name):
|
434
|
-
"""Sets the subnet_name of this CreateClusterReqV2.
|
434
|
+
r"""Sets the subnet_name of this CreateClusterReqV2.
|
435
435
|
|
436
436
|
子网名称。 通过VPC管理控制台获取子网名称: 1) 登录管理控制台。 2) 单击“虚拟私有云”,从左侧列表选择虚拟私有云。 3) 单击对应虚拟私有云所在行的“子网个数”查看子网,获取子网名称。 “subnet_id”和“subnet_name”必须至少填写一个,当这两个参数同时配置但是不匹配同一个子网时,集群会创建失败,请仔细填写参数。当仅填写“subnet_name”一个参数且VPC下存在同名子网时,创建集群时以VPC平台第一个名称的子网为准。推荐使用“subnet_id”。
|
437
437
|
|
@@ -442,7 +442,7 @@ class CreateClusterReqV2:
|
|
442
442
|
|
443
443
|
@property
|
444
444
|
def components(self):
|
445
|
-
"""Gets the components of this CreateClusterReqV2.
|
445
|
+
r"""Gets the components of this CreateClusterReqV2.
|
446
446
|
|
447
447
|
组件名称列表,用逗号分隔。支持的组件请参见[获取MRS集群信息](https://support.huaweicloud.com/api-mrs/mrs_02_9001.html)页面的“MRS服务支持的组件”内容。
|
448
448
|
|
@@ -453,7 +453,7 @@ class CreateClusterReqV2:
|
|
453
453
|
|
454
454
|
@components.setter
|
455
455
|
def components(self, components):
|
456
|
-
"""Sets the components of this CreateClusterReqV2.
|
456
|
+
r"""Sets the components of this CreateClusterReqV2.
|
457
457
|
|
458
458
|
组件名称列表,用逗号分隔。支持的组件请参见[获取MRS集群信息](https://support.huaweicloud.com/api-mrs/mrs_02_9001.html)页面的“MRS服务支持的组件”内容。
|
459
459
|
|
@@ -464,7 +464,7 @@ class CreateClusterReqV2:
|
|
464
464
|
|
465
465
|
@property
|
466
466
|
def external_datasources(self):
|
467
|
-
"""Gets the external_datasources of this CreateClusterReqV2.
|
467
|
+
r"""Gets the external_datasources of this CreateClusterReqV2.
|
468
468
|
|
469
469
|
部署Hive和Ranger等组件时,可以关联数据连接,将元数据存储于关联的数据库
|
470
470
|
|
@@ -475,7 +475,7 @@ class CreateClusterReqV2:
|
|
475
475
|
|
476
476
|
@external_datasources.setter
|
477
477
|
def external_datasources(self, external_datasources):
|
478
|
-
"""Sets the external_datasources of this CreateClusterReqV2.
|
478
|
+
r"""Sets the external_datasources of this CreateClusterReqV2.
|
479
479
|
|
480
480
|
部署Hive和Ranger等组件时,可以关联数据连接,将元数据存储于关联的数据库
|
481
481
|
|
@@ -486,7 +486,7 @@ class CreateClusterReqV2:
|
|
486
486
|
|
487
487
|
@property
|
488
488
|
def availability_zone(self):
|
489
|
-
"""Gets the availability_zone of this CreateClusterReqV2.
|
489
|
+
r"""Gets the availability_zone of this CreateClusterReqV2.
|
490
490
|
|
491
491
|
可用分区名称,不支持多AZ集群。 可用分区信息请参见[终端节点](https://support.huaweicloud.com/api-mrs/mrs_02_0003.html)。
|
492
492
|
|
@@ -497,7 +497,7 @@ class CreateClusterReqV2:
|
|
497
497
|
|
498
498
|
@availability_zone.setter
|
499
499
|
def availability_zone(self, availability_zone):
|
500
|
-
"""Sets the availability_zone of this CreateClusterReqV2.
|
500
|
+
r"""Sets the availability_zone of this CreateClusterReqV2.
|
501
501
|
|
502
502
|
可用分区名称,不支持多AZ集群。 可用分区信息请参见[终端节点](https://support.huaweicloud.com/api-mrs/mrs_02_0003.html)。
|
503
503
|
|
@@ -508,7 +508,7 @@ class CreateClusterReqV2:
|
|
508
508
|
|
509
509
|
@property
|
510
510
|
def security_groups_id(self):
|
511
|
-
"""Gets the security_groups_id of this CreateClusterReqV2.
|
511
|
+
r"""Gets the security_groups_id of this CreateClusterReqV2.
|
512
512
|
|
513
513
|
集群安全组的ID。 - 当该ID为空时MRS后台会自动创建安全组,自动创建的安全组名称以mrs_{cluster_name}开头。 - 当该ID不为空时,表示使用固定安全组来创建集群,传入的ID必须是当前租户中包含的安全组ID,且该安全组中需要包含一条支持全部协议、全部端口、源地址为指定的管理面节点IP的入方向规则。 - 支持多个安全组ID,以逗号分隔。
|
514
514
|
|
@@ -519,7 +519,7 @@ class CreateClusterReqV2:
|
|
519
519
|
|
520
520
|
@security_groups_id.setter
|
521
521
|
def security_groups_id(self, security_groups_id):
|
522
|
-
"""Sets the security_groups_id of this CreateClusterReqV2.
|
522
|
+
r"""Sets the security_groups_id of this CreateClusterReqV2.
|
523
523
|
|
524
524
|
集群安全组的ID。 - 当该ID为空时MRS后台会自动创建安全组,自动创建的安全组名称以mrs_{cluster_name}开头。 - 当该ID不为空时,表示使用固定安全组来创建集群,传入的ID必须是当前租户中包含的安全组ID,且该安全组中需要包含一条支持全部协议、全部端口、源地址为指定的管理面节点IP的入方向规则。 - 支持多个安全组ID,以逗号分隔。
|
525
525
|
|
@@ -530,7 +530,7 @@ class CreateClusterReqV2:
|
|
530
530
|
|
531
531
|
@property
|
532
532
|
def auto_create_default_security_group(self):
|
533
|
-
"""Gets the auto_create_default_security_group of this CreateClusterReqV2.
|
533
|
+
r"""Gets the auto_create_default_security_group of this CreateClusterReqV2.
|
534
534
|
|
535
535
|
是否要创建MRS集群默认安全组,默认为false。 当指定该参数为true,则无论“security_groups_id”参数是否指定,都会为集群创建默认安全组。
|
536
536
|
|
@@ -541,7 +541,7 @@ class CreateClusterReqV2:
|
|
541
541
|
|
542
542
|
@auto_create_default_security_group.setter
|
543
543
|
def auto_create_default_security_group(self, auto_create_default_security_group):
|
544
|
-
"""Sets the auto_create_default_security_group of this CreateClusterReqV2.
|
544
|
+
r"""Sets the auto_create_default_security_group of this CreateClusterReqV2.
|
545
545
|
|
546
546
|
是否要创建MRS集群默认安全组,默认为false。 当指定该参数为true,则无论“security_groups_id”参数是否指定,都会为集群创建默认安全组。
|
547
547
|
|
@@ -552,7 +552,7 @@ class CreateClusterReqV2:
|
|
552
552
|
|
553
553
|
@property
|
554
554
|
def safe_mode(self):
|
555
|
-
"""Gets the safe_mode of this CreateClusterReqV2.
|
555
|
+
r"""Gets the safe_mode of this CreateClusterReqV2.
|
556
556
|
|
557
557
|
MRS集群运行模式。 - SIMPLE:普通集群,表示Kerberos认证关闭,用户可使用集群提供的所有功能。 - KERBEROS:安全集群,表示Kerberos认证开启,普通用户无权限使用MRS集群的“文件管理”和“作业管理”功能,并且无法查看Hadoop、Spark的作业记录以及集群资源使用情况。如果需要使用集群更多功能,需要找Manager的管理员分配权限。
|
558
558
|
|
@@ -563,7 +563,7 @@ class CreateClusterReqV2:
|
|
563
563
|
|
564
564
|
@safe_mode.setter
|
565
565
|
def safe_mode(self, safe_mode):
|
566
|
-
"""Sets the safe_mode of this CreateClusterReqV2.
|
566
|
+
r"""Sets the safe_mode of this CreateClusterReqV2.
|
567
567
|
|
568
568
|
MRS集群运行模式。 - SIMPLE:普通集群,表示Kerberos认证关闭,用户可使用集群提供的所有功能。 - KERBEROS:安全集群,表示Kerberos认证开启,普通用户无权限使用MRS集群的“文件管理”和“作业管理”功能,并且无法查看Hadoop、Spark的作业记录以及集群资源使用情况。如果需要使用集群更多功能,需要找Manager的管理员分配权限。
|
569
569
|
|
@@ -574,7 +574,7 @@ class CreateClusterReqV2:
|
|
574
574
|
|
575
575
|
@property
|
576
576
|
def manager_admin_password(self):
|
577
|
-
"""Gets the manager_admin_password of this CreateClusterReqV2.
|
577
|
+
r"""Gets the manager_admin_password of this CreateClusterReqV2.
|
578
578
|
|
579
579
|
配置Manager管理员用户的密码。 - 密码长度应在8~26个字符之间。 - 至少包含四种字符组合,如大写字母,小写字母,数字,特殊字符(!@$%^-_=+[{}]:,./?),但不能包含空格。 - 不能与用户名或者倒序用户名相同。
|
580
580
|
|
@@ -585,7 +585,7 @@ class CreateClusterReqV2:
|
|
585
585
|
|
586
586
|
@manager_admin_password.setter
|
587
587
|
def manager_admin_password(self, manager_admin_password):
|
588
|
-
"""Sets the manager_admin_password of this CreateClusterReqV2.
|
588
|
+
r"""Sets the manager_admin_password of this CreateClusterReqV2.
|
589
589
|
|
590
590
|
配置Manager管理员用户的密码。 - 密码长度应在8~26个字符之间。 - 至少包含四种字符组合,如大写字母,小写字母,数字,特殊字符(!@$%^-_=+[{}]:,./?),但不能包含空格。 - 不能与用户名或者倒序用户名相同。
|
591
591
|
|
@@ -596,7 +596,7 @@ class CreateClusterReqV2:
|
|
596
596
|
|
597
597
|
@property
|
598
598
|
def login_mode(self):
|
599
|
-
"""Gets the login_mode of this CreateClusterReqV2.
|
599
|
+
r"""Gets the login_mode of this CreateClusterReqV2.
|
600
600
|
|
601
601
|
节点登录方式。 - PASSWORD:密码登录,选择此项时,node_root_password不能为空。 - KEYPAIR:密钥对登录,选择此项时,node_keypair_name不能为空。
|
602
602
|
|
@@ -607,7 +607,7 @@ class CreateClusterReqV2:
|
|
607
607
|
|
608
608
|
@login_mode.setter
|
609
609
|
def login_mode(self, login_mode):
|
610
|
-
"""Sets the login_mode of this CreateClusterReqV2.
|
610
|
+
r"""Sets the login_mode of this CreateClusterReqV2.
|
611
611
|
|
612
612
|
节点登录方式。 - PASSWORD:密码登录,选择此项时,node_root_password不能为空。 - KEYPAIR:密钥对登录,选择此项时,node_keypair_name不能为空。
|
613
613
|
|
@@ -618,7 +618,7 @@ class CreateClusterReqV2:
|
|
618
618
|
|
619
619
|
@property
|
620
620
|
def node_root_password(self):
|
621
|
-
"""Gets the node_root_password of this CreateClusterReqV2.
|
621
|
+
r"""Gets the node_root_password of this CreateClusterReqV2.
|
622
622
|
|
623
623
|
配置访问集群节点的root密码。 密码设置约束如下: - 字符串类型,可输入的字符串长度为8-26。 - 至少包含四种字符组合,如大写字母,小写字母,数字,特殊字符(!@$%^-_=+[{}]:,./?),但不能包含空格。 - 不能与用户名或者倒序用户名相同。
|
624
624
|
|
@@ -629,7 +629,7 @@ class CreateClusterReqV2:
|
|
629
629
|
|
630
630
|
@node_root_password.setter
|
631
631
|
def node_root_password(self, node_root_password):
|
632
|
-
"""Sets the node_root_password of this CreateClusterReqV2.
|
632
|
+
r"""Sets the node_root_password of this CreateClusterReqV2.
|
633
633
|
|
634
634
|
配置访问集群节点的root密码。 密码设置约束如下: - 字符串类型,可输入的字符串长度为8-26。 - 至少包含四种字符组合,如大写字母,小写字母,数字,特殊字符(!@$%^-_=+[{}]:,./?),但不能包含空格。 - 不能与用户名或者倒序用户名相同。
|
635
635
|
|
@@ -640,7 +640,7 @@ class CreateClusterReqV2:
|
|
640
640
|
|
641
641
|
@property
|
642
642
|
def node_keypair_name(self):
|
643
|
-
"""Gets the node_keypair_name of this CreateClusterReqV2.
|
643
|
+
r"""Gets the node_keypair_name of this CreateClusterReqV2.
|
644
644
|
|
645
645
|
密钥对名称。用户可以使用密钥对方式登录集群节点。
|
646
646
|
|
@@ -651,7 +651,7 @@ class CreateClusterReqV2:
|
|
651
651
|
|
652
652
|
@node_keypair_name.setter
|
653
653
|
def node_keypair_name(self, node_keypair_name):
|
654
|
-
"""Sets the node_keypair_name of this CreateClusterReqV2.
|
654
|
+
r"""Sets the node_keypair_name of this CreateClusterReqV2.
|
655
655
|
|
656
656
|
密钥对名称。用户可以使用密钥对方式登录集群节点。
|
657
657
|
|
@@ -662,7 +662,7 @@ class CreateClusterReqV2:
|
|
662
662
|
|
663
663
|
@property
|
664
664
|
def enterprise_project_id(self):
|
665
|
-
"""Gets the enterprise_project_id of this CreateClusterReqV2.
|
665
|
+
r"""Gets the enterprise_project_id of this CreateClusterReqV2.
|
666
666
|
|
667
667
|
企业项目ID。 创建集群时,给集群绑定企业项目ID。 默认设置为0,表示为default企业项目。 获取方式请参见《企业管理API参考》的“查询企业项目列表”响应消息表“enterprise_project字段数据结构说明”的“id”。
|
668
668
|
|
@@ -673,7 +673,7 @@ class CreateClusterReqV2:
|
|
673
673
|
|
674
674
|
@enterprise_project_id.setter
|
675
675
|
def enterprise_project_id(self, enterprise_project_id):
|
676
|
-
"""Sets the enterprise_project_id of this CreateClusterReqV2.
|
676
|
+
r"""Sets the enterprise_project_id of this CreateClusterReqV2.
|
677
677
|
|
678
678
|
企业项目ID。 创建集群时,给集群绑定企业项目ID。 默认设置为0,表示为default企业项目。 获取方式请参见《企业管理API参考》的“查询企业项目列表”响应消息表“enterprise_project字段数据结构说明”的“id”。
|
679
679
|
|
@@ -684,7 +684,7 @@ class CreateClusterReqV2:
|
|
684
684
|
|
685
685
|
@property
|
686
686
|
def eip_address(self):
|
687
|
-
"""Gets the eip_address of this CreateClusterReqV2.
|
687
|
+
r"""Gets the eip_address of this CreateClusterReqV2.
|
688
688
|
|
689
689
|
与MRS集群绑定的弹性公网IP,可实现使用弹性公网IP访问Manager的目的。该弹性公网IP必须已经创建且与集群在同一区域。
|
690
690
|
|
@@ -695,7 +695,7 @@ class CreateClusterReqV2:
|
|
695
695
|
|
696
696
|
@eip_address.setter
|
697
697
|
def eip_address(self, eip_address):
|
698
|
-
"""Sets the eip_address of this CreateClusterReqV2.
|
698
|
+
r"""Sets the eip_address of this CreateClusterReqV2.
|
699
699
|
|
700
700
|
与MRS集群绑定的弹性公网IP,可实现使用弹性公网IP访问Manager的目的。该弹性公网IP必须已经创建且与集群在同一区域。
|
701
701
|
|
@@ -706,7 +706,7 @@ class CreateClusterReqV2:
|
|
706
706
|
|
707
707
|
@property
|
708
708
|
def eip_id(self):
|
709
|
-
"""Gets the eip_id of this CreateClusterReqV2.
|
709
|
+
r"""Gets the eip_id of this CreateClusterReqV2.
|
710
710
|
|
711
711
|
当“eip_address”配置时,该参数必须配置,用于表示绑定的弹性公网IP的ID。可通过在VPC服务的“网络控制台 > 弹性公网IP和带宽 > 弹性公网IP”页面单击待绑定的弹性公网IP,在基本信息中获取“ID”。
|
712
712
|
|
@@ -717,7 +717,7 @@ class CreateClusterReqV2:
|
|
717
717
|
|
718
718
|
@eip_id.setter
|
719
719
|
def eip_id(self, eip_id):
|
720
|
-
"""Sets the eip_id of this CreateClusterReqV2.
|
720
|
+
r"""Sets the eip_id of this CreateClusterReqV2.
|
721
721
|
|
722
722
|
当“eip_address”配置时,该参数必须配置,用于表示绑定的弹性公网IP的ID。可通过在VPC服务的“网络控制台 > 弹性公网IP和带宽 > 弹性公网IP”页面单击待绑定的弹性公网IP,在基本信息中获取“ID”。
|
723
723
|
|
@@ -728,7 +728,7 @@ class CreateClusterReqV2:
|
|
728
728
|
|
729
729
|
@property
|
730
730
|
def mrs_ecs_default_agency(self):
|
731
|
-
"""Gets the mrs_ecs_default_agency of this CreateClusterReqV2.
|
731
|
+
r"""Gets the mrs_ecs_default_agency of this CreateClusterReqV2.
|
732
732
|
|
733
733
|
集群节点默认绑定的委托名称,固定为MRS_ECS_DEFAULT_AGENCY。 通过绑定委托,您可以将部分资源共享给ECS或BMS云服务来管理,例如通过配置ECS委托可自动获取AK/SK访问OBS。 MRS_ECS_DEFAULT_AGENCY委托拥有对象存储服务的OBS OperateAccess权限和在集群所在区域拥有CES FullAccess(对开启细粒度策略的用户)、CES Administrator和KMS Administrator权限。
|
734
734
|
|
@@ -739,7 +739,7 @@ class CreateClusterReqV2:
|
|
739
739
|
|
740
740
|
@mrs_ecs_default_agency.setter
|
741
741
|
def mrs_ecs_default_agency(self, mrs_ecs_default_agency):
|
742
|
-
"""Sets the mrs_ecs_default_agency of this CreateClusterReqV2.
|
742
|
+
r"""Sets the mrs_ecs_default_agency of this CreateClusterReqV2.
|
743
743
|
|
744
744
|
集群节点默认绑定的委托名称,固定为MRS_ECS_DEFAULT_AGENCY。 通过绑定委托,您可以将部分资源共享给ECS或BMS云服务来管理,例如通过配置ECS委托可自动获取AK/SK访问OBS。 MRS_ECS_DEFAULT_AGENCY委托拥有对象存储服务的OBS OperateAccess权限和在集群所在区域拥有CES FullAccess(对开启细粒度策略的用户)、CES Administrator和KMS Administrator权限。
|
745
745
|
|
@@ -750,7 +750,7 @@ class CreateClusterReqV2:
|
|
750
750
|
|
751
751
|
@property
|
752
752
|
def template_id(self):
|
753
|
-
"""Gets the template_id of this CreateClusterReqV2.
|
753
|
+
r"""Gets the template_id of this CreateClusterReqV2.
|
754
754
|
|
755
755
|
当集群类型为CUSTOM时,用于指定节点部署所使用的模板。 - mgmt_control_combined_v2:管控合设模板,管理角色和控制角色共同部署在Master节点中,数据实例合设在同一节点组。该部署方式适用于100个以下的节点,可以减少成本。 - mgmt_control_separated_v2:管控分设模板,管理角色和控制角色分别部署在不同的Master节点中,数据实例合设在同一节点组。该部署方式适用于100-500个节点,在高并发负载情况下表现更好。 - mgmt_control_data_separated_v2:数据分设模板,管理角色和控制角色分别部署在不同的Master节点中,数据实例分设在不同节点组。该部署方式适用于500个以上的节点,可以将各组件进一步分开部署,适用于更大的集群规模。
|
756
756
|
|
@@ -761,7 +761,7 @@ class CreateClusterReqV2:
|
|
761
761
|
|
762
762
|
@template_id.setter
|
763
763
|
def template_id(self, template_id):
|
764
|
-
"""Sets the template_id of this CreateClusterReqV2.
|
764
|
+
r"""Sets the template_id of this CreateClusterReqV2.
|
765
765
|
|
766
766
|
当集群类型为CUSTOM时,用于指定节点部署所使用的模板。 - mgmt_control_combined_v2:管控合设模板,管理角色和控制角色共同部署在Master节点中,数据实例合设在同一节点组。该部署方式适用于100个以下的节点,可以减少成本。 - mgmt_control_separated_v2:管控分设模板,管理角色和控制角色分别部署在不同的Master节点中,数据实例合设在同一节点组。该部署方式适用于100-500个节点,在高并发负载情况下表现更好。 - mgmt_control_data_separated_v2:数据分设模板,管理角色和控制角色分别部署在不同的Master节点中,数据实例分设在不同节点组。该部署方式适用于500个以上的节点,可以将各组件进一步分开部署,适用于更大的集群规模。
|
767
767
|
|
@@ -772,7 +772,7 @@ class CreateClusterReqV2:
|
|
772
772
|
|
773
773
|
@property
|
774
774
|
def tags(self):
|
775
|
-
"""Gets the tags of this CreateClusterReqV2.
|
775
|
+
r"""Gets the tags of this CreateClusterReqV2.
|
776
776
|
|
777
777
|
集群的标签信息。 同一个集群最多能使用10个tag,tag的名称(key)不能重复。
|
778
778
|
|
@@ -783,7 +783,7 @@ class CreateClusterReqV2:
|
|
783
783
|
|
784
784
|
@tags.setter
|
785
785
|
def tags(self, tags):
|
786
|
-
"""Sets the tags of this CreateClusterReqV2.
|
786
|
+
r"""Sets the tags of this CreateClusterReqV2.
|
787
787
|
|
788
788
|
集群的标签信息。 同一个集群最多能使用10个tag,tag的名称(key)不能重复。
|
789
789
|
|
@@ -794,7 +794,7 @@ class CreateClusterReqV2:
|
|
794
794
|
|
795
795
|
@property
|
796
796
|
def log_collection(self):
|
797
|
-
"""Gets the log_collection of this CreateClusterReqV2.
|
797
|
+
r"""Gets the log_collection of this CreateClusterReqV2.
|
798
798
|
|
799
799
|
集群创建失败时,是否收集失败日志。 默认设置为1,此时将创建OBS桶仅用于MRS集群创建失败时的日志收集。 枚举值: - 0:不收集 - 1:收集
|
800
800
|
|
@@ -805,7 +805,7 @@ class CreateClusterReqV2:
|
|
805
805
|
|
806
806
|
@log_collection.setter
|
807
807
|
def log_collection(self, log_collection):
|
808
|
-
"""Sets the log_collection of this CreateClusterReqV2.
|
808
|
+
r"""Sets the log_collection of this CreateClusterReqV2.
|
809
809
|
|
810
810
|
集群创建失败时,是否收集失败日志。 默认设置为1,此时将创建OBS桶仅用于MRS集群创建失败时的日志收集。 枚举值: - 0:不收集 - 1:收集
|
811
811
|
|
@@ -816,7 +816,7 @@ class CreateClusterReqV2:
|
|
816
816
|
|
817
817
|
@property
|
818
818
|
def node_groups(self):
|
819
|
-
"""Gets the node_groups of this CreateClusterReqV2.
|
819
|
+
r"""Gets the node_groups of this CreateClusterReqV2.
|
820
820
|
|
821
821
|
组成集群的节点组信息。
|
822
822
|
|
@@ -827,7 +827,7 @@ class CreateClusterReqV2:
|
|
827
827
|
|
828
828
|
@node_groups.setter
|
829
829
|
def node_groups(self, node_groups):
|
830
|
-
"""Sets the node_groups of this CreateClusterReqV2.
|
830
|
+
r"""Sets the node_groups of this CreateClusterReqV2.
|
831
831
|
|
832
832
|
组成集群的节点组信息。
|
833
833
|
|
@@ -838,7 +838,7 @@ class CreateClusterReqV2:
|
|
838
838
|
|
839
839
|
@property
|
840
840
|
def bootstrap_scripts(self):
|
841
|
-
"""Gets the bootstrap_scripts of this CreateClusterReqV2.
|
841
|
+
r"""Gets the bootstrap_scripts of this CreateClusterReqV2.
|
842
842
|
|
843
843
|
配置引导操作脚本信息。
|
844
844
|
|
@@ -849,7 +849,7 @@ class CreateClusterReqV2:
|
|
849
849
|
|
850
850
|
@bootstrap_scripts.setter
|
851
851
|
def bootstrap_scripts(self, bootstrap_scripts):
|
852
|
-
"""Sets the bootstrap_scripts of this CreateClusterReqV2.
|
852
|
+
r"""Sets the bootstrap_scripts of this CreateClusterReqV2.
|
853
853
|
|
854
854
|
配置引导操作脚本信息。
|
855
855
|
|
@@ -860,7 +860,7 @@ class CreateClusterReqV2:
|
|
860
860
|
|
861
861
|
@property
|
862
862
|
def add_jobs(self):
|
863
|
-
"""Gets the add_jobs of this CreateClusterReqV2.
|
863
|
+
r"""Gets the add_jobs of this CreateClusterReqV2.
|
864
864
|
|
865
865
|
创建集群时可同时提交作业,当前仅MRS1.8.7之前版本支持,暂时只支持新增一个作业。建议使用创建集群并提交作业接口RunJobFlow的steps参数
|
866
866
|
|
@@ -871,7 +871,7 @@ class CreateClusterReqV2:
|
|
871
871
|
|
872
872
|
@add_jobs.setter
|
873
873
|
def add_jobs(self, add_jobs):
|
874
|
-
"""Sets the add_jobs of this CreateClusterReqV2.
|
874
|
+
r"""Sets the add_jobs of this CreateClusterReqV2.
|
875
875
|
|
876
876
|
创建集群时可同时提交作业,当前仅MRS1.8.7之前版本支持,暂时只支持新增一个作业。建议使用创建集群并提交作业接口RunJobFlow的steps参数
|
877
877
|
|
@@ -882,7 +882,7 @@ class CreateClusterReqV2:
|
|
882
882
|
|
883
883
|
@property
|
884
884
|
def log_uri(self):
|
885
|
-
"""Gets the log_uri of this CreateClusterReqV2.
|
885
|
+
r"""Gets the log_uri of this CreateClusterReqV2.
|
886
886
|
|
887
887
|
集群日志转储至OBS的具体路径。 开启日志转储功能后,日志上传需要对应OBS路径的读写权限, 请配置MRS_ECS_DEFULT_AGENCY默认委托或具有对应OBS路径读写权限的自定义委托。 具体请参见[配置存算分离集群(委托方式)](https://support.huaweicloud.com/usermanual-mrs/mrs_01_0768.html)。 该参数只适用于支持“集群日志转储OBS”特性的集群版本。
|
888
888
|
|
@@ -893,7 +893,7 @@ class CreateClusterReqV2:
|
|
893
893
|
|
894
894
|
@log_uri.setter
|
895
895
|
def log_uri(self, log_uri):
|
896
|
-
"""Sets the log_uri of this CreateClusterReqV2.
|
896
|
+
r"""Sets the log_uri of this CreateClusterReqV2.
|
897
897
|
|
898
898
|
集群日志转储至OBS的具体路径。 开启日志转储功能后,日志上传需要对应OBS路径的读写权限, 请配置MRS_ECS_DEFULT_AGENCY默认委托或具有对应OBS路径读写权限的自定义委托。 具体请参见[配置存算分离集群(委托方式)](https://support.huaweicloud.com/usermanual-mrs/mrs_01_0768.html)。 该参数只适用于支持“集群日志转储OBS”特性的集群版本。
|
899
899
|
|
@@ -904,7 +904,7 @@ class CreateClusterReqV2:
|
|
904
904
|
|
905
905
|
@property
|
906
906
|
def component_configs(self):
|
907
|
-
"""Gets the component_configs of this CreateClusterReqV2.
|
907
|
+
r"""Gets the component_configs of this CreateClusterReqV2.
|
908
908
|
|
909
909
|
集群组件自定义配置。 该参数只适用于支持“自定义组件配置创建集群”特性的集群版本。
|
910
910
|
|
@@ -915,7 +915,7 @@ class CreateClusterReqV2:
|
|
915
915
|
|
916
916
|
@component_configs.setter
|
917
917
|
def component_configs(self, component_configs):
|
918
|
-
"""Sets the component_configs of this CreateClusterReqV2.
|
918
|
+
r"""Sets the component_configs of this CreateClusterReqV2.
|
919
919
|
|
920
920
|
集群组件自定义配置。 该参数只适用于支持“自定义组件配置创建集群”特性的集群版本。
|
921
921
|
|
@@ -926,7 +926,7 @@ class CreateClusterReqV2:
|
|
926
926
|
|
927
927
|
@property
|
928
928
|
def smn_notify(self):
|
929
|
-
"""Gets the smn_notify of this CreateClusterReqV2.
|
929
|
+
r"""Gets the smn_notify of this CreateClusterReqV2.
|
930
930
|
|
931
931
|
:return: The smn_notify of this CreateClusterReqV2.
|
932
932
|
:rtype: :class:`huaweicloudsdkmrs.v2.SmnNotify`
|
@@ -935,7 +935,7 @@ class CreateClusterReqV2:
|
|
935
935
|
|
936
936
|
@smn_notify.setter
|
937
937
|
def smn_notify(self, smn_notify):
|
938
|
-
"""Sets the smn_notify of this CreateClusterReqV2.
|
938
|
+
r"""Sets the smn_notify of this CreateClusterReqV2.
|
939
939
|
|
940
940
|
:param smn_notify: The smn_notify of this CreateClusterReqV2.
|
941
941
|
:type smn_notify: :class:`huaweicloudsdkmrs.v2.SmnNotify`
|
@@ -25,7 +25,7 @@ class CreateClusterRequest:
|
|
25
25
|
}
|
26
26
|
|
27
27
|
def __init__(self, body=None):
|
28
|
-
"""CreateClusterRequest
|
28
|
+
r"""CreateClusterRequest
|
29
29
|
|
30
30
|
The model defined in huaweicloud sdk
|
31
31
|
|
@@ -43,7 +43,7 @@ class CreateClusterRequest:
|
|
43
43
|
|
44
44
|
@property
|
45
45
|
def body(self):
|
46
|
-
"""Gets the body of this CreateClusterRequest.
|
46
|
+
r"""Gets the body of this CreateClusterRequest.
|
47
47
|
|
48
48
|
:return: The body of this CreateClusterRequest.
|
49
49
|
:rtype: :class:`huaweicloudsdkmrs.v2.CreateClusterReqV2`
|
@@ -52,7 +52,7 @@ class CreateClusterRequest:
|
|
52
52
|
|
53
53
|
@body.setter
|
54
54
|
def body(self, body):
|
55
|
-
"""Sets the body of this CreateClusterRequest.
|
55
|
+
r"""Sets the body of this CreateClusterRequest.
|
56
56
|
|
57
57
|
:param body: The body of this CreateClusterRequest.
|
58
58
|
:type body: :class:`huaweicloudsdkmrs.v2.CreateClusterReqV2`
|
@@ -26,7 +26,7 @@ class CreateClusterResponse(SdkResponse):
|
|
26
26
|
}
|
27
27
|
|
28
28
|
def __init__(self, cluster_id=None):
|
29
|
-
"""CreateClusterResponse
|
29
|
+
r"""CreateClusterResponse
|
30
30
|
|
31
31
|
The model defined in huaweicloud sdk
|
32
32
|
|
@@ -44,7 +44,7 @@ class CreateClusterResponse(SdkResponse):
|
|
44
44
|
|
45
45
|
@property
|
46
46
|
def cluster_id(self):
|
47
|
-
"""Gets the cluster_id of this CreateClusterResponse.
|
47
|
+
r"""Gets the cluster_id of this CreateClusterResponse.
|
48
48
|
|
49
49
|
集群创建成功后系统返回的集群ID值。
|
50
50
|
|
@@ -55,7 +55,7 @@ class CreateClusterResponse(SdkResponse):
|
|
55
55
|
|
56
56
|
@cluster_id.setter
|
57
57
|
def cluster_id(self, cluster_id):
|
58
|
-
"""Sets the cluster_id of this CreateClusterResponse.
|
58
|
+
r"""Sets the cluster_id of this CreateClusterResponse.
|
59
59
|
|
60
60
|
集群创建成功后系统返回的集群ID值。
|
61
61
|
|
@@ -25,7 +25,7 @@ class CreateDataConnectorRequest:
|
|
25
25
|
}
|
26
26
|
|
27
27
|
def __init__(self, body=None):
|
28
|
-
"""CreateDataConnectorRequest
|
28
|
+
r"""CreateDataConnectorRequest
|
29
29
|
|
30
30
|
The model defined in huaweicloud sdk
|
31
31
|
|
@@ -43,7 +43,7 @@ class CreateDataConnectorRequest:
|
|
43
43
|
|
44
44
|
@property
|
45
45
|
def body(self):
|
46
|
-
"""Gets the body of this CreateDataConnectorRequest.
|
46
|
+
r"""Gets the body of this CreateDataConnectorRequest.
|
47
47
|
|
48
48
|
:return: The body of this CreateDataConnectorRequest.
|
49
49
|
:rtype: :class:`huaweicloudsdkmrs.v2.DataConnectorReq`
|
@@ -52,7 +52,7 @@ class CreateDataConnectorRequest:
|
|
52
52
|
|
53
53
|
@body.setter
|
54
54
|
def body(self, body):
|
55
|
-
"""Sets the body of this CreateDataConnectorRequest.
|
55
|
+
r"""Sets the body of this CreateDataConnectorRequest.
|
56
56
|
|
57
57
|
:param body: The body of this CreateDataConnectorRequest.
|
58
58
|
:type body: :class:`huaweicloudsdkmrs.v2.DataConnectorReq`
|