地址簿新增地址。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
yundun-waf:AddAddress |
update |
*All Resource
|
|
無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| InstanceId |
string |
是 |
WAF 執行個體的 ID。 說明
您可以呼叫 DescribeInstance ,檢視目前 WAF 執行個體的 ID。 |
waf_cdnsdf3**** |
| RuleId |
integer |
是 |
地址簿 ID。 |
12345678 |
| AddressList |
array |
是 |
要新增的地址清單。 |
|
|
string |
否 |
單一地址。支援 IP 或 IP 區段,同時支援 IPv4 和 IPv6。 |
XX.XX.XX.XX |
|
| ResourceManagerResourceGroupId |
string |
否 |
阿里雲資源群組 ID。 |
rg-acfm***q |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| RequestId |
string |
目前請求的 ID。 |
2EFCFE18-78F8-5079-B312-07***48B |
樣本
正常返回樣本
JSON格式
{
"RequestId": "2EFCFE18-78F8-5079-B312-07***48B"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | Defense.Control.DefenseAddressInvalid | The address in the address book is illegal. | 位址簿中的位址不合法。 |
| 400 | Defense.Control.DefenseAddressOversize | The number of addresses in the address book exceeds the limit. | 位址簿的位址數量超過限制。 |
| 400 | Defense.Control.DefenseAddressOperationTooFrequent | Address book operations are too frequent. | 位址簿操作太頻繁,請稍後再試。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。