防火牆列表

更新時間:2017-09-06 09:32:26

描述

查詢防火牆資訊,可根據名稱等查詢條件檢索出多條記錄。

請求引數

引數名引數型別是否必填引數說明
Action String

操作方法

Region String

機房標識,取值參見地域列表

Offset Integer

記錄偏移量,預設取 0

Count Integer

記錄數量,預設為全部

Id.N String

防火牆Id,支援批次,N為自然數,格式:&Id.0=xxx0&Id.1=xxx1

Name String

名稱

StartTime String

建立開始時間 格式yyyy-MM-dd HH:mm:ss

EndTime String

建立結束時間 格式yyyy-MM-dd HH:mm:ss

返回引數

名稱 型別 說明
Action String 執行的操作
TaskId String 請求標識
TotalCount Integer 過濾條件下總共記錄數
FirewallSet FirewallType 由FirewallType組成的陣列格式,返回 防火牆資訊列表

FirewallType 節點

防火牆資訊的資料型別

名稱 型別 說明
Id String 識別符號
Name String 名稱
Description String 描述
CreateTime DateTime 建立時間
Type String 防火牆型別: 預設or自定義
BindingSet BindingType 由BindingType組成的陣列格式,返回應用了該防火牆的資源

BindingType 節點

應用防火牆資源的資料型別

名稱 型別 說明
ResourceId String 資源標識
ResourceName String 資源名稱
ResourceType String 資源型別:instance,router,loadbalancer

請求示例

https://vpc-cn-wuxi1.chinac.com/?Action=DescribeFirewalls
&Region=cn-wuxi1
&<公共請求引數>

返回示例

{
    "code": 10000,
    "message": "",
    "data": {
        "TaskId": "mirrorhzj11520170510092402676",
        "Action": "DescribeFirewalls",
        "TotalCount": 1,
        "FirewallSet": [{
            "Id": "f-1r9ih3ke3g112",
            "Uuid": "61c48e3d-4b48-4c6c-aeea-930da188824c",
            "Name": "DEFAULT_18357857",
            "Description": "DEFAULT",
            "BindingSet": [{
                "resourceId": "i-kx9ih49ghc94b",
                "resourceName": "cec170509rstD",
                "resourceType": "INSTANCE"
            },
            {
                "resourceId": "i-719ih49e6c9p",
                "resourceName": "cec1705099hXP",
                "resourceType": "INSTANCE"
            },
            {
                "resourceId": "r-vd9ih46dmt2p",
                "resourceName": "test",
                "resourceType": "ROUTER"
            }],
            "CreateTime": "2017-04-20T14:39:52 +0800",
            "Type": "CUSTOMER",
            "UserId": "18359229",
            "IdLong": "f-1r9ih3ke3g112-61c48e3d-4b48-4c6c-aeea-930da188824c"
        }]
    }
}
*
*