slb template policy forward-policy action

action list.

action Specification

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

Operations Allowed:

Operation Method URI Payload

Create Object

POST

/axapi/v3/slb/template/policy/{name}/forward-policy/action/

action Attributes

Create List

POST

/axapi/v3/slb/template/policy/{name}/forward-policy/action/

action Attributes

Get Object

GET

/axapi/v3/slb/template/policy/{name}/forward-policy/action/{name}

action Attributes

Get List

GET

/axapi/v3/slb/template/policy/{name}/forward-policy/action/

action-list

Modify Object

POST

/axapi/v3/slb/template/policy/{name}/forward-policy/action/{name}

action Attributes

Replace Object

PUT

/axapi/v3/slb/template/policy/{name}/forward-policy/action/{name}

action Attributes

Replace List

PUT

/axapi/v3/slb/template/policy/{name}/forward-policy/action/

action-list

Delete Object

DELETE

/axapi/v3/slb/template/policy/{name}/forward-policy/action/{name}

action Attributes

action-list

action-list is JSON List of action Attributes

action-list : [

action Attributes

action1

Description: ‘forward-to-internet’: Forward request to Internet; ‘forward-to-service-group’: Forward request to service group; ‘drop’: Drop request;

Type: string

Supported Values: forward-to-internet, forward-to-service-group, drop

drop-message

Description: drop-message sent to the client as webpage(html tags are included and quotation marks are required for white spaces)

Type: string

Format: string-rlx

Mutual Exclusion: drop-message and drop-redirect-url are mutually exclusive

drop-redirect-url

Description: Specify URL to which client request is redirected upon being dropped

Type: string

Format: string-rlx

Mutual Exclusion: drop-redirect-url and drop-message are mutually exclusive

fake-sg

Description: service group to forward the packets to Internet

Type: string

fall-back

Description: Fallback service group for Internet

Type: string

fall-back-snat

Description: Source NAT pool or pool group for fallback server

Type: string

forward-snat

Description: Source NAT pool or pool group

Type: string

http-status-code

Description: ‘301’: Moved permanently; ‘302’: Found;

Type: string

Supported Values: 301, 302

Default: 302

log

Description: enable logging

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

name

Description: Action policy name

Type: string

Required: Yes

proxy-chaining

Description: Enable proxy chaining feature

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

real-sg

Description: service group to forward the packets

Type: string

sampling-enable

Description: sampling-enable is a JSON List . Please see below for sampling-enable

Type: List

user-tag

Description: Customized tag

Type: string

Format: string-rlx

uuid

Description: uuid of the object

Type: string

sampling-enable

Specification
Type list
Block object keys

counters1

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

Type: string

Supported Values: all, hits

stats data

Counter Size Description
hits 8 Number of requests matching this destination rule