sla_services
Creates, updates, deletes, gets or lists a sla_services resource.
Overview​
| Name | sla_services |
| Type | Resource |
| Id | ovh.me.sla_services |
Fields​
The following fields are returned by SELECT queries:
- list
Describe all services impacted by SLA
| Name | Datatype | Description |
|---|---|---|
service_name | string | Impacted service name (wire: serviceName) |
description | string | Service description |
sla_application | string | SLA plan application (wire: slaApplication) |
sla_plan | string | SLA plan description (wire: slaPlan) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | id | Get services impacted by this SLA |
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"}}) |
id | integer | Id of the object |
SELECT examples​
- list
Get services impacted by this SLA
SELECT
service_name,
description,
sla_application,
sla_plan
FROM ovh.me.sla_services
WHERE id = '{{ id }}' -- required
;