Condividi tramite


RecoveryServicesSiteRecoveryExtensions.GetReplicationProtectionIntents Method

Definition

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

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

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 ReplicationProtectionIntentResources and their operations over a ReplicationProtectionIntentResource.

Exceptions

resourceGroupResource or resourceName is null.

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

Applies to