RecoveryServicesBackupExtensions.GetResourceGuardProxies 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 ResourceGuardProxyResources in the ResourceGroupResource. MockingTo mock this method, please mock GetResourceGuardProxies(String) instead.
public static Azure.ResourceManager.RecoveryServicesBackup.ResourceGuardProxyCollection GetResourceGuardProxies (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string vaultName);
static member GetResourceGuardProxies : Azure.ResourceManager.Resources.ResourceGroupResource * string -> Azure.ResourceManager.RecoveryServicesBackup.ResourceGuardProxyCollection
<Extension()>
Public Function GetResourceGuardProxies (resourceGroupResource As ResourceGroupResource, vaultName As String) As ResourceGuardProxyCollection
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 ResourceGuardProxyResources and their operations over a ResourceGuardProxyResource.
Exceptions
resourceGroupResource
or vaultName
is null.
vaultName
is an empty string, and was expected to be non-empty.