共用方式為


MockableRecoveryServicesSiteRecoveryArmClient.GetReplicationProtectedItemResource Method

Definition

Gets an object representing a ReplicationProtectedItemResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String, String) to create a ReplicationProtectedItemResourceResourceIdentifier from its components.

public virtual Azure.ResourceManager.RecoveryServicesSiteRecovery.ReplicationProtectedItemResource GetReplicationProtectedItemResource (Azure.Core.ResourceIdentifier id);
abstract member GetReplicationProtectedItemResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.RecoveryServicesSiteRecovery.ReplicationProtectedItemResource
override this.GetReplicationProtectedItemResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.RecoveryServicesSiteRecovery.ReplicationProtectedItemResource
Public Overridable Function GetReplicationProtectedItemResource (id As ResourceIdentifier) As ReplicationProtectedItemResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a ReplicationProtectedItemResource object.

Applies to