Udostępnij za pośrednictwem


ResourceGuardCollection.GetAll(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.Pageable<Azure.ResourceManager.DataProtectionBackup.ResourceGuardResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DataProtectionBackup.ResourceGuardResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DataProtectionBackup.ResourceGuardResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ResourceGuardResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to