Microsoft Azure SDK for Python
This is the Microsoft Azure Purview Management Client Library. This package has been tested with Python 3.10+. 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.10+ is required to use this package.
- Azure subscription
Install the package
pip install azure-mgmt-purview
pip install azure-identity
Authentication
By default, Azure Active Directory token authentication depends on correct configuration of the following environment variables.
AZURE_CLIENT_IDfor Azure client ID.AZURE_TENANT_IDfor Azure tenant ID.AZURE_CLIENT_SECRETfor 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.purview import PurviewManagementClient
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = PurviewManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
Examples
Code samples for this package can be found at:
- Search Purview 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.1 (2026-05-19)
Other Changes
- Regenerated with latest code generator tool
1.1.0b2 (2026-04-01)
Features Added
- Client
PurviewManagementClientadded parametercloud_settingin method__init__ - Client
PurviewManagementClientadded methodsend_request - Client
PurviewManagementClientadded operation groupkafka_configurations - Client
PurviewManagementClientadded operation groupfeatures - Client
PurviewManagementClientadded operation groupingestion_private_endpoint_connections - Client
PurviewManagementClientadded operation groupusages - Model
Accountadded propertyproperties - Model
AccountPropertiesadded propertyaccount_status - Model
AccountPropertiesadded propertydefault_domain - Model
AccountPropertiesadded propertyingestion_storage - Model
AccountPropertiesadded propertymanaged_event_hub_state - Model
AccountPropertiesadded propertymanaged_resources_public_network_access - Model
AccountPropertiesadded propertymerge_info - Model
AccountPropertiesadded propertytenant_endpoint_state - Model
PrivateEndpointConnectionadded propertysystem_data - Model
PrivateLinkResourceadded propertysystem_data - Model
ProxyResourceadded propertysystem_data - Added model
AccountMergeInfo - Added model
AccountPropertiesAccountStatus - Added enum
AccountProvisioningState - Added enum
AccountSkuName - Added model
AccountStatus - Added model
AccountStatusErrorDetails - Added model
BatchFeatureRequest - Added model
BatchFeatureStatus - Added model
Credentials - Added enum
EventHubType - Added enum
EventStreamingState - Added enum
EventStreamingType - Added model
IngestionStorage - Added model
KafkaConfiguration - Added enum
KafkaConfigurationIdentityType - Added model
KafkaConfigurationProperties - Added enum
ManagedEventHubState - Added enum
ManagedIdentityType - Added enum
MergeAccountType - Added enum
MergeStatus - Added enum
PrivateEndpointConnectionStatus - Added model
PrivateEndpointConnectionStatusUpdateRequest - Added model
PrivateEndpointConnectionStatusUpdateResponse - Added model
QuotaName - Added model
Resource - Added enum
TenantEndpointState - Added model
Usage - Added model
UsageList - Added model
UsageName - Added operation group
FeaturesOperations - Added operation group
IngestionPrivateEndpointConnectionsOperations - Added operation group
KafkaConfigurationsOperations - Added operation group
UsagesOperations
Breaking Changes
- 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.
- For the method breakings, please refer to https://aka.ms/azsdk/python/migrate/operations for migration.
- Model
Accountmoved instance variablecloud_connectors,created_at,created_by,created_by_object_id,endpoints,friendly_name,managed_resource_group_name,managed_resources,private_endpoint_connections,provisioning_stateandpublic_network_accessunder propertyproperties - Model
AccountEndpointsdeleted or renamed its instance variableguardian - Model
AccountPropertiesEndpointsdeleted or renamed its instance variableguardian - Deleted or renamed model
LastModifiedByType - Deleted or renamed model
Name - Deleted or renamed model
Status - Deleted or renamed model
TrackedResource - Deleted or renamed model
TrackedResourceSystemData - Deleted or renamed model
Type - Method
AccountsOperations.list_by_resource_groupchanged its parameterskip_tokenfrompositional_or_keywordtokeyword_only - Method
AccountsOperations.list_by_subscriptionchanged its parameterskip_tokenfrompositional_or_keywordtokeyword_only - Method
DefaultAccountsOperations.getchanged its parameterscope_tenant_id/scope_type/scopefrompositional_or_keywordtokeyword_only - Method
DefaultAccountsOperations.removechanged its parameterscope_tenant_id/scope_type/scopefrompositional_or_keywordtokeyword_only - Method
PrivateEndpointConnectionsOperations.list_by_accountchanged its parameterskip_tokenfrompositional_or_keywordtokeyword_only
Other Changes
- Deleted model
AccountList/AccountSkuAutoGenerated/OperationList/PrivateEndpointConnectionList/PrivateLinkResourceListwhich actually were not used by SDK users
1.1.0b1 (2022-11-07)
Features Added
- Model AccountUpdateParameters has a new parameter identity
- Model Identity has a new parameter user_assigned_identities
1.0.0 (2021-08-13)
Features
- Model Account has a new parameter managed_resource_group_name
- Model Account has a new parameter system_data
- Model TrackedResource has a new parameter system_data
- Model PrivateLinkResource has a new parameter properties
- Added operation AccountsOperations.add_root_collection_admin
- Added operation PrivateEndpointConnectionsOperations.begin_create_or_update
Breaking changes
- Model PrivateLinkResource no longer has parameter required_zone_names
- Model PrivateLinkResource no longer has parameter group_id
- Model PrivateLinkResource no longer has parameter required_members
- Model AccountUpdateParameters has a new signature
- Removed operation PrivateEndpointConnectionsOperations.create_or_update
1.0.0b1 (2021-02-01)
- Initial Release
Release files for azure-mgmt-purview 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| azure_mgmt_purview-1.0.1.tar.gz | 59.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| azure_mgmt_purview-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 138.4 kB
Release files / azure_mgmt_purview-1.0.1.tar.gz
| Download URL | azure_mgmt_purview-1.0.1.tar.gz |
|---|---|
| Size | 59.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8f8cad35bd5d750d73daf43622672590504690391015aad1768dca0b33bbfb36
|
|
BLAKE2b-256 checksum How to use checksums |
787caae526693b155d493bb2b67107ff83613a88060a969c93d5d6813e3fcec2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
RestSharp/106.13.0.0
|
Release files / azure_mgmt_purview-1.0.1-py3-none-any.whl
| Download URL | azure_mgmt_purview-1.0.1-py3-none-any.whl |
|---|---|
| Size | 78.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
200dcb826af172faf58fb66cde6dd3ee536f06cb308029418d4ad558ee1eeb13
|
|
BLAKE2b-256 checksum How to use checksums |
afb7154a48d526d41d24cc81c458232927fb5f5f44ee419e85981b7ff8b6004a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
RestSharp/106.13.0.0
|