azure-mgmt-networkfunction 1.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- azure_mgmt_networkfunction-1.0.0/CHANGELOG.md +39 -0
- azure_mgmt_networkfunction-1.0.0/LICENSE +21 -0
- azure_mgmt_networkfunction-1.0.0/MANIFEST.in +7 -0
- azure_mgmt_networkfunction-1.0.0/PKG-INFO +126 -0
- azure_mgmt_networkfunction-1.0.0/README.md +61 -0
- azure_mgmt_networkfunction-1.0.0/api.md +865 -0
- azure_mgmt_networkfunction-1.0.0/azure/__init__.py +1 -0
- azure_mgmt_networkfunction-1.0.0/azure/mgmt/__init__.py +1 -0
- azure_mgmt_networkfunction-1.0.0/azure/mgmt/networkfunction/__init__.py +32 -0
- azure_mgmt_networkfunction-1.0.0/azure/mgmt/networkfunction/_client.py +172 -0
- azure_mgmt_networkfunction-1.0.0/azure/mgmt/networkfunction/_configuration.py +80 -0
- azure_mgmt_networkfunction-1.0.0/azure/mgmt/networkfunction/_patch.py +21 -0
- azure_mgmt_networkfunction-1.0.0/azure/mgmt/networkfunction/_utils/__init__.py +6 -0
- azure_mgmt_networkfunction-1.0.0/azure/mgmt/networkfunction/_utils/model_base.py +1770 -0
- azure_mgmt_networkfunction-1.0.0/azure/mgmt/networkfunction/_utils/serialization.py +2175 -0
- azure_mgmt_networkfunction-1.0.0/azure/mgmt/networkfunction/_version.py +9 -0
- azure_mgmt_networkfunction-1.0.0/azure/mgmt/networkfunction/aio/__init__.py +29 -0
- azure_mgmt_networkfunction-1.0.0/azure/mgmt/networkfunction/aio/_client.py +177 -0
- azure_mgmt_networkfunction-1.0.0/azure/mgmt/networkfunction/aio/_configuration.py +80 -0
- azure_mgmt_networkfunction-1.0.0/azure/mgmt/networkfunction/aio/_patch.py +21 -0
- azure_mgmt_networkfunction-1.0.0/azure/mgmt/networkfunction/aio/operations/__init__.py +33 -0
- azure_mgmt_networkfunction-1.0.0/azure/mgmt/networkfunction/aio/operations/_operations.py +1780 -0
- azure_mgmt_networkfunction-1.0.0/azure/mgmt/networkfunction/aio/operations/_patch.py +21 -0
- azure_mgmt_networkfunction-1.0.0/azure/mgmt/networkfunction/models/__init__.py +74 -0
- azure_mgmt_networkfunction-1.0.0/azure/mgmt/networkfunction/models/_enums.py +64 -0
- azure_mgmt_networkfunction-1.0.0/azure/mgmt/networkfunction/models/_models.py +718 -0
- azure_mgmt_networkfunction-1.0.0/azure/mgmt/networkfunction/models/_patch.py +21 -0
- azure_mgmt_networkfunction-1.0.0/azure/mgmt/networkfunction/operations/__init__.py +33 -0
- azure_mgmt_networkfunction-1.0.0/azure/mgmt/networkfunction/operations/_operations.py +2123 -0
- azure_mgmt_networkfunction-1.0.0/azure/mgmt/networkfunction/operations/_patch.py +21 -0
- azure_mgmt_networkfunction-1.0.0/azure/mgmt/networkfunction/py.typed +1 -0
- azure_mgmt_networkfunction-1.0.0/azure_mgmt_networkfunction.egg-info/PKG-INFO +126 -0
- azure_mgmt_networkfunction-1.0.0/azure_mgmt_networkfunction.egg-info/SOURCES.txt +43 -0
- azure_mgmt_networkfunction-1.0.0/azure_mgmt_networkfunction.egg-info/dependency_links.txt +1 -0
- azure_mgmt_networkfunction-1.0.0/azure_mgmt_networkfunction.egg-info/requires.txt +3 -0
- azure_mgmt_networkfunction-1.0.0/azure_mgmt_networkfunction.egg-info/top_level.txt +1 -0
- azure_mgmt_networkfunction-1.0.0/pyproject.toml +88 -0
- azure_mgmt_networkfunction-1.0.0/setup.cfg +4 -0
- azure_mgmt_networkfunction-1.0.0/tests/conftest.py +39 -0
- azure_mgmt_networkfunction-1.0.0/tests/test_traffic_collector_mgmt_azure_traffic_collectors_by_resource_group_operations_async_test.py +29 -0
- azure_mgmt_networkfunction-1.0.0/tests/test_traffic_collector_mgmt_azure_traffic_collectors_by_resource_group_operations_test.py +28 -0
- azure_mgmt_networkfunction-1.0.0/tests/test_traffic_collector_mgmt_azure_traffic_collectors_by_subscription_operations_async_test.py +27 -0
- azure_mgmt_networkfunction-1.0.0/tests/test_traffic_collector_mgmt_azure_traffic_collectors_by_subscription_operations_test.py +26 -0
- azure_mgmt_networkfunction-1.0.0/tests/test_traffic_collector_mgmt_network_function_operations_async_test.py +27 -0
- azure_mgmt_networkfunction-1.0.0/tests/test_traffic_collector_mgmt_network_function_operations_test.py +26 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Release History
|
|
2
|
+
|
|
3
|
+
## 1.0.0 (2026-06-30)
|
|
4
|
+
|
|
5
|
+
### Other Changes
|
|
6
|
+
|
|
7
|
+
- First GA
|
|
8
|
+
|
|
9
|
+
## 1.0.0b2 (2026-03-16)
|
|
10
|
+
|
|
11
|
+
### Features Added
|
|
12
|
+
|
|
13
|
+
- Model `TrafficCollectorMgmtClient` added parameter `cloud_setting` in method `__init__`
|
|
14
|
+
- Client `TrafficCollectorMgmtClient` added method `send_request`
|
|
15
|
+
- Model `AzureTrafficCollector` added property `properties`
|
|
16
|
+
- Model `CollectorPolicy` added property `properties`
|
|
17
|
+
- Model `ProxyResource` added property `system_data`
|
|
18
|
+
- Model `SystemData` added property `last_modified_at`
|
|
19
|
+
- Added model `AzureTrafficCollectorPropertiesFormat`
|
|
20
|
+
- Added model `CloudError`
|
|
21
|
+
- Added model `CollectorPolicyPropertiesFormat`
|
|
22
|
+
- Added model `Resource`
|
|
23
|
+
|
|
24
|
+
### Breaking Changes
|
|
25
|
+
|
|
26
|
+
- This version introduces new hybrid models which have dual dictionary and model nature. Please follow https://aka.ms/azsdk/python/migrate/hybrid-models for migration.
|
|
27
|
+
- For the method breakings, please refer to https://aka.ms/azsdk/python/migrate/operations for migration.
|
|
28
|
+
- Model `AzureTrafficCollector` moved instance variable `collector_policies`, `virtual_hub` and `provisioning_state` under property `properties`
|
|
29
|
+
- Model `CollectorPolicy` moved instance variable `ingestion_policy`, `emission_policies` and `provisioning_state` under property `properties`
|
|
30
|
+
- Method `AzureTrafficCollectorsOperations.begin_create_or_update` moved its parameters `location`/`tags`/`virtual_hub` under property `parameters`
|
|
31
|
+
- Method `CollectorPoliciesOperations.begin_create_or_update` moved its parameters `location`/`tags`/`ingestion_policy`/`emission_policies` under property `parameters`
|
|
32
|
+
|
|
33
|
+
### Other Changes
|
|
34
|
+
|
|
35
|
+
- Deleted model `ApiVersionParameter`/`TrackedResource`/`TrackedResourceSystemData` which actually were not used by SDK users
|
|
36
|
+
|
|
37
|
+
## 1.0.0b1 (2022-11-18)
|
|
38
|
+
|
|
39
|
+
* Initial Release
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
Copyright (c) Microsoft Corporation.
|
|
2
|
+
|
|
3
|
+
MIT License
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: azure-mgmt-networkfunction
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: Microsoft Azure Networkfunction Management Client Library for Python
|
|
5
|
+
Author-email: Microsoft Corporation <azpysdkhelp@microsoft.com>
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: repository, https://github.com/Azure/azure-sdk-for-python
|
|
8
|
+
Keywords: azure,azure sdk
|
|
9
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
10
|
+
Classifier: Programming Language :: Python
|
|
11
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
18
|
+
Requires-Python: >=3.10
|
|
19
|
+
Description-Content-Type: text/markdown
|
|
20
|
+
License-File: LICENSE
|
|
21
|
+
Requires-Dist: isodate>=0.6.1
|
|
22
|
+
Requires-Dist: azure-mgmt-core>=1.6.0
|
|
23
|
+
Requires-Dist: typing-extensions>=4.6.0
|
|
24
|
+
Dynamic: license-file
|
|
25
|
+
|
|
26
|
+
# Microsoft Azure SDK for Python
|
|
27
|
+
|
|
28
|
+
This is the Microsoft Azure Networkfunction Management Client Library.
|
|
29
|
+
This package has been tested with Python 3.10+.
|
|
30
|
+
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).
|
|
31
|
+
|
|
32
|
+
## _Disclaimer_
|
|
33
|
+
|
|
34
|
+
_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_
|
|
35
|
+
|
|
36
|
+
## Getting started
|
|
37
|
+
|
|
38
|
+
### Prerequisites
|
|
39
|
+
|
|
40
|
+
- Python 3.10+ is required to use this package.
|
|
41
|
+
- [Azure subscription](https://azure.microsoft.com/free/)
|
|
42
|
+
|
|
43
|
+
### Install the package
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
pip install azure-mgmt-networkfunction
|
|
47
|
+
pip install azure-identity
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### Authentication
|
|
51
|
+
|
|
52
|
+
By default, [Microsoft Entra](https://learn.microsoft.com/entra/fundamentals/what-is-entra) token authentication depends on correct configuration of the following environment variables.
|
|
53
|
+
|
|
54
|
+
- `AZURE_CLIENT_ID` for Azure client ID.
|
|
55
|
+
- `AZURE_TENANT_ID` for Azure tenant ID.
|
|
56
|
+
- `AZURE_CLIENT_SECRET` for Azure client secret.
|
|
57
|
+
|
|
58
|
+
In addition, Azure subscription ID can be configured via environment variable `AZURE_SUBSCRIPTION_ID`.
|
|
59
|
+
|
|
60
|
+
With above configuration, client can be authenticated by following code:
|
|
61
|
+
|
|
62
|
+
```python
|
|
63
|
+
from azure.identity import DefaultAzureCredential
|
|
64
|
+
from azure.mgmt.networkfunction import TrafficCollectorMgmtClient
|
|
65
|
+
import os
|
|
66
|
+
|
|
67
|
+
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
|
|
68
|
+
client = TrafficCollectorMgmtClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
## Examples
|
|
72
|
+
|
|
73
|
+
Code samples for this package can be found at:
|
|
74
|
+
- [Search Networkfunction Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com
|
|
75
|
+
- [Azure Python Mgmt SDK Samples Repo](https://aka.ms/azsdk/python/mgmt/samples)
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
## Troubleshooting
|
|
79
|
+
|
|
80
|
+
## Next steps
|
|
81
|
+
|
|
82
|
+
## Provide Feedback
|
|
83
|
+
|
|
84
|
+
If you encounter any bugs or have suggestions, please file an issue in the
|
|
85
|
+
[Issues](https://github.com/Azure/azure-sdk-for-python/issues)
|
|
86
|
+
section of the project.
|
|
87
|
+
|
|
88
|
+
# Release History
|
|
89
|
+
|
|
90
|
+
## 1.0.0 (2026-06-30)
|
|
91
|
+
|
|
92
|
+
### Other Changes
|
|
93
|
+
|
|
94
|
+
- First GA
|
|
95
|
+
|
|
96
|
+
## 1.0.0b2 (2026-03-16)
|
|
97
|
+
|
|
98
|
+
### Features Added
|
|
99
|
+
|
|
100
|
+
- Model `TrafficCollectorMgmtClient` added parameter `cloud_setting` in method `__init__`
|
|
101
|
+
- Client `TrafficCollectorMgmtClient` added method `send_request`
|
|
102
|
+
- Model `AzureTrafficCollector` added property `properties`
|
|
103
|
+
- Model `CollectorPolicy` added property `properties`
|
|
104
|
+
- Model `ProxyResource` added property `system_data`
|
|
105
|
+
- Model `SystemData` added property `last_modified_at`
|
|
106
|
+
- Added model `AzureTrafficCollectorPropertiesFormat`
|
|
107
|
+
- Added model `CloudError`
|
|
108
|
+
- Added model `CollectorPolicyPropertiesFormat`
|
|
109
|
+
- Added model `Resource`
|
|
110
|
+
|
|
111
|
+
### Breaking Changes
|
|
112
|
+
|
|
113
|
+
- This version introduces new hybrid models which have dual dictionary and model nature. Please follow https://aka.ms/azsdk/python/migrate/hybrid-models for migration.
|
|
114
|
+
- For the method breakings, please refer to https://aka.ms/azsdk/python/migrate/operations for migration.
|
|
115
|
+
- Model `AzureTrafficCollector` moved instance variable `collector_policies`, `virtual_hub` and `provisioning_state` under property `properties`
|
|
116
|
+
- Model `CollectorPolicy` moved instance variable `ingestion_policy`, `emission_policies` and `provisioning_state` under property `properties`
|
|
117
|
+
- Method `AzureTrafficCollectorsOperations.begin_create_or_update` moved its parameters `location`/`tags`/`virtual_hub` under property `parameters`
|
|
118
|
+
- Method `CollectorPoliciesOperations.begin_create_or_update` moved its parameters `location`/`tags`/`ingestion_policy`/`emission_policies` under property `parameters`
|
|
119
|
+
|
|
120
|
+
### Other Changes
|
|
121
|
+
|
|
122
|
+
- Deleted model `ApiVersionParameter`/`TrackedResource`/`TrackedResourceSystemData` which actually were not used by SDK users
|
|
123
|
+
|
|
124
|
+
## 1.0.0b1 (2022-11-18)
|
|
125
|
+
|
|
126
|
+
* Initial Release
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Microsoft Azure SDK for Python
|
|
2
|
+
|
|
3
|
+
This is the Microsoft Azure Networkfunction Management Client Library.
|
|
4
|
+
This package has been tested with Python 3.10+.
|
|
5
|
+
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).
|
|
6
|
+
|
|
7
|
+
## _Disclaimer_
|
|
8
|
+
|
|
9
|
+
_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_
|
|
10
|
+
|
|
11
|
+
## Getting started
|
|
12
|
+
|
|
13
|
+
### Prerequisites
|
|
14
|
+
|
|
15
|
+
- Python 3.10+ is required to use this package.
|
|
16
|
+
- [Azure subscription](https://azure.microsoft.com/free/)
|
|
17
|
+
|
|
18
|
+
### Install the package
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
pip install azure-mgmt-networkfunction
|
|
22
|
+
pip install azure-identity
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
### Authentication
|
|
26
|
+
|
|
27
|
+
By default, [Microsoft Entra](https://learn.microsoft.com/entra/fundamentals/what-is-entra) token authentication depends on correct configuration of the following environment variables.
|
|
28
|
+
|
|
29
|
+
- `AZURE_CLIENT_ID` for Azure client ID.
|
|
30
|
+
- `AZURE_TENANT_ID` for Azure tenant ID.
|
|
31
|
+
- `AZURE_CLIENT_SECRET` for Azure client secret.
|
|
32
|
+
|
|
33
|
+
In addition, Azure subscription ID can be configured via environment variable `AZURE_SUBSCRIPTION_ID`.
|
|
34
|
+
|
|
35
|
+
With above configuration, client can be authenticated by following code:
|
|
36
|
+
|
|
37
|
+
```python
|
|
38
|
+
from azure.identity import DefaultAzureCredential
|
|
39
|
+
from azure.mgmt.networkfunction import TrafficCollectorMgmtClient
|
|
40
|
+
import os
|
|
41
|
+
|
|
42
|
+
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
|
|
43
|
+
client = TrafficCollectorMgmtClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Examples
|
|
47
|
+
|
|
48
|
+
Code samples for this package can be found at:
|
|
49
|
+
- [Search Networkfunction Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com
|
|
50
|
+
- [Azure Python Mgmt SDK Samples Repo](https://aka.ms/azsdk/python/mgmt/samples)
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
## Troubleshooting
|
|
54
|
+
|
|
55
|
+
## Next steps
|
|
56
|
+
|
|
57
|
+
## Provide Feedback
|
|
58
|
+
|
|
59
|
+
If you encounter any bugs or have suggestions, please file an issue in the
|
|
60
|
+
[Issues](https://github.com/Azure/azure-sdk-for-python/issues)
|
|
61
|
+
section of the project.
|