创建策略路由(CreatePolicyRouteTableRouteEntry)
用户可以使用CreatePolicyRouteTableRouteEntry创建策略路由。
例如:
CreatePolicyRouteTableRouteEntry tableUuid=ef44a453884a3b93867d6ec0b7dd5716 destinationCidr=192.168.1.0/24 nextHopIp=192.168.1.1
参数(Parameters)
名字 | 描述 | 可选的 | 可选的参数值 | 起始支持版本 |
---|---|---|---|---|
tableUuid | 策略路由表uuid | 3.6.0 | ||
destinationCidr | 目标ip cidr | 3.6.0 | ||
nextHopIp | 下一跳ip | 3.6.0 | ||
distance | 优先级 | 是 | 3.6.0 | |
resourceUuid | 是 | 3.6.0 | ||
tagUuids | 标签UUID列表 | 是 | 3.6.0 | |
userTags | 用户标签,请参见 创建用户标签(CreateUserTag) | 是 | 3.6.0 | |
systemTags | 系统标签,请参见 创建系统标签(CreateSystemTag) | 是 | 3.6.0 | |
timeout | 是 |