Language

RoleManagementAlertCollection.GetAllAsync(CancellationToken) Method

Definition

Gets alerts for a resource scope.

  • Request Path. : /{scope}/providers/Microsoft.Authorization/roleManagementAlerts.
  • Operation Id. : Alerts_ListForScope.
  • Default Api Version. : 2022-08-01-preview.
public virtual Azure.AsyncPageable<Azure.ResourceManager.Authorization.RoleManagementAlertResource> GetAllAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Authorization.RoleManagementAlertResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Authorization.RoleManagementAlertResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of RoleManagementAlertResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to