Share via


MockableRecoveryServicesSiteRecoveryArmClient.GetSiteRecoveryProtectableItemResource Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a SiteRecoveryProtectableItemResource object.

Applies to