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.
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
|
The ID of the target subscription. Required. |
api_version
|
API version to use if no profile is provided, or if missing in profile. Default value: None
|
base_url
|
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
|
Default waiting time between two polls for LRO operations if no Retry-After header is present. |
close | |
models |
Module depends on the API version:
|
close
close()
models
Module depends on the API version:
2015-04-01: models
2015-07-01: models
2016-03-01: models
2016-09-01: models
2017-03-01-preview: models
2017-04-01: models
2017-05-01-preview: models
2017-12-01-preview: models
2018-01-01: models
2018-03-01: models
2018-04-16: models
2018-06-01-preview: models
2018-09-01: models
2018-11-27-preview: models
2019-03-01: models
2019-06-01: models
2019-10-17-preview: models
2019-11-01-preview: models
2020-01-01-preview: models
2020-05-01-preview: models
2020-10-01: models
2021-04-01: models
2021-05-01: models
2021-05-01-preview: models
2021-06-03-preview: models
2021-07-01-preview: models
2021-09-01: models
2021-09-01-preview: models
2022-04-01: models
2022-06-01: models
2022-08-01-preview: models
2022-10-01: models
2023-01-01: models
2023-03-01-preview: models
models(api_version='2023-01-01')
Parameters
Name | Description |
---|---|
api_version
|
Default value: 2023-01-01
|
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
2021-09-01: ActionGroupsOperations
2022-04-01: ActionGroupsOperations
2022-06-01: ActionGroupsOperations
2023-01-01: ActionGroupsOperations
activity_log_alerts
Instance depends on the API version:
2017-03-01-preview: ActivityLogAlertsOperations
2017-04-01: ActivityLogAlertsOperations
2020-10-01: ActivityLogAlertsOperations
activity_logs
Instance depends on the API version:
- 2015-04-01: ActivityLogsOperations
alert_rule_incidents
Instance depends on the API version:
- 2016-03-01: AlertRuleIncidentsOperations
alert_rules
Instance depends on the API version:
2015-04-01: AlertRulesOperations
2015-07-01: AlertRulesOperations
2016-03-01: AlertRulesOperations
autoscale_settings
Instance depends on the API version:
2015-04-01: AutoscaleSettingsOperations
2021-05-01-preview: AutoscaleSettingsOperations
2022-10-01: AutoscaleSettingsOperations
azure_monitor_workspaces
Instance depends on the API version:
- 2021-06-03-preview: AzureMonitorWorkspacesOperations
baselines
Instance depends on the API version:
2018-09-01: BaselinesOperations
2019-03-01: BaselinesOperations
data_collection_endpoints
Instance depends on the API version:
2021-04-01: DataCollectionEndpointsOperations
2021-09-01-preview: DataCollectionEndpointsOperations
2022-06-01: DataCollectionEndpointsOperations
data_collection_rule_associations
Instance depends on the API version:
2019-11-01-preview: DataCollectionRuleAssociationsOperations
2021-04-01: DataCollectionRuleAssociationsOperations
2021-09-01-preview: DataCollectionRuleAssociationsOperations
2022-06-01: DataCollectionRuleAssociationsOperations
data_collection_rules
Instance depends on the API version:
2019-11-01-preview: DataCollectionRulesOperations
2021-04-01: DataCollectionRulesOperations
2021-09-01-preview: DataCollectionRulesOperations
2022-06-01: DataCollectionRulesOperations
diagnostic_settings
Instance depends on the API version:
2017-05-01-preview: DiagnosticSettingsOperations
2021-05-01-preview: DiagnosticSettingsOperations
diagnostic_settings_category
Instance depends on the API version:
2017-05-01-preview: DiagnosticSettingsCategoryOperations
2021-05-01-preview: DiagnosticSettingsCategoryOperations
event_categories
Instance depends on the API version:
- 2015-04-01: EventCategoriesOperations
guest_diagnostics_settings
Instance depends on the API version:
- 2018-06-01-preview: GuestDiagnosticsSettingsOperations
guest_diagnostics_settings_association
Instance depends on the API version:
- 2018-06-01-preview: GuestDiagnosticsSettingsAssociationOperations
log_profiles
Instance depends on the API version:
- 2016-03-01: LogProfilesOperations
management_group_diagnostic_settings
Instance depends on the API version:
2020-01-01-preview: ManagementGroupDiagnosticSettingsOperations
2021-05-01-preview: ManagementGroupDiagnosticSettingsOperations
metric_alerts
Instance depends on the API version:
- 2018-03-01: MetricAlertsOperations
metric_alerts_status
Instance depends on the API version:
- 2018-03-01: MetricAlertsStatusOperations
metric_definitions
Instance depends on the API version:
2015-07-01: MetricDefinitionsOperations
2016-03-01: MetricDefinitionsOperations
2017-05-01-preview: MetricDefinitionsOperations
2018-01-01: MetricDefinitionsOperations
2021-05-01: MetricDefinitionsOperations
metric_namespaces
Instance depends on the API version:
- 2017-12-01-preview: MetricNamespacesOperations
metrics
Instance depends on the API version:
2016-09-01: MetricsOperations
2017-05-01-preview: MetricsOperations
2018-01-01: MetricsOperations
2021-05-01: MetricsOperations
monitor_operations
Instance depends on the API version:
- 2021-06-03-preview: MonitorOperationsOperations
operations
Instance depends on the API version:
2015-04-01: Operations
2015-07-01: Operations
2021-05-01: Operations
predictive_metric
Instance depends on the API version:
2021-05-01-preview: PredictiveMetricOperations
2022-10-01: PredictiveMetricOperations
private_endpoint_connections
Instance depends on the API version:
2019-10-17-preview: PrivateEndpointConnectionsOperations
2021-07-01-preview: PrivateEndpointConnectionsOperations
private_link_resources
Instance depends on the API version:
2019-10-17-preview: PrivateLinkResourcesOperations
2021-07-01-preview: PrivateLinkResourcesOperations
private_link_scope_operation_status
Instance depends on the API version:
2019-10-17-preview: PrivateLinkScopeOperationStatusOperations
2021-07-01-preview: PrivateLinkScopeOperationStatusOperations
private_link_scoped_resources
Instance depends on the API version:
2019-10-17-preview: PrivateLinkScopedResourcesOperations
2021-07-01-preview: PrivateLinkScopedResourcesOperations
private_link_scopes
Instance depends on the API version:
2019-10-17-preview: PrivateLinkScopesOperations
2021-07-01-preview: PrivateLinkScopesOperations
scheduled_query_rules
Instance depends on the API version:
2018-04-16: ScheduledQueryRulesOperations
2020-05-01-preview: ScheduledQueryRulesOperations
2022-08-01-preview: ScheduledQueryRulesOperations
service_diagnostic_settings
Instance depends on the API version:
2015-07-01: ServiceDiagnosticSettingsOperations
2016-09-01: ServiceDiagnosticSettingsOperations
subscription_diagnostic_settings
Instance depends on the API version:
2017-05-01-preview: SubscriptionDiagnosticSettingsOperations
2021-05-01-preview: SubscriptionDiagnosticSettingsOperations
tenant_action_groups
Instance depends on the API version:
- 2023-03-01-preview: TenantActionGroupsOperations
tenant_activity_logs
Instance depends on the API version:
- 2015-04-01: TenantActivityLogsOperations
vm_insights
Instance depends on the API version:
- 2018-11-27-preview: VMInsightsOperations
DEFAULT_API_VERSION
DEFAULT_API_VERSION = '2023-01-01'
LATEST_PROFILE
LATEST_PROFILE = azure.mgmt.monitor.MonitorManagementClient latest
Feedback om Azure SDK for Python
Azure SDK for Python är ett öppen källkod projekt. Välj en länk för att ge feedback: