huaweicloudsdkmrs 3.1.141__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.
Files changed (207) hide show
  1. huaweicloudsdkmrs/v1/model/add_jobs_req_v11.py +25 -25
  2. huaweicloudsdkmrs/v1/model/auto_scaling_policy.py +13 -13
  3. huaweicloudsdkmrs/v1/model/auto_scaling_policy_req_v11.py +5 -5
  4. huaweicloudsdkmrs/v1/model/available_tag.py +7 -7
  5. huaweicloudsdkmrs/v1/model/available_zone_v2.py +19 -19
  6. huaweicloudsdkmrs/v1/model/batch_create_cluster_tags_req.py +5 -5
  7. huaweicloudsdkmrs/v1/model/batch_create_cluster_tags_request.py +5 -5
  8. huaweicloudsdkmrs/v1/model/batch_create_cluster_tags_response.py +1 -1
  9. huaweicloudsdkmrs/v1/model/batch_delete_cluster_tags_req.py +5 -5
  10. huaweicloudsdkmrs/v1/model/batch_delete_cluster_tags_request.py +5 -5
  11. huaweicloudsdkmrs/v1/model/batch_delete_cluster_tags_response.py +1 -1
  12. huaweicloudsdkmrs/v1/model/bootstrap_script.py +21 -21
  13. huaweicloudsdkmrs/v1/model/cluster.py +137 -137
  14. huaweicloudsdkmrs/v1/model/cluster_scaling_params.py +19 -19
  15. huaweicloudsdkmrs/v1/model/cluster_scaling_req.py +9 -9
  16. huaweicloudsdkmrs/v1/model/component_amb.py +9 -9
  17. huaweicloudsdkmrs/v1/model/component_amb_v11.py +3 -3
  18. huaweicloudsdkmrs/v1/model/component_external_datasource.py +5 -5
  19. huaweicloudsdkmrs/v1/model/create_and_execute_job_request.py +3 -3
  20. huaweicloudsdkmrs/v1/model/create_and_execute_job_response.py +87 -87
  21. huaweicloudsdkmrs/v1/model/create_cluster_req_v11.py +73 -73
  22. huaweicloudsdkmrs/v1/model/create_cluster_request.py +3 -3
  23. huaweicloudsdkmrs/v1/model/create_cluster_response.py +7 -7
  24. huaweicloudsdkmrs/v1/model/create_cluster_tag_request.py +5 -5
  25. huaweicloudsdkmrs/v1/model/create_cluster_tag_response.py +1 -1
  26. huaweicloudsdkmrs/v1/model/create_scaling_policy_request.py +5 -5
  27. huaweicloudsdkmrs/v1/model/create_scaling_policy_response.py +3 -3
  28. huaweicloudsdkmrs/v1/model/create_tag_req.py +3 -3
  29. huaweicloudsdkmrs/v1/model/delete_cluster_request.py +3 -3
  30. huaweicloudsdkmrs/v1/model/delete_cluster_response.py +3 -3
  31. huaweicloudsdkmrs/v1/model/delete_cluster_tag_request.py +5 -5
  32. huaweicloudsdkmrs/v1/model/delete_cluster_tag_response.py +1 -1
  33. huaweicloudsdkmrs/v1/model/delete_job_execution_request.py +3 -3
  34. huaweicloudsdkmrs/v1/model/delete_job_execution_response.py +1 -1
  35. huaweicloudsdkmrs/v1/model/flavor_lists.py +7 -7
  36. huaweicloudsdkmrs/v1/model/host_model.py +33 -33
  37. huaweicloudsdkmrs/v1/model/job_exe_result.py +67 -67
  38. huaweicloudsdkmrs/v1/model/list_all_tags_request.py +1 -1
  39. huaweicloudsdkmrs/v1/model/list_all_tags_response.py +3 -3
  40. huaweicloudsdkmrs/v1/model/list_available_zones_request.py +5 -5
  41. huaweicloudsdkmrs/v1/model/list_available_zones_response.py +7 -7
  42. huaweicloudsdkmrs/v1/model/list_cluster_tags_request.py +3 -3
  43. huaweicloudsdkmrs/v1/model/list_cluster_tags_response.py +3 -3
  44. huaweicloudsdkmrs/v1/model/list_clusters_by_tags_request.py +3 -3
  45. huaweicloudsdkmrs/v1/model/list_clusters_by_tags_response.py +5 -5
  46. huaweicloudsdkmrs/v1/model/list_clusters_request.py +13 -13
  47. huaweicloudsdkmrs/v1/model/list_clusters_response.py +5 -5
  48. huaweicloudsdkmrs/v1/model/list_execute_job_request.py +13 -13
  49. huaweicloudsdkmrs/v1/model/list_execute_job_response.py +5 -5
  50. huaweicloudsdkmrs/v1/model/list_hosts_request.py +7 -7
  51. huaweicloudsdkmrs/v1/model/list_hosts_response.py +5 -5
  52. huaweicloudsdkmrs/v1/model/list_resource_req.py +17 -17
  53. huaweicloudsdkmrs/v1/model/match.py +5 -5
  54. huaweicloudsdkmrs/v1/model/mrs_resource.py +9 -9
  55. huaweicloudsdkmrs/v1/model/node_constraint.py +21 -21
  56. huaweicloudsdkmrs/v1/model/node_constraints.py +19 -19
  57. huaweicloudsdkmrs/v1/model/node_group_v10.py +37 -37
  58. huaweicloudsdkmrs/v1/model/node_group_v11.py +19 -19
  59. huaweicloudsdkmrs/v1/model/resources_plan.py +11 -11
  60. huaweicloudsdkmrs/v1/model/role_deploy_meta.py +39 -39
  61. huaweicloudsdkmrs/v1/model/rule.py +13 -13
  62. huaweicloudsdkmrs/v1/model/scale_script.py +15 -15
  63. huaweicloudsdkmrs/v1/model/show_cluster_details_request.py +3 -3
  64. huaweicloudsdkmrs/v1/model/show_cluster_details_response.py +3 -3
  65. huaweicloudsdkmrs/v1/model/show_job_exes_request.py +3 -3
  66. huaweicloudsdkmrs/v1/model/show_job_exes_response.py +3 -3
  67. huaweicloudsdkmrs/v1/model/show_mrs_version_metadata_request.py +5 -5
  68. huaweicloudsdkmrs/v1/model/show_mrs_version_metadata_response.py +27 -27
  69. huaweicloudsdkmrs/v1/model/submit_job_req_v11.py +23 -23
  70. huaweicloudsdkmrs/v1/model/tag.py +5 -5
  71. huaweicloudsdkmrs/v1/model/tag_plain.py +5 -5
  72. huaweicloudsdkmrs/v1/model/tag_with_multi_value.py +5 -5
  73. huaweicloudsdkmrs/v1/model/task_node_group.py +13 -13
  74. huaweicloudsdkmrs/v1/model/task_node_info.py +9 -9
  75. huaweicloudsdkmrs/v1/model/trigger.py +9 -9
  76. huaweicloudsdkmrs/v1/model/update_cluster_scaling_request.py +5 -5
  77. huaweicloudsdkmrs/v1/model/update_cluster_scaling_response.py +3 -3
  78. huaweicloudsdkmrs/v1/model/version_component.py +25 -25
  79. huaweicloudsdkmrs/v1/model/version_constraint.py +7 -7
  80. huaweicloudsdkmrs/v1/mrs_async_client.py +20 -20
  81. huaweicloudsdkmrs/v1/mrs_client.py +20 -20
  82. huaweicloudsdkmrs/v2/model/add_component_request.py +5 -5
  83. huaweicloudsdkmrs/v2/model/add_component_response.py +3 -3
  84. huaweicloudsdkmrs/v2/model/add_components_req.py +3 -3
  85. huaweicloudsdkmrs/v2/model/add_jobs_req_v11.py +25 -25
  86. huaweicloudsdkmrs/v2/model/agency_mapping.py +9 -9
  87. huaweicloudsdkmrs/v2/model/agency_mapping_array.py +3 -3
  88. huaweicloudsdkmrs/v2/model/assigned_node_group.py +5 -5
  89. huaweicloudsdkmrs/v2/model/auto_scaling_policy.py +13 -13
  90. huaweicloudsdkmrs/v2/model/auto_scaling_policy_delete_req.py +5 -5
  91. huaweicloudsdkmrs/v2/model/auto_scaling_policy_info.py +13 -13
  92. huaweicloudsdkmrs/v2/model/auto_scaling_policy_v2.py +7 -7
  93. huaweicloudsdkmrs/v2/model/az_flavors.py +11 -11
  94. huaweicloudsdkmrs/v2/model/batch_delete_jobs_request.py +5 -5
  95. huaweicloudsdkmrs/v2/model/batch_delete_jobs_response.py +1 -1
  96. huaweicloudsdkmrs/v2/model/bootstrap_script.py +21 -21
  97. huaweicloudsdkmrs/v2/model/cancel_sql_request.py +5 -5
  98. huaweicloudsdkmrs/v2/model/cancel_sql_response.py +5 -5
  99. huaweicloudsdkmrs/v2/model/cancel_sync_iam_user_request.py +5 -5
  100. huaweicloudsdkmrs/v2/model/cancel_sync_iam_user_response.py +3 -3
  101. huaweicloudsdkmrs/v2/model/cancel_sync_request.py +5 -5
  102. huaweicloudsdkmrs/v2/model/charge_info.py +9 -9
  103. huaweicloudsdkmrs/v2/model/cluster_data_connector_map.py +15 -15
  104. huaweicloudsdkmrs/v2/model/cluster_node.py +23 -23
  105. huaweicloudsdkmrs/v2/model/component_config.py +5 -5
  106. huaweicloudsdkmrs/v2/model/component_info.py +31 -31
  107. huaweicloudsdkmrs/v2/model/component_install_mode.py +9 -9
  108. huaweicloudsdkmrs/v2/model/config.py +7 -7
  109. huaweicloudsdkmrs/v2/model/create_auto_scaling_policy_request.py +5 -5
  110. huaweicloudsdkmrs/v2/model/create_auto_scaling_policy_response.py +1 -1
  111. huaweicloudsdkmrs/v2/model/create_cluster_req_v2.py +65 -65
  112. huaweicloudsdkmrs/v2/model/create_cluster_request.py +3 -3
  113. huaweicloudsdkmrs/v2/model/create_cluster_response.py +3 -3
  114. huaweicloudsdkmrs/v2/model/create_data_connector_request.py +3 -3
  115. huaweicloudsdkmrs/v2/model/create_data_connector_response.py +3 -3
  116. huaweicloudsdkmrs/v2/model/create_execute_job_request.py +5 -5
  117. huaweicloudsdkmrs/v2/model/create_execute_job_response.py +3 -3
  118. huaweicloudsdkmrs/v2/model/data_connector.py +7 -7
  119. huaweicloudsdkmrs/v2/model/data_connector_detail.py +27 -27
  120. huaweicloudsdkmrs/v2/model/data_connector_req.py +3 -3
  121. huaweicloudsdkmrs/v2/model/delete_auto_scaling_policy_request.py +5 -5
  122. huaweicloudsdkmrs/v2/model/delete_auto_scaling_policy_response.py +1 -1
  123. huaweicloudsdkmrs/v2/model/delete_data_connector_request.py +3 -3
  124. huaweicloudsdkmrs/v2/model/delete_data_connector_response.py +1 -1
  125. huaweicloudsdkmrs/v2/model/execute_sql_request.py +5 -5
  126. huaweicloudsdkmrs/v2/model/execute_sql_response.py +13 -13
  127. huaweicloudsdkmrs/v2/model/expand_cluster_request.py +5 -5
  128. huaweicloudsdkmrs/v2/model/expand_cluster_response.py +5 -5
  129. huaweicloudsdkmrs/v2/model/expand_param.py +9 -9
  130. huaweicloudsdkmrs/v2/model/file_status_v2.py +23 -23
  131. huaweicloudsdkmrs/v2/model/flavor.py +3 -3
  132. huaweicloudsdkmrs/v2/model/job_batch_delete.py +3 -3
  133. huaweicloudsdkmrs/v2/model/job_execution.py +9 -9
  134. huaweicloudsdkmrs/v2/model/job_query_bean.py +35 -35
  135. huaweicloudsdkmrs/v2/model/job_submit_result.py +5 -5
  136. huaweicloudsdkmrs/v2/model/list_data_connector_request.py +13 -13
  137. huaweicloudsdkmrs/v2/model/list_data_connector_response.py +5 -5
  138. huaweicloudsdkmrs/v2/model/list_nodes_request.py +21 -21
  139. huaweicloudsdkmrs/v2/model/list_nodes_response.py +5 -5
  140. huaweicloudsdkmrs/v2/model/modify_default_tags_request_body.py +3 -3
  141. huaweicloudsdkmrs/v2/model/node_detail.py +21 -21
  142. huaweicloudsdkmrs/v2/model/node_group_v2.py +19 -19
  143. huaweicloudsdkmrs/v2/model/resources_plan.py +13 -13
  144. huaweicloudsdkmrs/v2/model/rule.py +13 -13
  145. huaweicloudsdkmrs/v2/model/run_job_flow_command.py +65 -65
  146. huaweicloudsdkmrs/v2/model/run_job_flow_request.py +3 -3
  147. huaweicloudsdkmrs/v2/model/run_job_flow_response.py +3 -3
  148. huaweicloudsdkmrs/v2/model/scale_script.py +15 -15
  149. huaweicloudsdkmrs/v2/model/server_info.py +19 -19
  150. huaweicloudsdkmrs/v2/model/show_agency_mapping_request.py +3 -3
  151. huaweicloudsdkmrs/v2/model/show_agency_mapping_response.py +3 -3
  152. huaweicloudsdkmrs/v2/model/show_auto_scaling_policy_request.py +3 -3
  153. huaweicloudsdkmrs/v2/model/show_auto_scaling_policy_response.py +3 -3
  154. huaweicloudsdkmrs/v2/model/show_hdfs_file_list_request.py +13 -13
  155. huaweicloudsdkmrs/v2/model/show_hdfs_file_list_response.py +5 -5
  156. huaweicloudsdkmrs/v2/model/show_job_exe_list_new_request.py +27 -27
  157. huaweicloudsdkmrs/v2/model/show_job_exe_list_new_response.py +5 -5
  158. huaweicloudsdkmrs/v2/model/show_mrs_flavors_request.py +5 -5
  159. huaweicloudsdkmrs/v2/model/show_mrs_flavors_response.py +5 -5
  160. huaweicloudsdkmrs/v2/model/show_mrs_version_list_request.py +1 -1
  161. huaweicloudsdkmrs/v2/model/show_mrs_version_list_response.py +3 -3
  162. huaweicloudsdkmrs/v2/model/show_single_job_exe_request.py +5 -5
  163. huaweicloudsdkmrs/v2/model/show_single_job_exe_response.py +3 -3
  164. huaweicloudsdkmrs/v2/model/show_sql_result_request.py +5 -5
  165. huaweicloudsdkmrs/v2/model/show_sql_result_response.py +13 -13
  166. huaweicloudsdkmrs/v2/model/show_sql_result_with_job_request.py +5 -5
  167. huaweicloudsdkmrs/v2/model/show_sql_result_with_job_response.py +3 -3
  168. huaweicloudsdkmrs/v2/model/show_sync_iam_user_request.py +3 -3
  169. huaweicloudsdkmrs/v2/model/show_sync_iam_user_response.py +5 -5
  170. huaweicloudsdkmrs/v2/model/show_tag_quota_request.py +5 -5
  171. huaweicloudsdkmrs/v2/model/show_tag_quota_response.py +5 -5
  172. huaweicloudsdkmrs/v2/model/show_tag_status_request.py +3 -3
  173. huaweicloudsdkmrs/v2/model/show_tag_status_response.py +5 -5
  174. huaweicloudsdkmrs/v2/model/shrink_cluster_request.py +5 -5
  175. huaweicloudsdkmrs/v2/model/shrink_cluster_response.py +3 -3
  176. huaweicloudsdkmrs/v2/model/shrink_param.py +7 -7
  177. huaweicloudsdkmrs/v2/model/smn_notify.py +5 -5
  178. huaweicloudsdkmrs/v2/model/sql_execution_req.py +9 -9
  179. huaweicloudsdkmrs/v2/model/step_config.py +3 -3
  180. huaweicloudsdkmrs/v2/model/stop_job_request.py +5 -5
  181. huaweicloudsdkmrs/v2/model/stop_job_response.py +1 -1
  182. huaweicloudsdkmrs/v2/model/switch_cluster_tags_request.py +5 -5
  183. huaweicloudsdkmrs/v2/model/switch_cluster_tags_response.py +1 -1
  184. huaweicloudsdkmrs/v2/model/tag.py +5 -5
  185. huaweicloudsdkmrs/v2/model/trigger.py +9 -9
  186. huaweicloudsdkmrs/v2/model/update_agency_mapping_request.py +5 -5
  187. huaweicloudsdkmrs/v2/model/update_agency_mapping_response.py +3 -3
  188. huaweicloudsdkmrs/v2/model/update_auto_scaling_policy_request.py +5 -5
  189. huaweicloudsdkmrs/v2/model/update_auto_scaling_policy_response.py +1 -1
  190. huaweicloudsdkmrs/v2/model/update_cluster_name_request.py +5 -5
  191. huaweicloudsdkmrs/v2/model/update_cluster_name_response.py +3 -3
  192. huaweicloudsdkmrs/v2/model/update_cluster_req.py +3 -3
  193. huaweicloudsdkmrs/v2/model/update_data_connector_request.py +5 -5
  194. huaweicloudsdkmrs/v2/model/update_data_connector_response.py +3 -3
  195. huaweicloudsdkmrs/v2/model/update_sync_iam_user_request.py +5 -5
  196. huaweicloudsdkmrs/v2/model/update_sync_iam_user_response.py +3 -3
  197. huaweicloudsdkmrs/v2/model/update_sync_request.py +7 -7
  198. huaweicloudsdkmrs/v2/model/volume.py +5 -5
  199. huaweicloudsdkmrs/v2/model/volume_info.py +7 -7
  200. huaweicloudsdkmrs/v2/mrs_async_client.py +35 -35
  201. huaweicloudsdkmrs/v2/mrs_client.py +35 -35
  202. {huaweicloudsdkmrs-3.1.141.dist-info → huaweicloudsdkmrs-3.1.143.dist-info}/METADATA +2 -2
  203. huaweicloudsdkmrs-3.1.143.dist-info/RECORD +215 -0
  204. huaweicloudsdkmrs-3.1.141.dist-info/RECORD +0 -215
  205. {huaweicloudsdkmrs-3.1.141.dist-info → huaweicloudsdkmrs-3.1.143.dist-info}/LICENSE +0 -0
  206. {huaweicloudsdkmrs-3.1.141.dist-info → huaweicloudsdkmrs-3.1.143.dist-info}/WHEEL +0 -0
  207. {huaweicloudsdkmrs-3.1.141.dist-info → huaweicloudsdkmrs-3.1.143.dist-info}/top_level.txt +0 -0
@@ -37,7 +37,7 @@ class ScaleScript:
37
37
  }
38
38
 
39
39
  def __init__(self, name=None, uri=None, parameters=None, nodes=None, active_master=None, fail_action=None, action_stage=None):
40
- """ScaleScript
40
+ r"""ScaleScript
41
41
 
42
42
  The model defined in huaweicloud sdk
43
43
 
@@ -80,7 +80,7 @@ class ScaleScript:
80
80
 
81
81
  @property
82
82
  def name(self):
83
- """Gets the name of this ScaleScript.
83
+ r"""Gets the name of this ScaleScript.
84
84
 
85
85
  弹性伸缩自定义自动化脚本的名称,同一个集群的自定义自动化脚本名称不允许相同。 只能由数字、英文字符、空格、中划线和下划线组成,且不能以空格开头。 可输入的字符串长度为1~64个字符。
86
86
 
@@ -91,7 +91,7 @@ class ScaleScript:
91
91
 
92
92
  @name.setter
93
93
  def name(self, name):
94
- """Sets the name of this ScaleScript.
94
+ r"""Sets the name of this ScaleScript.
95
95
 
96
96
  弹性伸缩自定义自动化脚本的名称,同一个集群的自定义自动化脚本名称不允许相同。 只能由数字、英文字符、空格、中划线和下划线组成,且不能以空格开头。 可输入的字符串长度为1~64个字符。
97
97
 
@@ -102,7 +102,7 @@ class ScaleScript:
102
102
 
103
103
  @property
104
104
  def uri(self):
105
- """Gets the uri of this ScaleScript.
105
+ r"""Gets the uri of this ScaleScript.
106
106
 
107
107
  自定义自动化脚本的路径。设置为OBS桶的路径或虚拟机本地的路径。 - OBS桶的路径:直接手动输入脚本路径。示例:obs://XXX/scale.sh - 虚拟机本地的路径:用户需要输入正确的脚本路径。脚本所在的路径必须以‘/’开头,以.sh结尾。
108
108
 
@@ -113,7 +113,7 @@ class ScaleScript:
113
113
 
114
114
  @uri.setter
115
115
  def uri(self, uri):
116
- """Sets the uri of this ScaleScript.
116
+ r"""Sets the uri of this ScaleScript.
117
117
 
118
118
  自定义自动化脚本的路径。设置为OBS桶的路径或虚拟机本地的路径。 - OBS桶的路径:直接手动输入脚本路径。示例:obs://XXX/scale.sh - 虚拟机本地的路径:用户需要输入正确的脚本路径。脚本所在的路径必须以‘/’开头,以.sh结尾。
119
119
 
@@ -124,7 +124,7 @@ class ScaleScript:
124
124
 
125
125
  @property
126
126
  def parameters(self):
127
- """Gets the parameters of this ScaleScript.
127
+ r"""Gets the parameters of this ScaleScript.
128
128
 
129
129
  自定义自动化脚本参数。 多个参数间用空格隔开。 可以传入以下系统预定义参数: - ${mrs_scale_node_num}:扩缩容节点数 - ${mrs_scale_type}:扩缩容类型,扩容为scale_out,缩容为scale_in - ${mrs_scale_node_hostnames}:扩缩容的节点主机名称 - ${mrs_scale_node_ips}:扩缩容的节点IP - ${mrs_scale_rule_name}:触发扩缩容的规则名 其他用户自定义参数使用方式与普通shell脚本相同,多个参数中间用空格隔开。
130
130
 
@@ -135,7 +135,7 @@ class ScaleScript:
135
135
 
136
136
  @parameters.setter
137
137
  def parameters(self, parameters):
138
- """Sets the parameters of this ScaleScript.
138
+ r"""Sets the parameters of this ScaleScript.
139
139
 
140
140
  自定义自动化脚本参数。 多个参数间用空格隔开。 可以传入以下系统预定义参数: - ${mrs_scale_node_num}:扩缩容节点数 - ${mrs_scale_type}:扩缩容类型,扩容为scale_out,缩容为scale_in - ${mrs_scale_node_hostnames}:扩缩容的节点主机名称 - ${mrs_scale_node_ips}:扩缩容的节点IP - ${mrs_scale_rule_name}:触发扩缩容的规则名 其他用户自定义参数使用方式与普通shell脚本相同,多个参数中间用空格隔开。
141
141
 
@@ -146,7 +146,7 @@ class ScaleScript:
146
146
 
147
147
  @property
148
148
  def nodes(self):
149
- """Gets the nodes of this ScaleScript.
149
+ r"""Gets the nodes of this ScaleScript.
150
150
 
151
151
  自定义自动化脚本所执行的节点组名称。
152
152
 
@@ -157,7 +157,7 @@ class ScaleScript:
157
157
 
158
158
  @nodes.setter
159
159
  def nodes(self, nodes):
160
- """Sets the nodes of this ScaleScript.
160
+ r"""Sets the nodes of this ScaleScript.
161
161
 
162
162
  自定义自动化脚本所执行的节点组名称。
163
163
 
@@ -168,7 +168,7 @@ class ScaleScript:
168
168
 
169
169
  @property
170
170
  def active_master(self):
171
- """Gets the active_master of this ScaleScript.
171
+ r"""Gets the active_master of this ScaleScript.
172
172
 
173
173
  自定义自动化脚本是否只运行在主Master节点上。 缺省值为false,表示自定义自动化脚本可运行在所有Master节点上。
174
174
 
@@ -179,7 +179,7 @@ class ScaleScript:
179
179
 
180
180
  @active_master.setter
181
181
  def active_master(self, active_master):
182
- """Sets the active_master of this ScaleScript.
182
+ r"""Sets the active_master of this ScaleScript.
183
183
 
184
184
  自定义自动化脚本是否只运行在主Master节点上。 缺省值为false,表示自定义自动化脚本可运行在所有Master节点上。
185
185
 
@@ -190,7 +190,7 @@ class ScaleScript:
190
190
 
191
191
  @property
192
192
  def fail_action(self):
193
- """Gets the fail_action of this ScaleScript.
193
+ r"""Gets the fail_action of this ScaleScript.
194
194
 
195
195
  自自定义自动化脚本执行失败后,是否继续执行后续脚本和创建集群。 说明: - 建议您在调试阶段设置为“continue”,无论此自定义自动化脚本是否执行成功,则集群都能继续安装和启动。 - 由于缩容成功无法回滚,因此缩容后执行的脚本“fail_action”必须设置为“continue”。 枚举值: - continue:继续执行后续脚本。 - errorout:终止操作。
196
196
 
@@ -201,7 +201,7 @@ class ScaleScript:
201
201
 
202
202
  @fail_action.setter
203
203
  def fail_action(self, fail_action):
204
- """Sets the fail_action of this ScaleScript.
204
+ r"""Sets the fail_action of this ScaleScript.
205
205
 
206
206
  自自定义自动化脚本执行失败后,是否继续执行后续脚本和创建集群。 说明: - 建议您在调试阶段设置为“continue”,无论此自定义自动化脚本是否执行成功,则集群都能继续安装和启动。 - 由于缩容成功无法回滚,因此缩容后执行的脚本“fail_action”必须设置为“continue”。 枚举值: - continue:继续执行后续脚本。 - errorout:终止操作。
207
207
 
@@ -212,7 +212,7 @@ class ScaleScript:
212
212
 
213
213
  @property
214
214
  def action_stage(self):
215
- """Gets the action_stage of this ScaleScript.
215
+ r"""Gets the action_stage of this ScaleScript.
216
216
 
217
217
  脚本执行时机。 枚举值: - before_scale_out:扩容前 - before_scale_in:缩容前 - after_scale_out:扩容后 - after_scale_in:缩容后
218
218
 
@@ -223,7 +223,7 @@ class ScaleScript:
223
223
 
224
224
  @action_stage.setter
225
225
  def action_stage(self, action_stage):
226
- """Sets the action_stage of this ScaleScript.
226
+ r"""Sets the action_stage of this ScaleScript.
227
227
 
228
228
  脚本执行时机。 枚举值: - before_scale_out:扩容前 - before_scale_in:缩容前 - after_scale_out:扩容后 - after_scale_in:缩容后
229
229
 
@@ -41,7 +41,7 @@ class ServerInfo:
41
41
  }
42
42
 
43
43
  def __init__(self, server_id=None, server_name=None, server_type=None, data_volumes=None, root_volume=None, cpu_type=None, cpu=None, mem=None, internal_ip=None):
44
- """ServerInfo
44
+ r"""ServerInfo
45
45
 
46
46
  The model defined in huaweicloud sdk
47
47
 
@@ -96,7 +96,7 @@ class ServerInfo:
96
96
 
97
97
  @property
98
98
  def server_id(self):
99
- """Gets the server_id of this ServerInfo.
99
+ r"""Gets the server_id of this ServerInfo.
100
100
 
101
101
  服务器ID。
102
102
 
@@ -107,7 +107,7 @@ class ServerInfo:
107
107
 
108
108
  @server_id.setter
109
109
  def server_id(self, server_id):
110
- """Sets the server_id of this ServerInfo.
110
+ r"""Sets the server_id of this ServerInfo.
111
111
 
112
112
  服务器ID。
113
113
 
@@ -118,7 +118,7 @@ class ServerInfo:
118
118
 
119
119
  @property
120
120
  def server_name(self):
121
- """Gets the server_name of this ServerInfo.
121
+ r"""Gets the server_name of this ServerInfo.
122
122
 
123
123
  服务器名称。
124
124
 
@@ -129,7 +129,7 @@ class ServerInfo:
129
129
 
130
130
  @server_name.setter
131
131
  def server_name(self, server_name):
132
- """Sets the server_name of this ServerInfo.
132
+ r"""Sets the server_name of this ServerInfo.
133
133
 
134
134
  服务器名称。
135
135
 
@@ -140,7 +140,7 @@ class ServerInfo:
140
140
 
141
141
  @property
142
142
  def server_type(self):
143
- """Gets the server_type of this ServerInfo.
143
+ r"""Gets the server_type of this ServerInfo.
144
144
 
145
145
  ECS或者BMS。
146
146
 
@@ -151,7 +151,7 @@ class ServerInfo:
151
151
 
152
152
  @server_type.setter
153
153
  def server_type(self, server_type):
154
- """Sets the server_type of this ServerInfo.
154
+ r"""Sets the server_type of this ServerInfo.
155
155
 
156
156
  ECS或者BMS。
157
157
 
@@ -162,7 +162,7 @@ class ServerInfo:
162
162
 
163
163
  @property
164
164
  def data_volumes(self):
165
- """Gets the data_volumes of this ServerInfo.
165
+ r"""Gets the data_volumes of this ServerInfo.
166
166
 
167
167
  数据盘。
168
168
 
@@ -173,7 +173,7 @@ class ServerInfo:
173
173
 
174
174
  @data_volumes.setter
175
175
  def data_volumes(self, data_volumes):
176
- """Sets the data_volumes of this ServerInfo.
176
+ r"""Sets the data_volumes of this ServerInfo.
177
177
 
178
178
  数据盘。
179
179
 
@@ -184,7 +184,7 @@ class ServerInfo:
184
184
 
185
185
  @property
186
186
  def root_volume(self):
187
- """Gets the root_volume of this ServerInfo.
187
+ r"""Gets the root_volume of this ServerInfo.
188
188
 
189
189
  :return: The root_volume of this ServerInfo.
190
190
  :rtype: :class:`huaweicloudsdkmrs.v2.VolumeInfo`
@@ -193,7 +193,7 @@ class ServerInfo:
193
193
 
194
194
  @root_volume.setter
195
195
  def root_volume(self, root_volume):
196
- """Sets the root_volume of this ServerInfo.
196
+ r"""Sets the root_volume of this ServerInfo.
197
197
 
198
198
  :param root_volume: The root_volume of this ServerInfo.
199
199
  :type root_volume: :class:`huaweicloudsdkmrs.v2.VolumeInfo`
@@ -202,7 +202,7 @@ class ServerInfo:
202
202
 
203
203
  @property
204
204
  def cpu_type(self):
205
- """Gets the cpu_type of this ServerInfo.
205
+ r"""Gets the cpu_type of this ServerInfo.
206
206
 
207
207
  CPU类型。x86或者ARM。
208
208
 
@@ -213,7 +213,7 @@ class ServerInfo:
213
213
 
214
214
  @cpu_type.setter
215
215
  def cpu_type(self, cpu_type):
216
- """Sets the cpu_type of this ServerInfo.
216
+ r"""Sets the cpu_type of this ServerInfo.
217
217
 
218
218
  CPU类型。x86或者ARM。
219
219
 
@@ -224,7 +224,7 @@ class ServerInfo:
224
224
 
225
225
  @property
226
226
  def cpu(self):
227
- """Gets the cpu of this ServerInfo.
227
+ r"""Gets the cpu of this ServerInfo.
228
228
 
229
229
  CPU大小。
230
230
 
@@ -235,7 +235,7 @@ class ServerInfo:
235
235
 
236
236
  @cpu.setter
237
237
  def cpu(self, cpu):
238
- """Sets the cpu of this ServerInfo.
238
+ r"""Sets the cpu of this ServerInfo.
239
239
 
240
240
  CPU大小。
241
241
 
@@ -246,7 +246,7 @@ class ServerInfo:
246
246
 
247
247
  @property
248
248
  def mem(self):
249
- """Gets the mem of this ServerInfo.
249
+ r"""Gets the mem of this ServerInfo.
250
250
 
251
251
  内存大小。
252
252
 
@@ -257,7 +257,7 @@ class ServerInfo:
257
257
 
258
258
  @mem.setter
259
259
  def mem(self, mem):
260
- """Sets the mem of this ServerInfo.
260
+ r"""Sets the mem of this ServerInfo.
261
261
 
262
262
  内存大小。
263
263
 
@@ -268,7 +268,7 @@ class ServerInfo:
268
268
 
269
269
  @property
270
270
  def internal_ip(self):
271
- """Gets the internal_ip of this ServerInfo.
271
+ r"""Gets the internal_ip of this ServerInfo.
272
272
 
273
273
  内部IP。
274
274
 
@@ -279,7 +279,7 @@ class ServerInfo:
279
279
 
280
280
  @internal_ip.setter
281
281
  def internal_ip(self, internal_ip):
282
- """Sets the internal_ip of this ServerInfo.
282
+ r"""Sets the internal_ip of this ServerInfo.
283
283
 
284
284
  内部IP。
285
285
 
@@ -25,7 +25,7 @@ class ShowAgencyMappingRequest:
25
25
  }
26
26
 
27
27
  def __init__(self, cluster_id=None):
28
- """ShowAgencyMappingRequest
28
+ r"""ShowAgencyMappingRequest
29
29
 
30
30
  The model defined in huaweicloud sdk
31
31
 
@@ -42,7 +42,7 @@ class ShowAgencyMappingRequest:
42
42
 
43
43
  @property
44
44
  def cluster_id(self):
45
- """Gets the cluster_id of this ShowAgencyMappingRequest.
45
+ r"""Gets the cluster_id of this ShowAgencyMappingRequest.
46
46
 
47
47
  集群ID。获取方法,请参见[获取集群ID](https://support.huaweicloud.com/api-mrs/mrs_02_9001.html)。
48
48
 
@@ -53,7 +53,7 @@ class ShowAgencyMappingRequest:
53
53
 
54
54
  @cluster_id.setter
55
55
  def cluster_id(self, cluster_id):
56
- """Sets the cluster_id of this ShowAgencyMappingRequest.
56
+ r"""Sets the cluster_id of this ShowAgencyMappingRequest.
57
57
 
58
58
  集群ID。获取方法,请参见[获取集群ID](https://support.huaweicloud.com/api-mrs/mrs_02_9001.html)。
59
59
 
@@ -26,7 +26,7 @@ class ShowAgencyMappingResponse(SdkResponse):
26
26
  }
27
27
 
28
28
  def __init__(self, agency_mappings=None):
29
- """ShowAgencyMappingResponse
29
+ r"""ShowAgencyMappingResponse
30
30
 
31
31
  The model defined in huaweicloud sdk
32
32
 
@@ -44,7 +44,7 @@ class ShowAgencyMappingResponse(SdkResponse):
44
44
 
45
45
  @property
46
46
  def agency_mappings(self):
47
- """Gets the agency_mappings of this ShowAgencyMappingResponse.
47
+ r"""Gets the agency_mappings of this ShowAgencyMappingResponse.
48
48
 
49
49
  用户(组)与委托之间的映射关系详细信息。
50
50
 
@@ -55,7 +55,7 @@ class ShowAgencyMappingResponse(SdkResponse):
55
55
 
56
56
  @agency_mappings.setter
57
57
  def agency_mappings(self, agency_mappings):
58
- """Sets the agency_mappings of this ShowAgencyMappingResponse.
58
+ r"""Sets the agency_mappings of this ShowAgencyMappingResponse.
59
59
 
60
60
  用户(组)与委托之间的映射关系详细信息。
61
61
 
@@ -25,7 +25,7 @@ class ShowAutoScalingPolicyRequest:
25
25
  }
26
26
 
27
27
  def __init__(self, cluster_id=None):
28
- """ShowAutoScalingPolicyRequest
28
+ r"""ShowAutoScalingPolicyRequest
29
29
 
30
30
  The model defined in huaweicloud sdk
31
31
 
@@ -42,7 +42,7 @@ class ShowAutoScalingPolicyRequest:
42
42
 
43
43
  @property
44
44
  def cluster_id(self):
45
- """Gets the cluster_id of this ShowAutoScalingPolicyRequest.
45
+ r"""Gets the cluster_id of this ShowAutoScalingPolicyRequest.
46
46
 
47
47
  集群ID。获取方法,请参见[获取集群ID](https://support.huaweicloud.com/api-mrs/mrs_02_9001.html)。
48
48
 
@@ -53,7 +53,7 @@ class ShowAutoScalingPolicyRequest:
53
53
 
54
54
  @cluster_id.setter
55
55
  def cluster_id(self, cluster_id):
56
- """Sets the cluster_id of this ShowAutoScalingPolicyRequest.
56
+ r"""Sets the cluster_id of this ShowAutoScalingPolicyRequest.
57
57
 
58
58
  集群ID。获取方法,请参见[获取集群ID](https://support.huaweicloud.com/api-mrs/mrs_02_9001.html)。
59
59
 
@@ -26,7 +26,7 @@ class ShowAutoScalingPolicyResponse(SdkResponse):
26
26
  }
27
27
 
28
28
  def __init__(self, body=None):
29
- """ShowAutoScalingPolicyResponse
29
+ r"""ShowAutoScalingPolicyResponse
30
30
 
31
31
  The model defined in huaweicloud sdk
32
32
 
@@ -44,7 +44,7 @@ class ShowAutoScalingPolicyResponse(SdkResponse):
44
44
 
45
45
  @property
46
46
  def body(self):
47
- """Gets the body of this ShowAutoScalingPolicyResponse.
47
+ r"""Gets the body of this ShowAutoScalingPolicyResponse.
48
48
 
49
49
  弹性伸缩策略列表
50
50
 
@@ -55,7 +55,7 @@ class ShowAutoScalingPolicyResponse(SdkResponse):
55
55
 
56
56
  @body.setter
57
57
  def body(self, body):
58
- """Sets the body of this ShowAutoScalingPolicyResponse.
58
+ r"""Sets the body of this ShowAutoScalingPolicyResponse.
59
59
 
60
60
  弹性伸缩策略列表
61
61
 
@@ -35,7 +35,7 @@ class ShowHdfsFileListRequest:
35
35
  }
36
36
 
37
37
  def __init__(self, cluster_id=None, path=None, offset=None, limit=None, sort_key=None, order=None):
38
- """ShowHdfsFileListRequest
38
+ r"""ShowHdfsFileListRequest
39
39
 
40
40
  The model defined in huaweicloud sdk
41
41
 
@@ -76,7 +76,7 @@ class ShowHdfsFileListRequest:
76
76
 
77
77
  @property
78
78
  def cluster_id(self):
79
- """Gets the cluster_id of this ShowHdfsFileListRequest.
79
+ r"""Gets the cluster_id of this ShowHdfsFileListRequest.
80
80
 
81
81
  集群ID。获取方法,请参见[获取集群ID](https://support.huaweicloud.com/api-mrs/mrs_02_9001.html)。
82
82
 
@@ -87,7 +87,7 @@ class ShowHdfsFileListRequest:
87
87
 
88
88
  @cluster_id.setter
89
89
  def cluster_id(self, cluster_id):
90
- """Sets the cluster_id of this ShowHdfsFileListRequest.
90
+ r"""Sets the cluster_id of this ShowHdfsFileListRequest.
91
91
 
92
92
  集群ID。获取方法,请参见[获取集群ID](https://support.huaweicloud.com/api-mrs/mrs_02_9001.html)。
93
93
 
@@ -98,7 +98,7 @@ class ShowHdfsFileListRequest:
98
98
 
99
99
  @property
100
100
  def path(self):
101
- """Gets the path of this ShowHdfsFileListRequest.
101
+ r"""Gets the path of this ShowHdfsFileListRequest.
102
102
 
103
103
  文件目录。 比如访问“/tmp/test”目录列表,此处必须是目录,整体URI为/v2/{project_id}/clusters/{cluster_id}/files?path=%2Ftmp%2Ftest 单层目录要遵循以下规则: - 不能为空 - 不能以\".\"开头或结尾 - 不能包括下列符号 : :*?\"<>|\\;&,'`!{}[]$%+ - 不能超过255个字节
104
104
 
@@ -109,7 +109,7 @@ class ShowHdfsFileListRequest:
109
109
 
110
110
  @path.setter
111
111
  def path(self, path):
112
- """Sets the path of this ShowHdfsFileListRequest.
112
+ r"""Sets the path of this ShowHdfsFileListRequest.
113
113
 
114
114
  文件目录。 比如访问“/tmp/test”目录列表,此处必须是目录,整体URI为/v2/{project_id}/clusters/{cluster_id}/files?path=%2Ftmp%2Ftest 单层目录要遵循以下规则: - 不能为空 - 不能以\".\"开头或结尾 - 不能包括下列符号 : :*?\"<>|\\;&,'`!{}[]$%+ - 不能超过255个字节
115
115
 
@@ -120,7 +120,7 @@ class ShowHdfsFileListRequest:
120
120
 
121
121
  @property
122
122
  def offset(self):
123
- """Gets the offset of this ShowHdfsFileListRequest.
123
+ r"""Gets the offset of this ShowHdfsFileListRequest.
124
124
 
125
125
  分页参数,表示从该偏移量开始查询文件列表,默认值为0。
126
126
 
@@ -131,7 +131,7 @@ class ShowHdfsFileListRequest:
131
131
 
132
132
  @offset.setter
133
133
  def offset(self, offset):
134
- """Sets the offset of this ShowHdfsFileListRequest.
134
+ r"""Sets the offset of this ShowHdfsFileListRequest.
135
135
 
136
136
  分页参数,表示从该偏移量开始查询文件列表,默认值为0。
137
137
 
@@ -142,7 +142,7 @@ class ShowHdfsFileListRequest:
142
142
 
143
143
  @property
144
144
  def limit(self):
145
- """Gets the limit of this ShowHdfsFileListRequest.
145
+ r"""Gets the limit of this ShowHdfsFileListRequest.
146
146
 
147
147
  分页参数,列表当前分页的数量限制,默认为100,最大1000。
148
148
 
@@ -153,7 +153,7 @@ class ShowHdfsFileListRequest:
153
153
 
154
154
  @limit.setter
155
155
  def limit(self, limit):
156
- """Sets the limit of this ShowHdfsFileListRequest.
156
+ r"""Sets the limit of this ShowHdfsFileListRequest.
157
157
 
158
158
  分页参数,列表当前分页的数量限制,默认为100,最大1000。
159
159
 
@@ -164,7 +164,7 @@ class ShowHdfsFileListRequest:
164
164
 
165
165
  @property
166
166
  def sort_key(self):
167
- """Gets the sort_key of this ShowHdfsFileListRequest.
167
+ r"""Gets the sort_key of this ShowHdfsFileListRequest.
168
168
 
169
169
  列表排序按该属性排序。缺省值:path_suffix - path_suffix:文件或目录名称 - length:文件大小 - modification_time:修改时间
170
170
 
@@ -175,7 +175,7 @@ class ShowHdfsFileListRequest:
175
175
 
176
176
  @sort_key.setter
177
177
  def sort_key(self, sort_key):
178
- """Sets the sort_key of this ShowHdfsFileListRequest.
178
+ r"""Sets the sort_key of this ShowHdfsFileListRequest.
179
179
 
180
180
  列表排序按该属性排序。缺省值:path_suffix - path_suffix:文件或目录名称 - length:文件大小 - modification_time:修改时间
181
181
 
@@ -186,7 +186,7 @@ class ShowHdfsFileListRequest:
186
186
 
187
187
  @property
188
188
  def order(self):
189
- """Gets the order of this ShowHdfsFileListRequest.
189
+ r"""Gets the order of this ShowHdfsFileListRequest.
190
190
 
191
191
  列表排序方式,desc为降序,asc为升序,默认值为desc。
192
192
 
@@ -197,7 +197,7 @@ class ShowHdfsFileListRequest:
197
197
 
198
198
  @order.setter
199
199
  def order(self, order):
200
- """Sets the order of this ShowHdfsFileListRequest.
200
+ r"""Sets the order of this ShowHdfsFileListRequest.
201
201
 
202
202
  列表排序方式,desc为降序,asc为升序,默认值为desc。
203
203
 
@@ -28,7 +28,7 @@ class ShowHdfsFileListResponse(SdkResponse):
28
28
  }
29
29
 
30
30
  def __init__(self, total_count=None, files=None):
31
- """ShowHdfsFileListResponse
31
+ r"""ShowHdfsFileListResponse
32
32
 
33
33
  The model defined in huaweicloud sdk
34
34
 
@@ -51,7 +51,7 @@ class ShowHdfsFileListResponse(SdkResponse):
51
51
 
52
52
  @property
53
53
  def total_count(self):
54
- """Gets the total_count of this ShowHdfsFileListResponse.
54
+ r"""Gets the total_count of this ShowHdfsFileListResponse.
55
55
 
56
56
  文件总数,与分页无关。
57
57
 
@@ -62,7 +62,7 @@ class ShowHdfsFileListResponse(SdkResponse):
62
62
 
63
63
  @total_count.setter
64
64
  def total_count(self, total_count):
65
- """Sets the total_count of this ShowHdfsFileListResponse.
65
+ r"""Sets the total_count of this ShowHdfsFileListResponse.
66
66
 
67
67
  文件总数,与分页无关。
68
68
 
@@ -73,7 +73,7 @@ class ShowHdfsFileListResponse(SdkResponse):
73
73
 
74
74
  @property
75
75
  def files(self):
76
- """Gets the files of this ShowHdfsFileListResponse.
76
+ r"""Gets the files of this ShowHdfsFileListResponse.
77
77
 
78
78
  文件列表。
79
79
 
@@ -84,7 +84,7 @@ class ShowHdfsFileListResponse(SdkResponse):
84
84
 
85
85
  @files.setter
86
86
  def files(self, files):
87
- """Sets the files of this ShowHdfsFileListResponse.
87
+ r"""Sets the files of this ShowHdfsFileListResponse.
88
88
 
89
89
  文件列表。
90
90