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

[AutoPR azure-mgmt-datashare] Remove UserAssigned MSI #4153

Closed
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 @@ -138,16 +138,16 @@
from ._data_share_management_client_enums import (
Type,
ProvisioningState,
Status,
DataSetMappingStatus,
OutputType,
InvitationStatus,
ShareKind,
SynchronizationMode,
DataSetType,
Status,
ShareSubscriptionStatus,
RecurrenceInterval,
SynchronizationMode,
TriggerStatus,
DataSetMappingStatus,
OutputType,
ShareKind,
)

__all__ = [
Expand Down Expand Up @@ -211,26 +211,26 @@
'DataSetMappingPaged',
'InvitationPaged',
'OperationModelPaged',
'SharePaged',
'ShareSynchronizationPaged',
'SynchronizationDetailsPaged',
'ShareSynchronizationPaged',
'SharePaged',
'ProviderShareSubscriptionPaged',
'ShareSubscriptionPaged',
'SourceShareSynchronizationSettingPaged',
'ShareSubscriptionSynchronizationPaged',
'ShareSubscriptionPaged',
'ConsumerSourceDataSetPaged',
'SynchronizationSettingPaged',
'TriggerPaged',
'Type',
'ProvisioningState',
'Status',
'DataSetMappingStatus',
'OutputType',
'InvitationStatus',
'ShareKind',
'SynchronizationMode',
'DataSetType',
'Status',
'ShareSubscriptionStatus',
'RecurrenceInterval',
'SynchronizationMode',
'TriggerStatus',
'DataSetMappingStatus',
'OutputType',
'ShareKind',
]
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,16 @@ class ProvisioningState(str, Enum):
failed = "Failed"


class Status(str, Enum):
class DataSetMappingStatus(str, Enum):

accepted = "Accepted"
in_progress = "InProgress"
transient_failure = "TransientFailure"
succeeded = "Succeeded"
failed = "Failed"
canceled = "Canceled"
ok = "Ok"
broken = "Broken"


class OutputType(str, Enum):

csv = "Csv"
parquet = "Parquet"


class InvitationStatus(str, Enum):
Expand All @@ -44,18 +46,6 @@ class InvitationStatus(str, Enum):
withdrawn = "Withdrawn"


class ShareKind(str, Enum):

copy_based = "CopyBased"
in_place = "InPlace"


class SynchronizationMode(str, Enum):

incremental = "Incremental"
full_sync = "FullSync"


class DataSetType(str, Enum):

blob = "Blob"
Expand All @@ -72,6 +62,16 @@ class DataSetType(str, Enum):
sql_dw_table = "SqlDWTable"


class Status(str, Enum):

accepted = "Accepted"
in_progress = "InProgress"
transient_failure = "TransientFailure"
succeeded = "Succeeded"
failed = "Failed"
canceled = "Canceled"


class ShareSubscriptionStatus(str, Enum):

active = "Active"
Expand All @@ -86,20 +86,20 @@ class RecurrenceInterval(str, Enum):
day = "Day"


class SynchronizationMode(str, Enum):

incremental = "Incremental"
full_sync = "FullSync"


class TriggerStatus(str, Enum):

active = "Active"
inactive = "Inactive"
source_synchronization_setting_deleted = "SourceSynchronizationSettingDeleted"


class DataSetMappingStatus(str, Enum):

ok = "Ok"
broken = "Broken"


class OutputType(str, Enum):
class ShareKind(str, Enum):

csv = "Csv"
parquet = "Parquet"
copy_based = "CopyBased"
in_place = "InPlace"
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,10 @@ class DataSet(ProxyDto):
"""A DataSet data transfer object.

You probably want to use the sub-classes and not this class directly. Known
sub-classes are: BlobDataSet, BlobFolderDataSet, BlobContainerDataSet,
ADLSGen2FileDataSet, ADLSGen2FolderDataSet, ADLSGen2FileSystemDataSet,
ADLSGen1FolderDataSet, ADLSGen1FileDataSet, KustoClusterDataSet,
KustoDatabaseDataSet, SqlDWTableDataSet, SqlDBTableDataSet
sub-classes are: ADLSGen1FileDataSet, ADLSGen1FolderDataSet,
ADLSGen2FileDataSet, ADLSGen2FileSystemDataSet, ADLSGen2FolderDataSet,
BlobContainerDataSet, BlobDataSet, BlobFolderDataSet, KustoClusterDataSet,
KustoDatabaseDataSet, SqlDBTableDataSet, SqlDWTableDataSet

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down Expand Up @@ -207,7 +207,7 @@ class DataSet(ProxyDto):
}

_subtype_map = {
'kind': {'Blob': 'BlobDataSet', 'BlobFolder': 'BlobFolderDataSet', 'Container': 'BlobContainerDataSet', 'AdlsGen2File': 'ADLSGen2FileDataSet', 'AdlsGen2Folder': 'ADLSGen2FolderDataSet', 'AdlsGen2FileSystem': 'ADLSGen2FileSystemDataSet', 'AdlsGen1Folder': 'ADLSGen1FolderDataSet', 'AdlsGen1File': 'ADLSGen1FileDataSet', 'KustoCluster': 'KustoClusterDataSet', 'KustoDatabase': 'KustoDatabaseDataSet', 'SqlDWTable': 'SqlDWTableDataSet', 'SqlDBTable': 'SqlDBTableDataSet'}
'kind': {'AdlsGen1File': 'ADLSGen1FileDataSet', 'AdlsGen1Folder': 'ADLSGen1FolderDataSet', 'AdlsGen2File': 'ADLSGen2FileDataSet', 'AdlsGen2FileSystem': 'ADLSGen2FileSystemDataSet', 'AdlsGen2Folder': 'ADLSGen2FolderDataSet', 'Container': 'BlobContainerDataSet', 'Blob': 'BlobDataSet', 'BlobFolder': 'BlobFolderDataSet', 'KustoCluster': 'KustoClusterDataSet', 'KustoDatabase': 'KustoDatabaseDataSet', 'SqlDBTable': 'SqlDBTableDataSet', 'SqlDWTable': 'SqlDWTableDataSet'}
}

def __init__(self, **kwargs):
Expand Down Expand Up @@ -417,11 +417,11 @@ class DataSetMapping(ProxyDto):
"""A data set mapping data transfer object.

You probably want to use the sub-classes and not this class directly. Known
sub-classes are: BlobDataSetMapping, BlobFolderDataSetMapping,
BlobContainerDataSetMapping, ADLSGen2FileDataSetMapping,
ADLSGen2FolderDataSetMapping, ADLSGen2FileSystemDataSetMapping,
sub-classes are: ADLSGen2FileDataSetMapping,
ADLSGen2FileSystemDataSetMapping, ADLSGen2FolderDataSetMapping,
BlobContainerDataSetMapping, BlobDataSetMapping, BlobFolderDataSetMapping,
KustoClusterDataSetMapping, KustoDatabaseDataSetMapping,
SqlDWTableDataSetMapping, SqlDBTableDataSetMapping
SqlDBTableDataSetMapping, SqlDWTableDataSetMapping

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down Expand Up @@ -453,7 +453,7 @@ class DataSetMapping(ProxyDto):
}

_subtype_map = {
'kind': {'Blob': 'BlobDataSetMapping', 'BlobFolder': 'BlobFolderDataSetMapping', 'Container': 'BlobContainerDataSetMapping', 'AdlsGen2File': 'ADLSGen2FileDataSetMapping', 'AdlsGen2Folder': 'ADLSGen2FolderDataSetMapping', 'AdlsGen2FileSystem': 'ADLSGen2FileSystemDataSetMapping', 'KustoCluster': 'KustoClusterDataSetMapping', 'KustoDatabase': 'KustoDatabaseDataSetMapping', 'SqlDWTable': 'SqlDWTableDataSetMapping', 'SqlDBTable': 'SqlDBTableDataSetMapping'}
'kind': {'AdlsGen2File': 'ADLSGen2FileDataSetMapping', 'AdlsGen2FileSystem': 'ADLSGen2FileSystemDataSetMapping', 'AdlsGen2Folder': 'ADLSGen2FolderDataSetMapping', 'Container': 'BlobContainerDataSetMapping', 'Blob': 'BlobDataSetMapping', 'BlobFolder': 'BlobFolderDataSetMapping', 'KustoCluster': 'KustoClusterDataSetMapping', 'KustoDatabase': 'KustoDatabaseDataSetMapping', 'SqlDBTable': 'SqlDBTableDataSetMapping', 'SqlDWTable': 'SqlDWTableDataSetMapping'}
}

def __init__(self, **kwargs):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,10 @@ class DataSet(ProxyDto):
"""A DataSet data transfer object.

You probably want to use the sub-classes and not this class directly. Known
sub-classes are: BlobDataSet, BlobFolderDataSet, BlobContainerDataSet,
ADLSGen2FileDataSet, ADLSGen2FolderDataSet, ADLSGen2FileSystemDataSet,
ADLSGen1FolderDataSet, ADLSGen1FileDataSet, KustoClusterDataSet,
KustoDatabaseDataSet, SqlDWTableDataSet, SqlDBTableDataSet
sub-classes are: ADLSGen1FileDataSet, ADLSGen1FolderDataSet,
ADLSGen2FileDataSet, ADLSGen2FileSystemDataSet, ADLSGen2FolderDataSet,
BlobContainerDataSet, BlobDataSet, BlobFolderDataSet, KustoClusterDataSet,
KustoDatabaseDataSet, SqlDBTableDataSet, SqlDWTableDataSet

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down Expand Up @@ -207,7 +207,7 @@ class DataSet(ProxyDto):
}

_subtype_map = {
'kind': {'Blob': 'BlobDataSet', 'BlobFolder': 'BlobFolderDataSet', 'Container': 'BlobContainerDataSet', 'AdlsGen2File': 'ADLSGen2FileDataSet', 'AdlsGen2Folder': 'ADLSGen2FolderDataSet', 'AdlsGen2FileSystem': 'ADLSGen2FileSystemDataSet', 'AdlsGen1Folder': 'ADLSGen1FolderDataSet', 'AdlsGen1File': 'ADLSGen1FileDataSet', 'KustoCluster': 'KustoClusterDataSet', 'KustoDatabase': 'KustoDatabaseDataSet', 'SqlDWTable': 'SqlDWTableDataSet', 'SqlDBTable': 'SqlDBTableDataSet'}
'kind': {'AdlsGen1File': 'ADLSGen1FileDataSet', 'AdlsGen1Folder': 'ADLSGen1FolderDataSet', 'AdlsGen2File': 'ADLSGen2FileDataSet', 'AdlsGen2FileSystem': 'ADLSGen2FileSystemDataSet', 'AdlsGen2Folder': 'ADLSGen2FolderDataSet', 'Container': 'BlobContainerDataSet', 'Blob': 'BlobDataSet', 'BlobFolder': 'BlobFolderDataSet', 'KustoCluster': 'KustoClusterDataSet', 'KustoDatabase': 'KustoDatabaseDataSet', 'SqlDBTable': 'SqlDBTableDataSet', 'SqlDWTable': 'SqlDWTableDataSet'}
}

def __init__(self, **kwargs) -> None:
Expand Down Expand Up @@ -417,11 +417,11 @@ class DataSetMapping(ProxyDto):
"""A data set mapping data transfer object.

You probably want to use the sub-classes and not this class directly. Known
sub-classes are: BlobDataSetMapping, BlobFolderDataSetMapping,
BlobContainerDataSetMapping, ADLSGen2FileDataSetMapping,
ADLSGen2FolderDataSetMapping, ADLSGen2FileSystemDataSetMapping,
sub-classes are: ADLSGen2FileDataSetMapping,
ADLSGen2FileSystemDataSetMapping, ADLSGen2FolderDataSetMapping,
BlobContainerDataSetMapping, BlobDataSetMapping, BlobFolderDataSetMapping,
KustoClusterDataSetMapping, KustoDatabaseDataSetMapping,
SqlDWTableDataSetMapping, SqlDBTableDataSetMapping
SqlDBTableDataSetMapping, SqlDWTableDataSetMapping

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down Expand Up @@ -453,7 +453,7 @@ class DataSetMapping(ProxyDto):
}

_subtype_map = {
'kind': {'Blob': 'BlobDataSetMapping', 'BlobFolder': 'BlobFolderDataSetMapping', 'Container': 'BlobContainerDataSetMapping', 'AdlsGen2File': 'ADLSGen2FileDataSetMapping', 'AdlsGen2Folder': 'ADLSGen2FolderDataSetMapping', 'AdlsGen2FileSystem': 'ADLSGen2FileSystemDataSetMapping', 'KustoCluster': 'KustoClusterDataSetMapping', 'KustoDatabase': 'KustoDatabaseDataSetMapping', 'SqlDWTable': 'SqlDWTableDataSetMapping', 'SqlDBTable': 'SqlDBTableDataSetMapping'}
'kind': {'AdlsGen2File': 'ADLSGen2FileDataSetMapping', 'AdlsGen2FileSystem': 'ADLSGen2FileSystemDataSetMapping', 'AdlsGen2Folder': 'ADLSGen2FolderDataSetMapping', 'Container': 'BlobContainerDataSetMapping', 'Blob': 'BlobDataSetMapping', 'BlobFolder': 'BlobFolderDataSetMapping', 'KustoCluster': 'KustoClusterDataSetMapping', 'KustoDatabase': 'KustoDatabaseDataSetMapping', 'SqlDBTable': 'SqlDBTableDataSetMapping', 'SqlDWTable': 'SqlDWTableDataSetMapping'}
}

def __init__(self, **kwargs) -> None:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,19 +90,19 @@ class OperationModelPaged(Paged):
def __init__(self, *args, **kwargs):

super(OperationModelPaged, self).__init__(*args, **kwargs)
class SharePaged(Paged):
class SynchronizationDetailsPaged(Paged):
"""
A paging container for iterating over a list of :class:`Share <azure.mgmt.datashare.models.Share>` object
A paging container for iterating over a list of :class:`SynchronizationDetails <azure.mgmt.datashare.models.SynchronizationDetails>` object
"""

_attribute_map = {
'next_link': {'key': 'nextLink', 'type': 'str'},
'current_page': {'key': 'value', 'type': '[Share]'}
'current_page': {'key': 'value', 'type': '[SynchronizationDetails]'}
}

def __init__(self, *args, **kwargs):

super(SharePaged, self).__init__(*args, **kwargs)
super(SynchronizationDetailsPaged, self).__init__(*args, **kwargs)
class ShareSynchronizationPaged(Paged):
"""
A paging container for iterating over a list of :class:`ShareSynchronization <azure.mgmt.datashare.models.ShareSynchronization>` object
Expand All @@ -116,19 +116,19 @@ class ShareSynchronizationPaged(Paged):
def __init__(self, *args, **kwargs):

super(ShareSynchronizationPaged, self).__init__(*args, **kwargs)
class SynchronizationDetailsPaged(Paged):
class SharePaged(Paged):
"""
A paging container for iterating over a list of :class:`SynchronizationDetails <azure.mgmt.datashare.models.SynchronizationDetails>` object
A paging container for iterating over a list of :class:`Share <azure.mgmt.datashare.models.Share>` object
"""

_attribute_map = {
'next_link': {'key': 'nextLink', 'type': 'str'},
'current_page': {'key': 'value', 'type': '[SynchronizationDetails]'}
'current_page': {'key': 'value', 'type': '[Share]'}
}

def __init__(self, *args, **kwargs):

super(SynchronizationDetailsPaged, self).__init__(*args, **kwargs)
super(SharePaged, self).__init__(*args, **kwargs)
class ProviderShareSubscriptionPaged(Paged):
"""
A paging container for iterating over a list of :class:`ProviderShareSubscription <azure.mgmt.datashare.models.ProviderShareSubscription>` object
Expand All @@ -142,45 +142,45 @@ class ProviderShareSubscriptionPaged(Paged):
def __init__(self, *args, **kwargs):

super(ProviderShareSubscriptionPaged, self).__init__(*args, **kwargs)
class ShareSubscriptionPaged(Paged):
class SourceShareSynchronizationSettingPaged(Paged):
"""
A paging container for iterating over a list of :class:`ShareSubscription <azure.mgmt.datashare.models.ShareSubscription>` object
A paging container for iterating over a list of :class:`SourceShareSynchronizationSetting <azure.mgmt.datashare.models.SourceShareSynchronizationSetting>` object
"""

_attribute_map = {
'next_link': {'key': 'nextLink', 'type': 'str'},
'current_page': {'key': 'value', 'type': '[ShareSubscription]'}
'current_page': {'key': 'value', 'type': '[SourceShareSynchronizationSetting]'}
}

def __init__(self, *args, **kwargs):

super(ShareSubscriptionPaged, self).__init__(*args, **kwargs)
class SourceShareSynchronizationSettingPaged(Paged):
super(SourceShareSynchronizationSettingPaged, self).__init__(*args, **kwargs)
class ShareSubscriptionSynchronizationPaged(Paged):
"""
A paging container for iterating over a list of :class:`SourceShareSynchronizationSetting <azure.mgmt.datashare.models.SourceShareSynchronizationSetting>` object
A paging container for iterating over a list of :class:`ShareSubscriptionSynchronization <azure.mgmt.datashare.models.ShareSubscriptionSynchronization>` object
"""

_attribute_map = {
'next_link': {'key': 'nextLink', 'type': 'str'},
'current_page': {'key': 'value', 'type': '[SourceShareSynchronizationSetting]'}
'current_page': {'key': 'value', 'type': '[ShareSubscriptionSynchronization]'}
}

def __init__(self, *args, **kwargs):

super(SourceShareSynchronizationSettingPaged, self).__init__(*args, **kwargs)
class ShareSubscriptionSynchronizationPaged(Paged):
super(ShareSubscriptionSynchronizationPaged, self).__init__(*args, **kwargs)
class ShareSubscriptionPaged(Paged):
"""
A paging container for iterating over a list of :class:`ShareSubscriptionSynchronization <azure.mgmt.datashare.models.ShareSubscriptionSynchronization>` object
A paging container for iterating over a list of :class:`ShareSubscription <azure.mgmt.datashare.models.ShareSubscription>` object
"""

_attribute_map = {
'next_link': {'key': 'nextLink', 'type': 'str'},
'current_page': {'key': 'value', 'type': '[ShareSubscriptionSynchronization]'}
'current_page': {'key': 'value', 'type': '[ShareSubscription]'}
}

def __init__(self, *args, **kwargs):

super(ShareSubscriptionSynchronizationPaged, self).__init__(*args, **kwargs)
super(ShareSubscriptionPaged, self).__init__(*args, **kwargs)
class ConsumerSourceDataSetPaged(Paged):
"""
A paging container for iterating over a list of :class:`ConsumerSourceDataSet <azure.mgmt.datashare.models.ConsumerSourceDataSet>` object
Expand Down
Loading