MockableDataProtectionBackupSubscriptionResource.GetResourceGuards Method

Definition

Returns ResourceGuards collection belonging to a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/resourceGuards
  • Operation Id: ResourceGuards_GetResourcesInSubscription
  • Default Api Version: 2024-04-01
  • Resource: ResourceGuardResource
public virtual Azure.Pageable<Azure.ResourceManager.DataProtectionBackup.ResourceGuardResource> GetResourceGuards (System.Threading.CancellationToken cancellationToken = default);
abstract member GetResourceGuards : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DataProtectionBackup.ResourceGuardResource>
override this.GetResourceGuards : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DataProtectionBackup.ResourceGuardResource>
Public Overridable Function GetResourceGuards (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