slb template http-policy

http-policy template

http-policy Specification

   
Type Collection
Object Key(s) name
Collection Name http-policy-list
Collection URI /axapi/v3/slb/template/http-policy
Element Name http-policy
Element URI /axapi/v3/slb/template/http-policy/{name}
Element Attributes http-policy_attributes
Schema http-policy schema

Operations Allowed:

OperationMethodURIPayload

Create Object

POST

/axapi/v3/slb/template/http-policy

http-policy attributes

Create List

POST

/axapi/v3/slb/template/http-policy

http-policy attributes

Get Object

GET

/axapi/v3/slb/template/http-policy/{name}

http-policy attributes

Get List

GET

/axapi/v3/slb/template/http-policy

http-policy-list

Modify Object

POST

/axapi/v3/slb/template/http-policy/{name}

http-policy attributes

Replace Object

PUT

/axapi/v3/slb/template/http-policy/{name}

http-policy attributes

Replace List

PUT

/axapi/v3/slb/template/http-policy

http-policy-list

Delete Object

DELETE

/axapi/v3/slb/template/http-policy/{name}

http-policy attributes

http-policy-list

http-policy-list is JSON List of http-policy attributes

http-policy-list : [

http-policy attributes

cookie-name

Description name of cookie to match (Cookie Name)

Type: string

Format: string-rlx

Maximum Length: 63 characters

Maximum Length: 1 characters

geo-location-match

Type: List

http-policy-match

Type: List

name

Description http-policy template name

Type: string

Format: string-rlx

Maximum Length: 127 characters

Maximum Length: 1 characters

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

http-policy-match

Specification  
Type list
Block object keys  

match-string

Description URL String

Type: string

Format: string-rlx

Maximum Length: 128 characters

Maximum Length: 1 characters

match-type

Description ‘contains’: Select service group if URL string contains another string; ‘ends-with’: Select service group if URL string ends with another string; ‘equals’: Select service group if URL string equals another string; ‘starts-with’: Select service group if URL string starts with another string;

Type: string

Supported Values: contains, ends-with, equals, starts-with

service-group

Description Service Group to be used (Service Group Name)

Type: string

Maximum Length: 127 characters

Maximum Length: 1 characters

Reference Object: /axapi/v3/slb/service-group

template

Description ‘waf’: waf; (WAF template to be used)

Type: string

Supported Values: waf

template-name

Description WAF template to be used (Template Name)

Type: string

Format: string-rlx

Maximum Length: 63 characters

Maximum Length: 1 characters

Reference Object: /axapi/v3/waf/template

type

Description ‘cookie’: cookie value match; ‘host’: hostname match; ‘url’: URL match;

Type: string

Supported Values: cookie, host, url

geo-location-match

Specification  
Type list
Block object keys  

geo-location

Description Geolocation name

Type: string

Maximum Length: 128 characters

Maximum Length: 1 characters

geo-location-service-group

Description Service Group to be used (Service Group Name)

Type: string

Format: string-rlx

Maximum Length: 127 characters

Maximum Length: 1 characters

Reference Object: /axapi/v3/slb/service-group

geo-location-template

Description ‘waf’: waf; (WAF template to be used)

Type: string

Supported Values: waf

geo-location-template-name

Description WAF template to be used (Template Name)

Type: string

Format: string-rlx

Maximum Length: 127 characters

Maximum Length: 1 characters

Reference Object: /axapi/v3/waf/template