service_diagnostic_reports
Creates, updates, deletes, gets or lists a service_diagnostic_reports resource.
Overview​
| Name | service_diagnostic_reports |
| Type | Resource |
| Id | ovh.telephony.service_diagnostic_reports |
Fields​
The following fields are returned by SELECT queries:
- list
Relevant informations of the service detected from the MOS or the signal leg in SIP/MGCP protocol.
| Name | Datatype | Description |
|---|---|---|
name | string | Name of the rule detected |
call_id | string | Identifier of the concerned leg (wire: callId) |
category | string | Typology where the diagnostic arriving from (dpi, signal) |
datetime | string (date-time) | Datetime of the diagnostic |
description | string | Explanation of the diagnostic |
level | string | The level of the diagnostic (debug, error, info, warn) |
report | string | Report of the diagnostic |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | billing_account, day_interval, service_name | Get diagnostic reports (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"}}) |
billing_account | string | The name of your billingAccount (wire: billingAccount) |
day_interval | string | The date index interval (wire: dayInterval) |
service_name | string | (wire: serviceName) |
SELECT examples​
- list
Get diagnostic reports (Deprecated, will be removed)
SELECT
name,
call_id,
category,
datetime,
description,
level,
report
FROM ovh.telephony.service_diagnostic_reports
WHERE billing_account = '{{ billing_account }}' -- required
AND day_interval = '{{ day_interval }}' -- required
AND service_name = '{{ service_name }}' -- required
;