Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Datashare 2019 11 01 #11540

Merged
merged 5 commits into from
May 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 81 additions & 0 deletions sdk/datashare/azure-mgmt-datashare/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,86 @@
# Release History

## 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
30 changes: 11 additions & 19 deletions sdk/datashare/azure-mgmt-datashare/README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,21 @@
## Microsoft Azure SDK for Python
# Microsoft Azure SDK for Python

This is the Microsoft Azure MyService Management Client Library.
This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8.
For a more complete view of Azure libraries, see the [Github repo](https://github.com/Azure/azure-sdk-for-python/)

Azure Resource Manager (ARM) is the next generation of management APIs
that replace the old Azure Service Management (ASM).

This package has been tested with Python 2.7, 3.5, 3.6 and 3.7.
# Usage

For the older Azure Service Management (ASM) libraries, see
[azure-servicemanagement-legacy](https://pypi.python.org/pypi/azure-servicemanagement-legacy)
library.
For code examples, see [MyService Management](https://docs.microsoft.com/python/api/overview/azure/)
on docs.microsoft.com.

For a more complete set of Azure libraries, see the
[azure](https://pypi.python.org/pypi/azure) bundle package.

## Usage
# Provide Feedback

For code examples, see [MyService
Management](https://docs.microsoft.com/python/api/overview/azure/) on
docs.microsoft.com.

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

![image](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-datashare%2FREADME.png)

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-datashare%2FREADME.png)
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def __init__(
super(DataShareManagementClient, self).__init__(self.config.credentials, self.config)

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self.api_version = '2018-11-01-preview'
self.api_version = '2019-11-01'
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@
from ._models_py3 import DimensionProperties
from ._models_py3 import Identity
from ._models_py3 import Invitation
from ._models_py3 import KustoClusterDataSet
from ._models_py3 import KustoClusterDataSetMapping
from ._models_py3 import KustoDatabaseDataSet
from ._models_py3 import KustoDatabaseDataSetMapping
from ._models_py3 import OperationMetaLogSpecification
from ._models_py3 import OperationMetaMetricSpecification
from ._models_py3 import OperationMetaServiceSpecification
Expand Down Expand Up @@ -87,6 +91,10 @@
from ._models import DimensionProperties
from ._models import Identity
from ._models import Invitation
from ._models import KustoClusterDataSet
from ._models import KustoClusterDataSetMapping
from ._models import KustoDatabaseDataSet
from ._models import KustoDatabaseDataSetMapping
from ._models import OperationMetaLogSpecification
from ._models import OperationMetaMetricSpecification
from ._models import OperationMetaServiceSpecification
Expand Down Expand Up @@ -133,9 +141,9 @@
Status,
InvitationStatus,
ShareKind,
SynchronizationMode,
DataSetType,
ShareSubscriptionStatus,
SynchronizationMode,
RecurrenceInterval,
TriggerStatus,
DataSetMappingStatus,
Expand Down Expand Up @@ -169,6 +177,10 @@
'DimensionProperties',
'Identity',
'Invitation',
'KustoClusterDataSet',
'KustoClusterDataSetMapping',
'KustoDatabaseDataSet',
'KustoDatabaseDataSetMapping',
'OperationMetaLogSpecification',
'OperationMetaMetricSpecification',
'OperationMetaServiceSpecification',
Expand Down Expand Up @@ -203,9 +215,9 @@
'ShareSynchronizationPaged',
'SynchronizationDetailsPaged',
'ProviderShareSubscriptionPaged',
'ShareSubscriptionPaged',
'SourceShareSynchronizationSettingPaged',
'ShareSubscriptionSynchronizationPaged',
'ShareSubscriptionPaged',
'ConsumerSourceDataSetPaged',
'SynchronizationSettingPaged',
'TriggerPaged',
Expand All @@ -214,9 +226,9 @@
'Status',
'InvitationStatus',
'ShareKind',
'SynchronizationMode',
'DataSetType',
'ShareSubscriptionStatus',
'SynchronizationMode',
'RecurrenceInterval',
'TriggerStatus',
'DataSetMappingStatus',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ class InvitationStatus(str, Enum):
class ShareKind(str, Enum):

copy_based = "CopyBased"
in_place = "InPlace"


class SynchronizationMode(str, Enum):

incremental = "Incremental"
full_sync = "FullSync"


class DataSetType(str, Enum):
Expand All @@ -59,6 +66,8 @@ class DataSetType(str, Enum):
adls_gen2_file = "AdlsGen2File"
adls_gen1_folder = "AdlsGen1Folder"
adls_gen1_file = "AdlsGen1File"
kusto_cluster = "KustoCluster"
kusto_database = "KustoDatabase"
sql_db_table = "SqlDBTable"
sql_dw_table = "SqlDWTable"

Expand All @@ -71,12 +80,6 @@ class ShareSubscriptionStatus(str, Enum):
revoking = "Revoking"


class SynchronizationMode(str, Enum):

incremental = "Incremental"
full_sync = "FullSync"


class RecurrenceInterval(str, Enum):

hour = "Hour"
Expand Down
Loading