MockableSecurityInsightsArmClient.GetSecurityInsightsWatchlistItem 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.
Get a watchlist item.
public virtual Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsWatchlistItemResource> GetSecurityInsightsWatchlistItem(Azure.Core.ResourceIdentifier scope, string watchlistItemId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSecurityInsightsWatchlistItem : Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsWatchlistItemResource>
override this.GetSecurityInsightsWatchlistItem : Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsWatchlistItemResource>
Public Overridable Function GetSecurityInsightsWatchlistItem (scope As ResourceIdentifier, watchlistItemId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SecurityInsightsWatchlistItemResource)
Parameters
- scope
- ResourceIdentifier
The scope of the resource collection to get.
- watchlistItemId
- String
The watchlist item id (GUID).
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
watchlistItemId is null.
watchlistItemId is an empty string, and was expected to be non-empty.