DataProtectionBackupExtensions.GetDataProtectionBackupInstancesAsync Method

Definition

Gets a list of backup instances associated with a tracked resource

  • Request Path: /{resourceId}/providers/Microsoft.DataProtection/backupInstances
  • Operation Id: BackupInstancesExtensionRouting_List
  • Default Api Version: 2024-04-01
public static Azure.AsyncPageable<Azure.ResourceManager.DataProtectionBackup.DataProtectionBackupInstanceResource> GetDataProtectionBackupInstancesAsync (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope, System.Threading.CancellationToken cancellationToken = default);
static member GetDataProtectionBackupInstancesAsync : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DataProtectionBackup.DataProtectionBackupInstanceResource>
<Extension()>
Public Function GetDataProtectionBackupInstancesAsync (client As ArmClient, scope As ResourceIdentifier, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DataProtectionBackupInstanceResource)

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

scope
ResourceIdentifier

The scope that the resource will apply against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

client is null.

Applies to