SecurityCenterExtensions.GetAlertsAsync 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.
Provides a compatibility shim for the GetAlertsAsync operation preserved from the previous public API surface.
public static Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SecurityAlertData> GetAlertsAsync(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetAlertsAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SecurityAlertData>
<Extension()>
Public Function GetAlertsAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SecurityAlertData)
Parameters
- subscriptionResource
- SubscriptionResource
The value preserved for API compatibility.
- cancellationToken
- CancellationToken
The value preserved for API compatibility.
Returns
The compatibility result.
Exceptions
subscriptionResource is null.