Moves Smart Access Gateway (SAG) resources from one resource group to another.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | MoveResourceGroup |
The operation that you want to perform. Set the value to MoveResourceGroup. |
ResourceId | String | Yes | fl-g5w9ty0z36**** |
The ID of the resource. |
ResourceType | String | Yes | flowlog |
The type of the resource. Valid values:
|
NewResourceGroupId | String | Yes | rg-acfm2iu4fnc**** |
The ID of the new resource group. You can log on to the Resource Management console to view resource group IDs. |
RegionId | String | Yes | cn-shanghai |
The ID of the region where the SAG instance is deployed. You can call the DescribeRegions operation to query the most recent region list. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 6668829E-B261-4038-9EC6-0A2C57A14916 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=MoveResourceGroup
&ResourceId=fl-g5w9ty0z36****
&ResourceType=flowlog
&NewResourceGroupId=rg-acfm2iu4fnc****
&RegionId=cn-shanghai
&Common request parameters
Sample responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<MoveResourceGroupResponse>
<RequestId>6668829E-B261-4038-9EC6-0A2C57A14916</RequestId>
</MoveResourceGroupResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "6668829E-B261-4038-9EC6-0A2C57A14916"
}
Error codes
For a list of error codes, visit the API Error Center.