Sdílet prostřednictvím


RecoveryServicesSiteRecoveryExtensions.GetReplicationEligibilityResults Method

Definition

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

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

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

virtualMachineName
String

Virtual Machine name.

Returns

An object representing collection of ReplicationEligibilityResultResources and their operations over a ReplicationEligibilityResultResource.

Exceptions

resourceGroupResource or virtualMachineName is null.

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

Applies to