共用方式為


MockableRecoveryServicesDataReplicationArmClient.GetDataReplicationProtectedItemResource Method

Definition

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

public virtual Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationProtectedItemResource GetDataReplicationProtectedItemResource (Azure.Core.ResourceIdentifier id);
abstract member GetDataReplicationProtectedItemResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationProtectedItemResource
override this.GetDataReplicationProtectedItemResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationProtectedItemResource
Public Overridable Function GetDataReplicationProtectedItemResource (id As ResourceIdentifier) As DataReplicationProtectedItemResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a DataReplicationProtectedItemResource object.

Applies to