SubscriptionSecurityAlertCollection.GetAll(CancellationToken) Method

Definition

List all the alerts that are associated with the subscription that are stored in a specific location

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts
  • Operation Id: Alerts_ListSubscriptionLevelByRegion
  • Default Api Version: 2022-01-01
  • Resource: SubscriptionSecurityAlertResource
public virtual Azure.Pageable<Azure.ResourceManager.SecurityCenter.SubscriptionSecurityAlertResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.SubscriptionSecurityAlertResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.SubscriptionSecurityAlertResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SubscriptionSecurityAlertResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of SubscriptionSecurityAlertResource that may take multiple service requests to iterate over.

Applies to