Microsoft Azure Apicenter Management Client Library for Python
Project description
Microsoft Azure SDK for Python
This is the Microsoft Azure Apicenter Management Client Library. This package has been tested with Python 3.8+. For a more complete view of Azure libraries, see the azure sdk python release.
Disclaimer
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
Getting started
Prerequisites
- Python 3.8+ is required to use this package.
- Azure subscription
Install the package
pip install azure-mgmt-apicenter
pip install azure-identity
Authentication
By default, Azure Active Directory token authentication depends on correct configure of following environment variables.
AZURE_CLIENT_ID
for Azure client ID.AZURE_TENANT_ID
for Azure tenant ID.AZURE_CLIENT_SECRET
for Azure client secret.
In addition, Azure subscription ID can be configured via environment variable AZURE_SUBSCRIPTION_ID
.
With above configuration, client can be authenticated by following code:
from azure.identity import DefaultAzureCredential
from azure.mgmt.apicenter import ApiCenterMgmtClient
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = ApiCenterMgmtClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
Examples
Code samples for this package can be found at:
- Search Apicenter Management on docs.microsoft.com
- Azure Python Mgmt SDK Samples Repo
Troubleshooting
Next steps
Provide Feedback
If you encounter any bugs or have suggestions, please file an issue in the Issues section of the project.
Release History
1.0.0 (2024-02-19)
Features Added
- Added operation ServicesOperations.begin_export_metadata_schema
- Added operation group ApiDefinitionsOperations
- Added operation group ApiVersionsOperations
- Added operation group ApisOperations
- Added operation group DeploymentsOperations
- Added operation group EnvironmentsOperations
- Added operation group MetadataSchemasOperations
- Added operation group WorkspacesOperations
- Model Service has a new parameter properties
- Model ServiceUpdate has a new parameter identity
- Model ServiceUpdate has a new parameter tags
Breaking Changes
- Model Service no longer has parameter provisioning_state
- Model ServiceUpdate no longer has parameter provisioning_state
- Operation ServicesOperations.update has a new required parameter properties
- Operation ServicesOperations.update no longer has parameter parameters
1.0.0b1 (2023-08-25)
- Initial Release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file azure-mgmt-apicenter-1.0.0.tar.gz
.
File metadata
- Download URL: azure-mgmt-apicenter-1.0.0.tar.gz
- Upload date:
- Size: 75.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: RestSharp/106.13.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18476f1191e5308abdd47ef50ac95128019a8c010f220fd840956f76849b99b1 |
|
MD5 | c08a7dbc8db3dfc7cb0119d07610afe2 |
|
BLAKE2b-256 | dbcdcaa6f5885298c0ea95b9968b8dcfd2702550dd469df5c8e124d22e45a93d |
File details
Details for the file azure_mgmt_apicenter-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: azure_mgmt_apicenter-1.0.0-py3-none-any.whl
- Upload date:
- Size: 113.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: RestSharp/106.13.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba813923606f7461ef95afd4973ab7ada461d5253abf49ab245f2f7eae1fcc88 |
|
MD5 | 8741a37eeceefa951f5df04ff3ff8dda |
|
BLAKE2b-256 | b97af1d276dff31149e6ff77fe7bfb8f5592b33940271f561a324cea2f4fdacd |