Compartir a través de


MetricsAdvisorClient.GetIncidentRootCausesAsync Método

Definición

Sobrecargas

GetIncidentRootCausesAsync(AnomalyIncident, CancellationToken)

Obtiene las sugerencias para las causas principales probables de un incidente.

GetIncidentRootCausesAsync(String, String, CancellationToken)

Obtiene las sugerencias para las causas principales probables de un incidente.

GetIncidentRootCausesAsync(AnomalyIncident, CancellationToken)

Source:
MetricsAdvisorClient.cs

Obtiene las sugerencias para las causas principales probables de un incidente.

public virtual Azure.AsyncPageable<Azure.AI.MetricsAdvisor.Models.IncidentRootCause> GetIncidentRootCausesAsync(Azure.AI.MetricsAdvisor.Models.AnomalyIncident incident, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIncidentRootCausesAsync : Azure.AI.MetricsAdvisor.Models.AnomalyIncident * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.AI.MetricsAdvisor.Models.IncidentRootCause>
override this.GetIncidentRootCausesAsync : Azure.AI.MetricsAdvisor.Models.AnomalyIncident * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.AI.MetricsAdvisor.Models.IncidentRootCause>
Public Overridable Function GetIncidentRootCausesAsync (incident As AnomalyIncident, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of IncidentRootCause)

Parámetros

incident
AnomalyIncident

Desde el AnomalyIncident que se devolverán las causas principales.

cancellationToken
CancellationToken

Control CancellationToken de la duración de la solicitud.

Devoluciones

que AsyncPageable<T> contiene la colección de IncidentRootCauses.

Excepciones

incident es null.

Se aplica a

GetIncidentRootCausesAsync(String, String, CancellationToken)

Source:
MetricsAdvisorClient.cs

Obtiene las sugerencias para las causas principales probables de un incidente.

public virtual Azure.AsyncPageable<Azure.AI.MetricsAdvisor.Models.IncidentRootCause> GetIncidentRootCausesAsync(string detectionConfigurationId, string incidentId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIncidentRootCausesAsync : string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.AI.MetricsAdvisor.Models.IncidentRootCause>
override this.GetIncidentRootCausesAsync : string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.AI.MetricsAdvisor.Models.IncidentRootCause>
Public Overridable Function GetIncidentRootCausesAsync (detectionConfigurationId As String, incidentId As String, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of IncidentRootCause)

Parámetros

detectionConfigurationId
String

Identificador único de AnomalyAlertConfiguration.

incidentId
String

Identificador único de AnomalyIncident.

cancellationToken
CancellationToken

Control CancellationToken de la duración de la solicitud.

Devoluciones

que AsyncPageable<T> contiene la colección de IncidentRootCauses.

Excepciones

detectionConfigurationId o incidentId es null.

detectionConfigurationId o incidentId está vacío; o detectionConfigurationId no es un GUID válido.

Se aplica a