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.aio._monitor_management_client._SDKClient
MonitorManagementClient

Constructor

MonitorManagementClient(credential: AsyncTokenCredential, subscription_id: str, api_version: Optional[str] = None, base_url: str = 'https://management.azure.com', profile: azure.profiles.KnownProfiles = <KnownProfiles.default: <azure.profiles.DefaultProfile object>>, **kwargs)

Parameters

credential
AsyncTokenCredential
Required

Credential needed for the client to connect to Azure.

subscription_id
str
Required

The ID of the target subscription.

api_version
str
default value: None

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

base_url
str
default value: https://management.azure.com

Service URL

profile
KnownProfiles
default value: KnownProfiles.default

A profile definition, from KnownProfiles to dict.

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

async close()

models

Module depends on the API version:

models(api_version='2021-09-01')

Parameters

cls
Required
api_version
default value: 2021-09-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:

baseline

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

Instance depends on the API version:

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_baseline

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:

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_activity_logs

Instance depends on the API version:

vm_insights

Instance depends on the API version:

DEFAULT_API_VERSION

DEFAULT_API_VERSION = '2021-09-01'

LATEST_PROFILE

LATEST_PROFILE = azure.mgmt.monitor.MonitorManagementClient latest