RecoveryServicesSiteRecoveryExtensions.GetReplicationProtectionIntents Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.