Megosztás a következőn keresztül:


RecoveryServicesBackupExtensions.GetBackupJobs Method

Definition

Gets a collection of BackupJobResources in the ResourceGroupResource. MockingTo mock this method, please mock GetBackupJobs(String) instead.

public static Azure.ResourceManager.RecoveryServicesBackup.BackupJobCollection GetBackupJobs (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string vaultName);
static member GetBackupJobs : Azure.ResourceManager.Resources.ResourceGroupResource * string -> Azure.ResourceManager.RecoveryServicesBackup.BackupJobCollection
<Extension()>
Public Function GetBackupJobs (resourceGroupResource As ResourceGroupResource, vaultName As String) As BackupJobCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

vaultName
String

The name of the recovery services vault.

Returns

An object representing collection of BackupJobResources and their operations over a BackupJobResource.

Exceptions

resourceGroupResource or vaultName is null.

vaultName is an empty string, and was expected to be non-empty.

Applies to