Share via


RecoveryServicesSiteRecoveryExtensions.GetSiteRecoveryVaultSettings Method

Definition

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

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryVaultSettingCollection GetSiteRecoveryVaultSettings (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string resourceName);
static member GetSiteRecoveryVaultSettings : Azure.ResourceManager.Resources.ResourceGroupResource * string -> Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryVaultSettingCollection
<Extension()>
Public Function GetSiteRecoveryVaultSettings (resourceGroupResource As ResourceGroupResource, resourceName As String) As SiteRecoveryVaultSettingCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

resourceName
String

The name of the recovery services vault.

Returns

An object representing collection of SiteRecoveryVaultSettingResources and their operations over a SiteRecoveryVaultSettingResource.

Exceptions

resourceGroupResource or resourceName is null.

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

Applies to