修改防火牆規則

更新時間:2017-09-01 10:09:39

描述

修改防火牆規則資訊。

請求引數

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

操作方法

Region String

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

Id String

防火牆規則標識

Name String

名稱

Direction String

方向:

  • ingress
  • egress
PortStart String

起始埠

PortEnd String

結束埠

Protocol String

協議:

  • TCP
  • UDP
  • ICMP
  • GRE
  • ESP
  • AH
  • IPIP
  • ALL(所有協議)
Priority String

優先順序

RemoteIpPrefix String

允許的 IP 地址範圍

Enabled Boolean

是否啟用

返回引數

名稱 型別 說明
Action String 執行的操作
TaskId String 請求標識

請求示例

https://vpc-cn-wuxi1.chinac.com/?Action=ModifyFirewallRuleAttributes
&Region=cn-wuxi1
&Id=fr-sddc
&Name=ssss
&<公共請求引數>

返回示例

{
    "code": 10000,
    "message": "",
    "data": {
        "TaskId": "bb112c20170506133720502",
        "Action": "ModifyFirewallRuleAttributes"
    }
}
*
*
*
*
*
*
*
*
*