RecoveryServicesBackupExtensions.GetResourceGuardProxies Method

Definition

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.

Applies to