You can call this operation to query rules that authorize a Smart Access Gateway (SAG) instance to communicate with Cloud Connect Network (CCN) instances that are under other Alibaba Cloud accounts.


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 DescribeGrantSagRules

The operation that you want to perform.

Set the value to DescribeGrantSagRules.

RegionId String Yes cn-hangzhou

The ID of the region where the SAG instance is deployed.

SmartAGId String Yes sag-hdg*************

The ID of the SAG instance.

PageNumber Integer No 1

The number of the page to return. Default value: 1.

PageSize Integer No 10

The number of entries to return on each page. Default value: 10. Maximum value: 50.

Response parameters

Parameter Type Example Description
GrantRules Array

The rule that authorizes the SAG instance to communicate with a CCN instance under another Alibaba Cloud account.

CcnInstanceId String ccn-hd**********

The ID of the CCN instance.

CcnUid Long 13323444243434

The UID of the Alibaba Cloud account that owns the CCN instance.

CreateTime Long 156576751700

The time when the rule was created.

InstanceId String 1688401595963306

The UID of the Alibaba Cloud account that owns the SAG instance.

SmartAGId String sag-hdhgn*****

The ID of the SAG instance.

PageNumber Integer 2

The page number of the returned page.

PageSize Integer 10

The number of entries returned per page.

RequestId String 6E1674AC-083C-4031-B047-7A66E418E0C6

The ID of the request.

TotalCount Integer 2

The total number of rules.


Sample requests

http(s)://[Endpoint]/? Action=DescribeGrantSagRules
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

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