RecoveryServicesBackupExtensions.GetBackupEngines Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.