Skip to content

Commit

Permalink
[AutoRelease] t2-network-2023-03-28-02538(can only be merged by SDK o…
Browse files Browse the repository at this point in the history
…wner) (#29628)

* code and test

* combine

* update

---------

Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: msyyc <[email protected]>
  • Loading branch information
azure-sdk and msyyc authored Mar 30, 2023
1 parent ead7db4 commit 492810d
Show file tree
Hide file tree
Showing 562 changed files with 146,210 additions and 3,174,638 deletions.
12 changes: 12 additions & 0 deletions sdk/network/azure-mgmt-network/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Release History

## 23.0.0 (2023-03-29)

### Other Changes

- Initial stable release with our new combined multiapi package. Package size is now 5% of what it used to be.

### Breaking Changes

- All query and header parameters are now keyword-only
- Removed api version subfolders. This means you can no longer access any `azure.mgmt.network.v20xx_xx_xx` modules.
- Removed `.models` method from `NetworkManagementClient`. Instead, import models from `azure.mgmt.network.models`.

## 22.3.0 (2023-03-20)

### Features Added
Expand Down
5 changes: 3 additions & 2 deletions sdk/network/azure-mgmt-network/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ client = NetworkManagementClient(credential=DefaultAzureCredential(), subscripti

## Examples


Code samples for this package can be found at [Network Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com and [Samples Repo](https://aka.ms/azsdk/python/mgmt/samples)
Code samples for this package can be found at:
- [Search Network Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com
- [Azure Python Mgmt SDK Samples Repo](https://aka.ms/azsdk/python/mgmt/samples)


## Troubleshooting
Expand Down
6 changes: 3 additions & 3 deletions sdk/network/azure-mgmt-network/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"commit": "c417434958b676b441ce184474210a8210a074b6",
"commit": "f66499b77cd90144ceb0d118c1bd8bda7dbd4cfc",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.9.2",
"use": [
"@autorest/[email protected].0",
"@autorest/[email protected].6",
"@autorest/[email protected]"
],
"autorest_command": "autorest specification/network/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/[email protected].0 --use=@autorest/[email protected] --version=3.9.2 --version-tolerant=False",
"autorest_command": "autorest specification/network/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/[email protected].6 --use=@autorest/[email protected] --version=3.9.2 --version-tolerant=False",
"readme": "specification/network/resource-manager/readme.md"
}
20 changes: 13 additions & 7 deletions sdk/network/azure-mgmt-network/azure/mgmt/network/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,21 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

from ._network_management_client import NetworkManagementClient
__all__ = ['NetworkManagementClient']
from ._client import NetworkManagementClient
from ._version import VERSION

__version__ = VERSION

try:
from ._patch import patch_sdk # type: ignore
patch_sdk()
from ._patch import __all__ as _patch_all
from ._patch import * # pylint: disable=unused-wildcard-import
except ImportError:
pass
_patch_all = []
from ._patch import patch_sdk as _patch_sdk

from ._version import VERSION
__all__ = [
"NetworkManagementClient",
]
__all__.extend([p for p in _patch_all if p not in __all__])

__version__ = VERSION
_patch_sdk()
Loading

0 comments on commit 492810d

Please sign in to comment.