Skip to main content

Microsoft Azure Datashare Management Client Library for Python

Project description

Microsoft Azure SDK for Python

This is the Microsoft Azure Data Share 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-datashare
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.datashare import DataShareManagementClient
import os

sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = DataShareManagementClient(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-15)

Other Changes

  • Regenerated with latest code generator tool

1.1.0b1 (2022-10-31)

Features Added

  • Added operation group EmailRegistrationsOperations

1.0.0 (2021-04-12)

Features

  • Model BlobContainerDataSetMapping has a new parameter system_data
  • Model SqlDWTableDataSet has a new parameter system_data
  • Model ADLSGen1FolderDataSet has a new parameter system_data
  • Model KustoDatabaseDataSetMapping has a new parameter system_data
  • Model ConsumerSourceDataSet has a new parameter system_data
  • Model ScheduledTrigger has a new parameter system_data
  • Model DataSet has a new parameter system_data
  • Model KustoClusterDataSetMapping has a new parameter system_data
  • Model BlobDataSet has a new parameter system_data
  • Model SynchronizationSetting has a new parameter system_data
  • Model BlobFolderDataSetMapping has a new parameter system_data
  • Model OperationMetaMetricSpecification has a new parameter fill_gap_with_zero
  • Model ConsumerInvitation has a new parameter expiration_date
  • Model ConsumerInvitation has a new parameter system_data
  • Model ProviderShareSubscription has a new parameter expiration_date
  • Model ProviderShareSubscription has a new parameter system_data
  • Model ProxyDto has a new parameter system_data
  • Model BlobFolderDataSet has a new parameter system_data
  • Model ADLSGen2FolderDataSet has a new parameter system_data
  • Model ScheduledSynchronizationSetting has a new parameter system_data
  • Model SqlDBTableDataSet has a new parameter system_data
  • Model Trigger has a new parameter system_data
  • Model ADLSGen2FileDataSetMapping has a new parameter system_data
  • Model BlobContainerDataSet has a new parameter system_data
  • Model BlobDataSetMapping has a new parameter system_data
  • Model DefaultDto has a new parameter system_data
  • Model DataSetMapping has a new parameter system_data
  • Model KustoDatabaseDataSet has a new parameter system_data
  • Model ShareSubscription has a new parameter expiration_date
  • Model ShareSubscription has a new parameter system_data
  • Model KustoClusterDataSet has a new parameter system_data
  • Model SqlDBTableDataSetMapping has a new parameter system_data
  • Model SqlDWTableDataSetMapping has a new parameter system_data
  • Model Account has a new parameter system_data
  • Model Share has a new parameter system_data
  • Model Invitation has a new parameter expiration_date
  • Model Invitation has a new parameter system_data
  • Model ADLSGen2FileSystemDataSetMapping has a new parameter system_data
  • Model ADLSGen2FolderDataSetMapping has a new parameter system_data
  • Model ADLSGen2FileDataSet has a new parameter system_data
  • Model ADLSGen1FileDataSet has a new parameter system_data
  • Model ADLSGen2FileSystemDataSet has a new parameter system_data
  • Added operation ProviderShareSubscriptionsOperations.adjust

Breaking changes

  • Operation ProviderShareSubscriptionsOperations.reinstate has a new signature

1.0.0b1 (2020-12-04)

This is beta preview version.

This version uses a next-generation code generator that introduces important breaking changes, but also important new features (like unified authentication and async programming).

General breaking changes

  • Credential system has been completly revamped:

    • azure.common.credentials or msrestazure.azure_active_directory instances are no longer supported, use the azure-identity classes instead: https://pypi.org/project/azure-identity/
    • credentials parameter has been renamed credential
  • The config attribute no longer exists on a client, configuration should be passed as kwarg. Example: MyClient(credential, subscription_id, enable_logging=True). For a complete set of supported options, see the parameters accept in init documentation of azure-core

  • You can't import a version module anymore, use __version__ instead

  • Operations that used to return a msrest.polling.LROPoller now returns a azure.core.polling.LROPoller and are prefixed with begin_.

  • Exceptions tree have been simplified and most exceptions are now azure.core.exceptions.HttpResponseError (CloudError has been removed).

  • Most of the operation kwarg have changed. Some of the most noticeable:

General new features

  • Type annotations support using typing. SDKs are mypy ready.
  • This client has now stable and official support for async. Check the aio namespace of your package to find the async client.
  • This client now support natively tracing library like OpenCensus or OpenTelemetry. See this tracing quickstart for an overview.

0.2.0 (2020-05-14)

Features

  • Model ShareSubscriptionSynchronization has a new parameter synchronization_mode
  • Model ProviderShareSubscription has a new parameter consumer_name
  • Model ProviderShareSubscription has a new parameter consumer_email
  • Model ProviderShareSubscription has a new parameter consumer_tenant_name
  • Model ProviderShareSubscription has a new parameter provider_email
  • Model ProviderShareSubscription has a new parameter provider_name
  • Model ADLSGen2FileSystemDataSetMapping has a new parameter provisioning_state
  • Model SqlDWTableDataSetMapping has a new parameter provisioning_state
  • Model Invitation has a new parameter user_name
  • Model Invitation has a new parameter user_email
  • Model Account has a new parameter user_name
  • Model Account has a new parameter user_email
  • Model ShareSubscription has a new parameter provider_tenant_name
  • Model ShareSubscription has a new parameter user_name
  • Model ShareSubscription has a new parameter provider_email
  • Model ShareSubscription has a new parameter user_email
  • Model ShareSubscription has a new parameter provider_name
  • Model ADLSGen2FolderDataSetMapping has a new parameter provisioning_state
  • Model ConsumerSourceDataSet has a new parameter data_set_location
  • Model ConsumerSourceDataSet has a new parameter data_set_path
  • Model BlobFolderDataSetMapping has a new parameter provisioning_state
  • Model ScheduledTrigger has a new parameter user_name
  • Model Share has a new parameter user_name
  • Model Share has a new parameter user_email
  • Model BlobContainerDataSetMapping has a new parameter provisioning_state
  • Model ScheduledSynchronizationSetting has a new parameter user_name
  • Model ShareSynchronization has a new parameter consumer_name
  • Model ShareSynchronization has a new parameter consumer_email
  • Model ShareSynchronization has a new parameter consumer_tenant_name
  • Model ShareSynchronization has a new parameter synchronization_mode
  • Model ADLSGen2FileDataSetMapping has a new parameter provisioning_state
  • Model SqlDBTableDataSetMapping has a new parameter provisioning_state
  • Model ConsumerInvitation has a new parameter provider_tenant_name
  • Model ConsumerInvitation has a new parameter user_name
  • Model ConsumerInvitation has a new parameter provider_email
  • Model ConsumerInvitation has a new parameter user_email
  • Model ConsumerInvitation has a new parameter provider_name
  • Model BlobDataSetMapping has a new parameter provisioning_state

Breaking changes

  • Parameter data_set_id of model ADLSGen2FileSystemDataSetMapping is now required
  • Parameter data_set_id of model SqlDWTableDataSetMapping is now required
  • Parameter data_set_id of model ADLSGen2FolderDataSetMapping is now required
  • Parameter data_warehouse_name of model SqlDWTableDataSet is now required
  • Parameter table_name of model SqlDWTableDataSet is now required
  • Parameter sql_server_resource_id of model SqlDWTableDataSet is now required
  • Parameter data_set_id of model BlobFolderDataSetMapping is now required
  • Parameter data_set_id of model BlobContainerDataSetMapping is now required
  • Parameter data_set_id of model ADLSGen2FileDataSetMapping is now required
  • Parameter data_set_id of model SqlDBTableDataSetMapping is now required
  • Parameter database_name of model SqlDBTableDataSet is now required
  • Parameter table_name of model SqlDBTableDataSet is now required
  • Parameter sql_server_resource_id of model SqlDBTableDataSet is now required
  • Parameter data_set_id of model BlobDataSetMapping is now required
  • Operation ShareSubscriptionsOperations.create has a new signature
  • Model ProviderShareSubscription no longer has parameter shared_by
  • Model ProviderShareSubscription no longer has parameter company
  • Model ProviderShareSubscription no longer has parameter created_by
  • Model SqlDWTableDataSetMapping has a new required parameter schema_name
  • Model Invitation no longer has parameter sender
  • Model Account no longer has parameter created_by
  • Model ShareSubscription no longer has parameter share_sender
  • Model ShareSubscription no longer has parameter share_sender_company_name
  • Model ShareSubscription no longer has parameter created_by
  • Model ShareSubscription has a new required parameter source_share_location
  • Model SqlDWTableDataSet has a new required parameter schema_name
  • Model ScheduledTrigger no longer has parameter created_by
  • Model Share no longer has parameter created_by
  • Model ScheduledSynchronizationSetting no longer has parameter created_by
  • Model ShareSynchronization no longer has parameter company
  • Model ShareSynchronization no longer has parameter recipient
  • Model SqlDBTableDataSetMapping has a new required parameter schema_name
  • Model ConsumerInvitation no longer has parameter sender
  • Model ConsumerInvitation no longer has parameter sender_company_name
  • Model SqlDBTableDataSet has a new required parameter schema_name

0.1.0rc1 (2019-09-29)

  • Initial Release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

azure_mgmt_datashare-1.0.1.tar.gz (89.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

azure_mgmt_datashare-1.0.1-py3-none-any.whl (147.9 kB view details)

Uploaded Python 3

File details

Details for the file azure_mgmt_datashare-1.0.1.tar.gz.

File metadata

  • Download URL: azure_mgmt_datashare-1.0.1.tar.gz
  • Upload date:
  • Size: 89.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: RestSharp/106.13.0.0

File hashes

Hashes for azure_mgmt_datashare-1.0.1.tar.gz
Algorithm Hash digest
SHA256 b7c56573a12d52e70c1bf90efe275453fb14679325594d0fc61d73473560638a
MD5 15c3f47f6d35df384a426d6b32480e8a
BLAKE2b-256 25cd2153933c44e423085edb6a83897afeda220db3d617d59a5f70d88e929821

See more details on using hashes here.

File details

Details for the file azure_mgmt_datashare-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for azure_mgmt_datashare-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 57d719518b3b8f4fe4a586d232d1a08886d6c65736f709a8c502407065a244ff
MD5 f163b0ee0ce787196b2d45b798db30a1
BLAKE2b-256 56835ea7212c9f54651c69ae6df304abb1ef99e0eba76f3602ca1af4df7def5a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page