All Products
Search
Document Center

Server Load Balancer:MoveResourceGroup

Last Updated:Mar 13, 2024

Modify the group of resource.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
NewResourceGroupIdstringYes

The ID of the new resource group.

You can log on to the Resource Management console to view resource group IDs.

rg-aekzjcnrv3vvqhq
ResourceTypestringYes

The type of the resource. Valid values:

  • loadbalancer: a Network Load Balancer (NLB) instance
  • securitypolicy: a security policy
  • servergroup: a server group
loadbalancer
ResourceIdstringYes

The ID of the bastion host for which you want to change the resource group.

Note You can call the DescribeInstances operation to query the ID of the bastion host.
nlb-nrnrxwd15en27r****
RegionIdstringYes

The region ID of the NLB instance.

You can call the DescribeRegions operation to obtain the region ID.

cn-hangzhou

Response parameters

ParameterTypeDescriptionExample
object

RpcResponse

RequestIdstring

The request ID.

CEF72CEB-54B6-4AE8-B225-F876FF7BA984
Successboolean

Indicates whether the request was successful. Valid values:

  • true
  • false
true
HttpStatusCodeinteger

The HTTP status code returned.

200
Dataobject

The data returned.

ResourceIdstring

The ID of the resource. You can specify up to 50 resource IDs in each call.

nlb-nrnrxwd15en27r****

Examples

Sample success responses

JSONformat

{
  "RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BA984",
  "Success": true,
  "HttpStatusCode": 200,
  "Data": {
    "ResourceId": "nlb-nrnrxwd15en27r****"
  }
}

Error codes

HTTP status codeError codeError message
400IllegalParam.%sThe param of %s is illegal.
403Forbidden.%sAuthentication is failed for %s.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-09-26The Error code has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    Error Codes 400 change
    delete Error Codes: 403
    Added Error Codes: 404
2023-09-05The Error code has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    Error Codes 400 change
    Error Codes 403 change
2023-08-22The Error code has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    Added Error Codes: 400
    Added Error Codes: 403