slb template policy forward-policy source destination adv-match

Advanced match rule

adv-match Specification

Parameter Value
Type Collection
Object Key(s) priority
Collection Name adv-match-list
Collection URI /axapi/v3/slb/template/policy/{name}/forward-policy/source/{name}/destination/adv-match
Element Name adv-match
Element URI /axapi/v3/slb/template/policy/{name}/forward-policy/source/{name}/destination/adv-match/{priority}
Element Attributes adv-match_attributes
Partition Visibility shared
Schema adv-match schema

Operations Allowed:

OperationMethodURIPayload

Create Object

POST

/axapi/v3/slb/template/policy/{name}/forward-policy/source/{name}/destination/adv-match

adv-match attributes

Create List

POST

/axapi/v3/slb/template/policy/{name}/forward-policy/source/{name}/destination/adv-match

adv-match attributes

Get Object

GET

/axapi/v3/slb/template/policy/{name}/forward-policy/source/{name}/destination/adv-match/{priority}

adv-match attributes

Get List

GET

/axapi/v3/slb/template/policy/{name}/forward-policy/source/{name}/destination/adv-match

adv-match-list

Modify Object

POST

/axapi/v3/slb/template/policy/{name}/forward-policy/source/{name}/destination/adv-match/{priority}

adv-match attributes

Replace Object

PUT

/axapi/v3/slb/template/policy/{name}/forward-policy/source/{name}/destination/adv-match/{priority}

adv-match attributes

Replace List

PUT

/axapi/v3/slb/template/policy/{name}/forward-policy/source/{name}/destination/adv-match

adv-match-list

Delete Object

DELETE

/axapi/v3/slb/template/policy/{name}/forward-policy/source/{name}/destination/adv-match/{priority}

adv-match attributes

adv-match-list

adv-match-list is JSON List of adv-match attributes

adv-match-list : [

adv-match attributes

action

Description Forwading action of this rule

Type: string

Maximum Length: 63 characters

Maximum Length: 1 characters

Mutual Exclusion: action and dual-stack-action are mutually exclusive

disable-reqmod-icap

Description Disable REQMOD ICAP template

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

disable-respmod-icap

Description Disable RESPMOD ICAP template

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

dual-stack-action

Description Forwarding action of this rule

Type: string

Maximum Length: 63 characters

Maximum Length: 1 characters

Mutual Exclusion: dual-stack-action and action are mutually exclusive

match-host

Description Match request host (HTTP stage) or SNI/SAN (SSL stage)

Type: string

Maximum Length: 128 characters

Maximum Length: 1 characters

Reference Object: /axapi/v3/class-list

match-http-content-encoding

Description Match the value of HTTP header “Content-Encoding”

Type: string

Maximum Length: 128 characters

Maximum Length: 1 characters

Reference Object: /axapi/v3/class-list

match-http-content-length-range-begin

Description Match the value of HTTP header “Content-Length” with an inclusive range

Type: number

Range: 0-2147483647

match-http-content-length-range-end

Description End of the “Content-Length” range

Type: number

Range: 0-2147483647

match-http-content-type

Description Match the value of HTTP header “Content-Type”

Type: string

Maximum Length: 128 characters

Maximum Length: 1 characters

Reference Object: /axapi/v3/class-list

match-http-header

Description Matching the name of all request headers

Type: string

Maximum Length: 128 characters

Maximum Length: 1 characters

Reference Object: /axapi/v3/class-list

match-http-method-connect

Description Match HTTP request method CONNECT

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

match-http-method-delete

Description Match HTTP request method DELETE

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

match-http-method-get

Description Match HTTP request method GET

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

match-http-method-head

Description Match HTTP request method HEAD

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

match-http-method-options

Description Match HTTP request method OPTIONS

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

match-http-method-patch

Description Match HTTP request method PATCH

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

match-http-method-post

Description Match HTTP request method POST

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

match-http-method-put

Description Match HTTP request method PUT

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

match-http-method-trace

Description Match HTTP request method TRACE

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

match-http-request-file-extension

Description Match file extension of URL in HTTP request line

Type: string

Maximum Length: 128 characters

Maximum Length: 1 characters

Reference Object: /axapi/v3/class-list

match-http-url

Description Match URL in HTTP request line

Type: string

Maximum Length: 128 characters

Maximum Length: 1 characters

Reference Object: /axapi/v3/class-list

match-http-url-regex

Description Match URI in HTTP request line by given regular expression

Type: string

Format: string-rlx

Maximum Length: 127 characters

Maximum Length: 1 characters

match-http-user-agent

Description Matching the value of HTTP header “User-Agent”

Type: string

Maximum Length: 128 characters

Maximum Length: 1 characters

Reference Object: /axapi/v3/class-list

match-server-address

Description Match target server IP address

Type: string

Maximum Length: 128 characters

Maximum Length: 1 characters

Reference Object: /axapi/v3/class-list

match-server-port

Description Match target server port number

Type: number

Range: 1-65535

Mutual Exclusion: match-server-port and match-server-port-range-begin are mutually exclusive

match-server-port-range-begin

Description Math targer server port range inclusively

Type: number

Range: 1-65535

Mutual Exclusion: match-server-port-range-begin and match-server-port are mutually exclusive

match-server-port-range-end

Description End of port range

Type: number

Range: 1-65535

match-time-range

Description Enable rule in this time-range

Type: string

Maximum Length: 128 characters

Maximum Length: 1 characters

Reference Object: /axapi/v3/slb/forward-proxy/time-range

match-web-category-list

Description Match web-category list

Type: string

Format: string-rlx

Maximum Length: 63 characters

Maximum Length: 1 characters

Reference Object: /axapi/v3/web-category/category-list

match-web-reputation-scope

Description Match web-reputation scope

Type: string

Format: string-rlx

Maximum Length: 63 characters

Maximum Length: 1 characters

Reference Object: /axapi/v3/web-category/reputation-scope

notify-page

Description Send notify-page to client

Type: string

Maximum Length: 128 characters

Maximum Length: 1 characters

Reference Object: /axapi/v3/slb/forward-proxy/notify-page

priority

Description Rule priority (1000 is highest)

Type: number

Range: 1-1000

sampling-enable

Type: List

user-tag

Description Customized tag

Type: string

Format: string-rlx

Maximum Length: 127 characters

Maximum Length: 1 characters

uuid

Description uuid of the object

Type: string

Maximum Length: 64 characters

Maximum Length: 1 characters

sampling-enable

Specification Value
Type list
Block object keys  

counters1

Description ‘all’: all; ‘hits’: Number of requests hit this rule;

Type: string

Supported Values: all, hits