Share via


MockableRecoveryServicesSiteRecoveryResourceGroupResource.GetSiteRecoveryAlerts Method

Definition

Gets a collection of SiteRecoveryAlertResources in the ResourceGroupResource.

public virtual Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryAlertCollection GetSiteRecoveryAlerts (string resourceName);
abstract member GetSiteRecoveryAlerts : string -> Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryAlertCollection
override this.GetSiteRecoveryAlerts : string -> Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryAlertCollection
Public Overridable Function GetSiteRecoveryAlerts (resourceName As String) As SiteRecoveryAlertCollection

Parameters

resourceName
String

The name of the recovery services vault.

Returns

An object representing collection of SiteRecoveryAlertResources and their operations over a SiteRecoveryAlertResource.

Exceptions

resourceName is null.

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

Applies to