MonitorManagementClient Class

Monitor Management Client.

This ready contains multiple API versions, to help you deal with all of the Azure clouds (Azure Stack, Azure Government, Azure China, etc.). By default, it uses the latest API version available on public Azure. For production, you should stick to a particular api-version and/or profile. The profile sets a mapping between an operation group and its API version. The api-version parameter sets the default API version if the operation group is not described in the profile.

Inheritance
MonitorManagementClient
azure.mgmt.monitor._monitor_management_client._SDKClient
MonitorManagementClient

Constructor

MonitorManagementClient(credential: TokenCredential, subscription_id: str, api_version: str | None = None, base_url: str = 'https://management.azure.com', profile: KnownProfiles = KnownProfiles.default, **kwargs: Any)

Parameters

Name Description
credential
Required

Credential needed for the client to connect to Azure. Required.

subscription_id
Required
str

The ID of the target subscription. Required.

api_version
str

API version to use if no profile is provided, or if missing in profile.

default value: None
base_url
str

Service URL

default value: https://management.azure.com
profile

A profile definition, from KnownProfiles to dict.

default value: KnownProfiles.default

Keyword-Only Parameters

Name Description
polling_interval
int

Default waiting time between two polls for LRO operations if no Retry-After header is present.

Methods

close
models

Module depends on the API version:

close

close()

models

Module depends on the API version:

models(api_version='2023-01-01')

Parameters

Name Description
api_version
default value: 2023-01-01

Attributes

action_groups

Instance depends on the API version:

activity_log_alerts

Instance depends on the API version:

activity_logs

Instance depends on the API version:

alert_rule_incidents

Instance depends on the API version:

alert_rules

Instance depends on the API version:

autoscale_settings

Instance depends on the API version:

azure_monitor_workspaces

Instance depends on the API version:

baselines

Instance depends on the API version:

data_collection_endpoints

Instance depends on the API version:

data_collection_rule_associations

data_collection_rules

Instance depends on the API version:

diagnostic_settings

Instance depends on the API version:

diagnostic_settings_category

Instance depends on the API version:

event_categories

Instance depends on the API version:

guest_diagnostics_settings

Instance depends on the API version:

guest_diagnostics_settings_association

Instance depends on the API version:

log_profiles

Instance depends on the API version:

management_group_diagnostic_settings

Instance depends on the API version:

metric_alerts

Instance depends on the API version:

metric_alerts_status

Instance depends on the API version:

metric_definitions

Instance depends on the API version:

metric_namespaces

Instance depends on the API version:

metrics

Instance depends on the API version:

monitor_operations

Instance depends on the API version:

operations

Instance depends on the API version:

predictive_metric

Instance depends on the API version:

private_endpoint_connections

Instance depends on the API version:

Instance depends on the API version:

Instance depends on the API version:

Instance depends on the API version:

Instance depends on the API version:

scheduled_query_rules

Instance depends on the API version:

service_diagnostic_settings

Instance depends on the API version:

subscription_diagnostic_settings

Instance depends on the API version:

tenant_action_groups

Instance depends on the API version:

tenant_activity_logs

Instance depends on the API version:

vm_insights

Instance depends on the API version:

DEFAULT_API_VERSION

DEFAULT_API_VERSION = '2023-01-01'

LATEST_PROFILE

LATEST_PROFILE = azure.mgmt.monitor.MonitorManagementClient latest