Partilhar via


MockableRecoveryServicesDataReplicationArmClient.GetDataReplicationPolicyResource Method

Definition

Gets an object representing a DataReplicationPolicyResource 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 DataReplicationPolicyResourceResourceIdentifier from its components.

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a DataReplicationPolicyResource object.

Applies to