{ "id":"/axapi/v3/gslb/zone/{name}", "type":"object", "node-type":"list", "title":"zone", "partition-visibility":"shared", "description":"Specify the DNS zone name for which global SLB is provided", "properties":{ "name":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Specify the name for the DNS zone", "optional":false }, "disable":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Disable all services in the GSLB zone", "optional":true }, "policy":{ "type":"string", "format":"string", "minLength":1, "maxLength":63, "default":"default", "partition-visibility":"shared", "description":"Specify the policy for this zone (Specify policy name)", "optional":true }, "template":{ "type":"object", "properties":{ "dnssec":{ "type":"string", "format":"string", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Specify DNSSEC template (Specify template name)" } } }, "ttl":{ "type":"number", "format":"number", "minimum":0, "maximum":1000000000, "default":10, "partition-visibility":"shared", "not":"use-server-ttl", "description":"Specify the zone ttl value (TTL value, unit: second, default is 10)", "optional":true }, "use-server-ttl":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not":"ttl", "description":"Use DNS Server Response TTL value in GSLB Proxy mode", "optional":true }, "dns-soa-record":{ "type":"object", "properties":{ "soa-name":{ "type":"string", "format":"string", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"DNS Server Name" }, "mail":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Mailbox" }, "expire":{ "type":"number", "format":"number", "minimum":0, "maximum":2147483647, "default":1209600, "partition-visibility":"shared", "description":"Specify Expire Time Interval, default is 1209600" }, "refresh":{ "type":"number", "format":"number", "minimum":0, "maximum":2147483647, "default":3600, "partition-visibility":"shared", "description":"Specify Refresh Time Interval, default is 3600" }, "retry":{ "type":"number", "format":"number", "minimum":0, "maximum":2147483647, "default":900, "partition-visibility":"shared", "description":"Specify Retry Time Interval, default is 900" }, "serial":{ "type":"number", "format":"number", "minimum":0, "maximum":2147483647, "partition-visibility":"shared", "description":"Specify Serial Number, default is Current Time (Time Interval)" }, "soa-ttl":{ "type":"number", "format":"number", "minimum":0, "maximum":2147483647, "partition-visibility":"shared", "description":"Specify Negative caching TTL, default is Zone TTL" }, "external":{ "type":"string", "format":"string", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Specify External SOA Record (DNS Server Name)" }, "ex-mail":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Mailbox" }, "ex-expire":{ "type":"number", "format":"number", "minimum":0, "maximum":2147483647, "default":1209600, "partition-visibility":"shared", "description":"Specify Expire Time Interval, default is 1209600" }, "ex-refresh":{ "type":"number", "format":"number", "minimum":0, "maximum":2147483647, "default":3600, "partition-visibility":"shared", "description":"Specify Refresh Time Interval, default is 3600" }, "ex-retry":{ "type":"number", "format":"number", "minimum":0, "maximum":2147483647, "default":900, "partition-visibility":"shared", "description":"Specify Retry Time Interval, default is 900" }, "ex-serial":{ "type":"number", "format":"number", "minimum":0, "maximum":2147483647, "partition-visibility":"shared", "description":"Specify Serial Number, default is Current Time (Time Interval)" }, "ex-soa-ttl":{ "type":"number", "format":"number", "minimum":0, "maximum":2147483647, "partition-visibility":"shared", "description":"Specify Negative caching TTL, default is Zone TTL" } } }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true }, "user-tag":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Customized tag", "optional":true }, "sampling-enable":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "counters1":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'all': all; 'received-query': Total Number of DNS queries received for the zone; 'sent-response': Total Number of DNS replies sent to clients for the zone; 'proxy-mode-response': Total Number of DNS replies sent to clients by the ACOS device as a DNS proxy for the zone; 'cache-mode-response': Total Number of cached DNS replies sent to clients by the ACOS device for the zone. (This statistic applies only if the DNS cac; 'server-mode-response': Total Number of DNS replies sent to clients by the ACOS device as a DNS server for the zone. (This statistic applies only if th; 'sticky-mode-response': Total Number of DNS replies sent to clients by the ACOS device to keep the clients on the same site. (This statistic applies on; 'backup-mode-response': Total Number of DNS replies sent to clients by the ACOS device in backup mode; ", "enum":[ "all", "received-query", "sent-response", "proxy-mode-response", "cache-mode-response", "server-mode-response", "sticky-mode-response", "backup-mode-response" ] } } } ] }, "dns-mx-record-list":{ "type":"array", "minItems":1, "items":{ "type":"dns-mx-record" }, "uniqueItems":true, "$ref":"/axapi/v3/gslb/zone/{name}/dns-mx-record/{mx-name}", "array":[ { "properties":{ "mx-name":{ "type":"string", "format":"string", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Specify Domain Name", "optional":false }, "priority":{ "type":"number", "format":"number", "minimum":0, "maximum":65535, "partition-visibility":"shared", "description":"Specify Priority", "optional":true }, "ttl":{ "type":"number", "format":"number", "minimum":0, "maximum":2147483647, "partition-visibility":"shared", "description":"Specify TTL", "optional":true }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true }, "sampling-enable":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "counters1":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'all': all; 'hits': Number of times the record has been used; ", "enum":[ "all", "hits" ] } } } ] } }, "required":[ "mx-name" ] } ] }, "dns-ns-record-list":{ "type":"array", "minItems":1, "items":{ "type":"dns-ns-record" }, "uniqueItems":true, "$ref":"/axapi/v3/gslb/zone/{name}/dns-ns-record/{ns-name}", "array":[ { "properties":{ "ns-name":{ "type":"string", "format":"string", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Specify Domain Name", "optional":false }, "ttl":{ "type":"number", "format":"number", "minimum":0, "maximum":2147483647, "partition-visibility":"shared", "description":"Specify TTL", "optional":true }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true }, "sampling-enable":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "counters1":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'all': all; 'hits': Number of times the record has been used; ", "enum":[ "all", "hits" ] } } } ] } }, "required":[ "ns-name" ] } ] }, "dns-caa-record-list":{ "type":"array", "minItems":1, "items":{ "type":"dns-caa-record" }, "uniqueItems":true, "$ref":"/axapi/v3/gslb/zone/{name}/dns-caa-record/{critical-flag}+{property-tag}+{rdata}", "array":[ { "properties":{ "critical-flag":{ "type":"number", "format":"number", "minimum":0, "maximum":255, "partition-visibility":"shared", "description":"Issuer Critical Flag", "optional":false }, "property-tag":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":255, "partition-visibility":"shared", "description":"Specify other property tags, only allowed lowercase alphanumeric", "optional":false }, "rdata":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":1000, "partition-visibility":"shared", "description":"Specify the Issuer Domain Name or a URL", "optional":false }, "ttl":{ "type":"number", "format":"number", "minimum":0, "maximum":2147483647, "default":0, "partition-visibility":"shared", "description":"Specify TTL", "optional":true }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true }, "sampling-enable":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "counters1":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'all': all; 'hits': Number of times the record has been used; ", "enum":[ "all", "hits" ] } } } ] } }, "required":[ "critical-flag", "property-tag", "rdata" ] } ] }, "service-list":{ "type":"array", "minItems":1, "items":{ "type":"service" }, "uniqueItems":true, "$ref":"/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}", "array":[ { "properties":{ "service-port":{ "type":"number", "format":"number", "minimum":0, "maximum":65534, "partition-visibility":"shared", "description":"Port number of the service", "optional":false }, "service-name":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "default":"", "partition-visibility":"shared", "description":"Specify the service name for the zone, * for wildcard", "optional":false }, "action":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'drop': Drop query; 'forward': Forward packet; 'ignore': Send empty response; 'reject': Send refuse response; ", "enum":[ "drop", "forward", "ignore", "reject" ], "optional":true }, "forward-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'both': Forward both query and response; 'query': Forward query; 'response': Forward response; ", "enum":[ "both", "query", "response" ], "optional":true }, "disable":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Disable", "optional":true }, "health-check-gateway":{ "type":"string", "format":"enum", "default":"enable", "partition-visibility":"shared", "description":"'enable': Enable Gateway Status Check; 'disable': Disable Gateway Status Check; ", "enum":[ "enable", "disable" ], "optional":true }, "health-check-port":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "health-check-port":{ "type":"number", "format":"number", "minimum":0, "maximum":65534, "partition-visibility":"shared", "description":"Check Related Port Status (Port Number)" } } } ] }, "policy":{ "type":"string", "format":"string", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Specify policy for this service (Specify policy name)", "optional":true }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true }, "user-tag":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Customized tag", "optional":true }, "sampling-enable":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "counters1":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'all': all; 'received-query': Number of DNS queries received for the service; 'sent-response': Number of DNS replies sent to clients for the service; 'proxy-mode-response': Number of DNS replies sent to clients by the ACOS device as a DNS proxy for the service; 'cache-mode-response': Number of cached DNS replies sent to clients by the ACOS device for the service. (This statistic applies only if the DNS cache; 'server-mode-response': Number of DNS replies sent to clients by the ACOS device as a DNS server for the service. (This statistic applies only if the D; 'sticky-mode-response': Number of DNS replies sent to clients by the ACOS device to keep the clients on the same site. (This statistic applies only if; 'backup-mode-response': help Number of DNS replies sent to clients by the ACOS device in backup mode; ", "enum":[ "all", "received-query", "sent-response", "proxy-mode-response", "cache-mode-response", "server-mode-response", "sticky-mode-response", "backup-mode-response" ] } } } ] }, "dns-a-record":{ "type":"object", "$ref":"/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-a-record", "properties":{ "dns-a-record-srv-list":{ "type":"array", "minItems":1, "items":{ "type":"dns-a-record-srv" }, "uniqueItems":true, "$ref":"/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-a-record/dns-a-record-srv/{svrname}", "array":[ { "properties":{ "svrname":{ "type":"string", "format":"string", "minLength":1, "maxLength":63, "partition-visibility":"shared", "$ref":"/axapi/v3/gslb/service-ip", "description":"Specify name", "optional":false }, "no-resp":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Don't use this Service-IP as DNS response", "optional":true }, "as-backup":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"As backup when fail", "optional":true }, "weight":{ "type":"number", "format":"number", "minimum":1, "maximum":100, "partition-visibility":"shared", "description":"Specify weight for Service-IP (Weight value)", "optional":true }, "ttl":{ "type":"number", "format":"number", "minimum":0, "maximum":2147483647, "default":0, "partition-visibility":"shared", "description":"Specify TTL for Service-IP", "optional":true }, "as-replace":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Return this Service-IP when enable ip-replace", "optional":true }, "disable":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Disable this Service-IP", "optional":true }, "static":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Return this Service-IP in DNS server mode", "optional":true }, "admin-ip":{ "type":"number", "format":"number", "minimum":1, "maximum":255, "partition-visibility":"shared", "description":"Specify admin priority of Service-IP (Specify the priority)", "optional":true }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true } }, "required":[ "svrname" ] } ] }, "dns-a-record-ipv4-list":{ "type":"array", "minItems":1, "items":{ "type":"dns-a-record-ipv4" }, "uniqueItems":true, "$ref":"/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-a-record/dns-a-record-ipv4/{dns-a-record-ip}", "array":[ { "properties":{ "dns-a-record-ip":{ "type":"string", "format":"ipv4-address", "partition-visibility":"shared", "description":"Specify IP address", "optional":false }, "no-resp":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Don't use this Service-IP as DNS response", "optional":true }, "as-backup":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"As backup when fail", "optional":true }, "weight":{ "type":"number", "format":"number", "minimum":1, "maximum":100, "partition-visibility":"shared", "description":"Specify weight for Service-IP (Weight value)", "optional":true }, "ttl":{ "type":"number", "format":"number", "minimum":0, "maximum":2147483647, "default":0, "partition-visibility":"shared", "description":"Specify TTL for Service-IP", "optional":true }, "as-replace":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Return this Service-IP when enable ip-replace", "optional":true }, "disable":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Disable this Service-IP", "optional":true }, "static":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Return this Service-IP in DNS server mode", "optional":true }, "admin-ip":{ "type":"number", "format":"number", "minimum":1, "maximum":255, "partition-visibility":"shared", "description":"Specify admin priority of Service-IP (Specify the priority)", "optional":true }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true } }, "required":[ "dns-a-record-ip" ] } ] }, "dns-a-record-ipv6-list":{ "type":"array", "minItems":1, "items":{ "type":"dns-a-record-ipv6" }, "uniqueItems":true, "$ref":"/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-a-record/dns-a-record-ipv6/{dns-a-record-ipv6}", "array":[ { "properties":{ "dns-a-record-ipv6":{ "type":"string", "format":"ipv6-address", "partition-visibility":"shared", "description":"IPV6 address", "optional":false }, "no-resp":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Don't use this Service-IP as DNS response", "optional":true }, "as-backup":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"As backup when fail", "optional":true }, "weight":{ "type":"number", "format":"number", "minimum":1, "maximum":100, "partition-visibility":"shared", "description":"Specify weight for Service-IP (Weight value)", "optional":true }, "ttl":{ "type":"number", "format":"number", "minimum":0, "maximum":2147483647, "default":0, "partition-visibility":"shared", "description":"Specify TTL for Service-IP", "optional":true }, "as-replace":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Return this Service-IP when enable ip-replace", "optional":true }, "disable":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Disable this Service-IP", "optional":true }, "static":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Return this Service-IP in DNS server mode", "optional":true }, "admin-ip":{ "type":"number", "format":"number", "minimum":1, "maximum":255, "partition-visibility":"shared", "description":"Specify admin priority of Service-IP (Specify the priority)", "optional":true }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true } }, "required":[ "dns-a-record-ipv6" ] } ] } } }, "dns-cname-record-list":{ "type":"array", "minItems":1, "items":{ "type":"dns-cname-record" }, "uniqueItems":true, "$ref":"/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-cname-record/{alias-name}", "array":[ { "properties":{ "alias-name":{ "type":"string", "format":"string", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Specify the alias name", "optional":false }, "admin-preference":{ "type":"number", "format":"number", "minimum":0, "maximum":255, "default":100, "partition-visibility":"shared", "description":"Specify Administrative Preference, default is 100", "optional":true }, "weight":{ "type":"number", "format":"number", "minimum":1, "maximum":100, "default":1, "partition-visibility":"shared", "description":"Specify Weight, default is 1", "optional":true }, "as-backup":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"As backup when fail", "optional":true }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true }, "sampling-enable":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "counters1":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'all': all; 'cname-hits': Number of times the CNAME has been used; ", "enum":[ "all", "cname-hits" ] } } } ] } }, "required":[ "alias-name" ] } ] }, "dns-mx-record-list":{ "type":"array", "minItems":1, "items":{ "type":"dns-mx-record" }, "uniqueItems":true, "$ref":"/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-mx-record/{mx-name}", "array":[ { "properties":{ "mx-name":{ "type":"string", "format":"string", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Specify Domain Name", "optional":false }, "priority":{ "type":"number", "format":"number", "minimum":0, "maximum":65535, "partition-visibility":"shared", "description":"Specify Priority", "optional":true }, "ttl":{ "type":"number", "format":"number", "minimum":0, "maximum":2147483647, "default":0, "partition-visibility":"shared", "description":"Specify TTL", "optional":true }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true }, "sampling-enable":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "counters1":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'all': all; 'hits': Number of times the record has been used; ", "enum":[ "all", "hits" ] } } } ] } }, "required":[ "mx-name" ] } ] }, "dns-ns-record-list":{ "type":"array", "minItems":1, "items":{ "type":"dns-ns-record" }, "uniqueItems":true, "$ref":"/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-ns-record/{ns-name}", "array":[ { "properties":{ "ns-name":{ "type":"string", "format":"string", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Specify Domain Name", "optional":false }, "ttl":{ "type":"number", "format":"number", "minimum":0, "maximum":2147483647, "default":0, "partition-visibility":"shared", "description":"Specify TTL", "optional":true }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true }, "sampling-enable":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "counters1":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'all': all; 'hits': Number of times the record has been used; ", "enum":[ "all", "hits" ] } } } ] } }, "required":[ "ns-name" ] } ] }, "dns-ptr-record-list":{ "type":"array", "minItems":1, "items":{ "type":"dns-ptr-record" }, "uniqueItems":true, "$ref":"/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-ptr-record/{ptr-name}", "array":[ { "properties":{ "ptr-name":{ "type":"string", "format":"string", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Specify Domain Name", "optional":false }, "ttl":{ "type":"number", "format":"number", "minimum":0, "maximum":2147483647, "default":0, "partition-visibility":"shared", "description":"Specify TTL", "optional":true }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true }, "sampling-enable":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "counters1":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'all': all; 'hits': Number of times the record has been used; ", "enum":[ "all", "hits" ] } } } ] } }, "required":[ "ptr-name" ] } ] }, "dns-srv-record-list":{ "type":"array", "minItems":1, "items":{ "type":"dns-srv-record" }, "uniqueItems":true, "$ref":"/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-srv-record/{srv-name}+{port}", "array":[ { "properties":{ "srv-name":{ "type":"string", "format":"string", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Specify Domain Name", "optional":false }, "port":{ "type":"number", "format":"number", "minimum":0, "maximum":65534, "partition-visibility":"shared", "description":"Specify Port (Port Number)", "optional":false }, "priority":{ "type":"number", "format":"number", "minimum":0, "maximum":65535, "partition-visibility":"shared", "description":"Specify Priority", "optional":true }, "weight":{ "type":"number", "format":"number", "minimum":0, "maximum":65535, "default":10, "partition-visibility":"shared", "description":"Specify Weight, default is 10", "optional":true }, "ttl":{ "type":"number", "format":"number", "minimum":0, "maximum":2147483647, "default":0, "partition-visibility":"shared", "description":"Specify TTL", "optional":true }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true }, "sampling-enable":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "counters1":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'all': all; 'hits': Number of times the record has been used; ", "enum":[ "all", "hits" ] } } } ] } }, "required":[ "srv-name", "port" ] } ] }, "dns-naptr-record-list":{ "type":"array", "minItems":1, "items":{ "type":"dns-naptr-record" }, "uniqueItems":true, "$ref":"/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-naptr-record/{naptr-target}+{service-proto}+{flag}", "array":[ { "properties":{ "naptr-target":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Specify the replacement or regular expression", "optional":false }, "service-proto":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Specify Service and Protocol", "optional":false }, "flag":{ "type":"string", "format":"string", "minLength":1, "maxLength":1, "default":"", "partition-visibility":"shared", "description":"Specify the flag (e.g., a, s). Default is empty flag", "optional":false }, "order":{ "type":"number", "format":"number", "minimum":0, "maximum":65535, "partition-visibility":"shared", "description":"Specify Order", "optional":true }, "preference":{ "type":"number", "format":"number", "minimum":0, "maximum":65535, "partition-visibility":"shared", "description":"Specify Preference", "optional":true }, "regexp":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Return the regular expression", "optional":true }, "ttl":{ "type":"number", "format":"number", "minimum":0, "maximum":2147483647, "default":0, "partition-visibility":"shared", "description":"Specify TTL", "optional":true }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true }, "sampling-enable":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "counters1":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'all': all; 'naptr-hits': Number of times the NAPTR has been used; ", "enum":[ "all", "naptr-hits" ] } } } ] } }, "required":[ "naptr-target", "service-proto", "flag" ] } ] }, "dns-txt-record-list":{ "type":"array", "minItems":1, "items":{ "type":"dns-txt-record" }, "uniqueItems":true, "$ref":"/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-txt-record/{record-name}", "array":[ { "properties":{ "record-name":{ "type":"string", "format":"string", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Specify the Object Name for TXT Data", "optional":false }, "txt-data":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":1000, "partition-visibility":"shared", "description":"Specify TXT Data", "optional":true }, "ttl":{ "type":"number", "format":"number", "minimum":0, "maximum":2147483647, "default":0, "partition-visibility":"shared", "description":"Specify TTL", "optional":true }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true }, "sampling-enable":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "counters1":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'all': all; 'hits': Number of times the record has been used; ", "enum":[ "all", "hits" ] } } } ] } }, "required":[ "record-name" ] } ] }, "dns-caa-record-list":{ "type":"array", "minItems":1, "items":{ "type":"dns-caa-record" }, "uniqueItems":true, "$ref":"/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-caa-record/{critical-flag}+{property-tag}+{rdata}", "array":[ { "properties":{ "critical-flag":{ "type":"number", "format":"number", "minimum":0, "maximum":255, "partition-visibility":"shared", "description":"Issuer Critical Flag", "optional":false }, "property-tag":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":255, "partition-visibility":"shared", "description":"Specify other property tags, only allowed lowercase alphanumeric", "optional":false }, "rdata":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":1000, "partition-visibility":"shared", "description":"Specify the Issuer Domain Name or a URL", "optional":false }, "ttl":{ "type":"number", "format":"number", "minimum":0, "maximum":2147483647, "default":0, "partition-visibility":"shared", "description":"Specify TTL", "optional":true }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true }, "sampling-enable":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "counters1":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'all': all; 'hits': Number of times the CAA has been used; ", "enum":[ "all", "hits" ] } } } ] } }, "required":[ "critical-flag", "property-tag", "rdata" ] } ] }, "dns-record-list":{ "type":"array", "minItems":1, "items":{ "type":"dns-record" }, "uniqueItems":true, "$ref":"/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-record/{type}", "array":[ { "properties":{ "type":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "partition-visibility":"shared", "description":"Specify DNS Type", "optional":false }, "data":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":512, "partition-visibility":"shared", "description":"Specify DNS Data", "optional":true }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true } }, "required":[ "type" ] } ] }, "geo-location-list":{ "type":"array", "minItems":1, "items":{ "type":"geo-location" }, "uniqueItems":true, "$ref":"/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/geo-location/{geo-name}", "array":[ { "properties":{ "geo-name":{ "type":"string", "format":"string", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Specify the geo-location", "optional":false }, "alias":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "alias":{ "type":"string", "format":"string", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Send CNAME response for this geo-location (Specify a CNAME record)" } } } ] }, "action":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not":"policy", "description":"Action for this geo-location", "optional":true }, "action-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "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; ", "enum":[ "allow", "drop", "forward", "ignore", "reject" ], "optional":true }, "forward-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'both': Forward both query and response; 'query': Forward query from this geo-location; 'response': Forward response to this geo-location; ", "enum":[ "both", "query", "response" ], "optional":true }, "policy":{ "type":"string", "format":"string", "minLength":1, "maxLength":63, "partition-visibility":"shared", "not":"action", "description":"Policy for this geo-location (Specify the policy name)", "optional":true }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true }, "user-tag":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Customized tag", "optional":true } }, "required":[ "geo-name" ] } ] } }, "required":[ "service-port", "service-name" ] } ] } }, "object-keys":[ "name" ], "required":[ "name" ] }