Freigeben über


SecurityInsightsWatchlistCollection.GetAsync Methode

Definition

Ruft eine Watchlist ohne die zugehörigen Watchlistelemente ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}
  • Vorgangs-IdWatchlists_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsWatchlistResource>> GetAsync (string watchlistAlias, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsWatchlistResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsWatchlistResource>>
Public Overridable Function GetAsync (watchlistAlias As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SecurityInsightsWatchlistResource))

Parameter

watchlistAlias
String

Der Watchlistalias.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

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

watchlistAlias ist NULL.

Gilt für: