azure-mgmt-deviceregistry 1.1.0
Microsoft Azure Deviceregistry Management Client Library for Python
Requires Python: >=3.9
Keywords: azure, azure sdk

# 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.1.0 (2025-10-23)

### Features Added

  - Model `DeviceRegistryMgmtClient` added parameter `cloud_setting` in method `__init__`
  - Client `DeviceRegistryMgmtClient` added operation group `namespaces`
  - Client `DeviceRegistryMgmtClient` added operation group `namespace_assets`
  - Client `DeviceRegistryMgmtClient` added operation group `namespace_devices`
  - Client `DeviceRegistryMgmtClient` added operation group `namespace_discovered_assets`
  - Client `DeviceRegistryMgmtClient` added operation group `namespace_discovered_devices`
  - Client `DeviceRegistryMgmtClient` added operation group `schema_registries`
  - Client `DeviceRegistryMgmtClient` added operation group `schemas`
  - Client `DeviceRegistryMgmtClient` added operation group `schema_versions`
  - Added model `BrokerStateStoreDestinationConfiguration`
  - Added model `DatasetBrokerStateStoreDestination`
  - Added model `DatasetDestination`
  - Added enum `DatasetDestinationTarget`
  - Added model `DatasetMqttDestination`
  - Added model `DatasetStorageDestination`
  - Added model `DeviceMessagingEndpoint`
  - Added model `DeviceRef`
  - Added model `DeviceStatus`
  - Added model `DeviceStatusEndpoint`
  - Added model `DeviceStatusEndpoints`
  - Added model `DiscoveredInboundEndpoints`
  - Added model `DiscoveredMessagingEndpoints`
  - Added model `DiscoveredOutboundEndpoints`
  - Added model `ErrorDetails`
  - Added model `EventDestination`
  - Added enum `EventDestinationTarget`
  - Added model `EventMqttDestination`
  - Added model `EventStorageDestination`
  - Added enum `Format`
  - Added model `HostAuthentication`
  - Added model `InboundEndpoints`
  - Added model `ManagementAction`
  - Added enum `ManagementActionType`
  - Added model `ManagementGroup`
  - Added model `Messaging`
  - Added model `MessagingEndpoint`
  - Added model `MessagingEndpoints`
  - Added model `MqttDestinationConfiguration`
  - Added enum `MqttDestinationQos`
  - Added model `Namespace`
  - Added model `NamespaceAsset`
  - Added model `NamespaceAssetProperties`
  - Added model `NamespaceAssetStatus`
  - Added model `NamespaceAssetStatusDataset`
  - Added model `NamespaceAssetStatusEvent`
  - Added model `NamespaceAssetStatusEventGroup`
  - Added model `NamespaceAssetStatusManagementAction`
  - Added model `NamespaceAssetStatusManagementGroup`
  - Added model `NamespaceAssetStatusStream`
  - Added model `NamespaceAssetUpdate`
  - Added model `NamespaceAssetUpdateProperties`
  - Added model `NamespaceDataset`
  - Added model `NamespaceDatasetDataPoint`
  - Added model `NamespaceDevice`
  - Added model `NamespaceDeviceProperties`
  - Added model `NamespaceDeviceUpdate`
  - Added model `NamespaceDeviceUpdateProperties`
  - Added model `NamespaceDiscoveredAsset`
  - Added model `NamespaceDiscoveredAssetProperties`
  - Added model `NamespaceDiscoveredAssetUpdate`
  - Added model `NamespaceDiscoveredAssetUpdateProperties`
  - Added model `NamespaceDiscoveredDataset`
  - Added model `NamespaceDiscoveredDatasetDataPoint`
  - Added model `NamespaceDiscoveredDevice`
  - Added model `NamespaceDiscoveredDeviceProperties`
  - Added model `NamespaceDiscoveredDeviceUpdate`
  - Added model `NamespaceDiscoveredDeviceUpdateProperties`
  - Added model `NamespaceDiscoveredEvent`
  - Added model `NamespaceDiscoveredEventGroup`
  - Added model `NamespaceDiscoveredManagementAction`
  - Added enum `NamespaceDiscoveredManagementActionType`
  - Added model `NamespaceDiscoveredManagementGroup`
  - Added model `NamespaceDiscoveredStream`
  - Added model `NamespaceEvent`
  - Added model `NamespaceEventGroup`
  - Added model `NamespaceMessageSchemaReference`
  - Added model `NamespaceMigrateRequest`
  - Added model `NamespaceProperties`
  - Added model `NamespaceStream`
  - Added model `NamespaceUpdate`
  - Added model `NamespaceUpdateProperties`
  - Added model `OutboundEndpoints`
  - 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 enum `Scope`
  - Added model `StatusConfig`
  - Added model `StatusError`
  - Added model `StorageDestinationConfiguration`
  - Added model `StreamDestination`
  - Added enum `StreamDestinationTarget`
  - Added model `StreamMqttDestination`
  - Added model `StreamStorageDestination`
  - Added model `SystemAssignedServiceIdentity`
  - Added enum `SystemAssignedServiceIdentityType`
  - Added model `TrustSettings`
  - Added model `X509CertificateCredentials`
  - Added operation group `NamespaceAssetsOperations`
  - Added operation group `NamespaceDevicesOperations`
  - Added operation group `NamespaceDiscoveredAssetsOperations`
  - Added operation group `NamespaceDiscoveredDevicesOperations`
  - Added operation group `NamespacesOperations`
  - Added operation group `SchemaRegistriesOperations`
  - Added operation group `SchemaVersionsOperations`
  - Added operation group `SchemasOperations`

## 1.0.0 (2025-02-26)

### Features Added

  - Model `OperationStatusResult` added property `resource_id`

### Breaking Changes

  - Deleted or renamed client operation group `DeviceRegistryMgmtClient.discovered_assets`
  - Deleted or renamed client operation group `DeviceRegistryMgmtClient.discovered_asset_endpoint_profiles`
  - Deleted or renamed client operation group `DeviceRegistryMgmtClient.schema_registries`
  - Deleted or renamed client operation group `DeviceRegistryMgmtClient.schemas`
  - Deleted or renamed client operation group `DeviceRegistryMgmtClient.schema_versions`
  - Deleted or renamed model `DiscoveredAsset`
  - Deleted or renamed model `DiscoveredAssetEndpointProfile`
  - Deleted or renamed model `DiscoveredAssetEndpointProfileProperties`
  - Deleted or renamed model `DiscoveredAssetEndpointProfileUpdate`
  - Deleted or renamed model `DiscoveredAssetEndpointProfileUpdateProperties`
  - Deleted or renamed model `DiscoveredAssetProperties`
  - Deleted or renamed model `DiscoveredAssetUpdate`
  - Deleted or renamed model `DiscoveredAssetUpdateProperties`
  - Deleted or renamed model `DiscoveredDataPoint`
  - Deleted or renamed model `DiscoveredDataset`
  - Deleted or renamed model `DiscoveredEvent`
  - Deleted or renamed model `Format`
  - Deleted or renamed model `Schema`
  - Deleted or renamed model `SchemaProperties`
  - Deleted or renamed model `SchemaRegistry`
  - Deleted or renamed model `SchemaRegistryProperties`
  - Deleted or renamed model `SchemaRegistryUpdate`
  - Deleted or renamed model `SchemaRegistryUpdateProperties`
  - Deleted or renamed model `SchemaType`
  - Deleted or renamed model `SchemaVersion`
  - Deleted or renamed model `SchemaVersionProperties`
  - Deleted or renamed model `SystemAssignedServiceIdentity`
  - Deleted or renamed model `SystemAssignedServiceIdentityType`
  - Deleted or renamed operation group `DiscoveredAssetEndpointProfilesOperations`
  - Deleted or renamed operation group `DiscoveredAssetsOperations`
  - Deleted or renamed operation group `SchemaRegistriesOperations`
  - Deleted or renamed operation group `SchemaVersionsOperations`
  - Deleted or renamed operation group `SchemasOperations`

## 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