Modifies the resource group that you specify when you activate DataWorks or purchase a DataWorks exclusive resource group.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ChangeResourceManagerResourceGroup | The operation that you want to perform. Set the value to ChangeResourceManagerResourceGroup. |
ResourceType | String | Yes | project | The resource type. Valid values:
|
ResourceId | String | Yes | test_project | The ID of the resource type. Valid values:
|
ResourceManagerResourceGroupId | String | Yes | rg-bp67acfmxazb4p**** | The ID of the new resource group. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Data | Boolean | true | Indicates whether the resource group was successfully modified. |
RequestId | String | 1AFAE64E-D1BE-432B-A9**** | The ID of the request. You can use the ID to query logs and troubleshoot issues. |
HttpStatusCode | Integer | 200 | The HTTP status code returned. |
Success | Boolean | true | Indicates whether the request was successful. Valid values:
|
Examples
Sample requests
http(s)://[Endpoint]/?Action=ChangeResourceManagerResourceGroup
&ResourceType=project
&ResourceId=test_project
&ResourceManagerResourceGroupId=rg-bp67acfmxazb4p****
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<ChangeResourceManagerResourceGroupResponse>
<RequestId>1AFAE64E-D1BE-432B-A9****</RequestId>
<HttpStatusCode>200</HttpStatusCode>
<Data>true</Data>
<Success>true</Success>
</ChangeResourceManagerResourceGroupResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "1AFAE64E-D1BE-432B-A9****",
"HttpStatusCode" : 200,
"Data" : true,
"Success" : true
}
Error codes
For a list of error codes, visit the Error Center.