Freigeben über


ApplicationInsightsComponentResource.GetProactiveDetectionConfigurationAsync Methode

Definition

Rufen Sie die ProactiveDetection-Konfiguration für diese Konfigurations-ID ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs/{ConfigurationId}
  • Vorgang IdProactiveDetectionConfigurations_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentProactiveDetectionConfiguration>> GetProactiveDetectionConfigurationAsync (string configurationId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetProactiveDetectionConfigurationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentProactiveDetectionConfiguration>>
override this.GetProactiveDetectionConfigurationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentProactiveDetectionConfiguration>>
Public Overridable Function GetProactiveDetectionConfigurationAsync (configurationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ApplicationInsightsComponentProactiveDetectionConfiguration))

Parameter

configurationId
String

Die ProactiveDetection-Konfigurations-ID. Dies ist innerhalb einer Application Insights-Komponente eindeutig.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

configurationId ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

configurationId ist NULL.

Gilt für: