{ "id":"/axapi/v3/slb/template/persist/cookie/{name}", "type":"object", "node-type":"list", "title":"cookie", "partition-visibility":"shared", "description":"Cookie persistence", "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 } }, "object-keys":[ "name" ], "required":[ "name" ] }