{ "id":"/axapi/v3/aam/authorization/policy/{name}/attribute/{attr-num}", "type":"object", "node-type":"list", "title":"attribute", "partition-visibility":"shared", "description":"Authorization-policy attribute configuration", "properties":{ "attr-num":{ "type":"number", "format":"number", "minimum":1, "maximum":32, "partition-visibility":"shared", "description":"Set attribute ID for authorization policy", "optional":false }, "attribute-name":{ "type":"string", "format":"string", "minLength":1, "maxLength":63, "partition-visibility":"shared", "not":"A10-AX-AUTH-URI", "description":"Specify attribute name", "optional":true }, "any":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not":"attr-type", "description":"Matched when attribute is present (with any value).", "optional":true }, "attr-type":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not":"any", "description":"Specify attribute type", "optional":true }, "string-type":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not-list":[ "integer-type", "ip-type", "number-type" ], "description":"Attribute type is string", "optional":true }, "integer-type":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not-list":[ "string-type", "ip-type", "number-type" ], "description":"Attribute type is integer", "optional":true }, "ip-type":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not-list":[ "string-type", "integer-type", "number-type" ], "description":"IP address is transformed into network byte order", "optional":true }, "number-type":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not-list":[ "string-type", "integer-type", "ip-type" ], "description":"Attribute type is decimal number", "optional":true }, "attr-str":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'match': Operation type is match; 'sub-string': Operation type is sub-string; ", "enum":[ "match", "sub-string" ], "optional":true }, "attr-str-val":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Set attribute value", "optional":true }, "attr-int":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'equal': Operation type is equal; 'not-equal': Operation type is not equal; 'less-than': Operation type is less-than; 'more-than': Operation type is more-than; 'less-than-equal-to': Operation type is less-than-equal-to; 'more-than-equal-to': Operation type is more-thatn-equal-to; ", "enum":[ "equal", "not-equal", "less-than", "more-than", "less-than-equal-to", "more-than-equal-to" ], "optional":true }, "attr-int-val":{ "type":"number", "format":"number", "minimum":0, "maximum":4294967295, "partition-visibility":"shared", "description":"Set attribute value", "optional":true }, "attr-ip":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'equal': Operation type is equal; 'not-equal': Operation type is not-equal; ", "enum":[ "equal", "not-equal" ], "optional":true }, "attr-ipv4":{ "type":"string", "format":"ipv4-address", "partition-visibility":"shared", "description":"IPv4 address", "optional":true }, "attr-number":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'equal': Operation type is equal; 'not-equal': Operation type is not equal; 'less-than': Operation type is less-than; 'more-than': Operation type is more-than; 'less-than-equal-to': Operation type is less-than-equal-to; 'more-than-equal-to': Operation type is more-thatn-equal-to; ", "enum":[ "equal", "not-equal", "less-than", "more-than", "less-than-equal-to", "more-than-equal-to" ], "optional":true }, "attr-number-val":{ "type":"string", "format":"string", "minLength":1, "maxLength":20, "partition-visibility":"shared", "description":"Set attribute value", "optional":true }, "A10-AX-AUTH-URI":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not":"attribute-name", "description":"Custom-defined attribute", "optional":true }, "custom-attr-type":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Specify attribute type", "optional":true }, "custom-attr-str":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'match': Operation type is match; 'sub-string': Operation type is sub-string; ", "enum":[ "match", "sub-string" ], "optional":true }, "a10-dynamic-defined":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"The value of this attribute will depend on AX configuration instead of user configuration", "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 } }, "object-keys":[ "attr-num" ], "required":[ "attr-num" ] }