{ "id":"/axapi/v3/aam/authentication/relay/form-based/instance/{name}", "type":"object", "node-type":"list", "title":"instance", "partition-visibility":"shared", "description":"Form-based Authentication Relay", "properties":{ "name":{ "type":"string", "format":"string", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Specify form-based authentication relay name", "optional":false }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "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; 'request': Request; 'invalid_srv_rsp': Invalid Server Response; 'post_fail': POST Failed; 'invalid_cred': Invalid Credential; 'bad_req': Bad Request; 'not_fnd': Not Found; 'error': Internal Server Error; 'other_error': Other Error; ", "enum":[ "all", "request", "invalid_srv_rsp", "post_fail", "invalid_cred", "bad_req", "not_fnd", "error", "other_error" ] } } } ] }, "packet-capture-template":{ "type":"string", "format":"string", "minLength":1, "maxLength":128, "partition-visibility":"shared", "$ref":"/axapi/v3/visibility/packet-capture/object-templates/aam-auth-relay-form-inst-tmpl", "description":"Name of the packet capture template to be bind with this object", "optional":true }, "request-uri-list":{ "type":"array", "minItems":1, "items":{ "type":"request-uri" }, "uniqueItems":true, "$ref":"/axapi/v3/aam/authentication/relay/form-based/instance/{name}/request-uri/{match-type}+{uri}", "array":[ { "properties":{ "match-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'equals': URI exactly matches the string; 'contains': URI string contains another sub string; 'starts-with': URI string starts with sub string; 'ends-with': URI string ends with sub string; ", "enum":[ "equals", "contains", "starts-with", "ends-with" ], "optional":false }, "uri":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Specify request URI", "optional":false }, "user-variable":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Specify username variable name", "optional":true }, "password-variable":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Specify password variable name", "optional":true }, "domain-variable":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Specify domain variable name", "optional":true }, "other-variables":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Specify other variables (n1=v1&n2=v2) in form relay", "optional":true }, "max-packet-collect-size":{ "type":"number", "format":"number", "minimum":1024, "maximum":2097152, "default":1048576, "partition-visibility":"shared", "description":"Specify the max packet collection size in bytes, default is 1MB", "optional":true }, "cookie":{ "type":"object", "properties":{ "cookie-value":{ "type":"object", "properties":{ "cookie-value":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Specify cookie in POST packet" } } } } }, "action-uri":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Specify the action-URI", "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":[ "match-type", "uri" ] } ] } }, "object-keys":[ "name" ], "required":[ "name" ] }