aam authorization policy attribute¶
Authorization-policy attribute configuration
attribute Specification¶
Type Collection Object Key(s) attr-num Collection Name attribute-list Collection URI /axapi/v3/aam/authorization/policy/{name}/attribute Element Name attribute Element URI /axapi/v3/aam/authorization/policy/{name}/attribute/{attr-num} Element Attributes attribute_attributes Schema attribute schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/aam/authorization/policy/{name}/attribute | ||
Create List | POST | /axapi/v3/aam/authorization/policy/{name}/attribute | ||
Get Object | GET | /axapi/v3/aam/authorization/policy/{name}/attribute/{attr-num} | ||
Get List | GET | /axapi/v3/aam/authorization/policy/{name}/attribute | ||
Modify Object | POST | /axapi/v3/aam/authorization/policy/{name}/attribute/{attr-num} | ||
Replace Object | PUT | /axapi/v3/aam/authorization/policy/{name}/attribute/{attr-num} | ||
Replace List | PUT | /axapi/v3/aam/authorization/policy/{name}/attribute | ||
Delete Object | DELETE | /axapi/v3/aam/authorization/policy/{name}/attribute/{attr-num} |
attribute-list¶
attribute-list is JSON List of attribute attributes
attribute-list : [
]
attribute attributes¶
A10-AX-AUTH-URI
Description Custom-defined attribute
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
Mutual Exclusion: A10-AX-AUTH-URI and attribute-name are mutually exclusive
a10-dynamic-defined
Description The value of this attribute will depend on AX configuration instead of user configuration
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
any
Description Matched when attribute is present (with any value).
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
Mutual Exclusion: any and attr-type are mutually exclusive
attr-int
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;
Type: string
Supported Values: equal, not-equal, less-than, more-than, less-than-equal-to, more-than-equal-to
attr-int-val
Description Set attribute value
Type: number
Range: 0-4294967295
attr-ip
Description ‘equal’: Operation type is equal; ‘not-equal’: Operation type is not-equal;
Type: string
Supported Values: equal, not-equal
attr-ipv4
Description IPv4 address
Type: string
Format: ipv4-address
attr-num
Description Set attribute ID for authorization policy
Type: number
Range: 1-32
attr-number
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;
Type: string
Supported Values: equal, not-equal, less-than, more-than, less-than-equal-to, more-than-equal-to
attr-number-val
Description Set attribute value
Type: string
Maximum Length: 20 characters
Maximum Length: 1 characters
attr-str
Description ‘match’: Operation type is match; ‘sub-string’: Operation type is sub-string;
Type: string
Supported Values: match, sub-string
attr-str-val
Description Set attribute value
Type: string
Format: string-rlx
Maximum Length: 63 characters
Maximum Length: 1 characters
attr-type
Description Specify attribute type
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
Mutual Exclusion: attr-type and any are mutually exclusive
attribute-name
Description Specify attribute name
Type: string
Maximum Length: 63 characters
Maximum Length: 1 characters
Mutual Exclusion: attribute-name and A10-AX-AUTH-URI are mutually exclusive
custom-attr-str
Description ‘match’: Operation type is match; ‘sub-string’: Operation type is sub-string;
Type: string
Supported Values: match, sub-string
custom-attr-type
Description Specify attribute type
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
integer-type
Description Attribute type is integer
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
Mutual Exclusion: integer-typestring-type, ip-type and number-type are mutually exclusive
ip-type
Description IP address is transformed into network byte order
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
Mutual Exclusion: ip-typestring-type, integer-type and number-type are mutually exclusive
number-type
Description Attribute type is decimal number
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
Mutual Exclusion: number-typestring-type, integer-type and ip-type are mutually exclusive
string-type
Description Attribute type is string
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
Mutual Exclusion: string-typeinteger-type, ip-type and number-type are mutually exclusive
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters