azure.mgmt.monitor package

Module contents

class azure.mgmt.monitor.MonitorClient(credential, subscription_id, api_version=None, base_url=None, profile=<KnownProfiles.default: <azure.profiles.DefaultProfile object>>, **kwargs)[source]

Bases: azure.profiles.multiapiclient.MultiApiClientMixin, azure.mgmt.monitor._monitor_client._SDKClient

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.

Parameters
  • credential (TokenCredential) – Credential needed for the client to connect to Azure.

  • subscription_id (str) – The Azure subscription Id.

  • 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.

Keyword Arguments

polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.

This is a fake class to support current implemetation of MultiApiClientMixin.” Will be removed in final version of multiapi azure-core based client

close()[source]
classmethod models(api_version='2019-10-17-preview')[source]

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

  • 2019-10-17-preview: v2019_10_17.models

DEFAULT_API_VERSION = '2019-10-17-preview'
LATEST_PROFILE = azure.mgmt.eventhub.MonitorClient latest
property action_groups

Instance depends on the API version:

  • 2017-04-01: ActionGroupsOperations

  • 2018-03-01: ActionGroupsOperations

  • 2018-09-01: ActionGroupsOperations

  • 2019-03-01: ActionGroupsOperations

  • 2019-06-01: ActionGroupsOperations

property activity_log_alerts

Instance depends on the API version:

  • 2017-03-01-preview: ActivityLogAlertsOperations

  • 2017-04-01: ActivityLogAlertsOperations

property activity_logs

Instance depends on the API version:

  • 2015-04-01: ActivityLogsOperations

property alert_rule_incidents

Instance depends on the API version:

  • 2016-03-01: AlertRuleIncidentsOperations

property alert_rules

Instance depends on the API version:

  • 2016-03-01: AlertRulesOperations

property autoscale_settings

Instance depends on the API version:

  • 2015-04-01: AutoscaleSettingsOperations

property baseline

Instance depends on the API version:

  • 2018-09-01: BaselineOperations

property baselines

Instance depends on the API version:

  • 2019-03-01: BaselinesOperations

property diagnostic_settings

Instance depends on the API version:

  • 2017-05-01-preview: DiagnosticSettingsOperations

property diagnostic_settings_category

Instance depends on the API version:

  • 2017-05-01-preview: DiagnosticSettingsCategoryOperations

property event_categories

Instance depends on the API version:

  • 2015-04-01: EventCategoriesOperations

property guest_diagnostics_settings

Instance depends on the API version:

  • 2018-06-01-preview: GuestDiagnosticsSettingsOperations

property guest_diagnostics_settings_association

Instance depends on the API version:

  • 2018-06-01-preview: GuestDiagnosticsSettingsAssociationOperations

property log_profiles

Instance depends on the API version:

  • 2016-03-01: LogProfilesOperations

property metric_alerts

Instance depends on the API version:

  • 2018-03-01: MetricAlertsOperations

property metric_alerts_status

Instance depends on the API version:

  • 2018-03-01: MetricAlertsStatusOperations

property metric_baseline

Instance depends on the API version:

  • 2017-11-01-preview: MetricBaselineOperations

  • 2018-09-01: MetricBaselineOperations

property metric_definitions

Instance depends on the API version:

  • 2016-03-01: MetricDefinitionsOperations

  • 2017-05-01-preview: MetricDefinitionsOperations

  • 2018-01-01: MetricDefinitionsOperations

property metric_namespaces

Instance depends on the API version:

  • 2017-12-01-preview: MetricNamespacesOperations

property metrics

Instance depends on the API version:

  • 2016-09-01: MetricsOperations

  • 2017-05-01-preview: MetricsOperations

  • 2018-01-01: MetricsOperations

property operations

Instance depends on the API version:

  • 2015-04-01: Operations

property private_endpoint_connections

Instance depends on the API version:

  • 2019-10-17-preview: PrivateEndpointConnectionsOperations

Instance depends on the API version:

  • 2019-10-17-preview: PrivateLinkResourcesOperations

Instance depends on the API version:

  • 2019-10-17-preview: PrivateLinkScopeOperationStatusOperations

Instance depends on the API version:

  • 2019-10-17-preview: PrivateLinkScopedResourcesOperations

Instance depends on the API version:

  • 2019-10-17-preview: PrivateLinkScopesOperations

property scheduled_query_rules

Instance depends on the API version:

  • 2018-04-16: ScheduledQueryRulesOperations

property service_diagnostic_settings

Instance depends on the API version:

  • 2015-07-01: ServiceDiagnosticSettingsOperations

  • 2016-09-01: ServiceDiagnosticSettingsOperations

property tenant_activity_logs

Instance depends on the API version:

  • 2015-04-01: TenantActivityLogsOperations

property vm_insights

Instance depends on the API version:

  • 2018-11-27-preview: VMInsightsOperations