查詢存取控制策略組的配置。

請求參數

參數 類型 是否必須 描述
Action String 要執行的操作,取值:

DescribeAccessControlListAttribute

RegionId String 存取控制策略組的地域ID。
AclId String 存取控制策略組ID。
AclEntryComment String 存取控制策略組中的路由條目的說明資訊。

返回參數

名稱 類型 描述
RequestId String 請求ID。
AclId String 存取控制策略組ID。
AclName String 存取控制策略組名稱。
AclEntrys List 存取控制策略組中的IP條目。
RelatedListeners List 存取控制策略關聯的監聽。
表 1. AclEntry
名稱 類型 描述
AclEntryIP String 存取控制條目IP。
AclEntryComment String 存取控制條目備忘。
表 2. RelatedListener
名稱 類型 描述
LoadBalancerId String Server Load Balancer執行個體ID。
ListenerPort Integer 監聽的前端通信埠。
Protocol Integer 監聽協議。
AclType String 存取控制類型:
  • black:黑名單
  • white:白名單

樣本

請求樣本

https://slb.aliyuncs.com/?Action=DescribeAccessControlListAttribute
&RegionId=us-west-1
&AclId=acl-0xiowxdr4drxtm2w8hupo
&公共請求參數

返回樣本

  • XML格式
    <?xml version="1.0" encoding="utf-8"?>
    <DescribeAccessControlListAttributeResponse>
    <AclName>group1</AclName>
    <RequestId>6669026E-067E-47B6-8106-EA810382A3BB</RequestId>
    <AclEntrys>
      <AclEntry>
        <AclEntryComment>1,10.10.0.0/24</AclEntryComment>
        <AclEntryIP>10.10.0.0/24</AclEntryIP>
      </AclEntry>
    </AclEntrys>
    <AclId>acl-0xiowxdr4drxtm2w8hupo</AclId>
    <RelatedListeners>
      <RelatedListener>
        <AclType>white</AclType>
        <LoadBalancerId>lb-0xiw3x1ljvd2a5golok5v</LoadBalancerId>
        <Protocol>https</Protocol>
        <ListenerPort>443</ListenerPort>
      </RelatedListener>
    </RelatedListeners>
    </DescribeAccessControlListAttributeResponse>
  • JSON格式
    {
      "AclName": "group1",
      "RequestId": "6669026E-067E-47B6-8106-EA810382A3BB"
      "AclEntrys": {
          "AclEntry": [
              {
                  "AclEntryComment": "1,10.10.0.0/24",
                  "AclEntryIP": "10.10.0.0/24"
              }
          ]
        },
          "AclId": "acl-0xiowxdr4drxtm2w8hupo",
          "RelatedListeners": {
          "RelatedListener": [
              {
                  "AclType": "white",
                  "LoadBalancerId": "lb-0xiw3x1ljvd2a5golok5v",
                  "Protocol": "https",
                  "ListenerPort": 443
              }
          ]
      }
    }