Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoRelease] t2-monitor-2025-02-06-99514(can only be merged by SDK owner) #39601

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
239 changes: 239 additions & 0 deletions sdk/monitor/azure-mgmt-monitor/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,244 @@
# Release History

## 7.0.0b1 (2025-02-07)

### Features Added

- Client `MonitorManagementClient` added operation group `action_groups`
- Client `MonitorManagementClient` added operation group `activity_log_alerts`
- Client `MonitorManagementClient` added operation group `activity_logs`
- Client `MonitorManagementClient` added operation group `tenant_activity_logs`
- Client `MonitorManagementClient` added operation group `alert_rule_incidents`
- Client `MonitorManagementClient` added operation group `autoscale_settings`
- Client `MonitorManagementClient` added operation group `predictive_metric`
- Client `MonitorManagementClient` added operation group `baselines`
- Client `MonitorManagementClient` added operation group `diagnostic_settings`
- Client `MonitorManagementClient` added operation group `diagnostic_settings_category`
- Client `MonitorManagementClient` added operation group `event_categories`
- Client `MonitorManagementClient` added operation group `guest_diagnostics_settings`
- Client `MonitorManagementClient` added operation group `guest_diagnostics_settings_association`
- Client `MonitorManagementClient` added operation group `log_profiles`
- Client `MonitorManagementClient` added operation group `metric_alerts`
- Client `MonitorManagementClient` added operation group `metric_alerts_status`
- Client `MonitorManagementClient` added operation group `metric_definitions`
- Client `MonitorManagementClient` added operation group `metric_namespaces`
- Client `MonitorManagementClient` added operation group `metrics`
- Client `MonitorManagementClient` added operation group `operations`
- Client `MonitorManagementClient` added operation group `scheduled_query_rules`
- Client `MonitorManagementClient` added operation group `service_diagnostic_settings`
- Client `MonitorManagementClient` added operation group `vm_insights`
- Client `MonitorManagementClient` added operation group `private_link_scopes`
- Client `MonitorManagementClient` added operation group `private_link_scope_operation_status`
- Client `MonitorManagementClient` added operation group `private_link_resources`
- Client `MonitorManagementClient` added operation group `private_endpoint_connections`
- Client `MonitorManagementClient` added operation group `private_link_scoped_resources`
- Client `MonitorManagementClient` added operation group `subscription_diagnostic_settings`
- Added model `Action`
- Added model `ActionDetail`
- Added model `ActionGroupList`
- Added model `ActionGroupResource`
- Added model `ActivityLogAlertActionGroup`
- Added model `ActivityLogAlertActionList`
- Added model `ActivityLogAlertAllOfCondition`
- Added model `ActivityLogAlertLeafCondition`
- Added model `ActivityLogAlertList`
- Added model `ActivityLogAlertPatchBody`
- Added model `ActivityLogAlertResource`
- Added enum `AggregationType`
- Added enum `AggregationTypeEnum`
- Added enum `AlertSeverity`
- Added model `AlertingAction`
- Added model `ArmRoleReceiver`
- Added model `AutomationRunbookReceiver`
- Added model `AutoscaleErrorResponse`
- Added model `AutoscaleErrorResponseError`
- Added model `AutoscaleNotification`
- Added model `AutoscaleProfile`
- Added model `AutoscaleSettingResource`
- Added model `AutoscaleSettingResourceCollection`
- Added model `AutoscaleSettingResourcePatch`
- Added model `AzNsActionGroup`
- Added model `AzureFunctionReceiver`
- Added model `AzureMonitorPrivateLinkScope`
- Added model `AzureMonitorPrivateLinkScopeListResult`
- Added model `BaselineMetadata`
- Added enum `BaselineSensitivity`
- Added enum `CategoryType`
- Added enum `ComparisonOperationType`
- Added enum `ConditionalOperator`
- Added model `Context`
- Added enum `CreatedByType`
- Added model `Criteria`
- Added enum `CriterionType`
- Added model `DataContainer`
- Added model `DataSource`
- Added model `DataSourceConfiguration`
- Added enum `DataSourceKind`
- Added enum `DataStatus`
- Added model `DiagnosticSettingsCategoryResource`
- Added model `DiagnosticSettingsCategoryResourceCollection`
- Added model `DiagnosticSettingsResource`
- Added model `DiagnosticSettingsResourceCollection`
- Added model `Dimension`
- Added model `DynamicMetricCriteria`
- Added model `DynamicThresholdFailingPeriods`
- Added enum `DynamicThresholdOperator`
- Added enum `DynamicThresholdSensitivity`
- Added model `EmailNotification`
- Added model `EnableRequest`
- Added enum `Enabled`
- Added model `Error`
- Added model `ErrorAdditionalInfo`
- Added model `ErrorContract`
- Added model `ErrorDetail`
- Added model `ErrorDetailAdditionalInfoItem`
- Added model `ErrorResponseAutoGenerated`
- Added model `ErrorResponseAutoGenerated2`
- Added model `ErrorResponseCommon`
- Added model `ErrorResponseError`
- Added model `ErrorResponseErrorAdditionalInfoItem`
- Added model `EtwEventConfiguration`
- Added model `EtwProviderConfiguration`
- Added model `EventCategoryCollection`
- Added model `EventData`
- Added model `EventDataCollection`
- Added model `EventHubReceiver`
- Added enum `EventLevel`
- Added model `EventLogConfiguration`
- Added model `GuestDiagnosticSettingsAssociationList`
- Added model `GuestDiagnosticSettingsAssociationResource`
- Added model `GuestDiagnosticSettingsAssociationResourcePatch`
- Added model `GuestDiagnosticSettingsList`
- Added enum `GuestDiagnosticSettingsOsType`
- Added model `GuestDiagnosticSettingsPatchResource`
- Added model `GuestDiagnosticSettingsResource`
- Added model `HttpRequestInfo`
- Added model `Incident`
- Added model `IncidentListResult`
- Added model `ItsmReceiver`
- Added model `LocalizableString`
- Added model `LocalizableStringAutoGenerated`
- Added model `LogMetricTrigger`
- Added model `LogProfileCollection`
- Added model `LogProfileResource`
- Added model `LogProfileResourcePatch`
- Added model `LogSearchRuleResource`
- Added model `LogSearchRuleResourceCollection`
- Added model `LogSearchRuleResourcePatch`
- Added model `LogSettings`
- Added model `LogSettingsAutoGenerated`
- Added model `LogToMetricAction`
- Added model `LogicAppReceiver`
- Added model `MetadataValue`
- Added model `Metric`
- Added model `MetricAlertAction`
- Added model `MetricAlertCriteria`
- Added model `MetricAlertMultipleResourceMultipleMetricCriteria`
- Added model `MetricAlertResource`
- Added model `MetricAlertResourceCollection`
- Added model `MetricAlertResourcePatch`
- Added model `MetricAlertSingleResourceMultipleMetricCriteria`
- Added model `MetricAlertStatus`
- Added model `MetricAlertStatusCollection`
- Added model `MetricAlertStatusProperties`
- Added model `MetricAvailability`
- Added model `MetricBaselinesResponse`
- Added enum `MetricClass`
- Added model `MetricCriteria`
- Added model `MetricDefinition`
- Added model `MetricDefinitionCollection`
- Added model `MetricDimension`
- Added model `MetricNamespace`
- Added model `MetricNamespaceCollection`
- Added model `MetricNamespaceName`
- Added model `MetricSettings`
- Added model `MetricSettingsAutoGenerated`
- Added model `MetricSingleDimension`
- Added enum `MetricStatisticType`
- Added model `MetricTrigger`
- Added enum `MetricTriggerType`
- Added enum `MetricUnit`
- Added model `MetricValue`
- Added model `MultiMetricCriteria`
- Added enum `NamespaceClassification`
- Added model `NotificationRequestBody`
- Added enum `Odatatype`
- Added enum `OnboardingStatus`
- Added model `Operation`
- Added model `OperationDisplay`
- Added model `OperationListResult`
- Added model `OperationStatus`
- Added enum `Operator`
- Added model `PerformanceCounterConfiguration`
- Added model `PredictiveAutoscalePolicy`
- Added enum `PredictiveAutoscalePolicyScaleMode`
- Added model `PredictiveResponse`
- Added model `PredictiveValue`
- Added model `PrivateEndpointConnection`
- Added model `PrivateEndpointConnectionListResult`
- Added model `PrivateEndpointProperty`
- Added model `PrivateLinkResource`
- Added model `PrivateLinkResourceListResult`
- Added model `PrivateLinkScopesResource`
- Added model `PrivateLinkServiceConnectionStateProperty`
- Added enum `ProvisioningState`
- Added model `ProxyOnlyResource`
- Added model `ProxyResource`
- Added enum `QueryType`
- Added model `Recurrence`
- Added enum `RecurrenceFrequency`
- Added model `RecurrentSchedule`
- Added model `Resource`
- Added model `ResourceAutoGenerated`
- Added model `ResourceAutoGenerated2`
- Added model `ResourceAutoGenerated3`
- Added model `Response`
- Added model `ResponseWithError`
- Added enum `ResultType`
- Added model `RetentionPolicy`
- Added model `ScaleAction`
- Added model `ScaleCapacity`
- Added enum `ScaleDirection`
- Added model `ScaleRule`
- Added model `ScaleRuleMetricDimension`
- Added enum `ScaleRuleMetricDimensionOperationType`
- Added enum `ScaleType`
- Added model `Schedule`
- Added model `ScopedResource`
- Added model `ScopedResourceListResult`
- Added model `SenderAuthorization`
- Added model `ServiceDiagnosticSettingsResource`
- Added model `ServiceDiagnosticSettingsResourcePatch`
- Added model `SingleBaseline`
- Added model `SingleMetricBaseline`
- Added model `SinkConfiguration`
- Added enum `SinkConfigurationKind`
- Added model `Source`
- Added model `SubscriptionDiagnosticSettingsResource`
- Added model `SubscriptionDiagnosticSettingsResourceCollection`
- Added model `SubscriptionLogSettings`
- Added model `SubscriptionProxyOnlyResource`
- Added model `SystemData`
- Added model `TagsResource`
- Added model `TestNotificationDetailsResponse`
- Added enum `TimeAggregationType`
- Added model `TimeSeriesBaseline`
- Added model `TimeSeriesElement`
- Added model `TimeWindow`
- Added model `TriggerCondition`
- Added model `VMInsightsOnboardingStatus`
- Added model `WebhookNotification`
- Added model `WebtestLocationAvailabilityCriteria`
- Added model `WorkspaceInfo`

### Breaking Changes

- Deleted or renamed client operation group `MonitorManagementClient.tenant_action_groups`
- Parameter `subscription_id` of client `MonitorManagementClient` is now required
- Deleted or renamed model `TenantActionGroupList`
- Deleted or renamed model `TenantActionGroupResource`
- Deleted or renamed model `TenantActionGroupsOperations`

## 6.0.2 (2023-08-22)

### Bugs Fixed
Expand Down
7 changes: 2 additions & 5 deletions sdk/monitor/azure-mgmt-monitor/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Microsoft Azure SDK for Python

This is the Microsoft Azure Monitor Client Library.
This package has been tested with Python 3.7+.
This package has been tested with Python 3.8+.
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).

## _Disclaimer_
Expand All @@ -12,7 +12,7 @@ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For

### Prerequisites

- Python 3.7+ is required to use this package.
- Python 3.8+ is required to use this package.
- [Azure subscription](https://azure.microsoft.com/free/)

### Install the package
Expand Down Expand Up @@ -59,6 +59,3 @@ Code samples for this package can be found at:
If you encounter any bugs or have suggestions, please file an issue in the
[Issues](https://github.com/Azure/azure-sdk-for-python/issues)
section of the project.



10 changes: 5 additions & 5 deletions sdk/monitor/azure-mgmt-monitor/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"commit": "817e7cea0b7e3194868825cbef6d4e62a7895951",
"commit": "a86a97dd03e0b9e692b5583e369feec3a579ef55",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.9.2",
"autorest": "3.10.2",
"use": [
"@autorest/python@6.4.8",
"@autorest/modelerfour@4.24.3"
"@autorest/python@6.27.4",
"@autorest/modelerfour@4.27.0"
],
"autorest_command": "autorest specification/monitor/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.4.8 --use=@autorest/modelerfour@4.24.3 --version=3.9.2 --version-tolerant=False",
"autorest_command": "autorest specification/monitor/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/azure-sdk-for-python/sdk --tag=package-python-sdk-for-cli-only --use=@autorest/python@6.27.4 --use=@autorest/modelerfour@4.27.0 --version=3.10.2 --version-tolerant=False",
"readme": "specification/monitor/resource-manager/readme.md"
}
6 changes: 0 additions & 6 deletions sdk/monitor/azure-mgmt-monitor/assets.json

This file was deleted.

26 changes: 19 additions & 7 deletions sdk/monitor/azure-mgmt-monitor/azure/mgmt/monitor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,28 @@
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
# pylint: disable=wrong-import-position

from ._monitor_management_client import MonitorManagementClient
__all__ = ['MonitorManagementClient']
from typing import TYPE_CHECKING

try:
from ._patch import patch_sdk # type: ignore
patch_sdk()
except ImportError:
pass
if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._monitor_management_client import MonitorManagementClient # type: ignore
from ._version import VERSION

__version__ = VERSION

try:
from ._patch import __all__ as _patch_all
from ._patch import *
except ImportError:
_patch_all = []
from ._patch import patch_sdk as _patch_sdk

__all__ = [
"MonitorManagementClient",
]
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore

_patch_sdk()
Loading
Loading