gslb zone service geo-location

Geo location settings

geo-location Specification

Parameter Value
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
Partition Visibility shared
Schema geo-location schema

Operations Allowed:

OperationMethodURIPayload

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

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

Maximum Length: 127 characters

Maximum Length: 1 characters

policy

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

Type: string

Maximum Length: 63 characters

Maximum Length: 1 characters

Mutual Exclusion: policy and action are mutually exclusive

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

alias

Specification Value
Type list
Block object keys  

alias

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

Type: string

Maximum Length: 127 characters

Maximum Length: 1 characters