Udostępnij za pośrednictwem


RecoveryServicesBackupExtensions.GetBackupEngines Method

Definition

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

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

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 BackupEngineResources and their operations over a BackupEngineResource.

Exceptions

resourceGroupResource or vaultName is null.

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

Applies to