Share via


MockableRecoveryServicesSiteRecoveryArmClient.GetSiteRecoveryPolicyResource Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a SiteRecoveryPolicyResource object.

Applies to