diff --git a/docs/mrs/api-ref/ALL_META.TXT.json b/docs/mrs/api-ref/ALL_META.TXT.json index 87557b0a..711450d4 100644 --- a/docs/mrs/api-ref/ALL_META.TXT.json +++ b/docs/mrs/api-ref/ALL_META.TXT.json @@ -1,941 +1,1744 @@ [ { "uri":"en-us_topic_0037324628.html", + "node_id":"en-us_topic_0037324628.xml", "product_code":"mrs", "code":"1", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Before You Start", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Before You Start", "githuburl":"" }, { "uri":"mrs_02_0001.html", + "node_id":"mrs_02_0001.xml", "product_code":"mrs", "code":"2", "des":"Welcome to MapReduce Service API Reference. MapReduce Service (MRS) provides enterprise-level big data clusters on the cloud. Tenants can fully control the clusters and e", "doc_type":"api", "kw":"Overview,Before You Start,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Overview", "githuburl":"" }, { "uri":"mrs_02_0017.html", + "node_id":"mrs_02_0017.xml", "product_code":"mrs", "code":"3", "des":"MRS support Representational State Transfer (REST) APIs, allowing you to call APIs using HTTPS. For details about API calling, see Calling APIs.", "doc_type":"api", "kw":"API Calling,Before You Start,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"API Calling", "githuburl":"" }, { "uri":"mrs_02_0003.html", + "node_id":"mrs_02_0003.xml", "product_code":"mrs", "code":"4", "des":"An endpoint is the request address for calling an API. Endpoints vary depending on services and regions. For the endpoints of all services, see Regions and Endpoints..", "doc_type":"api", "kw":"Endpoints,Before You Start,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Endpoints", "githuburl":"" }, { "uri":"mrs_02_0004.html", + "node_id":"mrs_02_0004.xml", "product_code":"mrs", "code":"5", "des":"For more constraints, see API description.", "doc_type":"api", "kw":"Constraints,Before You Start,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Constraints", "githuburl":"" }, { "uri":"mrs_02_0005.html", + "node_id":"mrs_02_0005.xml", "product_code":"mrs", "code":"6", "des":"DomainA domain is created upon successful registration with the cloud platform. The domain has full access permissions for all of its cloud services and resources. It can", "doc_type":"api", "kw":"Concepts,Before You Start,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Concepts", "githuburl":"" }, { "uri":"mrs_02_0006.html", + "node_id":"mrs_02_0006.xml", "product_code":"mrs", "code":"7", "des":"Currently, MRS provides two types (V1 and V2) of APIs for cloud services with customized specifications. Only part of V2 APIs is available and mainly used for submitting ", "doc_type":"api", "kw":"Selecting an API Type,Before You Start,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Selecting an API Type", "githuburl":"" }, { "uri":"mrs_02_0007.html", + "node_id":"mrs_02_0007.xml", "product_code":"mrs", "code":"8", "des":"Table 1 describes MRS APIs that meet RESTful API design standards.Table 2 lists MRS Manager APIs provided by MRS.", "doc_type":"api", "kw":"API Overview,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"API Overview", "githuburl":"" }, { "uri":"mrs_02_0002.html", + "node_id":"mrs_02_0002.xml", "product_code":"mrs", "code":"9", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Calling APIs", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Calling APIs", "githuburl":"" }, { "uri":"mrs_02_0008.html", + "node_id":"mrs_02_0008.xml", "product_code":"mrs", "code":"10", "des":"This section describes the structure of a REST API, and uses the IAM API for obtaining request authentication as an example to demonstrate how to call an API. The obtaine", "doc_type":"api", "kw":"Making an API Request,Calling APIs,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Making an API Request", "githuburl":"" }, { "uri":"mrs_02_0009.html", + "node_id":"mrs_02_0009.xml", "product_code":"mrs", "code":"11", "des":"Requests for calling an API can be authenticated using either of the following methods:Token-based authentication: Requests are authenticated using a token.AK/SK-based au", "doc_type":"api", "kw":"Authentication,Calling APIs,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Authentication", "githuburl":"" }, { "uri":"mrs_02_0010.html", + "node_id":"mrs_02_0010.xml", "product_code":"mrs", "code":"12", "des":"After sending a request, you will receive a response, including a status code, response header, and response body.A status code is a group of digits, ranging from 1xx to ", "doc_type":"api", "kw":"Response,Calling APIs,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Response", "githuburl":"" }, { "uri":"mrs_02_0020.html", + "node_id":"mrs_02_0020.xml", "product_code":"mrs", "code":"13", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"APIs", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"APIs", "githuburl":"" }, { "uri":"mrs_02_0021.html", + "node_id":"mrs_02_0021.xml", "product_code":"mrs", "code":"14", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Data Source APIs", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Data Source APIs", "githuburl":"" }, { "uri":"mrs_02_0022.html", + "node_id":"mrs_02_0022.xml", "product_code":"mrs", "code":"15", "des":"This API is used to create a data source. This API is compatible with Sahara.FormatPOST /v1.1/{project_id}/data-sourcesPOST /v1.1/{project_id}/data-sourcesParameter descr", "doc_type":"api", "kw":"Creating a Data Source,Data Source APIs,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Creating a Data Source", "githuburl":"" }, { "uri":"mrs_02_0023.html", + "node_id":"mrs_02_0023.xml", "product_code":"mrs", "code":"16", "des":"This API is used to update a data source. If the data source does not exist, the system reports an error. This API is compatible with Sahara.FormatPUT /v1.1/{project_id}/", "doc_type":"api", "kw":"Updating a Data Source,Data Source APIs,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Updating a Data Source", "githuburl":"" }, { "uri":"mrs_02_0024.html", + "node_id":"mrs_02_0024.xml", "product_code":"mrs", "code":"17", "des":"This API is used to query the data source list. This API is compatible with Sahara.FormatGET /v1.1/{project_id}/data-sourcesGET /v1.1/{project_id}/data-sourcesParameter d", "doc_type":"api", "kw":"Querying the Data Source List,Data Source APIs,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Querying the Data Source List", "githuburl":"" }, { "uri":"mrs_02_0025.html", + "node_id":"mrs_02_0025.xml", "product_code":"mrs", "code":"18", "des":"This API is used to query detailed information about a data source. This API is compatible with Sahara.FormatGET /v1.1/{project_id}/data-sources/{data_source_id}GET /v1.1", "doc_type":"api", "kw":"Querying the Data Source Details,Data Source APIs,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Querying the Data Source Details", "githuburl":"" }, { "uri":"mrs_02_0026.html", + "node_id":"mrs_02_0026.xml", "product_code":"mrs", "code":"19", "des":"This API is used to delete a data source. This API is compatible with Sahara.FormatDELETE /v1.1/{project_id}/data-sources/{data_source_id}DELETE /v1.1/{project_id}/data-s", "doc_type":"api", "kw":"Deleting a Data Source,Data Source APIs,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Deleting a Data Source", "githuburl":"" }, { "uri":"mrs_02_0100.html", + "node_id":"mrs_02_0100.xml", "product_code":"mrs", "code":"20", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Cluster management APIs (V2)", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Cluster management APIs (V2)", "githuburl":"" }, { "uri":"mrs_02_0101.html", + "node_id":"mrs_02_0101.xml", "product_code":"mrs", "code":"21", "des":"This API is used to create an MRS cluster.Before using the API, you need to obtain the resources listed in Table 1.URI formatPOST /v2/{project_id}/clustersPOST /v2/{proje", "doc_type":"api", "kw":"Creating Clusters,Cluster management APIs (V2),API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Creating Clusters", "githuburl":"" }, { - "uri":"mrs_02_0027.html", - "product_code":"mrs", + "uri":"mrs_02_0201.html", + "node_id":"mrs_02_0201.xml", + "product_code":"", "code":"22", + "des":"This API is used to change a cluster name.PUT /v2/{project_id}/clusters/{cluster_id}/cluster-nameStatus code: 200Status code: 400Change the MRS cluster name to mrs_jdRU_d", + "doc_type":"", + "kw":"Changing a Cluster Name,Cluster management APIs (V2),API Reference", + "search_title":"", + "metedata":[ + { + + } + ], + "title":"Changing a Cluster Name", + "githuburl":"" + }, + { + "uri":"mrs_02_0027.html", + "node_id":"mrs_02_0027.xml", + "product_code":"mrs", + "code":"23", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Cluster management APIs (V1)", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Cluster management APIs (V1)", "githuburl":"" }, { "uri":"mrs_02_0028.html", + "node_id":"mrs_02_0028.xml", "product_code":"mrs", - "code":"23", + "code":"24", "des":"This API is used to create an MRS cluster and submit a job in the cluster. This API is incompatible with Sahara.A maximum of 10 clusters can be concurrently created.Befor", "doc_type":"api", "kw":"Creating a Cluster and Running a Job,Cluster management APIs (V1),API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Creating a Cluster and Running a Job", "githuburl":"" }, { "uri":"mrs_02_0029.html", + "node_id":"mrs_02_0029.xml", "product_code":"mrs", - "code":"24", + "code":"25", "des":"This API is used to manually scale out or scale in Core or Task nodes in a cluster that has been created. After an MRS cluster is created, the number of Master nodes cann", "doc_type":"api", "kw":"Resizing a Cluster,Cluster management APIs (V1),API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Resizing a Cluster", "githuburl":"" }, { "uri":"mrs_02_0030.html", + "node_id":"mrs_02_0030.xml", "product_code":"mrs", - "code":"25", + "code":"26", "des":"This API is used to query a list of clusters created by a user. This API is incompatible with Sahara.FormatGET /v1.1/{project_id}/cluster_infos?pageSize={page_size}&curre", "doc_type":"api", "kw":"Querying a Cluster List,Cluster management APIs (V1),API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Querying a Cluster List", "githuburl":"" }, { "uri":"mrs_02_0031.html", + "node_id":"mrs_02_0031.xml", "product_code":"mrs", - "code":"26", + "code":"27", "des":"This API is used to query details about a specified cluster. This API is incompatible with Sahara.FormatGET /v1.1/{project_id}/cluster_infos/{cluster_id}GET /v1.1/{projec", "doc_type":"api", "kw":"Querying Cluster Details,Cluster management APIs (V1),API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Querying Cluster Details", "githuburl":"" }, { "uri":"mrs_02_0032.html", + "node_id":"mrs_02_0032.xml", "product_code":"mrs", - "code":"27", + "code":"28", "des":"This API is used to delete a cluster after data processing and analysis are completed or the cluster is abnormal. This API is compatible with Sahara.Clusters in any of th", "doc_type":"api", "kw":"Deleting a Cluster,Cluster management APIs (V1),API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Deleting a Cluster", "githuburl":"" }, { "uri":"mrs_02_0057.html", + "node_id":"mrs_02_0057.xml", "product_code":"mrs", - "code":"28", + "code":"29", "des":"This API is used to query a host list of a specified cluster.FormatGET /v1.1/{project_id}/clusters/{cluster_id}/hostsGET /v1.1/{project_id}/clusters/{cluster_id}/hostsPar", "doc_type":"api", "kw":"Querying a Host List,Cluster management APIs (V1),API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Querying a Host List", "githuburl":"" }, { "uri":"mrs_02_0033.html", + "node_id":"mrs_02_0033.xml", "product_code":"mrs", - "code":"29", + "code":"30", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Job Binary Object APIs", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Job Binary Object APIs", "githuburl":"" }, { "uri":"mrs_02_0034.html", + "node_id":"mrs_02_0034.xml", "product_code":"mrs", - "code":"30", + "code":"31", "des":"This API is used to create a job binary object. This API is compatible with Sahara.FormatPOST /v1.1/{project_id}/job-binariesPOST /v1.1/{project_id}/job-binariesParameter", "doc_type":"api", "kw":"Creating a Job Binary Object,Job Binary Object APIs,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Creating a Job Binary Object", "githuburl":"" }, { "uri":"mrs_02_0035.html", + "node_id":"mrs_02_0035.xml", "product_code":"mrs", - "code":"31", + "code":"32", "des":"This API is used to update a job binary object. This API is compatible with Sahara.FormatPUT /v1.1/{project_id}/job-binaries/{job_binary_id}PUT /v1.1/{project_id}/job-bin", "doc_type":"api", "kw":"Updating a Job Binary Object,Job Binary Object APIs,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Updating a Job Binary Object", "githuburl":"" }, { "uri":"mrs_02_0036.html", + "node_id":"mrs_02_0036.xml", "product_code":"mrs", - "code":"32", + "code":"33", "des":"This API is used to query the binary object list. This API is compatible with Sahara.FormatGET /v1.1/{project_id}/job-binariesGET /v1.1/{project_id}/job-binariesParameter", "doc_type":"api", "kw":"Querying the Binary Object List,Job Binary Object APIs,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Querying the Binary Object List", "githuburl":"" }, { "uri":"mrs_02_0037.html", + "node_id":"mrs_02_0037.xml", "product_code":"mrs", - "code":"33", + "code":"34", "des":"This API is used to query detailed information about a binary object. This API is compatible with Sahara.FormatGET /v1.1/{project_id}/job-binaries/{job_binary_id}GET /v1.", "doc_type":"api", "kw":"Querying the Binary Object Details,Job Binary Object APIs,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Querying the Binary Object Details", "githuburl":"" }, { "uri":"mrs_02_0038.html", + "node_id":"mrs_02_0038.xml", "product_code":"mrs", - "code":"34", + "code":"35", "des":"This API is used to delete a binary object. This API is compatible with Sahara.FormatDELETE /v1.1/{project_id}/job-binaries/{job_binary_id}DELETE /v1.1/{project_id}/job-b", "doc_type":"api", "kw":"Deleting a Job Binary Object,Job Binary Object APIs,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Deleting a Job Binary Object", "githuburl":"" }, { "uri":"mrs_02_0039.html", + "node_id":"mrs_02_0039.xml", "product_code":"mrs", - "code":"35", + "code":"36", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Job Object APIs (V1, Not Recommended)", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Job Object APIs (V1, Not Recommended)", "githuburl":"" }, { "uri":"mrs_02_0040.html", + "node_id":"mrs_02_0040.xml", "product_code":"mrs", - "code":"36", + "code":"37", "des":"This API is used to add a job to an MRS cluster and execute the job. This API is incompatible with Sahara.FormatPOST /v1.1/{project_id}/jobs/submit-jobPOST /v1.1/{project", "doc_type":"api", "kw":"Adding a Job and Executing the Job,Job Object APIs (V1, Not Recommended),API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Adding a Job and Executing the Job", "githuburl":"" }, { "uri":"mrs_02_0041.html", + "node_id":"mrs_02_0041.xml", "product_code":"mrs", - "code":"37", + "code":"38", "des":"This API is used to create a job object. This API is compatible with Sahara.FormatPOST /v1.1/{project_id}/jobsPOST /v1.1/{project_id}/jobsParameter descriptionURI paramet", "doc_type":"api", "kw":"Creating a Job Object,Job Object APIs (V1, Not Recommended),API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Creating a Job Object", "githuburl":"" }, { "uri":"mrs_02_0042.html", + "node_id":"mrs_02_0042.xml", "product_code":"mrs", - "code":"38", + "code":"39", "des":"This API is used to update a job object. This API is compatible with Sahara.FormatPATCH /v1.1/{project_id}/jobs/{job_id}PATCH /v1.1/{project_id}/jobs/{job_id}Parameter de", "doc_type":"api", "kw":"Updating a Job Object,Job Object APIs (V1, Not Recommended),API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Updating a Job Object", "githuburl":"" }, { "uri":"mrs_02_0043.html", + "node_id":"mrs_02_0043.xml", "product_code":"mrs", - "code":"39", + "code":"40", "des":"This API is used to execute a created job object. This API is compatible with Sahara.FormatPOST /v1.1/{project_id}/jobs/{job_id}/executePOST /v1.1/{project_id}/jobs/{job_", "doc_type":"api", "kw":"Executing a Job Object,Job Object APIs (V1, Not Recommended),API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Executing a Job Object", "githuburl":"" }, { "uri":"mrs_02_0044.html", + "node_id":"mrs_02_0044.xml", "product_code":"mrs", - "code":"40", + "code":"41", "des":"This API is used to query the job object list. This API is compatible with Sahara.FormatGET /v1.1/{project_id}/jobsGET /v1.1/{project_id}/jobsParameter descriptionURI par", "doc_type":"api", "kw":"Querying the Job Object List,Job Object APIs (V1, Not Recommended),API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Querying the Job Object List", "githuburl":"" }, { "uri":"mrs_02_0045.html", + "node_id":"mrs_02_0045.xml", "product_code":"mrs", - "code":"41", + "code":"42", "des":"This API is used to query detailed information about a job object. This API is compatible with Sahara.FormatGET /v1.1/{project_id}/jobs/{job_id}GET /v1.1/{project_id}/job", "doc_type":"api", "kw":"Querying Job Object Details,Job Object APIs (V1, Not Recommended),API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Querying Job Object Details", "githuburl":"" }, { "uri":"mrs_02_0046.html", + "node_id":"mrs_02_0046.xml", "product_code":"mrs", - "code":"42", + "code":"43", "des":"This API is used to query the exe object list of all jobs. This API is incompatible with Sahara.FormatGET /v1.1/{project_id}/job-exesGET /v1.1/{project_id}/job-exesParame", "doc_type":"api", "kw":"Querying the exe Object List of Jobs,Job Object APIs (V1, Not Recommended),API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Querying the exe Object List of Jobs", "githuburl":"" }, { "uri":"mrs_02_0047.html", + "node_id":"mrs_02_0047.xml", "product_code":"mrs", - "code":"43", + "code":"44", "des":"This API is used to query detailed information about the exe object of a job. This API is incompatible with Sahara.FormatGET /v1.1/{project_id}/job-exes/{job_exe_id}GET /", "doc_type":"api", "kw":"Querying exe Object Details,Job Object APIs (V1, Not Recommended),API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Querying exe Object Details", "githuburl":"" }, { "uri":"mrs_02_0048.html", + "node_id":"mrs_02_0048.xml", "product_code":"mrs", - "code":"44", + "code":"45", "des":"This API is used to delete a job object. This API is compatible with Sahara.FormatDELETE /v1.1/{project_id}/jobs/{job_id}DELETE /v1.1/{project_id}/jobs/{job_id}Parameter ", "doc_type":"api", "kw":"Deleting a Job Object,Job Object APIs (V1, Not Recommended),API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Deleting a Job Object", "githuburl":"" }, { "uri":"mrs_02_0049.html", + "node_id":"mrs_02_0049.xml", "product_code":"mrs", - "code":"45", + "code":"46", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Job Execution Object APIs (V1, Not Recommended)", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Job Execution Object APIs (V1, Not Recommended)", "githuburl":"" }, { "uri":"mrs_02_0050.html", + "node_id":"mrs_02_0050.xml", "product_code":"mrs", - "code":"46", + "code":"47", "des":"This API is used to query the job execution object list. This API is compatible with Sahara.FormatGET /v1.1/{project_id}/job-executionsGET /v1.1/{project_id}/job-executio", "doc_type":"api", "kw":"Querying the Job Execution Object List,Job Execution Object APIs (V1, Not Recommended),API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Querying the Job Execution Object List", "githuburl":"" }, { "uri":"mrs_02_0051.html", + "node_id":"mrs_02_0051.xml", "product_code":"mrs", - "code":"47", + "code":"48", "des":"This API is used to query detailed information about a job execution object. This API is compatible with Sahara.FormatGET /v1.1/{project_id}/job-executions/{job_execution", "doc_type":"api", "kw":"Querying Job Execution Object Details,Job Execution Object APIs (V1, Not Recommended),API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Querying Job Execution Object Details", "githuburl":"" }, { "uri":"mrs_02_0052.html", + "node_id":"mrs_02_0052.xml", "product_code":"mrs", - "code":"48", + "code":"49", "des":"This API is used to cancel a job object being executed. This API is compatible with Sahara.FormatGET /v1.1/{project_id}/job-executions/{job_execution_id}/cancelGET /v1.1/", "doc_type":"api", "kw":"Canceling Job Execution,Job Execution Object APIs (V1, Not Recommended),API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Canceling Job Execution", "githuburl":"" }, { "uri":"mrs_02_0053.html", + "node_id":"mrs_02_0053.xml", "product_code":"mrs", - "code":"49", + "code":"50", "des":"This API is used to delete a job execution object. This API is compatible with Sahara.FormatDELETE /v1.1/{project_id}/job-executions/{job_execution_id}DELETE /v1.1/{proje", "doc_type":"api", "kw":"Deleting a Job Execution Object,Job Execution Object APIs (V1, Not Recommended),API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Deleting a Job Execution Object", "githuburl":"" }, + { + "uri":"mrs_02_0199.html", + "node_id":"mrs_02_0199.xml", + "product_code":"", + "code":"51", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"", + "kw":"Auto Scaling APIs (V2)", + "search_title":"", + "metedata":[ + { + + } + ], + "title":"Auto Scaling APIs (V2)", + "githuburl":"" + }, + { + "uri":"mrs_02_0200.html", + "node_id":"mrs_02_0200.xml", + "product_code":"", + "code":"52", + "des":"This API is used to view all auto scaling policies of a specified cluster.GET /v2/{project_id}/autoscaling-policy/{cluster_id}NoneStatus code: 200Status code: 400NoneStat", + "doc_type":"", + "kw":"Viewing Auto Scaling Policies,Auto Scaling APIs (V2),API Reference", + "search_title":"", + "metedata":[ + { + + } + ], + "title":"Viewing Auto Scaling Policies", + "githuburl":"" + }, { "uri":"mrs_02_0084.html", + "node_id":"mrs_02_0084.xml", "product_code":"mrs", - "code":"50", + "code":"53", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Job Object APIs (V2)", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Job Object APIs (V2)", "githuburl":"" }, { "uri":"mrs_02_0085.html", + "node_id":"mrs_02_0085.xml", "product_code":"mrs", - "code":"51", + "code":"54", "des":"This API is used to add and submit a job in an MRS cluster.If Kerberos authentication is enabled for a cluster, on the Dashboard tab page of the cluster details page, cli", "doc_type":"api", "kw":"Adding and Executing a Job,Job Object APIs (V2),API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Adding and Executing a Job", "githuburl":"" }, { "uri":"mrs_02_0086.html", + "node_id":"mrs_02_0086.xml", "product_code":"mrs", - "code":"52", + "code":"55", "des":"This API is used to query information about a specified job in an MRS cluster.FormatGET /v2/{project_id}/clusters/{cluster_id}/job-executions/{job_execution_id}GET /v2/{p", "doc_type":"api", "kw":"Querying Information About a Job,Job Object APIs (V2),API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Querying Information About a Job", "githuburl":"" }, { "uri":"mrs_02_0087.html", + "node_id":"mrs_02_0087.xml", "product_code":"mrs", - "code":"53", + "code":"56", "des":"This API is used to query the job list in an MRS cluster.FormatGET /v2/{project_id}/clusters/{cluster_id}/job-executionsGET /v2/{project_id}/clusters/{cluster_id}/job-exe", "doc_type":"api", "kw":"Querying a List of Jobs,Job Object APIs (V2),API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Querying a List of Jobs", "githuburl":"" }, { "uri":"mrs_02_0088.html", + "node_id":"mrs_02_0088.xml", "product_code":"mrs", - "code":"54", + "code":"57", "des":"This API is used to terminate a specified job in an MRS cluster.FormatPOST /v2/{project_id}/clusters/{cluster_id}/job-executions/{job_execution_id}/killPOST /v2/{project_", "doc_type":"api", "kw":"Terminating a Job,Job Object APIs (V2),API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Terminating a Job", "githuburl":"" }, { "uri":"mrs_02_0089.html", + "node_id":"mrs_02_0089.xml", "product_code":"mrs", - "code":"55", + "code":"58", "des":"This API is used to delete APIs in batches.FormatPOST /v2/{project_id}/clusters/{cluster_id}/job-executions/batch-deletePOST /v2/{project_id}/clusters/{cluster_id}/job-ex", "doc_type":"api", "kw":"Deleting Jobs in Batches,Job Object APIs (V2),API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Deleting Jobs in Batches", "githuburl":"" }, { "uri":"mrs_02_0090.html", + "node_id":"mrs_02_0090.xml", "product_code":"mrs", - "code":"56", + "code":"59", "des":"This API is used to obtain results returned after the SQL statements for querying SparkSQL and SparkScript jobs in an MRS cluster are executed.FormatGET /v2/{project_id}/", "doc_type":"api", "kw":"Obtain the SQL Result,Job Object APIs (V2),API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Obtain the SQL Result", "githuburl":"" }, { "uri":"mrs_02_0054.html", + "node_id":"mrs_02_0054.xml", "product_code":"mrs", - "code":"57", + "code":"60", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Auto Scaling APIs", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Auto Scaling APIs", "githuburl":"" }, { "uri":"mrs_02_0056.html", + "node_id":"mrs_02_0056.xml", "product_code":"mrs", - "code":"58", + "code":"61", "des":"This API is used to configure an auto scaling rule.The API used for cluster creation and job execution can also be used to create an auto scaling rule.FormatPOST /v1.1/{p", "doc_type":"api", "kw":"Configuring an Auto Scaling Rule,Auto Scaling APIs,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Configuring an Auto Scaling Rule", "githuburl":"" }, { "uri":"mrs_02_0070.html", + "node_id":"mrs_02_0070.xml", "product_code":"mrs", - "code":"59", + "code":"62", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Tag Management APIs", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Tag Management APIs", "githuburl":"" }, { "uri":"mrs_02_0071.html", + "node_id":"mrs_02_0071.xml", "product_code":"mrs", - "code":"60", + "code":"63", "des":"This API is used to add a tag to a specified cluster.A cluster has a maximum of 10 tags. This API is idempotent. If a tag to be created has the same key as an existing ta", "doc_type":"api", "kw":"Adding a Tag to a Specified Cluster,Tag Management APIs,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Adding a Tag to a Specified Cluster", "githuburl":"" }, { "uri":"mrs_02_0072.html", + "node_id":"mrs_02_0072.xml", "product_code":"mrs", - "code":"61", + "code":"64", "des":"This API is used to delete a tag of a specified cluster.FormatDELETE /v1.1/{project_id}/clusters/{cluster_id}/tags/{key}DELETE /v1.1/{project_id}/clusters/{cluster_id}/ta", "doc_type":"api", "kw":"Deleting a Tag of a Specified Cluster,Tag Management APIs,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Deleting a Tag of a Specified Cluster", "githuburl":"" }, { "uri":"mrs_02_0073.html", + "node_id":"mrs_02_0073.xml", "product_code":"mrs", - "code":"62", + "code":"65", "des":"This API is used to query tags of a specified cluster.FormatGET /v1.1/{project_id}/clusters/{cluster_id}/tagsGET /v1.1/{project_id}/clusters/{cluster_id}/tagsParameter de", "doc_type":"api", "kw":"Querying Tags of a Specified Cluster,Tag Management APIs,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Querying Tags of a Specified Cluster", "githuburl":"" }, { "uri":"mrs_02_0074.html", + "node_id":"mrs_02_0074.xml", "product_code":"mrs", - "code":"63", + "code":"66", "des":"This API is used to add or delete tags to or from a specified cluster in batches.You can add a maximum of 10 tags to a cluster.This API is idempotent.If a tag to be creat", "doc_type":"api", "kw":"Adding or Deleting Cluster Tags in Batches,Tag Management APIs,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Adding or Deleting Cluster Tags in Batches", "githuburl":"" }, { "uri":"mrs_02_0075.html", + "node_id":"mrs_02_0075.xml", "product_code":"mrs", - "code":"64", + "code":"67", "des":"This API is used to query all tag sets of a specified region.FormatGET /v1.1/{project_id}/clusters/tagsGET /v1.1/{project_id}/clusters/tagsParameter descriptionURI parame", "doc_type":"api", "kw":"Querying All Tags,Tag Management APIs,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Querying All Tags", "githuburl":"" }, { "uri":"mrs_02_0076.html", + "node_id":"mrs_02_0076.xml", "product_code":"mrs", - "code":"65", + "code":"68", "des":"This API is used to filter clusters by tag.By default, clusters and tags are sorted in descending order of creation time.FormatPOST /v1.1/{project_id}/clusters/resource_i", "doc_type":"api", "kw":"Querying a List of Clusters with Specified Tags,Tag Management APIs,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Querying a List of Clusters with Specified Tags", "githuburl":"" }, { "uri":"mrs_02_1082.html", + "node_id":"mrs_02_1082.xml", "product_code":"mrs", - "code":"66", + "code":"69", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"MRS Manager API", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"MRS Manager API", "githuburl":"" }, { "uri":"mrs_02_1018.html", + "node_id":"mrs_02_1018.xml", "product_code":"mrs", - "code":"67", + "code":"70", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"API Usage Guide", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"API Usage Guide", "githuburl":"" }, { "uri":"mrs_02_1019.html", + "node_id":"mrs_02_1019.xml", "product_code":"mrs", - "code":"68", + "code":"71", "des":"MRS Manager APIs are provided for you to query basic information about MRS clusters and monitoring status, as well as start and stop services.MRS Manager APIs can be acce", "doc_type":"api", "kw":"Introduction to MRS Manager APIs,API Usage Guide,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Introduction to MRS Manager APIs", "githuburl":"" }, { "uri":"mrs_02_1080.html", + "node_id":"mrs_02_1080.xml", "product_code":"mrs", - "code":"69", + "code":"72", "des":"The process for calling an MRS Manager API is as follows:Obtaining Request Authentication InformationBefore you call an API, obtain request authentication information, an", "doc_type":"api", "kw":"API Calling Process,API Usage Guide,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"API Calling Process", "githuburl":"" }, { "uri":"mrs_02_1081.html", + "node_id":"mrs_02_1081.xml", "product_code":"mrs", - "code":"70", + "code":"73", "des":"Invoke API demo code.This class is a running entry class for calling APIs. Before running this class, you need to set the following parameters:IP address of the cluster m", "doc_type":"api", "kw":"Examples,API Usage Guide,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Examples", "githuburl":"" }, { "uri":"mrs_02_1083.html", + "node_id":"mrs_02_1083.xml", "product_code":"mrs", - "code":"71", + "code":"74", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"MRS Manager CAS APIs", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"MRS Manager CAS APIs", "githuburl":"" }, { "uri":"mrs_02_1084.html", + "node_id":"mrs_02_1084.xml", "product_code":"mrs", - "code":"72", + "code":"75", "des":"This API is used to submit a CAS login request. This API can be used only by security clusters that support Kerberos authentication.POST /cas/loginExample:Parameter descr", "doc_type":"api", "kw":"Logging In to the CAS,MRS Manager CAS APIs,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Logging In to the CAS", "githuburl":"" }, { "uri":"mrs_02_1085.html", + "node_id":"mrs_02_1085.xml", "product_code":"mrs", - "code":"73", + "code":"76", "des":"This API is used to destruct the CAS single sign-on (SSO) session of a client. This API can be used only by security clusters that support Kerberos authentication.POST /c", "doc_type":"api", "kw":"Logging Out of the CAS,MRS Manager CAS APIs,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Logging Out of the CAS", "githuburl":"" }, { "uri":"mrs_02_1086.html", + "node_id":"mrs_02_1086.xml", "product_code":"mrs", - "code":"74", + "code":"77", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"MRS Manager Web APIs", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"MRS Manager Web APIs", "githuburl":"" }, { "uri":"mrs_02_1087.html", + "node_id":"mrs_02_1087.xml", "product_code":"mrs", - "code":"75", + "code":"78", "des":"This API is used to check the login after a login request is submitted.GET /web/v1/access/login_checkExample:GET /web/v1/access/login_check HTTP/1.1\nHost: example.com\nCon", "doc_type":"api", "kw":"Checking the Login,MRS Manager Web APIs,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Checking the Login", "githuburl":"" }, { "uri":"mrs_02_1088.html", + "node_id":"mrs_02_1088.xml", "product_code":"mrs", - "code":"76", + "code":"79", "des":"This API is used to change the password of the current login user. This API can be used only by security clusters that support Kerberos authentication.FormatPOST /web/v1/", "doc_type":"api", "kw":"Modifying the Password of the Current Login User,MRS Manager Web APIs,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Modifying the Password of the Current Login User", "githuburl":"" }, { "uri":"mrs_02_1089.html", + "node_id":"mrs_02_1089.xml", "product_code":"mrs", - "code":"77", + "code":"80", "des":"This API is used to query the health status of a specified cluster. If any component is unavailable, the abnormal cluster health status is returned.FormatGET /web/v1/clus", "doc_type":"api", "kw":"Querying the Health Status of a Specified Cluster,MRS Manager Web APIs,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Querying the Health Status of a Specified Cluster", "githuburl":"" }, { "uri":"mrs_02_1090.html", + "node_id":"mrs_02_1090.xml", "product_code":"mrs", - "code":"78", + "code":"81", "des":"This API is used to query basic information about a specified cluster.GET /web/v1/clustersExample:GET /web/v1/clusters HTTP/1.1\nHost: example.com\nContent-Type: applicatio", "doc_type":"api", "kw":"Querying Basic Information About a Specified Cluster,MRS Manager Web APIs,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Querying Basic Information About a Specified Cluster", "githuburl":"" }, { "uri":"mrs_02_1091.html", + "node_id":"mrs_02_1091.xml", "product_code":"mrs", - "code":"79", + "code":"82", "des":"This API is used to query the command execution progress by command ID, including the total progress and the detailed progress of each step.FormatGET /web/v1/common/comma", "doc_type":"api", "kw":"Querying the Command Execution Progress,MRS Manager Web APIs,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Querying the Command Execution Progress", "githuburl":"" }, { "uri":"mrs_02_1092.html", + "node_id":"mrs_02_1092.xml", "product_code":"mrs", - "code":"80", + "code":"83", "des":"This API is used to save configurations of services, roles, and instances. This API allows you to perform the following operations:Modify multiple configuration items at ", "doc_type":"api", "kw":"Saving Configurations,MRS Manager Web APIs,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Saving Configurations", "githuburl":"" }, { "uri":"mrs_02_1093.html", + "node_id":"mrs_02_1093.xml", "product_code":"mrs", - "code":"81", + "code":"84", "des":"This API is used to return a temporary redirection, that is, a URL for logging out of the CAS, when you log out of the MapReduce Service system. This API can be used only", "doc_type":"api", "kw":"Logging Out Of a Session,MRS Manager Web APIs,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Logging Out Of a Session", "githuburl":"" }, { "uri":"mrs_02_1094.html", + "node_id":"mrs_02_1094.xml", "product_code":"mrs", - "code":"82", + "code":"85", "des":"This API is used to start a specified service.FormatPOST /web/v1/maintain/cluster/{cluster_id}/service/{service_name}/startURI parameter descriptionExample:POST /web/v1/m", "doc_type":"api", "kw":"Starting a Service,MRS Manager Web APIs,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Starting a Service", "githuburl":"" }, { "uri":"mrs_02_1095.html", + "node_id":"mrs_02_1095.xml", "product_code":"mrs", - "code":"83", + "code":"86", "des":"This API is used to stop a specified service.FormatPOST /web/v1/maintain/cluster/{cluster_id}/service/{service_name}/stopURI parameter descriptionExample:POST /web/v1/mai", "doc_type":"api", "kw":"Stopping a Service,MRS Manager Web APIs,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Stopping a Service", "githuburl":"" }, { "uri":"mrs_02_1096.html", + "node_id":"mrs_02_1096.xml", "product_code":"mrs", - "code":"84", + "code":"87", "des":"This API is used to query performance monitoring items supported by a specified host.FormatGET /web/v1/monitor/metrics_infoParameter descriptionExample:GET /web/v1/monito", "doc_type":"api", "kw":"Querying Monitoring Data,MRS Manager Web APIs,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Querying Monitoring Data", "githuburl":"" }, { "uri":"mrs_02_1097.html", + "node_id":"mrs_02_1097.xml", "product_code":"mrs", - "code":"85", + "code":"88", "des":"This API is used to query summary of a specified service in a cluster.FormatGET /web/v1/cluster/{cluster_id}/services/{service_name}URI parameter descriptionExample:GET /", "doc_type":"api", "kw":"Querying Summary of a Specified Service,MRS Manager Web APIs,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Querying Summary of a Specified Service", "githuburl":"" }, { "uri":"mrs_01_9002.html", + "node_id":"mrs_01_9002.xml", "product_code":"mrs", - "code":"86", + "code":"89", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Appendix", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Appendix", "githuburl":"" }, { "uri":"mrs_01_9005.html", + "node_id":"mrs_01_9005.xml", "product_code":"mrs", - "code":"87", + "code":"90", "des":"MRS uses ECSs of the following types in different application scenarios.The ECS specifications available on MRS console vary by cluster version.General computing (S2)Gene", "doc_type":"api", "kw":"ECS Specifications Used by MRS,Appendix,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"ECS Specifications Used by MRS", "githuburl":"" }, { "uri":"mrs_02_0015.html", + "node_id":"mrs_02_0015.xml", "product_code":"mrs", - "code":"88", + "code":"91", "des":"Table 1 describes status codes.", "doc_type":"api", "kw":"Status Codes,Appendix,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Status Codes", "githuburl":"" }, { "uri":"mrs_02_0014.html", + "node_id":"mrs_02_0014.xml", "product_code":"mrs", - "code":"89", + "code":"92", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Error Code,Appendix,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Error Code", "githuburl":"" }, { "uri":"mrs_02_0011.html", + "node_id":"mrs_02_0011.xml", "product_code":"mrs", - "code":"90", + "code":"93", "des":"A project ID (project_id) is required for some URLs when an API is called. To obtain a project ID, perform the following operations:Log in to the management console.Click", "doc_type":"api", "kw":"Obtaining a Project ID,Appendix,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Obtaining a Project ID", "githuburl":"" }, { "uri":"mrs_02_0016.html", + "node_id":"mrs_02_0016.xml", "product_code":"mrs", - "code":"91", + "code":"94", "des":"A domain ID (domain-id) is required for some URLs when an API is called. To obtain an account ID, perform the following operations:Log in to the management console.Click ", "doc_type":"api", "kw":"Obtaining Account ID,Appendix,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Obtaining Account ID", "githuburl":"" }, { "uri":"mrs_02_0091.html", + "node_id":"mrs_02_0091.xml", "product_code":"mrs", - "code":"92", + "code":"95", "des":"A cluster ID (cluster_id) is required for some URLs when an API is called. To obtain a cluster ID, perform the following operations:Log in to the MRS management console.C", "doc_type":"api", "kw":"Obtain MRS Cluster Information,Appendix,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Obtain MRS Cluster Information", "githuburl":"" }, { "uri":"mrs_02_0106.html", + "node_id":"mrs_02_0106.xml", "product_code":"mrs", - "code":"93", + "code":"96", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Roles and components supported by MRS,Appendix,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Roles and components supported by MRS", "githuburl":"" }, { "uri":"mrs_02_9003.html", + "node_id":"mrs_02_9003.xml", "product_code":"mrs", - "code":"94", + "code":"97", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Change History,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"mrs" + } + ], "title":"Change History", "githuburl":"" } diff --git a/docs/mrs/api-ref/CLASS.TXT.json b/docs/mrs/api-ref/CLASS.TXT.json index fb9d524c..aad65126 100644 --- a/docs/mrs/api-ref/CLASS.TXT.json +++ b/docs/mrs/api-ref/CLASS.TXT.json @@ -188,6 +188,15 @@ "p_code":"20", "code":"21" }, + { + "desc":"This API is used to change a cluster name.PUT /v2/{project_id}/clusters/{cluster_id}/cluster-nameStatus code: 200Status code: 400Change the MRS cluster name to mrs_jdRU_d", + "product_code":"", + "title":"Changing a Cluster Name", + "uri":"mrs_02_0201.html", + "doc_type":"", + "p_code":"20", + "code":"22" + }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"mrs", @@ -195,7 +204,7 @@ "uri":"mrs_02_0027.html", "doc_type":"api", "p_code":"13", - "code":"22" + "code":"23" }, { "desc":"This API is used to create an MRS cluster and submit a job in the cluster. This API is incompatible with Sahara.A maximum of 10 clusters can be concurrently created.Befor", @@ -203,8 +212,8 @@ "title":"Creating a Cluster and Running a Job", "uri":"mrs_02_0028.html", "doc_type":"api", - "p_code":"22", - "code":"23" + "p_code":"23", + "code":"24" }, { "desc":"This API is used to manually scale out or scale in Core or Task nodes in a cluster that has been created. After an MRS cluster is created, the number of Master nodes cann", @@ -212,8 +221,8 @@ "title":"Resizing a Cluster", "uri":"mrs_02_0029.html", "doc_type":"api", - "p_code":"22", - "code":"24" + "p_code":"23", + "code":"25" }, { "desc":"This API is used to query a list of clusters created by a user. This API is incompatible with Sahara.FormatGET /v1.1/{project_id}/cluster_infos?pageSize={page_size}&curre", @@ -221,8 +230,8 @@ "title":"Querying a Cluster List", "uri":"mrs_02_0030.html", "doc_type":"api", - "p_code":"22", - "code":"25" + "p_code":"23", + "code":"26" }, { "desc":"This API is used to query details about a specified cluster. This API is incompatible with Sahara.FormatGET /v1.1/{project_id}/cluster_infos/{cluster_id}GET /v1.1/{projec", @@ -230,8 +239,8 @@ "title":"Querying Cluster Details", "uri":"mrs_02_0031.html", "doc_type":"api", - "p_code":"22", - "code":"26" + "p_code":"23", + "code":"27" }, { "desc":"This API is used to delete a cluster after data processing and analysis are completed or the cluster is abnormal. This API is compatible with Sahara.Clusters in any of th", @@ -239,8 +248,8 @@ "title":"Deleting a Cluster", "uri":"mrs_02_0032.html", "doc_type":"api", - "p_code":"22", - "code":"27" + "p_code":"23", + "code":"28" }, { "desc":"This API is used to query a host list of a specified cluster.FormatGET /v1.1/{project_id}/clusters/{cluster_id}/hostsGET /v1.1/{project_id}/clusters/{cluster_id}/hostsPar", @@ -248,8 +257,8 @@ "title":"Querying a Host List", "uri":"mrs_02_0057.html", "doc_type":"api", - "p_code":"22", - "code":"28" + "p_code":"23", + "code":"29" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -258,7 +267,7 @@ "uri":"mrs_02_0033.html", "doc_type":"api", "p_code":"13", - "code":"29" + "code":"30" }, { "desc":"This API is used to create a job binary object. This API is compatible with Sahara.FormatPOST /v1.1/{project_id}/job-binariesPOST /v1.1/{project_id}/job-binariesParameter", @@ -266,8 +275,8 @@ "title":"Creating a Job Binary Object", "uri":"mrs_02_0034.html", "doc_type":"api", - "p_code":"29", - "code":"30" + "p_code":"30", + "code":"31" }, { "desc":"This API is used to update a job binary object. This API is compatible with Sahara.FormatPUT /v1.1/{project_id}/job-binaries/{job_binary_id}PUT /v1.1/{project_id}/job-bin", @@ -275,8 +284,8 @@ "title":"Updating a Job Binary Object", "uri":"mrs_02_0035.html", "doc_type":"api", - "p_code":"29", - "code":"31" + "p_code":"30", + "code":"32" }, { "desc":"This API is used to query the binary object list. This API is compatible with Sahara.FormatGET /v1.1/{project_id}/job-binariesGET /v1.1/{project_id}/job-binariesParameter", @@ -284,8 +293,8 @@ "title":"Querying the Binary Object List", "uri":"mrs_02_0036.html", "doc_type":"api", - "p_code":"29", - "code":"32" + "p_code":"30", + "code":"33" }, { "desc":"This API is used to query detailed information about a binary object. This API is compatible with Sahara.FormatGET /v1.1/{project_id}/job-binaries/{job_binary_id}GET /v1.", @@ -293,8 +302,8 @@ "title":"Querying the Binary Object Details", "uri":"mrs_02_0037.html", "doc_type":"api", - "p_code":"29", - "code":"33" + "p_code":"30", + "code":"34" }, { "desc":"This API is used to delete a binary object. This API is compatible with Sahara.FormatDELETE /v1.1/{project_id}/job-binaries/{job_binary_id}DELETE /v1.1/{project_id}/job-b", @@ -302,8 +311,8 @@ "title":"Deleting a Job Binary Object", "uri":"mrs_02_0038.html", "doc_type":"api", - "p_code":"29", - "code":"34" + "p_code":"30", + "code":"35" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -312,7 +321,7 @@ "uri":"mrs_02_0039.html", "doc_type":"api", "p_code":"13", - "code":"35" + "code":"36" }, { "desc":"This API is used to add a job to an MRS cluster and execute the job. This API is incompatible with Sahara.FormatPOST /v1.1/{project_id}/jobs/submit-jobPOST /v1.1/{project", @@ -320,8 +329,8 @@ "title":"Adding a Job and Executing the Job", "uri":"mrs_02_0040.html", "doc_type":"api", - "p_code":"35", - "code":"36" + "p_code":"36", + "code":"37" }, { "desc":"This API is used to create a job object. This API is compatible with Sahara.FormatPOST /v1.1/{project_id}/jobsPOST /v1.1/{project_id}/jobsParameter descriptionURI paramet", @@ -329,8 +338,8 @@ "title":"Creating a Job Object", "uri":"mrs_02_0041.html", "doc_type":"api", - "p_code":"35", - "code":"37" + "p_code":"36", + "code":"38" }, { "desc":"This API is used to update a job object. This API is compatible with Sahara.FormatPATCH /v1.1/{project_id}/jobs/{job_id}PATCH /v1.1/{project_id}/jobs/{job_id}Parameter de", @@ -338,8 +347,8 @@ "title":"Updating a Job Object", "uri":"mrs_02_0042.html", "doc_type":"api", - "p_code":"35", - "code":"38" + "p_code":"36", + "code":"39" }, { "desc":"This API is used to execute a created job object. This API is compatible with Sahara.FormatPOST /v1.1/{project_id}/jobs/{job_id}/executePOST /v1.1/{project_id}/jobs/{job_", @@ -347,8 +356,8 @@ "title":"Executing a Job Object", "uri":"mrs_02_0043.html", "doc_type":"api", - "p_code":"35", - "code":"39" + "p_code":"36", + "code":"40" }, { "desc":"This API is used to query the job object list. This API is compatible with Sahara.FormatGET /v1.1/{project_id}/jobsGET /v1.1/{project_id}/jobsParameter descriptionURI par", @@ -356,8 +365,8 @@ "title":"Querying the Job Object List", "uri":"mrs_02_0044.html", "doc_type":"api", - "p_code":"35", - "code":"40" + "p_code":"36", + "code":"41" }, { "desc":"This API is used to query detailed information about a job object. This API is compatible with Sahara.FormatGET /v1.1/{project_id}/jobs/{job_id}GET /v1.1/{project_id}/job", @@ -365,8 +374,8 @@ "title":"Querying Job Object Details", "uri":"mrs_02_0045.html", "doc_type":"api", - "p_code":"35", - "code":"41" + "p_code":"36", + "code":"42" }, { "desc":"This API is used to query the exe object list of all jobs. This API is incompatible with Sahara.FormatGET /v1.1/{project_id}/job-exesGET /v1.1/{project_id}/job-exesParame", @@ -374,8 +383,8 @@ "title":"Querying the exe Object List of Jobs", "uri":"mrs_02_0046.html", "doc_type":"api", - "p_code":"35", - "code":"42" + "p_code":"36", + "code":"43" }, { "desc":"This API is used to query detailed information about the exe object of a job. This API is incompatible with Sahara.FormatGET /v1.1/{project_id}/job-exes/{job_exe_id}GET /", @@ -383,8 +392,8 @@ "title":"Querying exe Object Details", "uri":"mrs_02_0047.html", "doc_type":"api", - "p_code":"35", - "code":"43" + "p_code":"36", + "code":"44" }, { "desc":"This API is used to delete a job object. This API is compatible with Sahara.FormatDELETE /v1.1/{project_id}/jobs/{job_id}DELETE /v1.1/{project_id}/jobs/{job_id}Parameter ", @@ -392,8 +401,8 @@ "title":"Deleting a Job Object", "uri":"mrs_02_0048.html", "doc_type":"api", - "p_code":"35", - "code":"44" + "p_code":"36", + "code":"45" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -402,7 +411,7 @@ "uri":"mrs_02_0049.html", "doc_type":"api", "p_code":"13", - "code":"45" + "code":"46" }, { "desc":"This API is used to query the job execution object list. This API is compatible with Sahara.FormatGET /v1.1/{project_id}/job-executionsGET /v1.1/{project_id}/job-executio", @@ -410,8 +419,8 @@ "title":"Querying the Job Execution Object List", "uri":"mrs_02_0050.html", "doc_type":"api", - "p_code":"45", - "code":"46" + "p_code":"46", + "code":"47" }, { "desc":"This API is used to query detailed information about a job execution object. This API is compatible with Sahara.FormatGET /v1.1/{project_id}/job-executions/{job_execution", @@ -419,8 +428,8 @@ "title":"Querying Job Execution Object Details", "uri":"mrs_02_0051.html", "doc_type":"api", - "p_code":"45", - "code":"47" + "p_code":"46", + "code":"48" }, { "desc":"This API is used to cancel a job object being executed. This API is compatible with Sahara.FormatGET /v1.1/{project_id}/job-executions/{job_execution_id}/cancelGET /v1.1/", @@ -428,8 +437,8 @@ "title":"Canceling Job Execution", "uri":"mrs_02_0052.html", "doc_type":"api", - "p_code":"45", - "code":"48" + "p_code":"46", + "code":"49" }, { "desc":"This API is used to delete a job execution object. This API is compatible with Sahara.FormatDELETE /v1.1/{project_id}/job-executions/{job_execution_id}DELETE /v1.1/{proje", @@ -437,8 +446,26 @@ "title":"Deleting a Job Execution Object", "uri":"mrs_02_0053.html", "doc_type":"api", - "p_code":"45", - "code":"49" + "p_code":"46", + "code":"50" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"", + "title":"Auto Scaling APIs (V2)", + "uri":"mrs_02_0199.html", + "doc_type":"", + "p_code":"13", + "code":"51" + }, + { + "desc":"This API is used to view all auto scaling policies of a specified cluster.GET /v2/{project_id}/autoscaling-policy/{cluster_id}NoneStatus code: 200Status code: 400NoneStat", + "product_code":"", + "title":"Viewing Auto Scaling Policies", + "uri":"mrs_02_0200.html", + "doc_type":"", + "p_code":"51", + "code":"52" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -447,7 +474,7 @@ "uri":"mrs_02_0084.html", "doc_type":"api", "p_code":"13", - "code":"50" + "code":"53" }, { "desc":"This API is used to add and submit a job in an MRS cluster.If Kerberos authentication is enabled for a cluster, on the Dashboard tab page of the cluster details page, cli", @@ -455,8 +482,8 @@ "title":"Adding and Executing a Job", "uri":"mrs_02_0085.html", "doc_type":"api", - "p_code":"50", - "code":"51" + "p_code":"53", + "code":"54" }, { "desc":"This API is used to query information about a specified job in an MRS cluster.FormatGET /v2/{project_id}/clusters/{cluster_id}/job-executions/{job_execution_id}GET /v2/{p", @@ -464,8 +491,8 @@ "title":"Querying Information About a Job", "uri":"mrs_02_0086.html", "doc_type":"api", - "p_code":"50", - "code":"52" + "p_code":"53", + "code":"55" }, { "desc":"This API is used to query the job list in an MRS cluster.FormatGET /v2/{project_id}/clusters/{cluster_id}/job-executionsGET /v2/{project_id}/clusters/{cluster_id}/job-exe", @@ -473,8 +500,8 @@ "title":"Querying a List of Jobs", "uri":"mrs_02_0087.html", "doc_type":"api", - "p_code":"50", - "code":"53" + "p_code":"53", + "code":"56" }, { "desc":"This API is used to terminate a specified job in an MRS cluster.FormatPOST /v2/{project_id}/clusters/{cluster_id}/job-executions/{job_execution_id}/killPOST /v2/{project_", @@ -482,8 +509,8 @@ "title":"Terminating a Job", "uri":"mrs_02_0088.html", "doc_type":"api", - "p_code":"50", - "code":"54" + "p_code":"53", + "code":"57" }, { "desc":"This API is used to delete APIs in batches.FormatPOST /v2/{project_id}/clusters/{cluster_id}/job-executions/batch-deletePOST /v2/{project_id}/clusters/{cluster_id}/job-ex", @@ -491,8 +518,8 @@ "title":"Deleting Jobs in Batches", "uri":"mrs_02_0089.html", "doc_type":"api", - "p_code":"50", - "code":"55" + "p_code":"53", + "code":"58" }, { "desc":"This API is used to obtain results returned after the SQL statements for querying SparkSQL and SparkScript jobs in an MRS cluster are executed.FormatGET /v2/{project_id}/", @@ -500,8 +527,8 @@ "title":"Obtain the SQL Result", "uri":"mrs_02_0090.html", "doc_type":"api", - "p_code":"50", - "code":"56" + "p_code":"53", + "code":"59" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -510,7 +537,7 @@ "uri":"mrs_02_0054.html", "doc_type":"api", "p_code":"13", - "code":"57" + "code":"60" }, { "desc":"This API is used to configure an auto scaling rule.The API used for cluster creation and job execution can also be used to create an auto scaling rule.FormatPOST /v1.1/{p", @@ -518,8 +545,8 @@ "title":"Configuring an Auto Scaling Rule", "uri":"mrs_02_0056.html", "doc_type":"api", - "p_code":"57", - "code":"58" + "p_code":"60", + "code":"61" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -528,7 +555,7 @@ "uri":"mrs_02_0070.html", "doc_type":"api", "p_code":"13", - "code":"59" + "code":"62" }, { "desc":"This API is used to add a tag to a specified cluster.A cluster has a maximum of 10 tags. This API is idempotent. If a tag to be created has the same key as an existing ta", @@ -536,8 +563,8 @@ "title":"Adding a Tag to a Specified Cluster", "uri":"mrs_02_0071.html", "doc_type":"api", - "p_code":"59", - "code":"60" + "p_code":"62", + "code":"63" }, { "desc":"This API is used to delete a tag of a specified cluster.FormatDELETE /v1.1/{project_id}/clusters/{cluster_id}/tags/{key}DELETE /v1.1/{project_id}/clusters/{cluster_id}/ta", @@ -545,8 +572,8 @@ "title":"Deleting a Tag of a Specified Cluster", "uri":"mrs_02_0072.html", "doc_type":"api", - "p_code":"59", - "code":"61" + "p_code":"62", + "code":"64" }, { "desc":"This API is used to query tags of a specified cluster.FormatGET /v1.1/{project_id}/clusters/{cluster_id}/tagsGET /v1.1/{project_id}/clusters/{cluster_id}/tagsParameter de", @@ -554,8 +581,8 @@ "title":"Querying Tags of a Specified Cluster", "uri":"mrs_02_0073.html", "doc_type":"api", - "p_code":"59", - "code":"62" + "p_code":"62", + "code":"65" }, { "desc":"This API is used to add or delete tags to or from a specified cluster in batches.You can add a maximum of 10 tags to a cluster.This API is idempotent.If a tag to be creat", @@ -563,8 +590,8 @@ "title":"Adding or Deleting Cluster Tags in Batches", "uri":"mrs_02_0074.html", "doc_type":"api", - "p_code":"59", - "code":"63" + "p_code":"62", + "code":"66" }, { "desc":"This API is used to query all tag sets of a specified region.FormatGET /v1.1/{project_id}/clusters/tagsGET /v1.1/{project_id}/clusters/tagsParameter descriptionURI parame", @@ -572,8 +599,8 @@ "title":"Querying All Tags", "uri":"mrs_02_0075.html", "doc_type":"api", - "p_code":"59", - "code":"64" + "p_code":"62", + "code":"67" }, { "desc":"This API is used to filter clusters by tag.By default, clusters and tags are sorted in descending order of creation time.FormatPOST /v1.1/{project_id}/clusters/resource_i", @@ -581,8 +608,8 @@ "title":"Querying a List of Clusters with Specified Tags", "uri":"mrs_02_0076.html", "doc_type":"api", - "p_code":"59", - "code":"65" + "p_code":"62", + "code":"68" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -591,7 +618,7 @@ "uri":"mrs_02_1082.html", "doc_type":"api", "p_code":"", - "code":"66" + "code":"69" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -599,8 +626,8 @@ "title":"API Usage Guide", "uri":"mrs_02_1018.html", "doc_type":"api", - "p_code":"66", - "code":"67" + "p_code":"69", + "code":"70" }, { "desc":"MRS Manager APIs are provided for you to query basic information about MRS clusters and monitoring status, as well as start and stop services.MRS Manager APIs can be acce", @@ -608,8 +635,8 @@ "title":"Introduction to MRS Manager APIs", "uri":"mrs_02_1019.html", "doc_type":"api", - "p_code":"67", - "code":"68" + "p_code":"70", + "code":"71" }, { "desc":"The process for calling an MRS Manager API is as follows:Obtaining Request Authentication InformationBefore you call an API, obtain request authentication information, an", @@ -617,8 +644,8 @@ "title":"API Calling Process", "uri":"mrs_02_1080.html", "doc_type":"api", - "p_code":"67", - "code":"69" + "p_code":"70", + "code":"72" }, { "desc":"Invoke API demo code.This class is a running entry class for calling APIs. Before running this class, you need to set the following parameters:IP address of the cluster m", @@ -626,8 +653,8 @@ "title":"Examples", "uri":"mrs_02_1081.html", "doc_type":"api", - "p_code":"67", - "code":"70" + "p_code":"70", + "code":"73" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -635,8 +662,8 @@ "title":"MRS Manager CAS APIs", "uri":"mrs_02_1083.html", "doc_type":"api", - "p_code":"66", - "code":"71" + "p_code":"69", + "code":"74" }, { "desc":"This API is used to submit a CAS login request. This API can be used only by security clusters that support Kerberos authentication.POST /cas/loginExample:Parameter descr", @@ -644,8 +671,8 @@ "title":"Logging In to the CAS", "uri":"mrs_02_1084.html", "doc_type":"api", - "p_code":"71", - "code":"72" + "p_code":"74", + "code":"75" }, { "desc":"This API is used to destruct the CAS single sign-on (SSO) session of a client. This API can be used only by security clusters that support Kerberos authentication.POST /c", @@ -653,8 +680,8 @@ "title":"Logging Out of the CAS", "uri":"mrs_02_1085.html", "doc_type":"api", - "p_code":"71", - "code":"73" + "p_code":"74", + "code":"76" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -662,8 +689,8 @@ "title":"MRS Manager Web APIs", "uri":"mrs_02_1086.html", "doc_type":"api", - "p_code":"66", - "code":"74" + "p_code":"69", + "code":"77" }, { "desc":"This API is used to check the login after a login request is submitted.GET /web/v1/access/login_checkExample:GET /web/v1/access/login_check HTTP/1.1\nHost: example.com\nCon", @@ -671,8 +698,8 @@ "title":"Checking the Login", "uri":"mrs_02_1087.html", "doc_type":"api", - "p_code":"74", - "code":"75" + "p_code":"77", + "code":"78" }, { "desc":"This API is used to change the password of the current login user. This API can be used only by security clusters that support Kerberos authentication.FormatPOST /web/v1/", @@ -680,8 +707,8 @@ "title":"Modifying the Password of the Current Login User", "uri":"mrs_02_1088.html", "doc_type":"api", - "p_code":"74", - "code":"76" + "p_code":"77", + "code":"79" }, { "desc":"This API is used to query the health status of a specified cluster. If any component is unavailable, the abnormal cluster health status is returned.FormatGET /web/v1/clus", @@ -689,8 +716,8 @@ "title":"Querying the Health Status of a Specified Cluster", "uri":"mrs_02_1089.html", "doc_type":"api", - "p_code":"74", - "code":"77" + "p_code":"77", + "code":"80" }, { "desc":"This API is used to query basic information about a specified cluster.GET /web/v1/clustersExample:GET /web/v1/clusters HTTP/1.1\nHost: example.com\nContent-Type: applicatio", @@ -698,8 +725,8 @@ "title":"Querying Basic Information About a Specified Cluster", "uri":"mrs_02_1090.html", "doc_type":"api", - "p_code":"74", - "code":"78" + "p_code":"77", + "code":"81" }, { "desc":"This API is used to query the command execution progress by command ID, including the total progress and the detailed progress of each step.FormatGET /web/v1/common/comma", @@ -707,8 +734,8 @@ "title":"Querying the Command Execution Progress", "uri":"mrs_02_1091.html", "doc_type":"api", - "p_code":"74", - "code":"79" + "p_code":"77", + "code":"82" }, { "desc":"This API is used to save configurations of services, roles, and instances. This API allows you to perform the following operations:Modify multiple configuration items at ", @@ -716,8 +743,8 @@ "title":"Saving Configurations", "uri":"mrs_02_1092.html", "doc_type":"api", - "p_code":"74", - "code":"80" + "p_code":"77", + "code":"83" }, { "desc":"This API is used to return a temporary redirection, that is, a URL for logging out of the CAS, when you log out of the MapReduce Service system. This API can be used only", @@ -725,8 +752,8 @@ "title":"Logging Out Of a Session", "uri":"mrs_02_1093.html", "doc_type":"api", - "p_code":"74", - "code":"81" + "p_code":"77", + "code":"84" }, { "desc":"This API is used to start a specified service.FormatPOST /web/v1/maintain/cluster/{cluster_id}/service/{service_name}/startURI parameter descriptionExample:POST /web/v1/m", @@ -734,8 +761,8 @@ "title":"Starting a Service", "uri":"mrs_02_1094.html", "doc_type":"api", - "p_code":"74", - "code":"82" + "p_code":"77", + "code":"85" }, { "desc":"This API is used to stop a specified service.FormatPOST /web/v1/maintain/cluster/{cluster_id}/service/{service_name}/stopURI parameter descriptionExample:POST /web/v1/mai", @@ -743,8 +770,8 @@ "title":"Stopping a Service", "uri":"mrs_02_1095.html", "doc_type":"api", - "p_code":"74", - "code":"83" + "p_code":"77", + "code":"86" }, { "desc":"This API is used to query performance monitoring items supported by a specified host.FormatGET /web/v1/monitor/metrics_infoParameter descriptionExample:GET /web/v1/monito", @@ -752,8 +779,8 @@ "title":"Querying Monitoring Data", "uri":"mrs_02_1096.html", "doc_type":"api", - "p_code":"74", - "code":"84" + "p_code":"77", + "code":"87" }, { "desc":"This API is used to query summary of a specified service in a cluster.FormatGET /web/v1/cluster/{cluster_id}/services/{service_name}URI parameter descriptionExample:GET /", @@ -761,8 +788,8 @@ "title":"Querying Summary of a Specified Service", "uri":"mrs_02_1097.html", "doc_type":"api", - "p_code":"74", - "code":"85" + "p_code":"77", + "code":"88" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -771,7 +798,7 @@ "uri":"mrs_01_9002.html", "doc_type":"api", "p_code":"", - "code":"86" + "code":"89" }, { "desc":"MRS uses ECSs of the following types in different application scenarios.The ECS specifications available on MRS console vary by cluster version.General computing (S2)Gene", @@ -779,8 +806,8 @@ "title":"ECS Specifications Used by MRS", "uri":"mrs_01_9005.html", "doc_type":"api", - "p_code":"86", - "code":"87" + "p_code":"89", + "code":"90" }, { "desc":"Table 1 describes status codes.", @@ -788,8 +815,8 @@ "title":"Status Codes", "uri":"mrs_02_0015.html", "doc_type":"api", - "p_code":"86", - "code":"88" + "p_code":"89", + "code":"91" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -797,8 +824,8 @@ "title":"Error Code", "uri":"mrs_02_0014.html", "doc_type":"api", - "p_code":"86", - "code":"89" + "p_code":"89", + "code":"92" }, { "desc":"A project ID (project_id) is required for some URLs when an API is called. To obtain a project ID, perform the following operations:Log in to the management console.Click", @@ -806,8 +833,8 @@ "title":"Obtaining a Project ID", "uri":"mrs_02_0011.html", "doc_type":"api", - "p_code":"86", - "code":"90" + "p_code":"89", + "code":"93" }, { "desc":"A domain ID (domain-id) is required for some URLs when an API is called. To obtain an account ID, perform the following operations:Log in to the management console.Click ", @@ -815,8 +842,8 @@ "title":"Obtaining Account ID", "uri":"mrs_02_0016.html", "doc_type":"api", - "p_code":"86", - "code":"91" + "p_code":"89", + "code":"94" }, { "desc":"A cluster ID (cluster_id) is required for some URLs when an API is called. To obtain a cluster ID, perform the following operations:Log in to the MRS management console.C", @@ -824,8 +851,8 @@ "title":"Obtain MRS Cluster Information", "uri":"mrs_02_0091.html", "doc_type":"api", - "p_code":"86", - "code":"92" + "p_code":"89", + "code":"95" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -833,8 +860,8 @@ "title":"Roles and components supported by MRS", "uri":"mrs_02_0106.html", "doc_type":"api", - "p_code":"86", - "code":"93" + "p_code":"89", + "code":"96" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -843,6 +870,6 @@ "uri":"mrs_02_9003.html", "doc_type":"api", "p_code":"", - "code":"94" + "code":"97" } ] \ No newline at end of file diff --git a/docs/mrs/api-ref/mrs_02_0020.html b/docs/mrs/api-ref/mrs_02_0020.html index 777ab199..cb7248e2 100644 --- a/docs/mrs/api-ref/mrs_02_0020.html +++ b/docs/mrs/api-ref/mrs_02_0020.html @@ -16,6 +16,8 @@
Version
Currently, the following versions are supported: MRS 1.6.3, MRS 1.7.2, MRS 1.9.2, MRS 2.1.0, MRS 3.1.0-LTS.1, MRS 3.1.2-LTS.3 and MRS3.2.0-LTS.1.
+Currently, the following versions are supported: MRS 3.1.2-LTS.3 and MRS 3.2.0-LTS.2.
Component
String
AZ ID. For details, see Regions and Endpoints.
-cluster_name
@@ -198,7 +197,7 @@Cluster version
Possible values are as follows:
-cluster_type
@@ -221,8 +220,6 @@Running mode of an MRS cluster
For MRS 1.7.2 or earlier, the request body contains the cluster_admin_secret field only when safe_mode is set to 1.
-cluster_admin_secret
@@ -234,8 +231,6 @@Password of the MRS Manager administrator
For MRS 1.7.2 or earlier, this parameter is mandatory only when safe_mode is set to 1.
-login_mode
@@ -247,9 +242,7 @@Cluster login mode
The default value is 1.
-This parameter is valid only for clusters of MRS 1.6.3 or later instead of clusters of versions earlier than MRS 1.6.3.
-cluster_master_secret
@@ -322,7 +315,6 @@Array
Bootstrap action script information. For more parameter description, see Table 15.
-MRS 1.7.2 or later supports this parameter.
Resource plan list. For details, see Table 10. If this parameter is left blank, the resource plan is disabled.
When auto scaling is enabled, either a resource plan or an auto scaling rule must be configured.
-MRS 1.6.3 or later supports this parameter.
exec_scripts
@@ -867,7 +858,6 @@List
List of custom scaling automation scripts. For details, see Table 11. If this parameter is left blank, a hook script is disabled.
-MRS 1.7.2 or later supports this parameter.
rules
diff --git a/docs/mrs/api-ref/mrs_02_0030.html b/docs/mrs/api-ref/mrs_02_0030.html index 329f67c1..f9ed65fd 100644 --- a/docs/mrs/api-ref/mrs_02_0030.html +++ b/docs/mrs/api-ref/mrs_02_0030.html @@ -517,18 +517,12 @@String
Component ID
-For example, the component_id of Hadoop is MRS 2.1.0_001, MRS 1.9.2_001, MRS 1.7.2_001, MRS 1.6.3_001.
+ +For example, the component_id of Hadoop is MRS 3.2.0-LTS.2_001.
componentName
diff --git a/docs/mrs/api-ref/mrs_02_0031.html b/docs/mrs/api-ref/mrs_02_0031.html index c99cecc7..1ac927a2 100644 --- a/docs/mrs/api-ref/mrs_02_0031.html +++ b/docs/mrs/api-ref/mrs_02_0031.html @@ -302,7 +302,6 @@Array
Bootstrap action script information. For more parameter description, see Table 5.
-MRS 1.7.2 or later supports this parameter.
stageDesc
@@ -486,16 +485,10 @@String
Component ID
-For example, the component_id of Hadoop is MRS 2.1.0_001, MRS 1.9.2_001, MRS 1.7.2_001, MRS 1.6.3_001.
+For example, the component_id of Hadoop is MRS 3.2.0-LTS.2_001.
componentName
diff --git a/docs/mrs/api-ref/mrs_02_0100.html b/docs/mrs/api-ref/mrs_02_0100.html index 2f55e6d8..ed919700 100644 --- a/docs/mrs/api-ref/mrs_02_0100.html +++ b/docs/mrs/api-ref/mrs_02_0100.html @@ -10,6 +10,8 @@Version
Currently, MRS 1.6.3, MRS 1.7.2, MRS 1.9.2 MRS 2.1.0, MRS 3.1.0-LTS.1, MRS 3.1.2-LTS.3 and MRS3.2.0-LTS.1 are supported.
+Currently, MRS 3.1.2-LTS.3 and MRS 3.2.0-LTS.2 are supported.
Component
Cluster version.
Possible values are as follows:
-cluster_name
@@ -163,7 +159,7 @@String
List of component names, which are separated by commas (,). For details about the component names, see the component list of each version in Table 4-1.
+List of component names, which are separated by commas (,). For details about the component names, see the component list of each version in Table 1.
availability_zone
@@ -204,9 +200,7 @@Password of the MRS Manager administrator.
For MRS 1.7.2 or earlier, this parameter is mandatory only when safe_mode is set to KERBEROS.
-login_mode
@@ -306,7 +300,6 @@Array of BootstrapScript
Bootstrap action script information. For more parameter description, see Table 8.
-MRS 1.7.2 or later supports this parameter.
add_jobs
@@ -793,7 +786,6 @@Resource plan list. For details, see Table 11. If this parameter is left blank, the resource plan is disabled.
When auto scaling is enabled, either a resource plan or an auto scaling rule must be configured.
-MRS 1.6.3 or later supports this parameter.
exec_scripts
@@ -803,7 +795,6 @@List
List of custom scaling automation scripts. For details, see Table 12. If this parameter is left blank, a hook script is disabled.
-MRS 1.7.2 or later supports this parameter.
rules
@@ -1310,7 +1301,7 @@{ - "cluster_version": "MRS 3.X.X", + "cluster_version": "MRS 3.X.X", "cluster_name": "mrs_DyJA_dm", "cluster_type": "ANALYSIS", "charge_info": { @@ -1407,7 +1398,7 @@ ] }
{ - "cluster_version": "MRS 3.X.X", + "cluster_version": "MRS 3.X.X", "cluster_name": "mrs_Dokle_dm", "cluster_type": "STREAMING", "charge_info": { @@ -1504,7 +1495,7 @@ ] }
{ - "cluster_version": "MRS 3.X.X", + "cluster_version": "MRS 3.X.X", "cluster_name": "mrs_onmm_dm", "cluster_type": "MIXED", "charge_info": { @@ -1605,7 +1596,7 @@ ] }
{ - "cluster_version": "MRS 3.X.X", + "cluster_version": "MRS 3.X.X", "cluster_name": "mrs_heshe_dm", "cluster_type": "CUSTOM", "charge_info": { @@ -1751,7 +1742,7 @@ ] }
{ - "cluster_version": "MRS 3.X.X", + "cluster_version": "MRS 3.X.X", "cluster_name": "mrs_jdRU_dm01", "cluster_type": "CUSTOM", "charge_info": { @@ -1876,7 +1867,7 @@ ] }
{ - "cluster_version": "MRS 3.X.X", + "cluster_version": "MRS 3.X.X", "cluster_name": "mrs_jdRU_dm02", "cluster_type": "CUSTOM", "charge_info": { diff --git a/docs/mrs/api-ref/mrs_02_0199.html b/docs/mrs/api-ref/mrs_02_0199.html new file mode 100644 index 00000000..ad261a00 --- /dev/null +++ b/docs/mrs/api-ref/mrs_02_0199.html @@ -0,0 +1,16 @@ + + +Auto Scaling APIs (V2)
++++ + ++ diff --git a/docs/mrs/api-ref/mrs_02_0200.html b/docs/mrs/api-ref/mrs_02_0200.html new file mode 100644 index 00000000..8580906d --- /dev/null +++ b/docs/mrs/api-ref/mrs_02_0200.html @@ -0,0 +1,443 @@ + + +++Parent topic: APIs+Viewing Auto Scaling Policies
+++Function
This API is used to view all auto scaling policies of a specified cluster.
++URI
GET /v2/{project_id}/autoscaling-policy/{cluster_id}
+ +++
Table 1 URI parameters + + + Parameter
++ Mandatory
++ Type
++ Description
++ + project_id
++ Yes
++ String
++ The project ID. For details about how to obtain the project ID, see Obtaining a Project ID.
++ + + cluster_id
++ Yes
++ String
++ The cluster ID. For details about how to obtain the cluster ID, see Obtaining a Project ID.
++Request Parameters
None
++Response Parameters
Status code: 200
+ ++ ++
Table 2 Response body parameter + + + Parameter
++ Type
++ Description
++ + + [Array element]
++ Array of AutoScalingPolicyV2 objects
++ The auto scaling policy list. For details, see Table 3.
++ ++
Table 3 AutoScalingPolicyV2 + + + Parameter
++ Type
++ Description
++ + node_group_name
++ String
++ The node group name.
++ + resource_pool_name
++ String
++ The resource plan name.
++ + + auto_scaling_policy
++ AutoScalingPolicy object
++ The auto scaling policy. For details, see Table 4.
++ ++
Table 4 AutoScalingPolicy + + + Parameter
++ Type
++ Description
++ + auto_scaling_enable
++ Boolean
++ Whether to enable the auto scaling policy.
++ + min_capacity
++ Integer
++ The minimum number of nodes reserved in the node group. The value ranges from 0 to 500.
++ + max_capacity
++ Integer
++ The maximum number of nodes in the node group. The value ranges from 0 to 500.
++ + resources_plans
++ Array of ResourcesPlan objects
++ The resource plan list. If this parameter is left blank, the resource plan is disabled. When auto_scaling_enable is set to true, either this parameter or rules must be configured. For details about this parameter, see Table 5.
++ + rules
++ Array of Rule objects
++ List of auto scaling rules. When auto_scaling_enable is set to true, either this parameter or resources_plans must be configured. For details about this parameter, see Table 6.
++ + + exec_scripts
++ Array of ScaleScript objects
++ The list of custom scaling automation scripts. If this parameter is left blank, the automation script is disabled. For details, see Table 8.
++ ++
Table 5 ResourcesPlan + + + Parameter
++ Type
++ Description
++ + period_type
++ String
++ The cycle type of a resource plan. Currently, only the following cycle type is supported:
+daily
++ + start_time
++ String
++ The start time of a resource plan. The value is in the format of hour:minute, indicating that the time ranges from 00:00 to 23:59.
++ + end_time
++ String
++ The end time of a resource plan. The value is in the same format as that of start_time. The interval between end_time and start_time must be greater than or equal to 30 minutes.
++ + min_capacity
++ Integer
++ The minimum number of reserved nodes in a node group in a resource plan. The value ranges from 0 to 500.
++ + max_capacity
++ Integer
++ The maximum number of reserved nodes in a node group in a resource plan. The value ranges from 0 to 500.
++ + + effective_days
++ Array of strings
++ Effective date of a resource plan. If this parameter is left blank, it indicates that the resource plan takes effect every day. The options are as follows:
+MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, and SUNDAY
++ ++
Table 6 Rule + + + Parameter
++ Type
++ Description
++ + name
++ String
++ The name of an auto scaling rule. The name can contain only 1 to 64 characters. Only letters, numbers, hyphens (-), and underscores (_) are allowed. Rule names must be unique in a node group.
++ + description
++ String
++ The description about an auto scaling rule. It contains a maximum of 1,024 characters.
++ + adjustment_type
++ String
++ Auto scaling rule adjustment type. Possible values:
++
- scale_out: cluster scale-out
- scale_in: cluster scale-in
+ + cool_down_minutes
++ Integer
++ The cluster cooling time after an auto scaling rule is triggered, when no auto scaling operation is performed. The unit is minute. The value ranges from 0 to 10080. One week is equal to 10,080 minutes.
++ + scaling_adjustment
++ Integer
++ The number of cluster nodes that can be adjusted at a time. The value ranges from 1 to 100.
++ + + trigger
++ Trigger object
++ The condition for triggering a rule. For details, see Table 7.
++ ++
Table 7 Trigger + + + Parameter
++ Type
++ Description
++ + metric_name
++ String
++ The metric name. This triggering condition makes a judgment according to the value of the metric. A metric name contains a maximum of 64 characters.
++ + metric_value
++ String
++ The metric threshold to trigger a rule.
+The value must be an integer or a number with two decimal places.
++ + comparison_operator
++ String
++ The metric judgment logic operator. Possible values:
++
- LT: less than
- GT: greater than
- LTOE: less than or equal to
- GTOE: greater than or equal to
+ + + evaluation_periods
++ Integer
++ The number of consecutive five-minute periods, during which a metric threshold is reached. The value ranges from 1 to 288.
+++
Table 8 ScaleScript + + + Parameter
++ Type
++ Description
++ + name
++ String
++ The name of a custom automation script. Names must be unique in a cluster. The value can contain only numbers, letters, spaces, hyphens (-), and underscores (_) and cannot start with a space. The value can contain 1 to 64 characters.
++ + uri
++ String
++ The path of a custom automation script. Set this parameter to an OBS bucket path or a local VM path.
++
- OBS bucket path: Enter a script path, for example, obs://XXX/scale.sh.
- Local VM path: Enter a script path. The script path must start with a slash (/) and end with .sh.
+ + parameters
++ String
++ Parameters of a custom automation script. Multiple parameters are separated by space. The following predefined system parameters can be transferred:
++
- ${mrs_scale_node_num}: The number of nodes to be added or removed
- ${mrs_scale_type}: The scaling type. The value can be scale_out or scale_in.
- ${mrs_scale_node_hostnames}: Host names of the nodes to be added or removed
- ${mrs_scale_node_ips}: IP addresses of the nodes to be added or removed
- ${mrs_scale_rule_name}: The name of the rule that triggers scaling. Other user-defined parameters are used in the same way as those of common shell scripts. Parameters are separated by spaces.
+ + nodes
++ Array of strings
++ The name of the node group where the custom automation script is executed.
++ + active_master
++ Boolean
++ Whether the custom automation script runs only on the active master node. The default value is false, indicating that the custom automation script can run on all master nodes.
++ + fail_action
++ String
++ Whether to continue executing subsequent scripts and creating a cluster after the custom automation script fails to execute. Notes:
++
- You are advised to set this parameter to continue in the commissioning phase so the cluster can continue to be installed and started no matter whether the custom automation script is executed successfully.
- The scale-in operation cannot be undone. fail_action must be set to continue for the scripts that are executed after scale-in. Possible values:
- continue: Continue to execute subsequent scripts.
- errorout: Stop the action.
+ + + action_stage
++ String
++ The time when a script is executed. Possible values:
++
- before_scale_out: before scale-out
- before_scale_in: before scale-in
- after_scale_out: after scale-out
- after_scale_in: after scale-in
Status code: 400
+ +++
Table 9 Response body parameters + + + Parameter
++ Type
++ Description
++ + error_code
++ String
++ Error codes.
++ + + error_msg
++ String
++ The error message.
++Example Request
None
++Example Response
Status code: 200
+Auto scaling policies are displayed.
+{ + "auto_scaling_policies" : [ { + "node_group_name" : "task_node_analysis_group", + "resource_pool_name" : "default", + "auto_scaling_policy" : { + "auto_scaling_enable" : true, + "min_capacity" : 0, + "max_capacity" : 1, + "resources_plans" : [ { + "period_type" : "daily", + "effective_days" : [ "SUNDAY" ], + "start_time" : "12:00", + "end_time" : "13:00", + "min_capacity" : 2, + "max_capacity" : 3 + } ], + "rules" : [ { + "name" : "default-expand-1", + "description" : "", + "adjustment_type" : "scale_out", + "cool_down_minutes" : 5, + "scaling_adjustment" : 1, + "trigger" : { + "metric_name" : "YARNAppRunning", + "metric_value" : 100, + "comparison_operator" : "GTOE", + "evaluation_periods" : 1 + } + } ] + } + } ] +}++Status Codes
See Status Codes.
++ +Error Codes
See Error Code.
+++ diff --git a/docs/mrs/api-ref/mrs_02_0201.html b/docs/mrs/api-ref/mrs_02_0201.html new file mode 100644 index 00000000..f8f20ce4 --- /dev/null +++ b/docs/mrs/api-ref/mrs_02_0201.html @@ -0,0 +1,133 @@ + + +++Parent topic: Auto Scaling APIs (V2)+Changing a Cluster Name
+++Function
This API is used to change a cluster name.
++URI
PUT /v2/{project_id}/clusters/{cluster_id}/cluster-name
+ +++
Table 1 URI parameters + + + Parameter
++ Mandatory
++ Type
++ Description
++ + project_id
++ Yes
++ String
++ The project ID. For details about how to obtain the project ID, see Obtaining a Project ID.
++ + + cluster_id
++ Yes
++ String
++ The cluster ID. For details about how to obtain the cluster ID, see Obtaining a Project ID.
++Request Parameters
+++
Table 2 Request body parameter + + + Parameter
++ Mandatory
++ Type
++ Description
++ + + cluster_name
++ Yes
++ String
++ The new cluster name.
++Response Parameters
Status code: 200
+ +++
Table 3 Response body parameter + + + Parameter
++ Type
++ Description
++ + + result
++ String
++ The operation result of the mapping update request. Value **succeeded** indicates that the operation is successful, and value **failed** indicates that the operation fails.
+Status code: 400
+ +++
Table 4 Response body parameters + + + Parameter
++ Type
++ Description
++ + error_code
++ String
++ The error code.
++ + + error_msg
++ String
++ The error message.
++Example Request
Change the MRS cluster name to mrs_jdRU_dm01.
+{ + "cluster_name" : "mrs_jdRU_dm01" +}++Example Response
Status code: 200
+The cluster name is changed.
+{ + "result" : "succeeded" +}++Status Codes
See Status Codes.
++Error Codes
See Error Code.
+++ diff --git a/docs/mrs/api-ref/mrs_02_9003.html b/docs/mrs/api-ref/mrs_02_9003.html index d21a6298..d8b9f77b 100644 --- a/docs/mrs/api-ref/mrs_02_9003.html +++ b/docs/mrs/api-ref/mrs_02_9003.html @@ -8,7 +8,13 @@++Parent topic: Cluster management APIs (V2)+
2023-08-03
+2023-09-06
+2023-08-03