All Products
Search
Document Center

Smart Access Gateway:GetAclAttribute

Last Updated:Mar 29, 2024

Queries the configuration errors of the deep packet inspection (DPI) feature in an access control list (ACL).

Operation description

  • An application-aware ACL is created. For more information, see AddACLRule .
  • The application-aware ACL is applied to a Smart Access Gateway (SAG) instance. For more information, see AssociateACL .

Debugging

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

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
smartag:GetAclAttributeRead
  • Acl
    acs:smartag:{#regionId}:{#accountId}:acl/{#AclId}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The ID of the region where the ACL is deployed.

cn-shanghai
AclIdstringYes

The ID of the ACL.

acl-xhwhyuo43l0n*****

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

5D2013F0-85AB-4332-9094-8023A598C2C1
AclIdstring

The ID of the ACL.

acl-xhwhyuo43l0n*****
ErrorConfigSmartAGCountinteger

The number of SAG devices that are associated with the ACL who has DPI configuration errors.

You can call the ListDpiConfigError operation to query exception details and SAG device information.

0
AclNamestring

The name of the ACL.

dpi_test

Examples

Sample success responses

JSONformat

{
  "RequestId": "5D2013F0-85AB-4332-9094-8023A598C2C1",
  "AclId": "acl-xhwhyuo43l0n*****",
  "ErrorConfigSmartAGCount": 0,
  "AclName": "dpi_test"
}

Error codes

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