共用方式為


WorkloadMonitorExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.WorkloadMonitor.

public static class WorkloadMonitorExtensions
type WorkloadMonitorExtensions = class
Public Module WorkloadMonitorExtensions
Inheritance
WorkloadMonitorExtensions

Methods

GetHealthMonitor(ResourceGroupResource, String, String, String, String, String, CancellationToken)

Get the current health status of a monitor of a virtual machine. Optional parameter: $expand (retrieve the monitor's evidence and configuration).

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceCollectionName}/{resourceName}/providers/Microsoft.WorkloadMonitor/monitors/{monitorId}
  • Operation Id: HealthMonitors_Get
GetHealthMonitorAsync(ResourceGroupResource, String, String, String, String, String, CancellationToken)

Get the current health status of a monitor of a virtual machine. Optional parameter: $expand (retrieve the monitor's evidence and configuration).

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceCollectionName}/{resourceName}/providers/Microsoft.WorkloadMonitor/monitors/{monitorId}
  • Operation Id: HealthMonitors_Get
GetHealthMonitorResource(ArmClient, ResourceIdentifier)

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. MockingTo mock this method, please mock GetHealthMonitorResource(ResourceIdentifier) instead.

GetHealthMonitors(ResourceGroupResource, String, String, String)

Gets a collection of HealthMonitorResources in the ResourceGroupResource. MockingTo mock this method, please mock GetHealthMonitors(String, String, String) instead.

GetHealthMonitorStateChangeResource(ArmClient, ResourceIdentifier)

Gets an object representing a HealthMonitorStateChangeResource 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, String) to create a HealthMonitorStateChangeResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetHealthMonitorStateChangeResource(ResourceIdentifier) instead.

Applies to