Queries whether a specified virtual border router (VBR) is associated with a Smart Access Gateway (SAG) instance.

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 Yes DescribeSagVbrRelations

The operation that you want to perform. Set the value to DescribeSagVbrRelations.

RegionId String No 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.

VbrRegionId String Yes cn-hangzhou

The ID of the region where the VBR is deployed.

You can call the DescribeRegions operation to query the most recent region list.

VbrInstanceIds.N String Yes vbr-bp15ihkk93ezxppk****

The ID of the VBR.

Response parameters

Parameter Type Example Description
RequestId String 17D79124-104A-42DB-8FCA-CE2957CD1723

The ID of the request.

SagVbrRelations Array of SagVbrRelation

Indicates whether the specified VBR is associated with an SAG instance.

VbrInstanceId String vbr-bp15ihkk93ezxppk****

The ID of the VBR.

SagUid String 16884015121212****

The ID of the Alibaba Cloud account to which the SAG instance belongs.

SagInstanceId String sag-0nnteglltw6z4b****

The ID of the SAG instance.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DescribeSagVbrRelations
&RegionId=cn-shanghai
&VbrRegionId=cn-hangzhou
&VbrInstanceIds=["vbr-bp15ihkk93ezxppk****"]
&Common request parameters

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<DescribeSagVbrRelationsResponse>
    <RequestId>17D79124-104A-42DB-8FCA-CE2957CD1723</RequestId>
    <SagVbrRelations>
        <VbrInstanceId>vbr-bp15ihkk93ezxppk****</VbrInstanceId>
        <SagUid>16884015121212****</SagUid>
        <SagInstanceId>sag-0nnteglltw6z4b****</SagInstanceId>
    </SagVbrRelations>
</DescribeSagVbrRelationsResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "17D79124-104A-42DB-8FCA-CE2957CD1723",
  "SagVbrRelations" : {
    "VbrInstanceId" : "vbr-bp15ihkk93ezxppk****",
    "SagUid" : "16884015121212****",
    "SagInstanceId" : "sag-0nnteglltw6z4b****"
  }
}

Error codes

HttpCode Error code Error message Description
400 Param.InvalidVersionComparator The specified version comparison operator is invalid. The error message returned because the specified operator used to filter SAG instance versions is invalid.
400 InvalidRegionID The specified regionId does not exist. The error message returned because the specified region ID does not exist.
403 Forbidden User not authorized to operate on the specified resource. The error message returned because you do not have the permissions to manage the specified resource.

For a list of error codes, visit the API Error Center.