{ "id":"/axapi/v3/slb/template/policy/{name}/forward-policy/action/{name}", "type":"object", "node-type":"list", "title":"action", "partition-visibility":"shared", "description":"action list", "properties":{ "name":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Action policy name", "optional":false }, "action1":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'forward-to-internet': Forward request to Internet; 'forward-to-service-group': Forward request to service group; 'forward-to-proxy': Forward request to HTTP proxy server; 'drop': Drop request; ", "enum":[ "forward-to-internet", "forward-to-service-group", "forward-to-proxy", "drop" ], "optional":true }, "fake-sg":{ "type":"string", "format":"string", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"service group to forward the packets to Internet", "optional":true }, "real-sg":{ "type":"string", "format":"string", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"service group to forward the packets", "optional":true }, "forward-snat":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "not":"forward-snat-pt-only", "description":"Source NAT pool or pool group", "optional":true }, "forward-snat-pt-only":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not":"forward-snat", "description":"Source port translation only", "optional":true }, "fall-back":{ "type":"string", "format":"string", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Fallback service group for Internet", "optional":true }, "fall-back-snat":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "not":"fall-back-snat-pt-only", "description":"Source NAT pool or pool group for fallback server", "optional":true }, "fall-back-snat-pt-only":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not":"fall-back-snat", "description":"Source port translation only for fallback server", "optional":true }, "proxy-chaining":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable proxy chaining feature", "optional":true }, "proxy-chaining-bypass":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Forward all https packets to upstream proxy", "optional":true }, "support-cert-fetch":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Fetch server certificate by upstream proxy", "optional":true }, "log":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"enable logging", "optional":true }, "drop-response-code":{ "type":"number", "format":"number", "minimum":100, "maximum":599, "partition-visibility":"shared", "not":"drop-redirect-url", "description":"Specify response code for drop action", "optional":true }, "drop-message":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":1023, "partition-visibility":"shared", "not":"drop-redirect-url", "description":"drop-message sent to the client as webpage(html tags are included and quotation marks are required for white spaces)", "optional":true }, "drop-redirect-url":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":1023, "partition-visibility":"shared", "not-list":[ "drop-response-code", "drop-message" ], "description":"Specify URL to which client request is redirected upon being dropped", "optional":true }, "http-status-code":{ "type":"string", "format":"enum", "default":"302", "partition-visibility":"shared", "description":"'301': Moved permanently; '302': Found; ", "enum":[ "301", "302" ], "optional":true }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true }, "user-tag":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Customized tag", "optional":true }, "sampling-enable":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "counters1":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'all': all; 'hits': Number of requests matching this destination rule; ", "enum":[ "all", "hits" ] } } } ] } }, "object-keys":[ "name" ], "required":[ "name" ] }