Get zones
Retrieves one or more zone objects.
Authorizations
Path Parameters
A comma-separated list of zone IDs to retrieve (up to 10 in total).
1024
Response
ok
An object representing the type of alert configured for this zone. If no alert is configured the alert property is absent. Note that the alert
object is only visible to users in the admin
role.
The action that will be taken when the alert threshold is met.
disable_zone
, send_notification
, disable_and_send_notification
The UTC date and time the alert was last triggered, in ISO 8601 format. If the alert has never been triggered the last_triggered
is absent.
The threshold value, expressed as a number, that must be met for the alert to be triggered. Either dollars or gigabytes depending on the value of the type
property.
1 < x < 1000000
The trigger condition used to activate the alert.
dollars_per_day
, dollars_per_month
, gigabytes_per_day
, gigabytes_per_month
The billing method used for the zone.
per_gigabyte
, per_connection
Present when network=datacenter
, ip_type=reserved
and exclusivity_type=all
. Returns the result of exclusivity_all_domains_per_ip_cents_monthly
multipled by ip_pool_count
.
Present when network=datacenter
, ip_type=reserved
and exclusivity_type=all
. Returns the cost, in cents per month per IP, for all-domains exclusivity for the IPs in the zones` IP pool.
Present when network=datacenter
, ip_type=reserved
and exclusivity_type=domains
. Returns the result of exclusivity_all_domains_per_ip_cents_monthly
multipled by ip_pool_count
then multiplied by exclusivity_per_domain_count
.
Present when network=datacenter
, ip_type=reserved
and exclusivity_type=domains
. Returns the count of the number of domains for which per-domain exclusivity is configured.
Present when network=datacenter
, ip_type=reserved
and exclusivity_type=domains
. Returns the cost, in cents per month per domain per IP, for specific-domains exclusivity for the IPs in the zones` IP pool.
Returns the result of ip_pool_per_ip_cents_monthly
multipled by ip_pool_count
.
Present when network=datacenter
and ip_type=reserved
. Returns the count of the number of IPs in the zones' IP pool.
Present when network=datacenter
and ip_type=reserved
. Returns the cost, in cents per month, for each IP in the IP pool.
Present when billing_method=per_connection
. Returns the cost, in cents per month, for each simultaneous connection allowed through the zone.
Present when billing_method=per_connection
. Returns the result of per_connection_cents_monthly
multipled by per_connection_count
.
Present when billing_method=per_connection
. Returns the number of simultaneous connections allowed through the zone.
Present when billing_method=per_gigabyte
. Returns the cost, in cents, per-gigabyte of data transferred through the zone.
The total standing (i.e. time-based) charges, in cents, for this zone per month. All standing charges are charged per-minute for provisioned zones. If the zone is purely usage-billing-based (for example, using per-gigabyte billing with no reserved IPs) then standing_charges_cents_monthly
would be 0.
An array of ISO 3166 two-letter country codes representing the available country exit nodes for IPs in the zone.
The date and time the zone was created, in ISO 8601 format.
The current thruput of the zone in bits-per-second.
When exclusivity_type=domains
contains an array of string domain names (i.e. amazon.com
) that the IPs in this datacenter
zone are exclusive for when ip_type=reserved
.
Whether the zone is enabled. Disabled zones will not allow any requests to be routed through them.
The IP pool exclusivity type a datacenter
zone is using when ip_type
is reserved
.
non_exclusive
, all
, domains
Set to true
when this zone has standing (time-based) charges (such as IP reservations or per-connection billing) or false
if this zone is set to purely usage-based billing.
Set to shared
when the shared datacenter network is used or reserved
when a custom IP pool is used for this zone.
shared
, reserved
The date and time the zone was last updated, in ISO 8601 format.
The name of the zone.
25
The proxy network requests to this zone are routed through.
datacenter
, mobile
, residential
The current number of open connections currently being made to the zone.
The number of reserved IPs used in datacenter
zone ip_type=reserved
.
1 < x < 10000
The number of reserved IPs, for a datacenter
zone when ip_type
is reserved
, that are curerntly configured. This may be less then pool_size
if the pool size has recently been increased and the zone is still in the provisioning status.
1 < x < 10000
The provisioning status of the zone.
provisioning
, provisioned
, reprovisioning
, deprovisioning
, deprovisioned
, insufficient_resource
, partially_provisioned
The cost, in cents, of this zone in the current month (i.e. the current billing period). Note that this is expressed as fractional cents. Only present when requested by a user in the admin
role.
The cost, in cents, of this zone today (UTC). Note that this is expressed as fractional cents. Only present when requested by a user in the admin
role.
The amount of data (download and upload), in bytes, passed through this zone in the current month (i.e. the current billing period).
The amount of data (download and upload), in bytes, passed through this zone today (UTC). Only present when requested by a user in the admin
role.
The ID of the zone.