gslb zone service geo-location

Geo location settings

geo-location Specification

Type Collection
Object Key(s) geo-name
Collection Name geo-location-list
Collection URI /axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/geo-location/
Element Name geo-location
Element URI /axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/geo-location/{geo-name}
Element Attributes geo-location_attributes
Schema geo-location schema

Operations Allowed:

Operation Method URI Payload

Create Object

POST

/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/geo-location/

geo-location Attributes

Create List

POST

/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/geo-location/

geo-location Attributes

Get Object

GET

/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/geo-location/{geo-name}

geo-location Attributes

Get List

GET

/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/geo-location/

geo-location-list

Modify Object

POST

/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/geo-location/{geo-name}

geo-location Attributes

Replace Object

PUT

/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/geo-location/{geo-name}

geo-location Attributes

Replace List

PUT

/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/geo-location/

geo-location-list

Delete Object

DELETE

/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/geo-location/{geo-name}

geo-location Attributes

geo-location-list

geo-location-list is JSON List of geo-location Attributes

geo-location-list : [

geo-location Attributes

action

Description: Action for this geo-location

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

Mutual Exclusion: action and policy are mutually exclusive

action-type

Description: ‘allow’: Allow query from this geo-location; ‘drop’: Drop query from this geo-location; ‘forward’: Forward packet for this geo-location; ‘ignore’: Send empty response to this geo-location; ‘reject’: Send refuse response to this geo-location;

Type: string

Supported Values: allow, drop, forward, ignore, reject

alias

Description: alias is a JSON List . Please see below for alias

Type: List

forward-type

Description: ‘both’: Forward both query and response; ‘query’: Forward query from this geo-location; ‘response’: Forward response to this geo-location;

Type: string

Supported Values: both, query, response

geo-name

Description: Specify the geo-location

Type: string

Required: Yes

policy

Description: Policy for this geo-location (Specify the policy name)

Type: string

Mutual Exclusion: policy and action are mutually exclusive

user-tag

Description: Customized tag

Type: string

Format: string-rlx

uuid

Description: uuid of the object

Type: string

alias

Specification
Type list
Block object keys

alias

Description: Send CNAME response for this geo-location (Specify a CNAME record)

Type: string