Partager via


SecurityInsightsWatchlistCollection.GetAsync Méthode

Définition

Obtenez une watchlist, sans ses éléments watchlist.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}
  • IdWatchlists_Get d’opération
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))

Paramètres

watchlistAlias
String

Alias watchlist.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

watchlistAlias est une chaîne vide et devait être non vide.

watchlistAlias a la valeur null.

S’applique à