Skip to main content

service_diagnostic_reports

Creates, updates, deletes, gets or lists a service_diagnostic_reports resource.

Overview​

Nameservice_diagnostic_reports
TypeResource
Idovh.telephony.service_diagnostic_reports

Fields​

The following fields are returned by SELECT queries:

Relevant informations of the service detected from the MOS or the signal leg in SIP/MGCP protocol.

NameDatatypeDescription
namestringName of the rule detected
call_idstringIdentifier of the concerned leg (wire: callId)
categorystringTypology where the diagnostic arriving from (dpi, signal)
datetimestring (date-time)Datetime of the diagnostic
descriptionstringExplanation of the diagnostic
levelstringThe level of the diagnostic (debug, error, info, warn)
reportstringReport of the diagnostic

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectbilling_account, day_interval, service_nameGet 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.

NameDatatypeDescription
api_hoststringThe 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_accountstringThe name of your billingAccount (wire: billingAccount)
day_intervalstringThe date index interval (wire: dayInterval)
service_namestring (wire: serviceName)

SELECT examples​

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
;