Share via


RecoveryServicesSiteRecoveryExtensions.GetSiteRecoveryJobs Method

Definition

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

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

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 SiteRecoveryJobResources and their operations over a SiteRecoveryJobResource.

Exceptions

resourceGroupResource or resourceName is null.

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

Applies to