{ "id":"/axapi/v3/slb/template/persist", "type":"object", "node-type":"intermediate", "title":"persist", "operation-not-allowed": ["PUT", "POST", "DELETE"], "partition-visibility":"shared", "description":"Persistence", "properties":{ "cookie-list":{ "type":"array", "minItems":1, "items":{ "type":"cookie" }, "uniqueItems":true, "$ref":"/axapi/v3/slb/template/persist/cookie/{name}", "array":[ { "properties":{ "name":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Cookie persistence (Cookie persistence template name)", "optional":false }, "dont-honor-conn-rules":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Do not observe connection rate rules", "optional":true }, "expire":{ "type":"number", "format":"number", "minimum":0, "maximum":31536000, "default":31536000, "partition-visibility":"shared", "description":"Set cookie expiration time (Expiration in seconds)", "optional":true }, "use-attribute":{ "type":"string", "format":"enum", "default":"expires", "partition-visibility":"shared", "description":"'max-age': Use the Max-Age attribute; 'expires': Use the Expires attribute; 'all': Use all attributes; ", "enum":[ "max-age", "expires", "all" ], "optional":true }, "insert-always":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Insert persist cookie to every reponse", "optional":true }, "encrypt-level":{ "type":"number", "format":"number", "minimum":0, "maximum":1, "default":1, "partition-visibility":"shared", "description":"Encryption level for cookie name / value", "optional":true }, "pass-phrase":{ "type":"string", "format":"password", "minLength":8, "maxLength":8, "default":"ACOS4KEY", "partition-visibility":"shared", "description":"Set passphrase for encryption", "optional":true }, "encrypted":{ "type":"encrypted", "format":"encrypted", "partition-visibility":"shared", "description":"Do NOT use this option manually. (This is an A10 reserved keyword.) (The ENCRYPTED password string)", "optional":true }, "cookie-name":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "default":"sto-id", "partition-visibility":"shared", "description":"Set cookie name", "optional":true }, "prefix":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'host': the cookie will have been set with a Secure attribute, a Path attribute with a value of /, and no Domain attribute; 'secure': the cookie will have been set with a Secure attribute; ", "enum":[ "host", "secure" ], "optional":true }, "domain":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Set cookie domain", "optional":true }, "samesite":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'none': none; 'lax': lax; 'strict': strict; ", "enum":[ "none", "lax", "strict" ], "optional":true }, "path":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":31, "default":"/", "partition-visibility":"shared", "description":"Set cookie path (Cookie path, default is \"/\")", "optional":true }, "pass-thru":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Pass thru mode - Server sends the persist cookie", "optional":true }, "secure":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable secure attribute", "optional":true }, "httponly":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable HttpOnly attribute", "optional":true }, "match-type":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Persist for server, default is port", "optional":true }, "server":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not":"service-group", "description":"Persist to the same server, default is port", "optional":true }, "server-service-group":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Persist to the same server and within the same service group", "optional":true }, "scan-all-members":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Persist within the same server SCAN", "optional":true }, "service-group":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not":"server", "description":"Persist within the same service group", "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 } }, "required":[ "name" ] } ] }, "destination-ip-list":{ "type":"array", "minItems":1, "items":{ "type":"destination-ip" }, "uniqueItems":true, "$ref":"/axapi/v3/slb/template/persist/destination-ip/{name}", "array":[ { "properties":{ "name":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Destination IP persistence template name", "optional":false }, "dont-honor-conn-rules":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Do not observe connection rate rules", "optional":true }, "hash-persist":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Use hash value of destination IP address", "optional":true }, "match-type":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Persistence type", "optional":true }, "server":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not":"service-group", "description":"Persist to the same server, default is port", "optional":true }, "service-group":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not":"server", "description":"Persist within the same service group", "optional":true }, "scan-all-members":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Persist with SCAN of all members", "optional":true }, "timeout":{ "type":"number", "format":"number", "minimum":1, "maximum":2000, "default":5, "partition-visibility":"shared", "description":"Persistence timeout (in minutes)", "optional":true }, "netmask":{ "type":"string", "format":"ipv4-netmask", "default":"255.255.255.255", "partition-visibility":"shared", "description":"IP subnet mask", "optional":true }, "netmask6":{ "type":"number", "format":"number", "minimum":1, "maximum":128, "default":128, "partition-visibility":"shared", "description":"IPV6 subnet mask", "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 } }, "required":[ "name" ] } ] }, "source-ip-list":{ "type":"array", "minItems":1, "items":{ "type":"source-ip" }, "uniqueItems":true, "$ref":"/axapi/v3/slb/template/persist/source-ip/{name}", "array":[ { "properties":{ "name":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Source IP persistence template name", "optional":false }, "dont-honor-conn-rules":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Do not observe connection rate rules", "optional":true }, "enforce-higher-priority":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enforce to use high priority node if available", "optional":true }, "hash-persist":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Use hash value of source IP address", "optional":true }, "incl-dst-ip":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Include destination IP on the persist", "optional":true }, "incl-sport":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Include source port on the persist", "optional":true }, "timeout":{ "type":"number", "format":"number", "minimum":1, "maximum":4321, "default":5, "partition-visibility":"shared", "description":"Persistence timeout (in minutes)", "optional":true }, "netmask":{ "type":"string", "format":"ipv4-netmask", "default":"255.255.255.255", "partition-visibility":"shared", "description":"IP subnet mask", "optional":true }, "netmask6":{ "type":"number", "format":"number", "minimum":1, "maximum":128, "default":128, "partition-visibility":"shared", "description":"IPV6 subnet mask", "optional":true }, "match-type":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Persistence type", "optional":true }, "server":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not":"service-group", "description":"Persist to the same server, default is port", "optional":true }, "primary-port":{ "type":"number", "format":"number", "minimum":1, "maximum":65534, "partition-visibility":"shared", "description":"Primary port to create the persist session", "optional":true }, "service-group":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not":"server", "description":"Persist within the same service group", "optional":true }, "scan-all-members":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Persist with SCAN of all members", "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 } }, "required":[ "name" ] } ] }, "ssl-sid-list":{ "type":"array", "minItems":1, "items":{ "type":"ssl-sid" }, "uniqueItems":true, "$ref":"/axapi/v3/slb/template/persist/ssl-sid/{name}", "array":[ { "properties":{ "name":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"SSL session ID persistence template name", "optional":false }, "dont-honor-conn-rules":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Do not observe connection rate rules", "optional":true }, "timeout":{ "type":"number", "format":"number", "minimum":1, "maximum":2000, "default":5, "partition-visibility":"shared", "description":"Persistence timeout (in minutes)", "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 } }, "required":[ "name" ] } ] } } }