创建策略路由规则集规则(CreatePolicyRouteRule)
用户可以使用CreatePolicyRouteRule创建策略路由规则集规则。
例如:
CreatePolicyRouteRule ruleSetUuid=ec2472bf205931318e02a2bb5356c0ee tableUuid=b4c03beba98c3502ac53d784dd9bfe61 ruleNumber=1001.0
参数(Parameters)
名字 | 描述 | 可选的 | 可选的参数值 | 起始支持版本 |
---|---|---|---|---|
ruleSetUuid | 策略路由规则集uuid | 3.6.0 | ||
tableUuid | 策略路由表uuid | 3.6.0 | ||
ruleNumber | 规则优先级 | 3.6.0 | ||
destIp | 目标ip | 是 | 3.6.0 | |
sourceIp | 源ip | 是 | 3.6.0 | |
destPort | 目标端口 | 是 | 3.6.0 | |
sourcePort | 源端口 | 是 | 3.6.0 | |
protocol | 协议 | 是 | 3.6.0 | |
resourceUuid | 是 | 3.6.0 | ||
tagUuids | 标签UUID列表 | 是 | 3.6.0 | |
userTags | 用户标签,请参见 创建用户标签(CreateUserTag) | 是 | 3.6.0 | |
systemTags | 系统标签,请参见 创建系统标签(CreateSystemTag) | 是 | 3.6.0 | |
timeout | 是 |