修改負載均衡器例項轉發策略規則

更新時間:2018-07-19 10:17:19

修改轉發策略規則資訊。

Operator值說明:
運算子 說明
BeginWith 字串,以...開頭
EndWith 字串,以...結束
EqualToStr 字串,等於
Contain 字串,包含
RegExp 字串,匹配正則表示式
EqualToInt 數字,等於
GreaterThan 數字,大於
LessThan 數字,小於
Range 數字,範圍,格式 num1|num2

請求引數

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

操作方法

Region String

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

LBPolicyRuleId String

策略標識

Name String

名稱

Enabled Boolean

是否啟用

Type String

型別:Method,Path,Cookie,Header

Operator String

操作

CaseSensitive String

是否對於大小寫敏感

Key String

Value String

Description String

描述

返回引數

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

請求示例

http://api.chinac.com/?Action=ModifyLBPolicyRule
&Region=cn-wuxi
&LBPolicyRuleId=lbpr-adasd
&Name=adad
&Enabled=true
&Type=Method
&Operator=BeginWith
&Value=a
&<公共請求引數>

返回示例

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