{ "id":"/axapi/v3/slb/template/link-probe/{name}", "type":"object", "node-type":"list", "title":"link-probe", "partition-visibility":"shared", "description":"Link probe template", "properties":{ "name":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"probe template Name", "optional":false }, "url":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":1023, "default":"/", "partition-visibility":"shared", "description":"Specify URL to which probes should be sent out. Default is /", "optional":true }, "rtt-method":{ "type":"string", "format":"enum", "default":"http-rtt", "partition-visibility":"shared", "description":"'http-rtt': Calculate Round Trip Time between HTTP request and response; 'tcp-srtt': Use TCP Smoothed round trip time in the HTTP connection; ", "enum":[ "http-rtt", "tcp-srtt" ], "optional":true }, "expected-status-code":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":31, "default":"200", "partition-visibility":"shared", "description":"Specify response code range (e.g. 200,400-430), default is 200 (Format is xx,xx-xx (xx between [100, 899]), default is 200)", "optional":true }, "disable":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Disable Probe template", "optional":true }, "probe-interval":{ "type":"number", "format":"number", "minimum":1, "maximum":7200, "default":5, "partition-visibility":"shared", "description":"Time between each probe that needs to be sent out (in seconds, default is 5)", "optional":true }, "probes-per-test":{ "type":"number", "format":"number", "minimum":1, "maximum":10, "default":5, "partition-visibility":"shared", "description":"Total number of probes to be sent out for each test", "optional":true }, "test-interval":{ "type":"number", "format":"number", "minimum":1, "maximum":7200, "default":60, "partition-visibility":"shared", "description":"time interval between subsequent tests (in seconds, default is 60)", "optional":true }, "selection-rule":{ "type":"string", "format":"enum", "default":"fastest-link-always", "partition-visibility":"shared", "description":"'threshold': Use all links below a threshold before selecting the fastest link; 'fastest-link-always': Always use the link with the lowest average latency; ", "enum":[ "threshold", "fastest-link-always" ], "optional":true }, "threshold-value":{ "type":"number", "format":"number", "minimum":0, "maximum":65534, "default":0, "partition-visibility":"shared", "description":"Use all links below a threshold before selecting the fastest link (RTT in milliseconds)", "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 }, "destination":{ "type":"object", "$ref":"/axapi/v3/slb/template/link-probe/{name}/destination", "properties":{ "hostname":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Target Hostname" }, "resolve-as":{ "type":"string", "format":"enum", "partition-visibility":"shared", "not-list":[ "static-ipv4-addr", "static-ipv6-addr" ], "description":"'resolve-to-ipv4': Use A Query only to resolve the configured hostname; 'resolve-to-ipv6': Use AAAA Query only to resolve the configured hostname; ", "enum":[ "resolve-to-ipv4", "resolve-to-ipv6" ] }, "static-ipv4-addr":{ "type":"string", "format":"ipv4-address", "partition-visibility":"shared", "not-list":[ "resolve-as", "static-ipv6-addr" ], "description":"Target IPv4 Address" }, "static-ipv6-addr":{ "type":"string", "format":"ipv6-address", "partition-visibility":"shared", "not-list":[ "resolve-as", "static-ipv4-addr" ], "description":"Target IPv6 Address" }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" } } } }, "object-keys":[ "name" ], "required":[ "name" ] }