You can call ModifyClusterName operation to modify the cluster name.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ModifyClusterName |
The operation that you want to perform. This parameter is required for API requests that you create by piecing together HTTP or HTTPS URLs. Set the value to ModifyClusterName. |
Id | String | Yes | C-D7958B72E59B**** |
The ID of the cluster. You can call ListClusters Interface to view the cluster ID. |
Name | String | Yes | bi_hadoop |
The new name of the cluster. You must use the same naming conventions as you used for the original cluster name. It can be 1 to 64 characters in length and can only contain letters, digits, hyphens (-), and underscores (_). (_). |
RegionId | String | Yes | cn-hangzhou |
The region ID of the instance. You can call DescribeRegions Interface to view the latest list of Alibaba Cloud regions. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 588E7707-D8C8-4618-9B74-FE54B6903A9A |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=ModifyClusterName
&Id=C-D7958B72E59B****
&Name=bi_hadoop
&RegionId=cn-hangzhou
&<common request parameters>
Sample success responses
XML
format
<RequestId>588E7707-D8C8-4618-9B74-FE54B6903A9A</RequestId>
JSON
Syntax
{
"RequestId": "588E7707-D8C8-4618-9B74-FE54B6903A9A"
}