MetricsAdvisorClient.GetIncidentRootCauses Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetIncidentRootCauses(AnomalyIncident, CancellationToken) |
Gets the suggestions for likely root causes of an incident. |
GetIncidentRootCauses(String, String, CancellationToken) |
Gets the suggestions for likely root causes of an incident. |
GetIncidentRootCauses(AnomalyIncident, CancellationToken)
- Source:
- MetricsAdvisorClient.cs
Gets the suggestions for likely root causes of an incident.
public virtual Azure.Pageable<Azure.AI.MetricsAdvisor.Models.IncidentRootCause> GetIncidentRootCauses (Azure.AI.MetricsAdvisor.Models.AnomalyIncident incident, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIncidentRootCauses : Azure.AI.MetricsAdvisor.Models.AnomalyIncident * System.Threading.CancellationToken -> Azure.Pageable<Azure.AI.MetricsAdvisor.Models.IncidentRootCause>
override this.GetIncidentRootCauses : Azure.AI.MetricsAdvisor.Models.AnomalyIncident * System.Threading.CancellationToken -> Azure.Pageable<Azure.AI.MetricsAdvisor.Models.IncidentRootCause>
Public Overridable Function GetIncidentRootCauses (incident As AnomalyIncident, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of IncidentRootCause)
Parameters
- incident
- AnomalyIncident
The AnomalyIncident from which root causes will be returned.
- cancellationToken
- CancellationToken
A CancellationToken controlling the request lifetime.
Returns
A Pageable<T> containing the collection of IncidentRootCauses.
Exceptions
incident
is null.
Applies to
GetIncidentRootCauses(String, String, CancellationToken)
- Source:
- MetricsAdvisorClient.cs
Gets the suggestions for likely root causes of an incident.
public virtual Azure.Pageable<Azure.AI.MetricsAdvisor.Models.IncidentRootCause> GetIncidentRootCauses (string detectionConfigurationId, string incidentId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIncidentRootCauses : string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.AI.MetricsAdvisor.Models.IncidentRootCause>
override this.GetIncidentRootCauses : string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.AI.MetricsAdvisor.Models.IncidentRootCause>
Public Overridable Function GetIncidentRootCauses (detectionConfigurationId As String, incidentId As String, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of IncidentRootCause)
Parameters
- detectionConfigurationId
- String
The unique identifier of the AnomalyAlertConfiguration.
- incidentId
- String
The unique identifier of the AnomalyIncident.
- cancellationToken
- CancellationToken
A CancellationToken controlling the request lifetime.
Returns
A Pageable<T> containing the collection of IncidentRootCauses.
Exceptions
detectionConfigurationId
or incidentId
is null.
detectionConfigurationId
or incidentId
is empty; or detectionConfigurationId
is not a valid GUID.
Applies to
Azure SDK for .NET