monitoring_generic_incident_publics
Creates, updates, deletes, gets or lists a monitoring_generic_incident_publics resource.
Overview​
| Name | monitoring_generic_incident_publics |
| Type | Resource |
| Id | ovh.connectivity.monitoring_generic_incident_publics |
Fields​
The following fields are returned by SELECT queries:
- list
Generic incident structure
| Name | Datatype | Description |
|---|---|---|
id | integer | Generic incident id |
task_id | integer | Task id (wire: taskId) |
comment | string | Optional comment, that contains some information and updates about the generic incident |
creation_date | string | Creation date, the generic incident has been detected (wire: creationDate) |
default | string | Type of fault |
departments | array | List of impacted department codes |
end_date | string | End date, the generic incident is resolved and closed (wire: endDate) |
estimated_resolution_date | string | Estimated resolution date for generic incident (wire: estimatedResolutionDate) |
is_national | boolean | Identify a national generic incident (wire: isNational) |
nature | string | Details about the consequence of the default |
nra | array | List of impacted NRA/NRO |
operators | array | List of impacted operators |
status | string | Generic incident status (closed, detected, validated) |
task_reference | string | Task reference created on Ovhcloud status web page (wire: taskReference) |
technologies | array | Impacted technologies |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | creation_date, end_date, status | Returns the validated and recently closed generic incidents, with their impacted operators, technologies, NRA/NRO and departments, and their estimated resolution date. Filter on the dates and the status. |
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"}}) |
creation_date | string (date-time) | List only incidents created after this date (wire: creationDate) |
end_date | string (date-time) | List only incidents closed prior to this date (wire: endDate) |
status | string | Filter by the status of the incident (validated or closed) |
SELECT examples​
- list
Returns the validated and recently closed generic incidents, with their impacted operators, technologies, NRA/NRO and departments, and their estimated resolution date. Filter on the dates and the status.
SELECT
id,
task_id,
comment,
creation_date,
default,
departments,
end_date,
estimated_resolution_date,
is_national,
nature,
nra,
operators,
status,
task_reference,
technologies
FROM ovh.connectivity.monitoring_generic_incident_publics
WHERE creation_date = '{{ creation_date }}'
AND end_date = '{{ end_date }}'
AND status = '{{ status }}'
;