你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MonitorManagementClient 类
监视管理客户端。
此就绪包含多个 API 版本,可帮助你处理所有 Azure 云 (Azure Stack、Azure 政府、Azure 中国等) 。 默认情况下,它使用公共 Azure 上提供的最新 API 版本。 对于生产环境,应坚持使用特定的 API 版本和/或配置文件。 配置文件设置操作组与其 API 版本之间的映射。 如果配置文件中未描述操作组,则 api-version 参数将设置默认 API 版本。
- 继承
-
MonitorManagementClientazure.mgmt.monitor._monitor_management_client._SDKClientMonitorManagementClient
构造函数
MonitorManagementClient(credential: TokenCredential, subscription_id: str, api_version: str | None = None, base_url: str = 'https://management.azure.com', profile: KnownProfiles = KnownProfiles.default, **kwargs: Any)
参数
- polling_interval
- int
如果没有Retry-After标头,则 LRO 操作的两次轮询之间的默认等待时间。
方法
close | |
models |
模块取决于 API 版本:
|
close
close()
models
模块取决于 API 版本:
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')
参数
- api_version
属性
action_groups
实例取决于 API 版本:
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
实例取决于 API 版本:
2017-03-01-preview: ActivityLogAlertsOperations
2017-04-01: ActivityLogAlertsOperations
2020-10-01: ActivityLogAlertsOperations
activity_logs
实例取决于 API 版本:
- 2015-04-01: ActivityLogsOperations
alert_rule_incidents
实例取决于 API 版本:
- 2016-03-01: AlertRuleIncidentsOperations
alert_rules
实例取决于 API 版本:
2015-04-01: AlertRulesOperations
2015-07-01: AlertRulesOperations
2016-03-01: AlertRulesOperations
autoscale_settings
实例取决于 API 版本:
2015-04-01: AutoscaleSettingsOperations
2021-05-01-preview: AutoscaleSettingsOperations
2022-10-01: AutoscaleSettingsOperations
azure_monitor_workspaces
实例取决于 API 版本:
- 2021-06-03-preview: AzureMonitorWorkspacesOperations
baselines
实例取决于 API 版本:
2018-09-01: BaselinesOperations
2019-03-01: BaselinesOperations
data_collection_endpoints
实例取决于 API 版本:
2021-04-01: DataCollectionEndpointsOperations
2021-09-01-preview: DataCollectionEndpointsOperations
2022-06-01: DataCollectionEndpointsOperations
data_collection_rule_associations
实例取决于 API 版本:
2019-11-01-preview: DataCollectionRuleAssociationsOperations
2021-04-01: DataCollectionRuleAssociationsOperations
2021-09-01-preview: DataCollectionRuleAssociationsOperations
2022-06-01: DataCollectionRuleAssociationsOperations
data_collection_rules
实例取决于 API 版本:
2019-11-01-preview: DataCollectionRulesOperations
2021-04-01: DataCollectionRulesOperations
2021-09-01-preview: DataCollectionRulesOperations
2022-06-01: DataCollectionRulesOperations
diagnostic_settings
实例取决于 API 版本:
2017-05-01-preview: DiagnosticSettingsOperations
2021-05-01-preview: DiagnosticSettingsOperations
diagnostic_settings_category
实例取决于 API 版本:
2017-05-01-preview: DiagnosticSettingsCategoryOperations
2021-05-01-preview: DiagnosticSettingsCategoryOperations
event_categories
实例取决于 API 版本:
- 2015-04-01: EventCategoriesOperations
guest_diagnostics_settings
实例取决于 API 版本:
- 2018-06-01-preview: GuestDiagnosticsSettingsOperations
guest_diagnostics_settings_association
实例取决于 API 版本:
- 2018-06-01-preview: GuestDiagnosticsSettingsAssociationOperations
log_profiles
实例取决于 API 版本:
- 2016-03-01: LogProfilesOperations
management_group_diagnostic_settings
实例取决于 API 版本:
2020-01-01-preview: ManagementGroupDiagnosticSettingsOperations
2021-05-01-preview: ManagementGroupDiagnosticSettingsOperations
metric_alerts
实例取决于 API 版本:
- 2018-03-01: MetricAlertsOperations
metric_alerts_status
实例取决于 API 版本:
- 2018-03-01: MetricAlertsStatusOperations
metric_definitions
实例取决于 API 版本:
2015-07-01: MetricDefinitionsOperations
2016-03-01: MetricDefinitionsOperations
2017-05-01-preview: MetricDefinitionsOperations
2018-01-01: MetricDefinitionsOperations
2021-05-01: MetricDefinitionsOperations
metric_namespaces
实例取决于 API 版本:
- 2017-12-01-preview: MetricNamespacesOperations
metrics
实例取决于 API 版本:
2016-09-01: MetricsOperations
2017-05-01-preview: MetricsOperations
2018-01-01: MetricsOperations
2021-05-01: MetricsOperations
monitor_operations
实例取决于 API 版本:
- 2021-06-03-preview: MonitorOperationsOperations
operations
实例取决于 API 版本:
2015-04-01: Operations
2015-07-01: Operations
2021-05-01: Operations
predictive_metric
实例取决于 API 版本:
2021-05-01-preview: PredictiveMetricOperations
2022-10-01: PredictiveMetricOperations
private_endpoint_connections
实例取决于 API 版本:
2019-10-17-preview: PrivateEndpointConnectionsOperations
2021-07-01-preview: PrivateEndpointConnectionsOperations
private_link_resources
实例取决于 API 版本:
2019-10-17-preview: PrivateLinkResourcesOperations
2021-07-01-preview: PrivateLinkResourcesOperations
private_link_scope_operation_status
实例取决于 API 版本:
2019-10-17-preview: PrivateLinkScopeOperationStatusOperations
2021-07-01-preview: PrivateLinkScopeOperationStatusOperations
private_link_scoped_resources
实例取决于 API 版本:
2019-10-17-preview: PrivateLinkScopedResourcesOperations
2021-07-01-preview: PrivateLinkScopedResourcesOperations
private_link_scopes
实例取决于 API 版本:
2019-10-17-preview: PrivateLinkScopesOperations
2021-07-01-preview: PrivateLinkScopesOperations
scheduled_query_rules
实例取决于 API 版本:
2018-04-16: ScheduledQueryRulesOperations
2020-05-01-preview: ScheduledQueryRulesOperations
2022-08-01-preview: ScheduledQueryRulesOperations
service_diagnostic_settings
实例取决于 API 版本:
2015-07-01: ServiceDiagnosticSettingsOperations
2016-09-01: ServiceDiagnosticSettingsOperations
subscription_diagnostic_settings
实例取决于 API 版本:
2017-05-01-preview: SubscriptionDiagnosticSettingsOperations
2021-05-01-preview: SubscriptionDiagnosticSettingsOperations
tenant_action_groups
实例取决于 API 版本:
- 2023-03-01-preview: TenantActionGroupsOperations
tenant_activity_logs
实例取决于 API 版本:
- 2015-04-01: TenantActivityLogsOperations
vm_insights
实例取决于 API 版本:
- 2018-11-27-preview: VMInsightsOperations
DEFAULT_API_VERSION
DEFAULT_API_VERSION = '2023-01-01'
LATEST_PROFILE
LATEST_PROFILE = azure.mgmt.monitor.MonitorManagementClient latest
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈