Microsoft Azure Edge Order Management Client Library for Python
Project description
Microsoft Azure SDK for Python
This is the Microsoft Azure Edge Order 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-edgeorder
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.edgeorder import EdgeOrderManagementClient
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = EdgeOrderManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
Examples
Code samples for this package can be found at:
- Search Edge Order 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
2.0.0 (2024-10-30)
Breaking Changes
- 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 ingore this change.
2.0.0b1 (2023-02-13)
Features Added
- Added operation group AddressesOperations
- Added operation group Operations
- Added operation group OrderItemsOperations
- Added operation group OrdersOperations
- Added operation group ProductsAndConfigurationsOperations
- Model BasicInformation has a new parameter fulfilled_by
- Model CommonProperties has a new parameter fulfilled_by
- Model Configuration has a new parameter child_configuration_types
- Model Configuration has a new parameter fulfilled_by
- Model Configuration has a new parameter grouped_child_configurations
- Model ConfigurationProperties has a new parameter child_configuration_types
- Model ConfigurationProperties has a new parameter fulfilled_by
- Model ConfigurationProperties has a new parameter grouped_child_configurations
- Model ConfigurationsRequest has a new parameter configuration_filter
- Model OrderItemDetails has a new parameter order_item_mode
- Model OrderResource has a new parameter order_mode
- Model Product has a new parameter fulfilled_by
- Model ProductDetails has a new parameter child_configuration_device_details
- Model ProductDetails has a new parameter identification_type
- Model ProductDetails has a new parameter opt_in_additional_configurations
- Model ProductDetails has a new parameter parent_device_details
- Model ProductFamiliesMetadataDetails has a new parameter fulfilled_by
- Model ProductFamily has a new parameter fulfilled_by
- Model ProductFamilyProperties has a new parameter fulfilled_by
- Model ProductLine has a new parameter fulfilled_by
- Model ProductLineProperties has a new parameter fulfilled_by
- Model ProductProperties has a new parameter fulfilled_by
Breaking Changes
- Model ConfigurationsRequest no longer has parameter configuration_filters
- Model OrderItemDetails no longer has parameter management_rp_details
- Model ProductDetails no longer has parameter count
- Model ProductDetails no longer has parameter device_details
1.0.0 (2021-12-23)
Features
- Model OrderItemDetails has a new parameter management_rp_details_list
- Model ReturnOrderItemDetails has a new parameter shipping_box_required
- Model ReturnOrderItemDetails has a new parameter service_tag
- Model AddressResource has a new parameter address_validation_status
- Model DeviceDetails has a new parameter management_resource_tenant_id
- Model ProductFamily has a new parameter resource_provider_details
- Model ProductFamilyProperties has a new parameter resource_provider_details
- Model ProductFamiliesMetadataDetails has a new parameter resource_provider_details
- Model ProductDetails has a new parameter product_double_encryption_status
- Model AddressProperties has a new parameter address_validation_status
Breaking changes
- Operation EdgeOrderManagementClientOperationsMixin.list_order_items_at_subscription_level has a new signature
1.0.0b1 (2021-07-27)
- 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
Hashes for azure_mgmt_edgeorder-2.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 238e5e0a0f074abba4a680c0ab2ee2b9ade7e0822a4c5f702e60a6a20a0c466c |
|
MD5 | 1a745516ddc050596d7d03d360bb3929 |
|
BLAKE2b-256 | 5699fa584bf305bbfb6392b486091e40f211e56d0641f1b7298b7ab39c321409 |
Hashes for azure_mgmt_edgeorder-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73829f07cbee57e768280b66696464c7b6bcd30c910a6ef20653648cce55a85c |
|
MD5 | 89544b3c70d21c8c918a05cdd3a9acfe |
|
BLAKE2b-256 | a69d6b158c1ffb27b4ac91966b2aa6e606e1a30cf668d7bec5c7c910efcffe9f |