Share via


ResourceGuardCollection.GetAllAsync(CancellationToken) Method

Definition

Returns ResourceGuards collection belonging to a ResourceGroup.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards
  • Operation Id: ResourceGuards_GetResourcesInResourceGroup
  • Default Api Version: 2024-04-01
  • Resource: ResourceGuardResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.DataProtectionBackup.ResourceGuardResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DataProtectionBackup.ResourceGuardResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DataProtectionBackup.ResourceGuardResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ResourceGuardResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of ResourceGuardResource that may take multiple service requests to iterate over.

Applies to