Skip to content

Commit 3b74339

Browse files
[AutoRelease] t2-mobilenetwork-2024-02-21-79731(can only be merged by SDK owner) (#34390)
* code and test * update-testcase --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: ChenxiJiang333 <[email protected]>
1 parent a51127d commit 3b74339

File tree

121 files changed

+2438
-209
lines changed

Some content is hidden

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

121 files changed

+2438
-209
lines changed

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

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

3+
## 3.2.0 (2024-03-18)
4+
5+
### Features Added
6+
7+
- Added operation group ExtendedUeInformationOperations
8+
- Added operation group UeInformationOperations
9+
- Model MobileNetwork has a new parameter identity
10+
- Model MobileNetwork has a new parameter public_land_mobile_networks
11+
- Model PacketCoreControlPlane has a new parameter home_network_private_keys_provisioning
12+
313
## 3.1.0 (2023-11-20)
414

515
### Features Added

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

Lines changed: 2 additions & 2 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 Mobilenetwork Management Client Library.
4-
This package has been tested with Python 3.7+.
4+
This package has been tested with Python 3.8+.
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.7+ is required to use this package.
15+
- Python 3.8+ is required to use this package.
1616
- [Azure subscription](https://azure.microsoft.com/free/)
1717

1818
### Install the package

sdk/mobilenetwork/azure-mgmt-mobilenetwork/_meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"commit": "fe3f311a4d963b0e9b1c39d6f3859175189f0e90",
2+
"commit": "c7b8df506c79231f08e1d878b1c4917a5abb1113",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.9.7",
55
"use": [
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"AssetsRepo": "Azure/azure-sdk-assets",
3+
"AssetsRepoPrefixPath": "python",
4+
"TagPrefix": "python/mobilenetwork/azure-mgmt-mobilenetwork",
5+
"Tag": "python/mobilenetwork/azure-mgmt-mobilenetwork_f697b1e70b"
6+
}

sdk/mobilenetwork/azure-mgmt-mobilenetwork/azure/mgmt/mobilenetwork/_configuration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ class MobileNetworkManagementClientConfiguration(Configuration): # pylint: disa
2929
:type credential: ~azure.core.credentials.TokenCredential
3030
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
3131
:type subscription_id: str
32-
:keyword api_version: Api Version. Default value is "2023-09-01". Note that overriding this
32+
:keyword api_version: Api Version. Default value is "2024-02-01". Note that overriding this
3333
default value may result in unsupported behavior.
3434
:paramtype api_version: str
3535
"""
3636

3737
def __init__(self, credential: "TokenCredential", subscription_id: str, **kwargs: Any) -> None:
3838
super(MobileNetworkManagementClientConfiguration, self).__init__(**kwargs)
39-
api_version: str = kwargs.pop("api_version", "2023-09-01")
39+
api_version: str = kwargs.pop("api_version", "2024-02-01")
4040

4141
if credential is None:
4242
raise ValueError("Parameter 'credential' must not be None.")

sdk/mobilenetwork/azure-mgmt-mobilenetwork/azure/mgmt/mobilenetwork/_mobile_network_management_client.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
AttachedDataNetworksOperations,
2020
DataNetworksOperations,
2121
DiagnosticsPackagesOperations,
22+
ExtendedUeInformationOperations,
2223
MobileNetworksOperations,
2324
Operations,
2425
PacketCapturesOperations,
@@ -31,6 +32,7 @@
3132
SimsOperations,
3233
SitesOperations,
3334
SlicesOperations,
35+
UeInformationOperations,
3436
)
3537

3638
if TYPE_CHECKING:
@@ -77,13 +79,18 @@ class MobileNetworkManagementClient: # pylint: disable=client-accepts-api-versi
7779
:vartype sites: azure.mgmt.mobilenetwork.operations.SitesOperations
7880
:ivar slices: SlicesOperations operations
7981
:vartype slices: azure.mgmt.mobilenetwork.operations.SlicesOperations
82+
:ivar extended_ue_information: ExtendedUeInformationOperations operations
83+
:vartype extended_ue_information:
84+
azure.mgmt.mobilenetwork.operations.ExtendedUeInformationOperations
85+
:ivar ue_information: UeInformationOperations operations
86+
:vartype ue_information: azure.mgmt.mobilenetwork.operations.UeInformationOperations
8087
:param credential: Credential needed for the client to connect to Azure. Required.
8188
:type credential: ~azure.core.credentials.TokenCredential
8289
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
8390
:type subscription_id: str
8491
:param base_url: Service URL. Default value is "https://management.azure.com".
8592
:type base_url: str
86-
:keyword api_version: Api Version. Default value is "2023-09-01". Note that overriding this
93+
:keyword api_version: Api Version. Default value is "2024-02-01". Note that overriding this
8794
default value may result in unsupported behavior.
8895
:paramtype api_version: str
8996
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
@@ -131,6 +138,10 @@ def __init__(
131138
self.sim_policies = SimPoliciesOperations(self._client, self._config, self._serialize, self._deserialize)
132139
self.sites = SitesOperations(self._client, self._config, self._serialize, self._deserialize)
133140
self.slices = SlicesOperations(self._client, self._config, self._serialize, self._deserialize)
141+
self.extended_ue_information = ExtendedUeInformationOperations(
142+
self._client, self._config, self._serialize, self._deserialize
143+
)
144+
self.ue_information = UeInformationOperations(self._client, self._config, self._serialize, self._deserialize)
134145

135146
def _send_request(self, request: HttpRequest, **kwargs: Any) -> HttpResponse:
136147
"""Runs the network request through the client's chained policies.

sdk/mobilenetwork/azure-mgmt-mobilenetwork/azure/mgmt/mobilenetwork/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "3.1.0"
9+
VERSION = "3.2.0"

sdk/mobilenetwork/azure-mgmt-mobilenetwork/azure/mgmt/mobilenetwork/aio/_configuration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ class MobileNetworkManagementClientConfiguration(Configuration): # pylint: disa
2929
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
3030
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
3131
:type subscription_id: str
32-
:keyword api_version: Api Version. Default value is "2023-09-01". Note that overriding this
32+
:keyword api_version: Api Version. Default value is "2024-02-01". Note that overriding this
3333
default value may result in unsupported behavior.
3434
:paramtype api_version: str
3535
"""
3636

3737
def __init__(self, credential: "AsyncTokenCredential", subscription_id: str, **kwargs: Any) -> None:
3838
super(MobileNetworkManagementClientConfiguration, self).__init__(**kwargs)
39-
api_version: str = kwargs.pop("api_version", "2023-09-01")
39+
api_version: str = kwargs.pop("api_version", "2024-02-01")
4040

4141
if credential is None:
4242
raise ValueError("Parameter 'credential' must not be None.")

sdk/mobilenetwork/azure-mgmt-mobilenetwork/azure/mgmt/mobilenetwork/aio/_mobile_network_management_client.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
AttachedDataNetworksOperations,
2020
DataNetworksOperations,
2121
DiagnosticsPackagesOperations,
22+
ExtendedUeInformationOperations,
2223
MobileNetworksOperations,
2324
Operations,
2425
PacketCapturesOperations,
@@ -31,6 +32,7 @@
3132
SimsOperations,
3233
SitesOperations,
3334
SlicesOperations,
35+
UeInformationOperations,
3436
)
3537

3638
if TYPE_CHECKING:
@@ -77,13 +79,18 @@ class MobileNetworkManagementClient: # pylint: disable=client-accepts-api-versi
7779
:vartype sites: azure.mgmt.mobilenetwork.aio.operations.SitesOperations
7880
:ivar slices: SlicesOperations operations
7981
:vartype slices: azure.mgmt.mobilenetwork.aio.operations.SlicesOperations
82+
:ivar extended_ue_information: ExtendedUeInformationOperations operations
83+
:vartype extended_ue_information:
84+
azure.mgmt.mobilenetwork.aio.operations.ExtendedUeInformationOperations
85+
:ivar ue_information: UeInformationOperations operations
86+
:vartype ue_information: azure.mgmt.mobilenetwork.aio.operations.UeInformationOperations
8087
:param credential: Credential needed for the client to connect to Azure. Required.
8188
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
8289
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
8390
:type subscription_id: str
8491
:param base_url: Service URL. Default value is "https://management.azure.com".
8592
:type base_url: str
86-
:keyword api_version: Api Version. Default value is "2023-09-01". Note that overriding this
93+
:keyword api_version: Api Version. Default value is "2024-02-01". Note that overriding this
8794
default value may result in unsupported behavior.
8895
:paramtype api_version: str
8996
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
@@ -131,6 +138,10 @@ def __init__(
131138
self.sim_policies = SimPoliciesOperations(self._client, self._config, self._serialize, self._deserialize)
132139
self.sites = SitesOperations(self._client, self._config, self._serialize, self._deserialize)
133140
self.slices = SlicesOperations(self._client, self._config, self._serialize, self._deserialize)
141+
self.extended_ue_information = ExtendedUeInformationOperations(
142+
self._client, self._config, self._serialize, self._deserialize
143+
)
144+
self.ue_information = UeInformationOperations(self._client, self._config, self._serialize, self._deserialize)
134145

135146
def _send_request(self, request: HttpRequest, **kwargs: Any) -> Awaitable[AsyncHttpResponse]:
136147
"""Runs the network request through the client's chained policies.

sdk/mobilenetwork/azure-mgmt-mobilenetwork/azure/mgmt/mobilenetwork/aio/operations/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
from ._sim_policies_operations import SimPoliciesOperations
2222
from ._sites_operations import SitesOperations
2323
from ._slices_operations import SlicesOperations
24+
from ._extended_ue_information_operations import ExtendedUeInformationOperations
25+
from ._ue_information_operations import UeInformationOperations
2426

2527
from ._patch import __all__ as _patch_all
2628
from ._patch import * # pylint: disable=unused-wildcard-import
@@ -42,6 +44,8 @@
4244
"SimPoliciesOperations",
4345
"SitesOperations",
4446
"SlicesOperations",
47+
"ExtendedUeInformationOperations",
48+
"UeInformationOperations",
4549
]
4650
__all__.extend([p for p in _patch_all if p not in __all__])
4751
_patch_sdk()

0 commit comments

Comments
 (0)