MockableRecoveryServicesSiteRecoveryArmClient.GetSiteRecoveryProtectionContainerResource Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a SiteRecoveryProtectionContainerResource object.

Applies to