Moves Smart Access Gateway (SAG) resources from one resource group to another.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String No 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:

  • smartag: an SAG CPE or SAG vCPE instance
  • smartag_s: an SAG app instance
  • acl: an access control list (ACL)
  • flowlog: a flow log
  • qos: a quality of service (QoS) policy
  • ccn: a Cloud Connect Network (CCN) instance
  • abwp: a bandwidth plan for application acceleration
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.