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

[ReleasePR azure-mgmt-datashare] Update improper descriptions of Data Share put calls #10025

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