Skip to main content

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

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_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.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:

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 PurviewManagementClient added parameter cloud_setting in method __init__
  • Client PurviewManagementClient added method send_request
  • Client PurviewManagementClient added operation group kafka_configurations
  • Client PurviewManagementClient added operation group features
  • Client PurviewManagementClient added operation group ingestion_private_endpoint_connections
  • Client PurviewManagementClient added operation group usages
  • Model Account added property properties
  • Model AccountProperties added property account_status
  • Model AccountProperties added property default_domain
  • Model AccountProperties added property ingestion_storage
  • Model AccountProperties added property managed_event_hub_state
  • Model AccountProperties added property managed_resources_public_network_access
  • Model AccountProperties added property merge_info
  • Model AccountProperties added property tenant_endpoint_state
  • Model PrivateEndpointConnection added property system_data
  • Model PrivateLinkResource added property system_data
  • Model ProxyResource added property system_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 Account moved instance variable cloud_connectors, created_at, created_by, created_by_object_id, endpoints, friendly_name, managed_resource_group_name, managed_resources, private_endpoint_connections, provisioning_state and public_network_access under property properties
  • Model AccountEndpoints deleted or renamed its instance variable guardian
  • Model AccountPropertiesEndpoints deleted or renamed its instance variable guardian
  • 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_group changed its parameter skip_token from positional_or_keyword to keyword_only
  • Method AccountsOperations.list_by_subscription changed its parameter skip_token from positional_or_keyword to keyword_only
  • Method DefaultAccountsOperations.get changed its parameter scope_tenant_id/scope_type/scope from positional_or_keyword to keyword_only
  • Method DefaultAccountsOperations.remove changed its parameter scope_tenant_id/scope_type/scope from positional_or_keyword to keyword_only
  • Method PrivateEndpointConnectionsOperations.list_by_account changed its parameter skip_token from positional_or_keyword to keyword_only

Other Changes

  • Deleted model AccountList/AccountSkuAutoGenerated/OperationList/PrivateEndpointConnectionList/PrivateLinkResourceList which 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)

Source distribution for azure-mgmt-purview 1.0.1
File Size Uploaded
azure_mgmt_purview-1.0.1.tar.gz 59.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for azure-mgmt-purview 1.0.1
File Interpreter ABI Platform
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
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page