Domain name for API request: chdfs.tencentcloudapi.com.
This API is used to view the list of permission rules by permission group ID.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common Params. The value used for this API: DescribeAccessRules. |
Version | Yes | String | Common Params. The value used for this API: 2020-11-12. |
Region | No | String | Common Params. This parameter is not required for this API. |
AccessGroupId | Yes | String | Permission group ID |
Parameter Name | Type | Description |
---|---|---|
AccessRules | Array of AccessRule | List of permission rules |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
This example shows how to view the list of permission rules.
https://chdfs.tencentcloudapi.com/?Action=DescribeAccessRules
&AccessGroupId=ag-jwmfdcul
&<Common request parameters>
{
"Response": {
"AccessRules": [
{
"AccessRuleId": 13001,
"Address": "127.0.0.1",
"AccessMode": 1,
"Priority": 1,
"CreateTime": "2019-07-30T16:24:38+08:00"
},
{
"AccessRuleId": 13002,
"Address": "127.0.0.1",
"AccessMode": 2,
"Priority": 2,
"CreateTime": "2019-07-30T16:24:38+08:00"
}
],
"RequestId": "19d240f4-156d-4a3c-856c-216d64a6bb4a"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
FailedOperation | Operation failed. |
InternalError | Internal error. |
InvalidParameter | Incorrect parameter. |
InvalidParameterValue | Incorrect parameter value. |
InvalidParameterValue.InvalidAccessGroupId | Incorrect parameter value: AccessGroupId. |
MissingParameter | Missing parameter. |
ResourceNotFound.AccessGroupNotExists | The permission group does not exist. |
UnauthorizedOperation | Unauthorized operation. |
Was this page helpful?