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
@@ -28,7 +28,7 @@ class ListNodesResponse(SdkResponse):
|
|
28
28
|
}
|
29
29
|
|
30
30
|
def __init__(self, nodes=None, node_total=None):
|
31
|
-
"""ListNodesResponse
|
31
|
+
r"""ListNodesResponse
|
32
32
|
|
33
33
|
The model defined in huaweicloud sdk
|
34
34
|
|
@@ -51,7 +51,7 @@ class ListNodesResponse(SdkResponse):
|
|
51
51
|
|
52
52
|
@property
|
53
53
|
def nodes(self):
|
54
|
-
"""Gets the nodes of this ListNodesResponse.
|
54
|
+
r"""Gets the nodes of this ListNodesResponse.
|
55
55
|
|
56
56
|
节点列表。
|
57
57
|
|
@@ -62,7 +62,7 @@ class ListNodesResponse(SdkResponse):
|
|
62
62
|
|
63
63
|
@nodes.setter
|
64
64
|
def nodes(self, nodes):
|
65
|
-
"""Sets the nodes of this ListNodesResponse.
|
65
|
+
r"""Sets the nodes of this ListNodesResponse.
|
66
66
|
|
67
67
|
节点列表。
|
68
68
|
|
@@ -73,7 +73,7 @@ class ListNodesResponse(SdkResponse):
|
|
73
73
|
|
74
74
|
@property
|
75
75
|
def node_total(self):
|
76
|
-
"""Gets the node_total of this ListNodesResponse.
|
76
|
+
r"""Gets the node_total of this ListNodesResponse.
|
77
77
|
|
78
78
|
节点数。
|
79
79
|
|
@@ -84,7 +84,7 @@ class ListNodesResponse(SdkResponse):
|
|
84
84
|
|
85
85
|
@node_total.setter
|
86
86
|
def node_total(self, node_total):
|
87
|
-
"""Sets the node_total of this ListNodesResponse.
|
87
|
+
r"""Sets the node_total of this ListNodesResponse.
|
88
88
|
|
89
89
|
节点数。
|
90
90
|
|
@@ -25,7 +25,7 @@ class ModifyDefaultTagsRequestBody:
|
|
25
25
|
}
|
26
26
|
|
27
27
|
def __init__(self, action=None):
|
28
|
-
"""ModifyDefaultTagsRequestBody
|
28
|
+
r"""ModifyDefaultTagsRequestBody
|
29
29
|
|
30
30
|
The model defined in huaweicloud sdk
|
31
31
|
|
@@ -42,7 +42,7 @@ class ModifyDefaultTagsRequestBody:
|
|
42
42
|
|
43
43
|
@property
|
44
44
|
def action(self):
|
45
|
-
"""Gets the action of this ModifyDefaultTagsRequestBody.
|
45
|
+
r"""Gets the action of this ModifyDefaultTagsRequestBody.
|
46
46
|
|
47
47
|
操作类型,支持创建和删除
|
48
48
|
|
@@ -53,7 +53,7 @@ class ModifyDefaultTagsRequestBody:
|
|
53
53
|
|
54
54
|
@action.setter
|
55
55
|
def action(self, action):
|
56
|
-
"""Sets the action of this ModifyDefaultTagsRequestBody.
|
56
|
+
r"""Sets the action of this ModifyDefaultTagsRequestBody.
|
57
57
|
|
58
58
|
操作类型,支持创建和删除
|
59
59
|
|
@@ -43,7 +43,7 @@ class NodeDetail:
|
|
43
43
|
}
|
44
44
|
|
45
45
|
def __init__(self, running_status=None, cpu_usage=None, memory_usage=None, disk_usage=None, total_memory=None, available_memory=None, total_hard_disk_space=None, available_hard_disk_space=None, network_read=None, network_write=None):
|
46
|
-
"""NodeDetail
|
46
|
+
r"""NodeDetail
|
47
47
|
|
48
48
|
The model defined in huaweicloud sdk
|
49
49
|
|
@@ -106,7 +106,7 @@ class NodeDetail:
|
|
106
106
|
|
107
107
|
@property
|
108
108
|
def running_status(self):
|
109
|
-
"""Gets the running_status of this NodeDetail.
|
109
|
+
r"""Gets the running_status of this NodeDetail.
|
110
110
|
|
111
111
|
运行状态。
|
112
112
|
|
@@ -117,7 +117,7 @@ class NodeDetail:
|
|
117
117
|
|
118
118
|
@running_status.setter
|
119
119
|
def running_status(self, running_status):
|
120
|
-
"""Sets the running_status of this NodeDetail.
|
120
|
+
r"""Sets the running_status of this NodeDetail.
|
121
121
|
|
122
122
|
运行状态。
|
123
123
|
|
@@ -128,7 +128,7 @@ class NodeDetail:
|
|
128
128
|
|
129
129
|
@property
|
130
130
|
def cpu_usage(self):
|
131
|
-
"""Gets the cpu_usage of this NodeDetail.
|
131
|
+
r"""Gets the cpu_usage of this NodeDetail.
|
132
132
|
|
133
133
|
CPU使用率。
|
134
134
|
|
@@ -139,7 +139,7 @@ class NodeDetail:
|
|
139
139
|
|
140
140
|
@cpu_usage.setter
|
141
141
|
def cpu_usage(self, cpu_usage):
|
142
|
-
"""Sets the cpu_usage of this NodeDetail.
|
142
|
+
r"""Sets the cpu_usage of this NodeDetail.
|
143
143
|
|
144
144
|
CPU使用率。
|
145
145
|
|
@@ -150,7 +150,7 @@ class NodeDetail:
|
|
150
150
|
|
151
151
|
@property
|
152
152
|
def memory_usage(self):
|
153
|
-
"""Gets the memory_usage of this NodeDetail.
|
153
|
+
r"""Gets the memory_usage of this NodeDetail.
|
154
154
|
|
155
155
|
内存使用率。
|
156
156
|
|
@@ -161,7 +161,7 @@ class NodeDetail:
|
|
161
161
|
|
162
162
|
@memory_usage.setter
|
163
163
|
def memory_usage(self, memory_usage):
|
164
|
-
"""Sets the memory_usage of this NodeDetail.
|
164
|
+
r"""Sets the memory_usage of this NodeDetail.
|
165
165
|
|
166
166
|
内存使用率。
|
167
167
|
|
@@ -172,7 +172,7 @@ class NodeDetail:
|
|
172
172
|
|
173
173
|
@property
|
174
174
|
def disk_usage(self):
|
175
|
-
"""Gets the disk_usage of this NodeDetail.
|
175
|
+
r"""Gets the disk_usage of this NodeDetail.
|
176
176
|
|
177
177
|
硬盘使用率。
|
178
178
|
|
@@ -183,7 +183,7 @@ class NodeDetail:
|
|
183
183
|
|
184
184
|
@disk_usage.setter
|
185
185
|
def disk_usage(self, disk_usage):
|
186
|
-
"""Sets the disk_usage of this NodeDetail.
|
186
|
+
r"""Sets the disk_usage of this NodeDetail.
|
187
187
|
|
188
188
|
硬盘使用率。
|
189
189
|
|
@@ -194,7 +194,7 @@ class NodeDetail:
|
|
194
194
|
|
195
195
|
@property
|
196
196
|
def total_memory(self):
|
197
|
-
"""Gets the total_memory of this NodeDetail.
|
197
|
+
r"""Gets the total_memory of this NodeDetail.
|
198
198
|
|
199
199
|
总内存。单位MB。
|
200
200
|
|
@@ -205,7 +205,7 @@ class NodeDetail:
|
|
205
205
|
|
206
206
|
@total_memory.setter
|
207
207
|
def total_memory(self, total_memory):
|
208
|
-
"""Sets the total_memory of this NodeDetail.
|
208
|
+
r"""Sets the total_memory of this NodeDetail.
|
209
209
|
|
210
210
|
总内存。单位MB。
|
211
211
|
|
@@ -216,7 +216,7 @@ class NodeDetail:
|
|
216
216
|
|
217
217
|
@property
|
218
218
|
def available_memory(self):
|
219
|
-
"""Gets the available_memory of this NodeDetail.
|
219
|
+
r"""Gets the available_memory of this NodeDetail.
|
220
220
|
|
221
221
|
可用内存。单位MB。
|
222
222
|
|
@@ -227,7 +227,7 @@ class NodeDetail:
|
|
227
227
|
|
228
228
|
@available_memory.setter
|
229
229
|
def available_memory(self, available_memory):
|
230
|
-
"""Sets the available_memory of this NodeDetail.
|
230
|
+
r"""Sets the available_memory of this NodeDetail.
|
231
231
|
|
232
232
|
可用内存。单位MB。
|
233
233
|
|
@@ -238,7 +238,7 @@ class NodeDetail:
|
|
238
238
|
|
239
239
|
@property
|
240
240
|
def total_hard_disk_space(self):
|
241
|
-
"""Gets the total_hard_disk_space of this NodeDetail.
|
241
|
+
r"""Gets the total_hard_disk_space of this NodeDetail.
|
242
242
|
|
243
243
|
总硬盘空间。单位GB。
|
244
244
|
|
@@ -249,7 +249,7 @@ class NodeDetail:
|
|
249
249
|
|
250
250
|
@total_hard_disk_space.setter
|
251
251
|
def total_hard_disk_space(self, total_hard_disk_space):
|
252
|
-
"""Sets the total_hard_disk_space of this NodeDetail.
|
252
|
+
r"""Sets the total_hard_disk_space of this NodeDetail.
|
253
253
|
|
254
254
|
总硬盘空间。单位GB。
|
255
255
|
|
@@ -260,7 +260,7 @@ class NodeDetail:
|
|
260
260
|
|
261
261
|
@property
|
262
262
|
def available_hard_disk_space(self):
|
263
|
-
"""Gets the available_hard_disk_space of this NodeDetail.
|
263
|
+
r"""Gets the available_hard_disk_space of this NodeDetail.
|
264
264
|
|
265
265
|
可用硬盘空间。单位GB。
|
266
266
|
|
@@ -271,7 +271,7 @@ class NodeDetail:
|
|
271
271
|
|
272
272
|
@available_hard_disk_space.setter
|
273
273
|
def available_hard_disk_space(self, available_hard_disk_space):
|
274
|
-
"""Sets the available_hard_disk_space of this NodeDetail.
|
274
|
+
r"""Sets the available_hard_disk_space of this NodeDetail.
|
275
275
|
|
276
276
|
可用硬盘空间。单位GB。
|
277
277
|
|
@@ -282,7 +282,7 @@ class NodeDetail:
|
|
282
282
|
|
283
283
|
@property
|
284
284
|
def network_read(self):
|
285
|
-
"""Gets the network_read of this NodeDetail.
|
285
|
+
r"""Gets the network_read of this NodeDetail.
|
286
286
|
|
287
287
|
网络读取速度。单位Byte/s。
|
288
288
|
|
@@ -293,7 +293,7 @@ class NodeDetail:
|
|
293
293
|
|
294
294
|
@network_read.setter
|
295
295
|
def network_read(self, network_read):
|
296
|
-
"""Sets the network_read of this NodeDetail.
|
296
|
+
r"""Sets the network_read of this NodeDetail.
|
297
297
|
|
298
298
|
网络读取速度。单位Byte/s。
|
299
299
|
|
@@ -304,7 +304,7 @@ class NodeDetail:
|
|
304
304
|
|
305
305
|
@property
|
306
306
|
def network_write(self):
|
307
|
-
"""Gets the network_write of this NodeDetail.
|
307
|
+
r"""Gets the network_write of this NodeDetail.
|
308
308
|
|
309
309
|
网络写入速度。单位Byte/s。
|
310
310
|
|
@@ -315,7 +315,7 @@ class NodeDetail:
|
|
315
315
|
|
316
316
|
@network_write.setter
|
317
317
|
def network_write(self, network_write):
|
318
|
-
"""Sets the network_write of this NodeDetail.
|
318
|
+
r"""Sets the network_write of this NodeDetail.
|
319
319
|
|
320
320
|
网络写入速度。单位Byte/s。
|
321
321
|
|
@@ -41,7 +41,7 @@ class NodeGroupV2:
|
|
41
41
|
}
|
42
42
|
|
43
43
|
def __init__(self, group_name=None, node_num=None, node_size=None, root_volume=None, data_volume=None, data_volume_count=None, charge_info=None, auto_scaling_policy=None, assigned_roles=None):
|
44
|
-
"""NodeGroupV2
|
44
|
+
r"""NodeGroupV2
|
45
45
|
|
46
46
|
The model defined in huaweicloud sdk
|
47
47
|
|
@@ -96,7 +96,7 @@ class NodeGroupV2:
|
|
96
96
|
|
97
97
|
@property
|
98
98
|
def group_name(self):
|
99
|
-
"""Gets the group_name of this NodeGroupV2.
|
99
|
+
r"""Gets the group_name of this NodeGroupV2.
|
100
100
|
|
101
101
|
节点组名称,最大长度64,支持大小写英文、数字以及“_”。节点组配置原则如下: - master_node_default_group:Master节点组,所有集群类型均需包含该节点组。 - core_node_analysis_group:分析Core节点组,分析集群、混合集群均需包含该节点组。 - core_node_streaming_group:流式Core节点组,流式集群和混合集群均需包含该节点组。 - task_node_analysis_group:分析Task节点组,分析集群和混合集群可根据需要选择该节点组。 - task_node_streaming_group:流式Task节点组,流式集群、混合集群可根据需要选择该节点组。 - node_group{x}:自定义集群节点组,可根据需要添加多个,最多支持添加9个该节点组。
|
102
102
|
|
@@ -107,7 +107,7 @@ class NodeGroupV2:
|
|
107
107
|
|
108
108
|
@group_name.setter
|
109
109
|
def group_name(self, group_name):
|
110
|
-
"""Sets the group_name of this NodeGroupV2.
|
110
|
+
r"""Sets the group_name of this NodeGroupV2.
|
111
111
|
|
112
112
|
节点组名称,最大长度64,支持大小写英文、数字以及“_”。节点组配置原则如下: - master_node_default_group:Master节点组,所有集群类型均需包含该节点组。 - core_node_analysis_group:分析Core节点组,分析集群、混合集群均需包含该节点组。 - core_node_streaming_group:流式Core节点组,流式集群和混合集群均需包含该节点组。 - task_node_analysis_group:分析Task节点组,分析集群和混合集群可根据需要选择该节点组。 - task_node_streaming_group:流式Task节点组,流式集群、混合集群可根据需要选择该节点组。 - node_group{x}:自定义集群节点组,可根据需要添加多个,最多支持添加9个该节点组。
|
113
113
|
|
@@ -118,7 +118,7 @@ class NodeGroupV2:
|
|
118
118
|
|
119
119
|
@property
|
120
120
|
def node_num(self):
|
121
|
-
"""Gets the node_num of this NodeGroupV2.
|
121
|
+
r"""Gets the node_num of this NodeGroupV2.
|
122
122
|
|
123
123
|
节点数量,取值范围0~500,Core与Task节点总数最大为500个。
|
124
124
|
|
@@ -129,7 +129,7 @@ class NodeGroupV2:
|
|
129
129
|
|
130
130
|
@node_num.setter
|
131
131
|
def node_num(self, node_num):
|
132
|
-
"""Sets the node_num of this NodeGroupV2.
|
132
|
+
r"""Sets the node_num of this NodeGroupV2.
|
133
133
|
|
134
134
|
节点数量,取值范围0~500,Core与Task节点总数最大为500个。
|
135
135
|
|
@@ -140,7 +140,7 @@ class NodeGroupV2:
|
|
140
140
|
|
141
141
|
@property
|
142
142
|
def node_size(self):
|
143
|
-
"""Gets the node_size of this NodeGroupV2.
|
143
|
+
r"""Gets the node_size of this NodeGroupV2.
|
144
144
|
|
145
145
|
节点的实例规格。 例如:c3.4xlarge.2.linux.bigdata。实例规格详细说明请参见[MRS所使用的弹性云服务器规格](https://support.huaweicloud.com/api-mrs/mrs_01_9006.html)和[MRS所使用的裸金属服务器规格](https://support.huaweicloud.com/api-mrs/mrs_01_9001.html)。 该参数建议从MRS控制台的集群创建页面获取对应区域对应版本所支持的规格。
|
146
146
|
|
@@ -151,7 +151,7 @@ class NodeGroupV2:
|
|
151
151
|
|
152
152
|
@node_size.setter
|
153
153
|
def node_size(self, node_size):
|
154
|
-
"""Sets the node_size of this NodeGroupV2.
|
154
|
+
r"""Sets the node_size of this NodeGroupV2.
|
155
155
|
|
156
156
|
节点的实例规格。 例如:c3.4xlarge.2.linux.bigdata。实例规格详细说明请参见[MRS所使用的弹性云服务器规格](https://support.huaweicloud.com/api-mrs/mrs_01_9006.html)和[MRS所使用的裸金属服务器规格](https://support.huaweicloud.com/api-mrs/mrs_01_9001.html)。 该参数建议从MRS控制台的集群创建页面获取对应区域对应版本所支持的规格。
|
157
157
|
|
@@ -162,7 +162,7 @@ class NodeGroupV2:
|
|
162
162
|
|
163
163
|
@property
|
164
164
|
def root_volume(self):
|
165
|
-
"""Gets the root_volume of this NodeGroupV2.
|
165
|
+
r"""Gets the root_volume of this NodeGroupV2.
|
166
166
|
|
167
167
|
:return: The root_volume of this NodeGroupV2.
|
168
168
|
:rtype: :class:`huaweicloudsdkmrs.v2.Volume`
|
@@ -171,7 +171,7 @@ class NodeGroupV2:
|
|
171
171
|
|
172
172
|
@root_volume.setter
|
173
173
|
def root_volume(self, root_volume):
|
174
|
-
"""Sets the root_volume of this NodeGroupV2.
|
174
|
+
r"""Sets the root_volume of this NodeGroupV2.
|
175
175
|
|
176
176
|
:param root_volume: The root_volume of this NodeGroupV2.
|
177
177
|
:type root_volume: :class:`huaweicloudsdkmrs.v2.Volume`
|
@@ -180,7 +180,7 @@ class NodeGroupV2:
|
|
180
180
|
|
181
181
|
@property
|
182
182
|
def data_volume(self):
|
183
|
-
"""Gets the data_volume of this NodeGroupV2.
|
183
|
+
r"""Gets the data_volume of this NodeGroupV2.
|
184
184
|
|
185
185
|
:return: The data_volume of this NodeGroupV2.
|
186
186
|
:rtype: :class:`huaweicloudsdkmrs.v2.Volume`
|
@@ -189,7 +189,7 @@ class NodeGroupV2:
|
|
189
189
|
|
190
190
|
@data_volume.setter
|
191
191
|
def data_volume(self, data_volume):
|
192
|
-
"""Sets the data_volume of this NodeGroupV2.
|
192
|
+
r"""Sets the data_volume of this NodeGroupV2.
|
193
193
|
|
194
194
|
:param data_volume: The data_volume of this NodeGroupV2.
|
195
195
|
:type data_volume: :class:`huaweicloudsdkmrs.v2.Volume`
|
@@ -198,7 +198,7 @@ class NodeGroupV2:
|
|
198
198
|
|
199
199
|
@property
|
200
200
|
def data_volume_count(self):
|
201
|
-
"""Gets the data_volume_count of this NodeGroupV2.
|
201
|
+
r"""Gets the data_volume_count of this NodeGroupV2.
|
202
202
|
|
203
203
|
节点数据磁盘存储数目,取值范围:0~20。
|
204
204
|
|
@@ -209,7 +209,7 @@ class NodeGroupV2:
|
|
209
209
|
|
210
210
|
@data_volume_count.setter
|
211
211
|
def data_volume_count(self, data_volume_count):
|
212
|
-
"""Sets the data_volume_count of this NodeGroupV2.
|
212
|
+
r"""Sets the data_volume_count of this NodeGroupV2.
|
213
213
|
|
214
214
|
节点数据磁盘存储数目,取值范围:0~20。
|
215
215
|
|
@@ -220,7 +220,7 @@ class NodeGroupV2:
|
|
220
220
|
|
221
221
|
@property
|
222
222
|
def charge_info(self):
|
223
|
-
"""Gets the charge_info of this NodeGroupV2.
|
223
|
+
r"""Gets the charge_info of this NodeGroupV2.
|
224
224
|
|
225
225
|
:return: The charge_info of this NodeGroupV2.
|
226
226
|
:rtype: :class:`huaweicloudsdkmrs.v2.ChargeInfo`
|
@@ -229,7 +229,7 @@ class NodeGroupV2:
|
|
229
229
|
|
230
230
|
@charge_info.setter
|
231
231
|
def charge_info(self, charge_info):
|
232
|
-
"""Sets the charge_info of this NodeGroupV2.
|
232
|
+
r"""Sets the charge_info of this NodeGroupV2.
|
233
233
|
|
234
234
|
:param charge_info: The charge_info of this NodeGroupV2.
|
235
235
|
:type charge_info: :class:`huaweicloudsdkmrs.v2.ChargeInfo`
|
@@ -238,7 +238,7 @@ class NodeGroupV2:
|
|
238
238
|
|
239
239
|
@property
|
240
240
|
def auto_scaling_policy(self):
|
241
|
-
"""Gets the auto_scaling_policy of this NodeGroupV2.
|
241
|
+
r"""Gets the auto_scaling_policy of this NodeGroupV2.
|
242
242
|
|
243
243
|
:return: The auto_scaling_policy of this NodeGroupV2.
|
244
244
|
:rtype: :class:`huaweicloudsdkmrs.v2.AutoScalingPolicy`
|
@@ -247,7 +247,7 @@ class NodeGroupV2:
|
|
247
247
|
|
248
248
|
@auto_scaling_policy.setter
|
249
249
|
def auto_scaling_policy(self, auto_scaling_policy):
|
250
|
-
"""Sets the auto_scaling_policy of this NodeGroupV2.
|
250
|
+
r"""Sets the auto_scaling_policy of this NodeGroupV2.
|
251
251
|
|
252
252
|
:param auto_scaling_policy: The auto_scaling_policy of this NodeGroupV2.
|
253
253
|
:type auto_scaling_policy: :class:`huaweicloudsdkmrs.v2.AutoScalingPolicy`
|
@@ -256,7 +256,7 @@ class NodeGroupV2:
|
|
256
256
|
|
257
257
|
@property
|
258
258
|
def assigned_roles(self):
|
259
|
-
"""Gets the assigned_roles of this NodeGroupV2.
|
259
|
+
r"""Gets the assigned_roles of this NodeGroupV2.
|
260
260
|
|
261
261
|
当集群类型为CUSTOM时,该参数必选。可以指定节点组中部署的角色,该参数是一个字符串数组,每个字符串表示一个角色表达式。 角色表达式定义: - 当该角色在节点组所有节点部署时: {role name},如“DataNode”。 - 当该角色在节点组指定下标节点部署时:{role name}:{index1},{index2}…,{indexN},如“NameNode:1,2”,下标从1开始计数。 - 部分角色支持多实例部署(即在一个节点部署多个同角色的实例):{role name}[{instance count}],如“EsNode[9]” 可选的角色请参考[MRS支持的角色与组件对应表](https://support.huaweicloud.com/api-mrs/mrs_02_0106.html)。
|
262
262
|
|
@@ -267,7 +267,7 @@ class NodeGroupV2:
|
|
267
267
|
|
268
268
|
@assigned_roles.setter
|
269
269
|
def assigned_roles(self, assigned_roles):
|
270
|
-
"""Sets the assigned_roles of this NodeGroupV2.
|
270
|
+
r"""Sets the assigned_roles of this NodeGroupV2.
|
271
271
|
|
272
272
|
当集群类型为CUSTOM时,该参数必选。可以指定节点组中部署的角色,该参数是一个字符串数组,每个字符串表示一个角色表达式。 角色表达式定义: - 当该角色在节点组所有节点部署时: {role name},如“DataNode”。 - 当该角色在节点组指定下标节点部署时:{role name}:{index1},{index2}…,{indexN},如“NameNode:1,2”,下标从1开始计数。 - 部分角色支持多实例部署(即在一个节点部署多个同角色的实例):{role name}[{instance count}],如“EsNode[9]” 可选的角色请参考[MRS支持的角色与组件对应表](https://support.huaweicloud.com/api-mrs/mrs_02_0106.html)。
|
273
273
|
|
@@ -35,7 +35,7 @@ class ResourcesPlan:
|
|
35
35
|
}
|
36
36
|
|
37
37
|
def __init__(self, period_type=None, start_time=None, end_time=None, min_capacity=None, max_capacity=None, effective_days=None):
|
38
|
-
"""ResourcesPlan
|
38
|
+
r"""ResourcesPlan
|
39
39
|
|
40
40
|
The model defined in huaweicloud sdk
|
41
41
|
|
@@ -73,7 +73,7 @@ class ResourcesPlan:
|
|
73
73
|
|
74
74
|
@property
|
75
75
|
def period_type(self):
|
76
|
-
"""Gets the period_type of this ResourcesPlan.
|
76
|
+
r"""Gets the period_type of this ResourcesPlan.
|
77
77
|
|
78
78
|
资源计划的周期类型,当前只允许以下类型: daily
|
79
79
|
|
@@ -84,7 +84,7 @@ class ResourcesPlan:
|
|
84
84
|
|
85
85
|
@period_type.setter
|
86
86
|
def period_type(self, period_type):
|
87
|
-
"""Sets the period_type of this ResourcesPlan.
|
87
|
+
r"""Sets the period_type of this ResourcesPlan.
|
88
88
|
|
89
89
|
资源计划的周期类型,当前只允许以下类型: daily
|
90
90
|
|
@@ -95,7 +95,7 @@ class ResourcesPlan:
|
|
95
95
|
|
96
96
|
@property
|
97
97
|
def start_time(self):
|
98
|
-
"""Gets the start_time of this ResourcesPlan.
|
98
|
+
r"""Gets the start_time of this ResourcesPlan.
|
99
99
|
|
100
100
|
资源计划的起始时间,格式为“hour:minute”,表示时间在0:00-23:59之间。
|
101
101
|
|
@@ -106,7 +106,7 @@ class ResourcesPlan:
|
|
106
106
|
|
107
107
|
@start_time.setter
|
108
108
|
def start_time(self, start_time):
|
109
|
-
"""Sets the start_time of this ResourcesPlan.
|
109
|
+
r"""Sets the start_time of this ResourcesPlan.
|
110
110
|
|
111
111
|
资源计划的起始时间,格式为“hour:minute”,表示时间在0:00-23:59之间。
|
112
112
|
|
@@ -117,7 +117,7 @@ class ResourcesPlan:
|
|
117
117
|
|
118
118
|
@property
|
119
119
|
def end_time(self):
|
120
|
-
"""Gets the end_time of this ResourcesPlan.
|
120
|
+
r"""Gets the end_time of this ResourcesPlan.
|
121
121
|
|
122
122
|
资源计划的结束时间,格式与“start_time”相同,不早于start_time表示的时间,且与start_time间隔不小于30min。
|
123
123
|
|
@@ -128,7 +128,7 @@ class ResourcesPlan:
|
|
128
128
|
|
129
129
|
@end_time.setter
|
130
130
|
def end_time(self, end_time):
|
131
|
-
"""Sets the end_time of this ResourcesPlan.
|
131
|
+
r"""Sets the end_time of this ResourcesPlan.
|
132
132
|
|
133
133
|
资源计划的结束时间,格式与“start_time”相同,不早于start_time表示的时间,且与start_time间隔不小于30min。
|
134
134
|
|
@@ -139,7 +139,7 @@ class ResourcesPlan:
|
|
139
139
|
|
140
140
|
@property
|
141
141
|
def min_capacity(self):
|
142
|
-
"""Gets the min_capacity of this ResourcesPlan.
|
142
|
+
r"""Gets the min_capacity of this ResourcesPlan.
|
143
143
|
|
144
144
|
资源计划内该节点组的最小保留节点数。 取值范围:[0~500]
|
145
145
|
|
@@ -150,7 +150,7 @@ class ResourcesPlan:
|
|
150
150
|
|
151
151
|
@min_capacity.setter
|
152
152
|
def min_capacity(self, min_capacity):
|
153
|
-
"""Sets the min_capacity of this ResourcesPlan.
|
153
|
+
r"""Sets the min_capacity of this ResourcesPlan.
|
154
154
|
|
155
155
|
资源计划内该节点组的最小保留节点数。 取值范围:[0~500]
|
156
156
|
|
@@ -161,7 +161,7 @@ class ResourcesPlan:
|
|
161
161
|
|
162
162
|
@property
|
163
163
|
def max_capacity(self):
|
164
|
-
"""Gets the max_capacity of this ResourcesPlan.
|
164
|
+
r"""Gets the max_capacity of this ResourcesPlan.
|
165
165
|
|
166
166
|
资源计划内该节点组的最大保留节点数。 取值范围:[0~500]
|
167
167
|
|
@@ -172,7 +172,7 @@ class ResourcesPlan:
|
|
172
172
|
|
173
173
|
@max_capacity.setter
|
174
174
|
def max_capacity(self, max_capacity):
|
175
|
-
"""Sets the max_capacity of this ResourcesPlan.
|
175
|
+
r"""Sets the max_capacity of this ResourcesPlan.
|
176
176
|
|
177
177
|
资源计划内该节点组的最大保留节点数。 取值范围:[0~500]
|
178
178
|
|
@@ -183,7 +183,7 @@ class ResourcesPlan:
|
|
183
183
|
|
184
184
|
@property
|
185
185
|
def effective_days(self):
|
186
|
-
"""Gets the effective_days of this ResourcesPlan.
|
186
|
+
r"""Gets the effective_days of this ResourcesPlan.
|
187
187
|
|
188
188
|
资源计划的生效日期,为空时代表每日,另外也可为以下返回值: MONDAY(周一)、TUESDAY(周二)、WEDNESDAY(周三)、THURSDAY(周四)、FRIDAY(周五)、SATURDAY(周六)、SUNDAY(周日)
|
189
189
|
|
@@ -194,7 +194,7 @@ class ResourcesPlan:
|
|
194
194
|
|
195
195
|
@effective_days.setter
|
196
196
|
def effective_days(self, effective_days):
|
197
|
-
"""Sets the effective_days of this ResourcesPlan.
|
197
|
+
r"""Sets the effective_days of this ResourcesPlan.
|
198
198
|
|
199
199
|
资源计划的生效日期,为空时代表每日,另外也可为以下返回值: MONDAY(周一)、TUESDAY(周二)、WEDNESDAY(周三)、THURSDAY(周四)、FRIDAY(周五)、SATURDAY(周六)、SUNDAY(周日)
|
200
200
|
|
@@ -35,7 +35,7 @@ class Rule:
|
|
35
35
|
}
|
36
36
|
|
37
37
|
def __init__(self, name=None, description=None, adjustment_type=None, cool_down_minutes=None, scaling_adjustment=None, trigger=None):
|
38
|
-
"""Rule
|
38
|
+
r"""Rule
|
39
39
|
|
40
40
|
The model defined in huaweicloud sdk
|
41
41
|
|
@@ -73,7 +73,7 @@ class Rule:
|
|
73
73
|
|
74
74
|
@property
|
75
75
|
def name(self):
|
76
|
-
"""Gets the name of this Rule.
|
76
|
+
r"""Gets the name of this Rule.
|
77
77
|
|
78
78
|
弹性伸缩规则的名称。 只能由字母、数字、中划线和下划线组成,并且长度为1~64个字符。 在一个节点组范围内,不允许重名。
|
79
79
|
|
@@ -84,7 +84,7 @@ class Rule:
|
|
84
84
|
|
85
85
|
@name.setter
|
86
86
|
def name(self, name):
|
87
|
-
"""Sets the name of this Rule.
|
87
|
+
r"""Sets the name of this Rule.
|
88
88
|
|
89
89
|
弹性伸缩规则的名称。 只能由字母、数字、中划线和下划线组成,并且长度为1~64个字符。 在一个节点组范围内,不允许重名。
|
90
90
|
|
@@ -95,7 +95,7 @@ class Rule:
|
|
95
95
|
|
96
96
|
@property
|
97
97
|
def description(self):
|
98
|
-
"""Gets the description of this Rule.
|
98
|
+
r"""Gets the description of this Rule.
|
99
99
|
|
100
100
|
弹性伸缩规则的说明。 最大长度为1024字符。
|
101
101
|
|
@@ -106,7 +106,7 @@ class Rule:
|
|
106
106
|
|
107
107
|
@description.setter
|
108
108
|
def description(self, description):
|
109
|
-
"""Sets the description of this Rule.
|
109
|
+
r"""Sets the description of this Rule.
|
110
110
|
|
111
111
|
弹性伸缩规则的说明。 最大长度为1024字符。
|
112
112
|
|
@@ -117,7 +117,7 @@ class Rule:
|
|
117
117
|
|
118
118
|
@property
|
119
119
|
def adjustment_type(self):
|
120
|
-
"""Gets the adjustment_type of this Rule.
|
120
|
+
r"""Gets the adjustment_type of this Rule.
|
121
121
|
|
122
122
|
弹性伸缩规则的调整类型,只允许以下类型: 枚举值: - scale_out:扩容 - scale_in:缩容
|
123
123
|
|
@@ -128,7 +128,7 @@ class Rule:
|
|
128
128
|
|
129
129
|
@adjustment_type.setter
|
130
130
|
def adjustment_type(self, adjustment_type):
|
131
|
-
"""Sets the adjustment_type of this Rule.
|
131
|
+
r"""Sets the adjustment_type of this Rule.
|
132
132
|
|
133
133
|
弹性伸缩规则的调整类型,只允许以下类型: 枚举值: - scale_out:扩容 - scale_in:缩容
|
134
134
|
|
@@ -139,7 +139,7 @@ class Rule:
|
|
139
139
|
|
140
140
|
@property
|
141
141
|
def cool_down_minutes(self):
|
142
|
-
"""Gets the cool_down_minutes of this Rule.
|
142
|
+
r"""Gets the cool_down_minutes of this Rule.
|
143
143
|
|
144
144
|
触发弹性伸缩规则后,该集群处于冷却状态(不再执行弹性伸缩操作)的时长,单位为分钟。 取值范围[0~10080],10080为一周的分钟数。
|
145
145
|
|
@@ -150,7 +150,7 @@ class Rule:
|
|
150
150
|
|
151
151
|
@cool_down_minutes.setter
|
152
152
|
def cool_down_minutes(self, cool_down_minutes):
|
153
|
-
"""Sets the cool_down_minutes of this Rule.
|
153
|
+
r"""Sets the cool_down_minutes of this Rule.
|
154
154
|
|
155
155
|
触发弹性伸缩规则后,该集群处于冷却状态(不再执行弹性伸缩操作)的时长,单位为分钟。 取值范围[0~10080],10080为一周的分钟数。
|
156
156
|
|
@@ -161,7 +161,7 @@ class Rule:
|
|
161
161
|
|
162
162
|
@property
|
163
163
|
def scaling_adjustment(self):
|
164
|
-
"""Gets the scaling_adjustment of this Rule.
|
164
|
+
r"""Gets the scaling_adjustment of this Rule.
|
165
165
|
|
166
166
|
单次调整集群节点的个数。 取值范围[1~100]
|
167
167
|
|
@@ -172,7 +172,7 @@ class Rule:
|
|
172
172
|
|
173
173
|
@scaling_adjustment.setter
|
174
174
|
def scaling_adjustment(self, scaling_adjustment):
|
175
|
-
"""Sets the scaling_adjustment of this Rule.
|
175
|
+
r"""Sets the scaling_adjustment of this Rule.
|
176
176
|
|
177
177
|
单次调整集群节点的个数。 取值范围[1~100]
|
178
178
|
|
@@ -183,7 +183,7 @@ class Rule:
|
|
183
183
|
|
184
184
|
@property
|
185
185
|
def trigger(self):
|
186
|
-
"""Gets the trigger of this Rule.
|
186
|
+
r"""Gets the trigger of this Rule.
|
187
187
|
|
188
188
|
:return: The trigger of this Rule.
|
189
189
|
:rtype: :class:`huaweicloudsdkmrs.v2.Trigger`
|
@@ -192,7 +192,7 @@ class Rule:
|
|
192
192
|
|
193
193
|
@trigger.setter
|
194
194
|
def trigger(self, trigger):
|
195
|
-
"""Sets the trigger of this Rule.
|
195
|
+
r"""Sets the trigger of this Rule.
|
196
196
|
|
197
197
|
:param trigger: The trigger of this Rule.
|
198
198
|
:type trigger: :class:`huaweicloudsdkmrs.v2.Trigger`
|