# Microsoft Azure SDK for Python
This is the Microsoft Azure Deviceregistry 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](https://aka.ms/azsdk/python/all).
## _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](https://azure.microsoft.com/free/)
### Install the package
```bash
pip install azure-mgmt-deviceregistry
pip install azure-identity
```
### Authentication
By default, [Azure Active Directory](https://aka.ms/awps/aad) 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:
```python
from azure.identity import DefaultAzureCredential
from azure.mgmt.deviceregistry import DeviceRegistryMgmtClient
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = DeviceRegistryMgmtClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
```
## Examples
Code samples for this package can be found at:
- [Search Deviceregistry 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
## Next steps
## Provide Feedback
If you encounter any bugs or have suggestions, please file an issue in the
[Issues](https://github.com/Azure/azure-sdk-for-python/issues)
section of the project.
# Release History
## 1.0.0b2 (2024-12-16)
### Features Added
- Client `DeviceRegistryMgmtClient` added method `send_request`
- Client `DeviceRegistryMgmtClient` added operation group `billing_containers`
- Client `DeviceRegistryMgmtClient` added operation group `discovered_assets`
- Client `DeviceRegistryMgmtClient` added operation group `discovered_asset_endpoint_profiles`
- Client `DeviceRegistryMgmtClient` added operation group `schema_registries`
- Client `DeviceRegistryMgmtClient` added operation group `schemas`
- Client `DeviceRegistryMgmtClient` added operation group `schema_versions`
- Model `AssetEndpointProfileProperties` added property `endpoint_profile_type`
- Model `AssetEndpointProfileProperties` added property `authentication`
- Model `AssetEndpointProfileProperties` added property `discovered_asset_endpoint_profile_ref`
- Model `AssetEndpointProfileProperties` added property `status`
- Model `AssetEndpointProfileUpdateProperties` added property `endpoint_profile_type`
- Model `AssetEndpointProfileUpdateProperties` added property `authentication`
- Model `AssetProperties` added property `asset_endpoint_profile_ref`
- Model `AssetProperties` added property `discovered_asset_refs`
- Model `AssetProperties` added property `default_datasets_configuration`
- Model `AssetProperties` added property `default_topic`
- Model `AssetProperties` added property `datasets`
- Model `AssetStatus` added property `datasets`
- Model `AssetStatus` added property `events`
- Model `AssetUpdateProperties` added property `default_datasets_configuration`
- Model `AssetUpdateProperties` added property `default_topic`
- Model `AssetUpdateProperties` added property `datasets`
- Model `Event` added property `topic`
- Enum `ProvisioningState` added member `DELETING`
- Added model `AssetEndpointProfileStatus`
- Added model `AssetEndpointProfileStatusError`
- Added model `AssetStatusDataset`
- Added model `AssetStatusEvent`
- Added model `Authentication`
- Added enum `AuthenticationMethod`
- Added model `BillingContainer`
- Added model `BillingContainerProperties`
- Added model `DataPointBase`
- Added enum `DataPointObservabilityMode`
- Added model `Dataset`
- Added model `DiscoveredAsset`
- Added model `DiscoveredAssetEndpointProfile`
- Added model `DiscoveredAssetEndpointProfileProperties`
- Added model `DiscoveredAssetEndpointProfileUpdate`
- Added model `DiscoveredAssetEndpointProfileUpdateProperties`
- Added model `DiscoveredAssetProperties`
- Added model `DiscoveredAssetUpdate`
- Added model `DiscoveredAssetUpdateProperties`
- Added model `DiscoveredDataPoint`
- Added model `DiscoveredDataset`
- Added model `DiscoveredEvent`
- Added model `EventBase`
- Added enum `EventObservabilityMode`
- Added enum `Format`
- Added model `MessageSchemaReference`
- Added model `ProxyResource`
- Added model `Schema`
- Added model `SchemaProperties`
- Added model `SchemaRegistry`
- Added model `SchemaRegistryProperties`
- Added model `SchemaRegistryUpdate`
- Added model `SchemaRegistryUpdateProperties`
- Added enum `SchemaType`
- Added model `SchemaVersion`
- Added model `SchemaVersionProperties`
- Added model `SystemAssignedServiceIdentity`
- Added enum `SystemAssignedServiceIdentityType`
- Added model `Topic`
- Added enum `TopicRetainType`
- Added operation group `BillingContainersOperations`
- Added operation group `DiscoveredAssetEndpointProfilesOperations`
- Added operation group `DiscoveredAssetsOperations`
- Added operation group `SchemaRegistriesOperations`
- Added operation group `SchemaVersionsOperations`
- Added operation group `SchemasOperations`
### Breaking Changes
- Model `Asset` deleted or renamed its instance variable `additional_properties`
- Model `AssetEndpointProfile` deleted or renamed its instance variable `additional_properties`
- Model `AssetEndpointProfileProperties` deleted or renamed its instance variable `user_authentication`
- Model `AssetEndpointProfileProperties` deleted or renamed its instance variable `transport_authentication`
- Model `AssetEndpointProfileProperties` deleted or renamed its instance variable `additional_properties`
- Model `AssetEndpointProfileUpdate` deleted or renamed its instance variable `additional_properties`
- Model `AssetEndpointProfileUpdateProperties` deleted or renamed its instance variable `user_authentication`
- Model `AssetEndpointProfileUpdateProperties` deleted or renamed its instance variable `transport_authentication`
- Model `AssetEndpointProfileUpdateProperties` deleted or renamed its instance variable `additional_properties`
- Model `AssetProperties` deleted or renamed its instance variable `asset_type`
- Model `AssetProperties` deleted or renamed its instance variable `asset_endpoint_profile_uri`
- Model `AssetProperties` deleted or renamed its instance variable `default_data_points_configuration`
- Model `AssetProperties` deleted or renamed its instance variable `data_points`
- Model `AssetProperties` deleted or renamed its instance variable `additional_properties`
- Model `AssetStatus` deleted or renamed its instance variable `additional_properties`
- Model `AssetStatusError` deleted or renamed its instance variable `additional_properties`
- Model `AssetUpdate` deleted or renamed its instance variable `additional_properties`
- Model `AssetUpdateProperties` deleted or renamed its instance variable `asset_type`
- Model `AssetUpdateProperties` deleted or renamed its instance variable `default_data_points_configuration`
- Model `AssetUpdateProperties` deleted or renamed its instance variable `data_points`
- Model `AssetUpdateProperties` deleted or renamed its instance variable `additional_properties`
- Model `DataPoint` deleted or renamed its instance variable `capability_id`
- Model `DataPoint` deleted or renamed its instance variable `additional_properties`
- Model `ErrorAdditionalInfo` deleted or renamed its instance variable `additional_properties`
- Model `ErrorDetail` deleted or renamed its instance variable `additional_properties`
- Model `ErrorResponse` deleted or renamed its instance variable `additional_properties`
- Model `Event` deleted or renamed its instance variable `capability_id`
- Model `Event` deleted or renamed its instance variable `additional_properties`
- Model `ExtendedLocation` deleted or renamed its instance variable `additional_properties`
- Model `Operation` deleted or renamed its instance variable `additional_properties`
- Model `OperationDisplay` deleted or renamed its instance variable `additional_properties`
- Model `OperationStatusResult` deleted or renamed its instance variable `additional_properties`
- Model `Resource` deleted or renamed its instance variable `additional_properties`
- Model `SystemData` deleted or renamed its instance variable `additional_properties`
- Model `TrackedResource` deleted or renamed its instance variable `additional_properties`
- Model `UsernamePasswordCredentials` deleted or renamed its instance variable `username_reference`
- Model `UsernamePasswordCredentials` deleted or renamed its instance variable `password_reference`
- Model `UsernamePasswordCredentials` deleted or renamed its instance variable `additional_properties`
- Model `X509Credentials` deleted or renamed its instance variable `certificate_reference`
- Model `X509Credentials` deleted or renamed its instance variable `additional_properties`
- Deleted or renamed model `DataPointsObservabilityMode`
- Deleted or renamed model `EventsObservabilityMode`
- Deleted or renamed model `OwnCertificate`
- Deleted or renamed model `TransportAuthentication`
- Deleted or renamed model `TransportAuthenticationUpdate`
- Deleted or renamed model `UserAuthentication`
- Deleted or renamed model `UserAuthenticationMode`
- Deleted or renamed model `UserAuthenticationUpdate`
- Deleted or renamed model `UsernamePasswordCredentialsUpdate`
- Deleted or renamed model `X509CredentialsUpdate`
## 1.0.0b1 (2024-04-22)
* Initial Release
Raw data
{
"_id": null,
"home_page": "https://github.com/Azure/azure-sdk-for-python",
"name": "azure-mgmt-deviceregistry",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "azure, azure sdk",
"author": "Microsoft Corporation",
"author_email": "azpysdkhelp@microsoft.com",
"download_url": "https://files.pythonhosted.org/packages/73/65/87ed3815238b6533f71676f54a9b56c2759b5d9144567bf080687077ca45/azure_mgmt_deviceregistry-1.0.0b2.tar.gz",
"platform": null,
"description": "# Microsoft Azure SDK for Python\n\nThis is the Microsoft Azure Deviceregistry Management Client Library.\nThis package has been tested with Python 3.8+.\nFor a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).\n\n## _Disclaimer_\n\n_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_\n\n## Getting started\n\n### Prerequisites\n\n- Python 3.8+ is required to use this package.\n- [Azure subscription](https://azure.microsoft.com/free/)\n\n### Install the package\n\n```bash\npip install azure-mgmt-deviceregistry\npip install azure-identity\n```\n\n### Authentication\n\nBy default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of following environment variables.\n\n- `AZURE_CLIENT_ID` for Azure client ID.\n- `AZURE_TENANT_ID` for Azure tenant ID.\n- `AZURE_CLIENT_SECRET` for Azure client secret.\n\nIn addition, Azure subscription ID can be configured via environment variable `AZURE_SUBSCRIPTION_ID`.\n\nWith above configuration, client can be authenticated by following code:\n\n```python\nfrom azure.identity import DefaultAzureCredential\nfrom azure.mgmt.deviceregistry import DeviceRegistryMgmtClient\nimport os\n\nsub_id = os.getenv(\"AZURE_SUBSCRIPTION_ID\")\nclient = DeviceRegistryMgmtClient(credential=DefaultAzureCredential(), subscription_id=sub_id)\n```\n\n## Examples\n\nCode samples for this package can be found at:\n- [Search Deviceregistry Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com\n- [Azure Python Mgmt SDK Samples Repo](https://aka.ms/azsdk/python/mgmt/samples)\n\n\n## Troubleshooting\n\n## Next steps\n\n## Provide Feedback\n\nIf you encounter any bugs or have suggestions, please file an issue in the\n[Issues](https://github.com/Azure/azure-sdk-for-python/issues)\nsection of the project. \n\n\n# Release History\n\n## 1.0.0b2 (2024-12-16)\n\n### Features Added\n\n - Client `DeviceRegistryMgmtClient` added method `send_request`\n - Client `DeviceRegistryMgmtClient` added operation group `billing_containers`\n - Client `DeviceRegistryMgmtClient` added operation group `discovered_assets`\n - Client `DeviceRegistryMgmtClient` added operation group `discovered_asset_endpoint_profiles`\n - Client `DeviceRegistryMgmtClient` added operation group `schema_registries`\n - Client `DeviceRegistryMgmtClient` added operation group `schemas`\n - Client `DeviceRegistryMgmtClient` added operation group `schema_versions`\n - Model `AssetEndpointProfileProperties` added property `endpoint_profile_type`\n - Model `AssetEndpointProfileProperties` added property `authentication`\n - Model `AssetEndpointProfileProperties` added property `discovered_asset_endpoint_profile_ref`\n - Model `AssetEndpointProfileProperties` added property `status`\n - Model `AssetEndpointProfileUpdateProperties` added property `endpoint_profile_type`\n - Model `AssetEndpointProfileUpdateProperties` added property `authentication`\n - Model `AssetProperties` added property `asset_endpoint_profile_ref`\n - Model `AssetProperties` added property `discovered_asset_refs`\n - Model `AssetProperties` added property `default_datasets_configuration`\n - Model `AssetProperties` added property `default_topic`\n - Model `AssetProperties` added property `datasets`\n - Model `AssetStatus` added property `datasets`\n - Model `AssetStatus` added property `events`\n - Model `AssetUpdateProperties` added property `default_datasets_configuration`\n - Model `AssetUpdateProperties` added property `default_topic`\n - Model `AssetUpdateProperties` added property `datasets`\n - Model `Event` added property `topic`\n - Enum `ProvisioningState` added member `DELETING`\n - Added model `AssetEndpointProfileStatus`\n - Added model `AssetEndpointProfileStatusError`\n - Added model `AssetStatusDataset`\n - Added model `AssetStatusEvent`\n - Added model `Authentication`\n - Added enum `AuthenticationMethod`\n - Added model `BillingContainer`\n - Added model `BillingContainerProperties`\n - Added model `DataPointBase`\n - Added enum `DataPointObservabilityMode`\n - Added model `Dataset`\n - Added model `DiscoveredAsset`\n - Added model `DiscoveredAssetEndpointProfile`\n - Added model `DiscoveredAssetEndpointProfileProperties`\n - Added model `DiscoveredAssetEndpointProfileUpdate`\n - Added model `DiscoveredAssetEndpointProfileUpdateProperties`\n - Added model `DiscoveredAssetProperties`\n - Added model `DiscoveredAssetUpdate`\n - Added model `DiscoveredAssetUpdateProperties`\n - Added model `DiscoveredDataPoint`\n - Added model `DiscoveredDataset`\n - Added model `DiscoveredEvent`\n - Added model `EventBase`\n - Added enum `EventObservabilityMode`\n - Added enum `Format`\n - Added model `MessageSchemaReference`\n - Added model `ProxyResource`\n - Added model `Schema`\n - Added model `SchemaProperties`\n - Added model `SchemaRegistry`\n - Added model `SchemaRegistryProperties`\n - Added model `SchemaRegistryUpdate`\n - Added model `SchemaRegistryUpdateProperties`\n - Added enum `SchemaType`\n - Added model `SchemaVersion`\n - Added model `SchemaVersionProperties`\n - Added model `SystemAssignedServiceIdentity`\n - Added enum `SystemAssignedServiceIdentityType`\n - Added model `Topic`\n - Added enum `TopicRetainType`\n - Added operation group `BillingContainersOperations`\n - Added operation group `DiscoveredAssetEndpointProfilesOperations`\n - Added operation group `DiscoveredAssetsOperations`\n - Added operation group `SchemaRegistriesOperations`\n - Added operation group `SchemaVersionsOperations`\n - Added operation group `SchemasOperations`\n\n### Breaking Changes\n\n - Model `Asset` deleted or renamed its instance variable `additional_properties`\n - Model `AssetEndpointProfile` deleted or renamed its instance variable `additional_properties`\n - Model `AssetEndpointProfileProperties` deleted or renamed its instance variable `user_authentication`\n - Model `AssetEndpointProfileProperties` deleted or renamed its instance variable `transport_authentication`\n - Model `AssetEndpointProfileProperties` deleted or renamed its instance variable `additional_properties`\n - Model `AssetEndpointProfileUpdate` deleted or renamed its instance variable `additional_properties`\n - Model `AssetEndpointProfileUpdateProperties` deleted or renamed its instance variable `user_authentication`\n - Model `AssetEndpointProfileUpdateProperties` deleted or renamed its instance variable `transport_authentication`\n - Model `AssetEndpointProfileUpdateProperties` deleted or renamed its instance variable `additional_properties`\n - Model `AssetProperties` deleted or renamed its instance variable `asset_type`\n - Model `AssetProperties` deleted or renamed its instance variable `asset_endpoint_profile_uri`\n - Model `AssetProperties` deleted or renamed its instance variable `default_data_points_configuration`\n - Model `AssetProperties` deleted or renamed its instance variable `data_points`\n - Model `AssetProperties` deleted or renamed its instance variable `additional_properties`\n - Model `AssetStatus` deleted or renamed its instance variable `additional_properties`\n - Model `AssetStatusError` deleted or renamed its instance variable `additional_properties`\n - Model `AssetUpdate` deleted or renamed its instance variable `additional_properties`\n - Model `AssetUpdateProperties` deleted or renamed its instance variable `asset_type`\n - Model `AssetUpdateProperties` deleted or renamed its instance variable `default_data_points_configuration`\n - Model `AssetUpdateProperties` deleted or renamed its instance variable `data_points`\n - Model `AssetUpdateProperties` deleted or renamed its instance variable `additional_properties`\n - Model `DataPoint` deleted or renamed its instance variable `capability_id`\n - Model `DataPoint` deleted or renamed its instance variable `additional_properties`\n - Model `ErrorAdditionalInfo` deleted or renamed its instance variable `additional_properties`\n - Model `ErrorDetail` deleted or renamed its instance variable `additional_properties`\n - Model `ErrorResponse` deleted or renamed its instance variable `additional_properties`\n - Model `Event` deleted or renamed its instance variable `capability_id`\n - Model `Event` deleted or renamed its instance variable `additional_properties`\n - Model `ExtendedLocation` deleted or renamed its instance variable `additional_properties`\n - Model `Operation` deleted or renamed its instance variable `additional_properties`\n - Model `OperationDisplay` deleted or renamed its instance variable `additional_properties`\n - Model `OperationStatusResult` deleted or renamed its instance variable `additional_properties`\n - Model `Resource` deleted or renamed its instance variable `additional_properties`\n - Model `SystemData` deleted or renamed its instance variable `additional_properties`\n - Model `TrackedResource` deleted or renamed its instance variable `additional_properties`\n - Model `UsernamePasswordCredentials` deleted or renamed its instance variable `username_reference`\n - Model `UsernamePasswordCredentials` deleted or renamed its instance variable `password_reference`\n - Model `UsernamePasswordCredentials` deleted or renamed its instance variable `additional_properties`\n - Model `X509Credentials` deleted or renamed its instance variable `certificate_reference`\n - Model `X509Credentials` deleted or renamed its instance variable `additional_properties`\n - Deleted or renamed model `DataPointsObservabilityMode`\n - Deleted or renamed model `EventsObservabilityMode`\n - Deleted or renamed model `OwnCertificate`\n - Deleted or renamed model `TransportAuthentication`\n - Deleted or renamed model `TransportAuthenticationUpdate`\n - Deleted or renamed model `UserAuthentication`\n - Deleted or renamed model `UserAuthenticationMode`\n - Deleted or renamed model `UserAuthenticationUpdate`\n - Deleted or renamed model `UsernamePasswordCredentialsUpdate`\n - Deleted or renamed model `X509CredentialsUpdate`\n\n## 1.0.0b1 (2024-04-22)\n\n* Initial Release\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "Microsoft Azure Deviceregistry Management Client Library for Python",
"version": "1.0.0b2",
"project_urls": {
"Homepage": "https://github.com/Azure/azure-sdk-for-python"
},
"split_keywords": [
"azure",
" azure sdk"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "a406f419f9450f4df9f46b4b233f494a11bda908d628112161b2eb17bc1599e7",
"md5": "8726efebfffb7e5608da97b047d6ae92",
"sha256": "80ed1f18009dc6aa5529ac7af35382f6a0cb78f009c218ba4e0375ec4b230b5b"
},
"downloads": -1,
"filename": "azure_mgmt_deviceregistry-1.0.0b2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8726efebfffb7e5608da97b047d6ae92",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 91374,
"upload_time": "2024-12-23T01:48:48",
"upload_time_iso_8601": "2024-12-23T01:48:48.894432Z",
"url": "https://files.pythonhosted.org/packages/a4/06/f419f9450f4df9f46b4b233f494a11bda908d628112161b2eb17bc1599e7/azure_mgmt_deviceregistry-1.0.0b2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "736587ed3815238b6533f71676f54a9b56c2759b5d9144567bf080687077ca45",
"md5": "5dbde95513ed0cf4d519bde1f96bb01f",
"sha256": "70230804f38dfe3ebabde6988cd11f03caa03f2aa432b3a65ab257e834fa53bc"
},
"downloads": -1,
"filename": "azure_mgmt_deviceregistry-1.0.0b2.tar.gz",
"has_sig": false,
"md5_digest": "5dbde95513ed0cf4d519bde1f96bb01f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 85958,
"upload_time": "2024-12-23T01:48:46",
"upload_time_iso_8601": "2024-12-23T01:48:46.590139Z",
"url": "https://files.pythonhosted.org/packages/73/65/87ed3815238b6533f71676f54a9b56c2759b5d9144567bf080687077ca45/azure_mgmt_deviceregistry-1.0.0b2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-23 01:48:46",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Azure",
"github_project": "azure-sdk-for-python",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"lcname": "azure-mgmt-deviceregistry"
}