Partilhar via


MonitorManager Class

public final class MonitorManager
extends Manager<MonitorClient>

Entry point to Azure Monitor.

Method Summary

Modifier and Type Method and Description
ActionGroups actionGroups()
ActivityLogs activityLogs()
AlertRules alertRules()
static MonitorManager authenticate(TokenCredential credential, AzureProfile profile)

Creates an instance of MonitorManager that exposes Monitor API entry points.

static MonitorManager authenticate(HttpPipeline httpPipeline, AzureProfile profile)

Creates an instance of MonitorManager that exposes Monitor API entry points.

AutoscaleSettings autoscaleSettings()
static Configurable configure()

Get a Configurable instance that can be used to create MonitorManager with optional configuration.

DiagnosticSettings diagnosticSettings()
MetricDefinitions metricDefinitions()

Methods inherited from Manager

Methods inherited from java.lang.Object

Method Details

actionGroups

public ActionGroups actionGroups()

Returns:

the Azure Action Groups API entry point

activityLogs

public ActivityLogs activityLogs()

Returns:

the Azure Activity Logs API entry point

alertRules

public AlertRules alertRules()

Returns:

the Azure AlertRules API entry point

authenticate

public static MonitorManager authenticate(TokenCredential credential, AzureProfile profile)

Creates an instance of MonitorManager that exposes Monitor API entry points.

Parameters:

credential - the credential to use
profile - the profile to use

Returns:

the MonitorManager

authenticate

public static MonitorManager authenticate(HttpPipeline httpPipeline, AzureProfile profile)

Creates an instance of MonitorManager that exposes Monitor API entry points.

Parameters:

httpPipeline - the HttpPipeline configured with Azure authentication credential.
profile - the profile to use

Returns:

the MonitorManager

autoscaleSettings

public AutoscaleSettings autoscaleSettings()

Returns:

the Azure AutoscaleSettings API entry point

configure

public static MonitorManager.Configurable configure()

Get a Configurable instance that can be used to create MonitorManager with optional configuration.

Returns:

the instance allowing configurations

diagnosticSettings

public DiagnosticSettings diagnosticSettings()

Returns:

the Azure Diagnostic Settings API entry point

metricDefinitions

public MetricDefinitions metricDefinitions()

Returns:

the Azure Metric Definitions API entry point

Applies to