cdn_domain_statistics
Creates, updates, deletes, gets or lists a cdn_domain_statistics resource.
Overview​
| Name | cdn_domain_statistics |
| Type | Resource |
| Id | ovh.hosting_web.cdn_domain_statistics |
Fields​
The following fields are returned by SELECT queries:
- list
Domain Statistics Datapoints
| Name | Datatype | Description |
|---|---|---|
name | string | name of the serie (hit, miss) |
points | array | List of DataPoints |
unit | string | Unit of the serie (req/min) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | domain_name, service_name | period | Get CDN statistics for a domain (Deprecated, will be removed) |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
api_host | string | The OVHcloud API host. Selected by OVH_ENDPOINT (ovh-eu, ovh-ca or ovh-us; default ovh-eu). (default: api.eu.ovhcloud.com, x-stackQL-envVarSelector: {"envVar":"OVH_ENDPOINT","default":"ovh-eu","values":{"ovh-eu":"api.eu.ovhcloud.com","ovh-ca":"api.ca.ovhcloud.com","ovh-us":"api.us.ovhcloud.com"}}) |
domain_name | string | Domain name (wire: domainName) |
service_name | string | Service name (wire: serviceName) |
period | string | Period (default is day) |
SELECT examples​
- list
Get CDN statistics for a domain (Deprecated, will be removed)
SELECT
name,
points,
unit
FROM ovh.hosting_web.cdn_domain_statistics
WHERE domain_name = '{{ domain_name }}' -- required
AND service_name = '{{ service_name }}' -- required
AND period = '{{ period }}'
;