# azure.mgmt.monitor package

## Submodules

- azure.mgmt.monitor.models module
- azure.mgmt.monitor.operations module

## Module contents

class `azure.mgmt.monitor.``MonitorManagementClient`(credentials, subscription_id, api_version=None, base_url=None, profile=<KnownProfiles.default: <azure.profiles.DefaultProfile object>>)

  Bases: `azure.profiles.multiapiclient.MultiApiClientMixin`, `msrest.service_client.SDKClient`

  Monitor Management Client

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

  Variables: | config (MonitorManagementClientConfiguration) – Configuration for client.

  Parameters:

  - credentials (`A msrestazure Credentials object`) – Credentials needed for the client to connect to Azure.
  - subscription_id (str) – Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
  - api_version (str) – API version to use if no profile is provided, or if missing in profile.
  - base_url (str) – Service URL
  - profile (azure.profiles.KnownProfiles) – A profile definition, from KnownProfiles to dict.

  classmethod `models`(api_version='2019-06-01')

    Module depends on the API version:

    - 2015-04-01: `v2015_04_01.models`
    - 2015-07-01: `v2015_07_01.models`
    - 2016-03-01: `v2016_03_01.models`
    - 2016-09-01: `v2016_09_01.models`
    - 2017-03-01-preview: `v2017_03_01_preview.models`
    - 2017-04-01: `v2017_04_01.models`
    - 2017-05-01-preview: `v2017_05_01_preview.models`
    - 2017-11-01-preview: `v2017_11_01_preview.models`
    - 2017-12-01-preview: `v2017_12_01_preview.models`
    - 2018-01-01: `v2018_01_01.models`
    - 2018-03-01: `v2018_03_01.models`
    - 2018-04-16: `v2018_04_16.models`
    - 2018-06-01-preview: `v2018_06_01_preview.models`
    - 2018-09-01: `v2018_09_01.models`
    - 2018-11-27-preview: `v2018_11_27_preview.models`
    - 2019-03-01: `v2019_03_01.models`
    - 2019-06-01: `v2019_06_01.models`
  `DEFAULT_API_VERSION` = '2019-06-01'
  `LATEST_PROFILE` = azure.mgmt.monitor.MonitorManagementClient latest
  `action_groups`

    `ActionGroupsOperations` * 2018-03-01: `ActionGroupsOperations` * 2018-09-01: `ActionGroupsOperations` * 2019-03-01: `ActionGroupsOperations` * 2019-06-01: `ActionGroupsOperations`

    Type: | Instance depends on the API version

    Type:

    - 2017-04-01

  `activity_log_alerts`

    `ActivityLogAlertsOperations` * 2017-04-01: `ActivityLogAlertsOperations`

    Type: | Instance depends on the API version

    Type:

    - 2017-03-01-preview

  `activity_logs`

    `ActivityLogsOperations`

    Type: | Instance depends on the API version

    Type:

    - 2015-04-01

  `alert_rule_incidents`

    `AlertRuleIncidentsOperations`

    Type: | Instance depends on the API version

    Type:

    - 2016-03-01

  `alert_rules`

    `AlertRulesOperations`

    Type: | Instance depends on the API version

    Type:

    - 2016-03-01

  `autoscale_settings`

    `AutoscaleSettingsOperations`

    Type: | Instance depends on the API version

    Type:

    - 2015-04-01

  `baseline`

    `BaselineOperations`

    Type: | Instance depends on the API version

    Type:

    - 2018-09-01

  `baselines`

    `BaselinesOperations`

    Type: | Instance depends on the API version

    Type:

    - 2019-03-01

  `diagnostic_settings`

    `DiagnosticSettingsOperations`

    Type: | Instance depends on the API version

    Type:

    - 2017-05-01-preview

  `diagnostic_settings_category`

    `DiagnosticSettingsCategoryOperations`

    Type: | Instance depends on the API version

    Type:

    - 2017-05-01-preview

  `event_categories`

    `EventCategoriesOperations`

    Type: | Instance depends on the API version

    Type:

    - 2015-04-01

  `guest_diagnostics_settings`

    `GuestDiagnosticsSettingsOperations`

    Type: | Instance depends on the API version

    Type:

    - 2018-06-01-preview

  `guest_diagnostics_settings_association`

    `GuestDiagnosticsSettingsAssociationOperations`

    Type: | Instance depends on the API version

    Type:

    - 2018-06-01-preview

  `log_profiles`

    `LogProfilesOperations`

    Type: | Instance depends on the API version

    Type:

    - 2016-03-01

  `metric_alerts`

    `MetricAlertsOperations`

    Type: | Instance depends on the API version

    Type:

    - 2018-03-01

  `metric_alerts_status`

    `MetricAlertsStatusOperations`

    Type: | Instance depends on the API version

    Type:

    - 2018-03-01

  `metric_baseline`

    `MetricBaselineOperations` * 2018-09-01: `MetricBaselineOperations`

    Type: | Instance depends on the API version

    Type:

    - 2017-11-01-preview

  `metric_definitions`

    `MetricDefinitionsOperations` * 2017-05-01-preview: `MetricDefinitionsOperations` * 2018-01-01: `MetricDefinitionsOperations`

    Type: | Instance depends on the API version

    Type:

    - 2016-03-01

  `metric_namespaces`

    `MetricNamespacesOperations`

    Type: | Instance depends on the API version

    Type:

    - 2017-12-01-preview

  `metrics`

    `MetricsOperations` * 2017-05-01-preview: `MetricsOperations` * 2018-01-01: `MetricsOperations`

    Type: | Instance depends on the API version

    Type:

    - 2016-09-01

  `operations`

    `Operations`

    Type: | Instance depends on the API version

    Type:

    - 2015-04-01

  `scheduled_query_rules`

    `ScheduledQueryRulesOperations`

    Type: | Instance depends on the API version

    Type:

    - 2018-04-16

  `service_diagnostic_settings`

    `ServiceDiagnosticSettingsOperations` * 2016-09-01: `ServiceDiagnosticSettingsOperations`

    Type: | Instance depends on the API version

    Type:

    - 2015-07-01

  `tenant_activity_logs`

    `TenantActivityLogsOperations`

    Type: | Instance depends on the API version

    Type:

    - 2015-04-01

  `vm_insights`

    `VMInsightsOperations`

    Type: | Instance depends on the API version

    Type:

    - 2018-11-27-preview

class `azure.mgmt.monitor.``MonitorManagementClientConfiguration`(credentials, subscription_id, base_url=None)

  Bases: `msrestazure.azure_configuration.AzureConfiguration`

  Configuration for MonitorManagementClient Note that all parameters used to create this instance are saved as instance attributes.

  Parameters:

  - credentials (`A msrestazure Credentials object`) – Credentials needed for the client to connect to Azure.
  - subscription_id (str) – The Azure subscription Id.
  - base_url (str) – Service URL