Aracılığıyla paylaş


ResourceGroupSecurityAlertCollection.GetAll(CancellationToken) Method

Definition

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

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to