Share via


MockableRecoveryServicesSiteRecoveryArmClient.GetSiteRecoveryAlertResource Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a SiteRecoveryAlertResource object.

Applies to