Share via


MockableWorkloadMonitorArmClient.GetHealthMonitorResource Method

Definition

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

public virtual Azure.ResourceManager.WorkloadMonitor.HealthMonitorResource GetHealthMonitorResource (Azure.Core.ResourceIdentifier id);
abstract member GetHealthMonitorResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.WorkloadMonitor.HealthMonitorResource
override this.GetHealthMonitorResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.WorkloadMonitor.HealthMonitorResource
Public Overridable Function GetHealthMonitorResource (id As ResourceIdentifier) As HealthMonitorResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a HealthMonitorResource object.

Applies to