Acquires permissions from a virtual border router (VBR) under another account.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | No | GrantSagInstanceToVbr |
The operation that you want to perform. Set the value to GrantSagInstanceToVbr. |
RegionId | String | Yes | cn-shanghai |
The ID of the region where the SAG instance is deployed. |
SmartAGId | String | Yes | sag-0nnteglltw6z4b**** |
The ID of the SAG instance. |
VbrInstanceId | String | Yes | vbr-bp13gtbhdp0pfqg6s**** |
The ID of the VBR. |
VbrRegionId | String | Yes | cn-hangzhou |
The ID of the region where the VBR is deployed. |
VbrUid | Long | Yes | 1231212121121212112 |
The user ID (UID) of the account to which the VBR belongs. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
InstanceId | String | sgv-3x8djyem7vqh70**** |
The ID of the authorization. |
RequestId | String | 49CEBB2B-9E5C-4789-8A29-3255A56A67B1 |
The ID of the request. |
Examples
Sample request
http(s)://[Endpoint]/? Action=GrantSagInstanceToVbr
&RegionId=cn-shanghai
&SmartAGId=sag-0nnteglltw6z4b****
&VbrInstanceId=vbr-bp13gtbhdp0pfqg6s****
&VbrRegionId=cn-hangzhou
&VbrUid=1231212121121212112
&<Common request parameters>
Sample success responses
XML
format
<GrantSagInstanceToVbrResponse>
<RequestId>49CEBB2B-9E5C-4789-8A29-3255A56A67B1</RequestId>
<InstanceId>sgv-3x8djyem7vqh70****</InstanceId>
</GrantSagInstanceToVbrResponse>
JSON
format
{
"RequestId": "49CEBB2B-9E5C-4789-8A29-3255A56A67B1",
"InstanceId": "sgv-3x8djyem7vqh70****"
}
Error codes
For a list of error codes, visit the API Error Center.