Skip to content

Commit 984d7e9

Browse files
[AutoRelease] t2-applicationinsights-2025-07-25-33562(can only be merged by SDK owner) (#42215)
* code and test * update changelog --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: ChenxiJiang333 <[email protected]>
1 parent 2b033a3 commit 984d7e9

File tree

518 files changed

+8813
-48268
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

518 files changed

+8813
-48268
lines changed

sdk/applicationinsights/azure-mgmt-applicationinsights/CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
# Release History
22

3+
## 5.0.0b1 (2025-07-24)
4+
5+
### Features Added
6+
7+
- Model ErrorResponse has a new parameter code
8+
- Model ErrorResponse has a new parameter details
9+
- Model ErrorResponse has a new parameter message
10+
11+
### Breaking Changes
12+
13+
- This package now only targets the latest Api-Version available on Azure and removes APIs of other Api-Version. After this change, the package can have much smaller size. If your application requires a specific and non-latest Api-Version, it's recommended to pin this package to the previous released version; If your application always only use latest Api-Version, please ignore this change.
14+
- Model ApplicationInsightsComponentProactiveDetectionConfiguration no longer has parameter id
15+
- Model ApplicationInsightsComponentProactiveDetectionConfiguration no longer has parameter location
16+
- Model ApplicationInsightsComponentProactiveDetectionConfiguration no longer has parameter name_properties_name
17+
- Model ApplicationInsightsComponentProactiveDetectionConfiguration no longer has parameter type
18+
- Model ErrorResponse no longer has parameter error
19+
- Model Resource no longer has parameter system_data
20+
- Model TrackedResource no longer has parameter system_data
21+
- Removed operation group ComponentCurrentPricingPlanOperations
22+
- Removed operation group EASubscriptionListMigrationDateOperations
23+
- Removed operation group EASubscriptionMigrateToNewPricingModelOperations
24+
- Removed operation group EASubscriptionRollbackToLegacyPricingModelOperations
25+
- Removed operation group MyWorkbooksOperations
26+
327
## 4.1.0 (2025-03-06)
428

529
### Features Added

sdk/applicationinsights/azure-mgmt-applicationinsights/MANIFEST.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
include _meta.json
21
recursive-include tests *.py *.json
32
recursive-include samples *.py *.md
43
include *.md

sdk/applicationinsights/azure-mgmt-applicationinsights/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Microsoft Azure SDK for Python
22

33
This is the Microsoft Azure Application Insights Management Client Library.
4-
This package has been tested with Python 3.8+.
4+
This package has been tested with Python 3.9+.
55
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).
66

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

1313
### Prerequisites
1414

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

1818
### Install the package
@@ -24,7 +24,7 @@ pip install azure-identity
2424

2525
### Authentication
2626

27-
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of following environment variables.
27+
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configuration of the following environment variables.
2828

2929
- `AZURE_CLIENT_ID` for Azure client ID.
3030
- `AZURE_TENANT_ID` for Azure tenant ID.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "38009e911dfeee23d7c6830aa384c8945c6665d2",
2+
"commit": "b03475447ff6b3bcccfd25e99609b63bb2877b09",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.10.2",
55
"use": [
6-
"@autorest/python@6.27.4",
6+
"@autorest/python@6.35.0",
77
"@autorest/[email protected]"
88
],
9-
"autorest_command": "autorest specification/applicationinsights/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 --use=@autorest/python@6.27.4 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
9+
"autorest_command": "autorest specification/applicationinsights/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 --use=@autorest/python@6.35.0 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
1010
"readme": "specification/applicationinsights/resource-manager/readme.md"
1111
}

sdk/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/__init__.py

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,28 @@
55
# Code generated by Microsoft (R) AutoRest Code Generator.
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
8+
# pylint: disable=wrong-import-position
89

9-
from ._application_insights_management_client import ApplicationInsightsManagementClient
10-
__all__ = ['ApplicationInsightsManagementClient']
10+
from typing import TYPE_CHECKING
1111

12-
try:
13-
from ._patch import patch_sdk # type: ignore
14-
patch_sdk()
15-
except ImportError:
16-
pass
12+
if TYPE_CHECKING:
13+
from ._patch import * # pylint: disable=unused-wildcard-import
1714

15+
from ._application_insights_management_client import ApplicationInsightsManagementClient # type: ignore
1816
from ._version import VERSION
1917

2018
__version__ = VERSION
19+
20+
try:
21+
from ._patch import __all__ as _patch_all
22+
from ._patch import *
23+
except ImportError:
24+
_patch_all = []
25+
from ._patch import patch_sdk as _patch_sdk
26+
27+
__all__ = [
28+
"ApplicationInsightsManagementClient",
29+
]
30+
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore
31+
32+
_patch_sdk()

0 commit comments

Comments
 (0)