diff --git a/services/datashare/mgmt/2019-11-01/datashare/CHANGELOG.md b/services/datashare/mgmt/2019-11-01/datashare/CHANGELOG.md new file mode 100644 index 000000000000..b871c2d16508 --- /dev/null +++ b/services/datashare/mgmt/2019-11-01/datashare/CHANGELOG.md @@ -0,0 +1,22 @@ +Generated from https://github.com/Azure/azure-rest-api-specs/tree/3c764635e7d442b3e74caf593029fcd440b3ef82 + +Code generator @microsoft.azure/autorest.go@~2.1.161 + +## Breaking Changes + +- Function `NewShareSynchronizationListPage` parameter(s) have been changed from `(func(context.Context, ShareSynchronizationList) (ShareSynchronizationList, error))` to `(ShareSynchronizationList, func(context.Context, ShareSynchronizationList) (ShareSynchronizationList, error))` +- Function `NewAccountListPage` parameter(s) have been changed from `(func(context.Context, AccountList) (AccountList, error))` to `(AccountList, func(context.Context, AccountList) (AccountList, error))` +- Function `NewDataSetMappingListPage` parameter(s) have been changed from `(func(context.Context, DataSetMappingList) (DataSetMappingList, error))` to `(DataSetMappingList, func(context.Context, DataSetMappingList) (DataSetMappingList, error))` +- Function `NewTriggerListPage` parameter(s) have been changed from `(func(context.Context, TriggerList) (TriggerList, error))` to `(TriggerList, func(context.Context, TriggerList) (TriggerList, error))` +- Function `NewSynchronizationDetailsListPage` parameter(s) have been changed from `(func(context.Context, SynchronizationDetailsList) (SynchronizationDetailsList, error))` to `(SynchronizationDetailsList, func(context.Context, SynchronizationDetailsList) (SynchronizationDetailsList, error))` +- Function `NewConsumerSourceDataSetListPage` parameter(s) have been changed from `(func(context.Context, ConsumerSourceDataSetList) (ConsumerSourceDataSetList, error))` to `(ConsumerSourceDataSetList, func(context.Context, ConsumerSourceDataSetList) (ConsumerSourceDataSetList, error))` +- Function `NewSynchronizationSettingListPage` parameter(s) have been changed from `(func(context.Context, SynchronizationSettingList) (SynchronizationSettingList, error))` to `(SynchronizationSettingList, func(context.Context, SynchronizationSettingList) (SynchronizationSettingList, error))` +- Function `NewConsumerInvitationListPage` parameter(s) have been changed from `(func(context.Context, ConsumerInvitationList) (ConsumerInvitationList, error))` to `(ConsumerInvitationList, func(context.Context, ConsumerInvitationList) (ConsumerInvitationList, error))` +- Function `NewShareSubscriptionListPage` parameter(s) have been changed from `(func(context.Context, ShareSubscriptionList) (ShareSubscriptionList, error))` to `(ShareSubscriptionList, func(context.Context, ShareSubscriptionList) (ShareSubscriptionList, error))` +- Function `NewSourceShareSynchronizationSettingListPage` parameter(s) have been changed from `(func(context.Context, SourceShareSynchronizationSettingList) (SourceShareSynchronizationSettingList, error))` to `(SourceShareSynchronizationSettingList, func(context.Context, SourceShareSynchronizationSettingList) (SourceShareSynchronizationSettingList, error))` +- Function `NewProviderShareSubscriptionListPage` parameter(s) have been changed from `(func(context.Context, ProviderShareSubscriptionList) (ProviderShareSubscriptionList, error))` to `(ProviderShareSubscriptionList, func(context.Context, ProviderShareSubscriptionList) (ProviderShareSubscriptionList, error))` +- Function `NewDataSetListPage` parameter(s) have been changed from `(func(context.Context, DataSetList) (DataSetList, error))` to `(DataSetList, func(context.Context, DataSetList) (DataSetList, error))` +- Function `NewOperationListPage` parameter(s) have been changed from `(func(context.Context, OperationList) (OperationList, error))` to `(OperationList, func(context.Context, OperationList) (OperationList, error))` +- Function `NewInvitationListPage` parameter(s) have been changed from `(func(context.Context, InvitationList) (InvitationList, error))` to `(InvitationList, func(context.Context, InvitationList) (InvitationList, error))` +- Function `NewShareListPage` parameter(s) have been changed from `(func(context.Context, ShareList) (ShareList, error))` to `(ShareList, func(context.Context, ShareList) (ShareList, error))` +- Function `NewShareSubscriptionSynchronizationListPage` parameter(s) have been changed from `(func(context.Context, ShareSubscriptionSynchronizationList) (ShareSubscriptionSynchronizationList, error))` to `(ShareSubscriptionSynchronizationList, func(context.Context, ShareSubscriptionSynchronizationList) (ShareSubscriptionSynchronizationList, error))` diff --git a/services/datashare/mgmt/2019-11-01/datashare/models.go b/services/datashare/mgmt/2019-11-01/datashare/models.go index ab993747e818..7e04f77efca8 100644 --- a/services/datashare/mgmt/2019-11-01/datashare/models.go +++ b/services/datashare/mgmt/2019-11-01/datashare/models.go @@ -298,8 +298,11 @@ func (page AccountListPage) Values() []Account { } // Creates a new instance of the AccountListPage type. -func NewAccountListPage(getNextPage func(context.Context, AccountList) (AccountList, error)) AccountListPage { - return AccountListPage{fn: getNextPage} +func NewAccountListPage(cur AccountList, getNextPage func(context.Context, AccountList) (AccountList, error)) AccountListPage { + return AccountListPage{ + fn: getNextPage, + al: cur, + } } // AccountProperties account property bag. @@ -314,7 +317,8 @@ type AccountProperties struct { UserName *string `json:"userName,omitempty"` } -// AccountsCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation. +// AccountsCreateFuture an abstraction for monitoring and retrieving the results of a long-running +// operation. type AccountsCreateFuture struct { azure.Future } @@ -342,7 +346,8 @@ func (future *AccountsCreateFuture) Result(client AccountsClient) (a Account, er return } -// AccountsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation. +// AccountsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running +// operation. type AccountsDeleteFuture struct { azure.Future } @@ -395,7 +400,7 @@ type ADLSGen1FileDataSet struct { Name *string `json:"name,omitempty"` // Type - READ-ONLY; Type of the azure resource Type *string `json:"type,omitempty"` - // Kind - Possible values include: 'KindDataSet', 'KindBlob', 'KindBlobFolder', 'KindContainer', 'KindAdlsGen2File', 'KindAdlsGen2Folder', 'KindAdlsGen2FileSystem', 'KindAdlsGen1Folder', 'KindAdlsGen1File', 'KindKustoCluster', 'KindKustoDatabase', 'KindSQLDWTable', 'KindSQLDBTable' + // Kind - Possible values include: 'KindDataSet', 'KindAdlsGen1File', 'KindAdlsGen1Folder', 'KindAdlsGen2File', 'KindAdlsGen2FileSystem', 'KindAdlsGen2Folder', 'KindContainer', 'KindBlob', 'KindBlobFolder', 'KindKustoCluster', 'KindKustoDatabase', 'KindSQLDBTable', 'KindSQLDWTable' Kind Kind `json:"kind,omitempty"` } @@ -412,23 +417,23 @@ func (ag1fds ADLSGen1FileDataSet) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsBlobDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet. -func (ag1fds ADLSGen1FileDataSet) AsBlobDataSet() (*BlobDataSet, bool) { - return nil, false +// AsADLSGen1FileDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet. +func (ag1fds ADLSGen1FileDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool) { + return &ag1fds, true } -// AsBlobFolderDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet. -func (ag1fds ADLSGen1FileDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool) { +// AsADLSGen1FolderDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet. +func (ag1fds ADLSGen1FileDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool) { return nil, false } -// AsBlobContainerDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet. -func (ag1fds ADLSGen1FileDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool) { +// AsADLSGen2FileDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet. +func (ag1fds ADLSGen1FileDataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool) { return nil, false } -// AsADLSGen2FileDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet. -func (ag1fds ADLSGen1FileDataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool) { +// AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet. +func (ag1fds ADLSGen1FileDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool) { return nil, false } @@ -437,19 +442,19 @@ func (ag1fds ADLSGen1FileDataSet) AsADLSGen2FolderDataSet() (*ADLSGen2FolderData return nil, false } -// AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet. -func (ag1fds ADLSGen1FileDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool) { +// AsBlobContainerDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet. +func (ag1fds ADLSGen1FileDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool) { return nil, false } -// AsADLSGen1FolderDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet. -func (ag1fds ADLSGen1FileDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool) { +// AsBlobDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet. +func (ag1fds ADLSGen1FileDataSet) AsBlobDataSet() (*BlobDataSet, bool) { return nil, false } -// AsADLSGen1FileDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet. -func (ag1fds ADLSGen1FileDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool) { - return &ag1fds, true +// AsBlobFolderDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet. +func (ag1fds ADLSGen1FileDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool) { + return nil, false } // AsKustoClusterDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet. @@ -462,13 +467,13 @@ func (ag1fds ADLSGen1FileDataSet) AsKustoDatabaseDataSet() (*KustoDatabaseDataSe return nil, false } -// AsSQLDWTableDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet. -func (ag1fds ADLSGen1FileDataSet) AsSQLDWTableDataSet() (*SQLDWTableDataSet, bool) { +// AsSQLDBTableDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet. +func (ag1fds ADLSGen1FileDataSet) AsSQLDBTableDataSet() (*SQLDBTableDataSet, bool) { return nil, false } -// AsSQLDBTableDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet. -func (ag1fds ADLSGen1FileDataSet) AsSQLDBTableDataSet() (*SQLDBTableDataSet, bool) { +// AsSQLDWTableDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet. +func (ag1fds ADLSGen1FileDataSet) AsSQLDWTableDataSet() (*SQLDWTableDataSet, bool) { return nil, false } @@ -583,7 +588,7 @@ func (ag1fp ADLSGen1FileProperties) MarshalJSON() ([]byte, error) { type ADLSGen1FolderDataSet struct { // ADLSGen1FolderProperties - ADLS Gen 1 folder data set properties. *ADLSGen1FolderProperties `json:"properties,omitempty"` - // Kind - Possible values include: 'KindDataSet', 'KindBlob', 'KindBlobFolder', 'KindContainer', 'KindAdlsGen2File', 'KindAdlsGen2Folder', 'KindAdlsGen2FileSystem', 'KindAdlsGen1Folder', 'KindAdlsGen1File', 'KindKustoCluster', 'KindKustoDatabase', 'KindSQLDWTable', 'KindSQLDBTable' + // Kind - Possible values include: 'KindDataSet', 'KindAdlsGen1File', 'KindAdlsGen1Folder', 'KindAdlsGen2File', 'KindAdlsGen2FileSystem', 'KindAdlsGen2Folder', 'KindContainer', 'KindBlob', 'KindBlobFolder', 'KindKustoCluster', 'KindKustoDatabase', 'KindSQLDBTable', 'KindSQLDWTable' Kind Kind `json:"kind,omitempty"` // ID - READ-ONLY; The resource id of the azure resource ID *string `json:"id,omitempty"` @@ -606,23 +611,23 @@ func (ag1fds ADLSGen1FolderDataSet) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsBlobDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet. -func (ag1fds ADLSGen1FolderDataSet) AsBlobDataSet() (*BlobDataSet, bool) { +// AsADLSGen1FileDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet. +func (ag1fds ADLSGen1FolderDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool) { return nil, false } -// AsBlobFolderDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet. -func (ag1fds ADLSGen1FolderDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool) { - return nil, false +// AsADLSGen1FolderDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet. +func (ag1fds ADLSGen1FolderDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool) { + return &ag1fds, true } -// AsBlobContainerDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet. -func (ag1fds ADLSGen1FolderDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool) { +// AsADLSGen2FileDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet. +func (ag1fds ADLSGen1FolderDataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool) { return nil, false } -// AsADLSGen2FileDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet. -func (ag1fds ADLSGen1FolderDataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool) { +// AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet. +func (ag1fds ADLSGen1FolderDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool) { return nil, false } @@ -631,18 +636,18 @@ func (ag1fds ADLSGen1FolderDataSet) AsADLSGen2FolderDataSet() (*ADLSGen2FolderDa return nil, false } -// AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet. -func (ag1fds ADLSGen1FolderDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool) { +// AsBlobContainerDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet. +func (ag1fds ADLSGen1FolderDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool) { return nil, false } -// AsADLSGen1FolderDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet. -func (ag1fds ADLSGen1FolderDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool) { - return &ag1fds, true +// AsBlobDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet. +func (ag1fds ADLSGen1FolderDataSet) AsBlobDataSet() (*BlobDataSet, bool) { + return nil, false } -// AsADLSGen1FileDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet. -func (ag1fds ADLSGen1FolderDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool) { +// AsBlobFolderDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet. +func (ag1fds ADLSGen1FolderDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool) { return nil, false } @@ -656,13 +661,13 @@ func (ag1fds ADLSGen1FolderDataSet) AsKustoDatabaseDataSet() (*KustoDatabaseData return nil, false } -// AsSQLDWTableDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet. -func (ag1fds ADLSGen1FolderDataSet) AsSQLDWTableDataSet() (*SQLDWTableDataSet, bool) { +// AsSQLDBTableDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet. +func (ag1fds ADLSGen1FolderDataSet) AsSQLDBTableDataSet() (*SQLDBTableDataSet, bool) { return nil, false } -// AsSQLDBTableDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet. -func (ag1fds ADLSGen1FolderDataSet) AsSQLDBTableDataSet() (*SQLDBTableDataSet, bool) { +// AsSQLDWTableDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet. +func (ag1fds ADLSGen1FolderDataSet) AsSQLDWTableDataSet() (*SQLDWTableDataSet, bool) { return nil, false } @@ -772,7 +777,7 @@ func (ag1fp ADLSGen1FolderProperties) MarshalJSON() ([]byte, error) { type ADLSGen2FileDataSet struct { // ADLSGen2FileProperties - ADLS Gen 2 file data set properties. *ADLSGen2FileProperties `json:"properties,omitempty"` - // Kind - Possible values include: 'KindDataSet', 'KindBlob', 'KindBlobFolder', 'KindContainer', 'KindAdlsGen2File', 'KindAdlsGen2Folder', 'KindAdlsGen2FileSystem', 'KindAdlsGen1Folder', 'KindAdlsGen1File', 'KindKustoCluster', 'KindKustoDatabase', 'KindSQLDWTable', 'KindSQLDBTable' + // Kind - Possible values include: 'KindDataSet', 'KindAdlsGen1File', 'KindAdlsGen1Folder', 'KindAdlsGen2File', 'KindAdlsGen2FileSystem', 'KindAdlsGen2Folder', 'KindContainer', 'KindBlob', 'KindBlobFolder', 'KindKustoCluster', 'KindKustoDatabase', 'KindSQLDBTable', 'KindSQLDWTable' Kind Kind `json:"kind,omitempty"` // ID - READ-ONLY; The resource id of the azure resource ID *string `json:"id,omitempty"` @@ -795,18 +800,13 @@ func (ag2fds ADLSGen2FileDataSet) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsBlobDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet. -func (ag2fds ADLSGen2FileDataSet) AsBlobDataSet() (*BlobDataSet, bool) { - return nil, false -} - -// AsBlobFolderDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet. -func (ag2fds ADLSGen2FileDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool) { +// AsADLSGen1FileDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet. +func (ag2fds ADLSGen2FileDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool) { return nil, false } -// AsBlobContainerDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet. -func (ag2fds ADLSGen2FileDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool) { +// AsADLSGen1FolderDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet. +func (ag2fds ADLSGen2FileDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool) { return nil, false } @@ -815,23 +815,28 @@ func (ag2fds ADLSGen2FileDataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, return &ag2fds, true } +// AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet. +func (ag2fds ADLSGen2FileDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool) { + return nil, false +} + // AsADLSGen2FolderDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet. func (ag2fds ADLSGen2FileDataSet) AsADLSGen2FolderDataSet() (*ADLSGen2FolderDataSet, bool) { return nil, false } -// AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet. -func (ag2fds ADLSGen2FileDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool) { +// AsBlobContainerDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet. +func (ag2fds ADLSGen2FileDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool) { return nil, false } -// AsADLSGen1FolderDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet. -func (ag2fds ADLSGen2FileDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool) { +// AsBlobDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet. +func (ag2fds ADLSGen2FileDataSet) AsBlobDataSet() (*BlobDataSet, bool) { return nil, false } -// AsADLSGen1FileDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet. -func (ag2fds ADLSGen2FileDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool) { +// AsBlobFolderDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet. +func (ag2fds ADLSGen2FileDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool) { return nil, false } @@ -845,13 +850,13 @@ func (ag2fds ADLSGen2FileDataSet) AsKustoDatabaseDataSet() (*KustoDatabaseDataSe return nil, false } -// AsSQLDWTableDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet. -func (ag2fds ADLSGen2FileDataSet) AsSQLDWTableDataSet() (*SQLDWTableDataSet, bool) { +// AsSQLDBTableDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet. +func (ag2fds ADLSGen2FileDataSet) AsSQLDBTableDataSet() (*SQLDBTableDataSet, bool) { return nil, false } -// AsSQLDBTableDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet. -func (ag2fds ADLSGen2FileDataSet) AsSQLDBTableDataSet() (*SQLDBTableDataSet, bool) { +// AsSQLDWTableDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet. +func (ag2fds ADLSGen2FileDataSet) AsSQLDWTableDataSet() (*SQLDWTableDataSet, bool) { return nil, false } @@ -935,7 +940,7 @@ type ADLSGen2FileDataSetMapping struct { Name *string `json:"name,omitempty"` // Type - READ-ONLY; Type of the azure resource Type *string `json:"type,omitempty"` - // Kind - Possible values include: 'KindBasicDataSetMappingKindDataSetMapping', 'KindBasicDataSetMappingKindBlob', 'KindBasicDataSetMappingKindBlobFolder', 'KindBasicDataSetMappingKindContainer', 'KindBasicDataSetMappingKindAdlsGen2File', 'KindBasicDataSetMappingKindAdlsGen2Folder', 'KindBasicDataSetMappingKindAdlsGen2FileSystem', 'KindBasicDataSetMappingKindKustoCluster', 'KindBasicDataSetMappingKindKustoDatabase', 'KindBasicDataSetMappingKindSQLDWTable', 'KindBasicDataSetMappingKindSQLDBTable' + // Kind - Possible values include: 'KindBasicDataSetMappingKindDataSetMapping', 'KindBasicDataSetMappingKindAdlsGen2File', 'KindBasicDataSetMappingKindAdlsGen2FileSystem', 'KindBasicDataSetMappingKindAdlsGen2Folder', 'KindBasicDataSetMappingKindContainer', 'KindBasicDataSetMappingKindBlob', 'KindBasicDataSetMappingKindBlobFolder', 'KindBasicDataSetMappingKindKustoCluster', 'KindBasicDataSetMappingKindKustoDatabase', 'KindBasicDataSetMappingKindSQLDBTable', 'KindBasicDataSetMappingKindSQLDWTable' Kind KindBasicDataSetMapping `json:"kind,omitempty"` } @@ -952,13 +957,18 @@ func (ag2fdsm ADLSGen2FileDataSetMapping) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsBlobDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping. -func (ag2fdsm ADLSGen2FileDataSetMapping) AsBlobDataSetMapping() (*BlobDataSetMapping, bool) { +// AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping. +func (ag2fdsm ADLSGen2FileDataSetMapping) AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool) { + return &ag2fdsm, true +} + +// AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping. +func (ag2fdsm ADLSGen2FileDataSetMapping) AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool) { return nil, false } -// AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping. -func (ag2fdsm ADLSGen2FileDataSetMapping) AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool) { +// AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping. +func (ag2fdsm ADLSGen2FileDataSetMapping) AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool) { return nil, false } @@ -967,18 +977,13 @@ func (ag2fdsm ADLSGen2FileDataSetMapping) AsBlobContainerDataSetMapping() (*Blob return nil, false } -// AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping. -func (ag2fdsm ADLSGen2FileDataSetMapping) AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool) { - return &ag2fdsm, true -} - -// AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping. -func (ag2fdsm ADLSGen2FileDataSetMapping) AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool) { +// AsBlobDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping. +func (ag2fdsm ADLSGen2FileDataSetMapping) AsBlobDataSetMapping() (*BlobDataSetMapping, bool) { return nil, false } -// AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping. -func (ag2fdsm ADLSGen2FileDataSetMapping) AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool) { +// AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping. +func (ag2fdsm ADLSGen2FileDataSetMapping) AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool) { return nil, false } @@ -992,13 +997,13 @@ func (ag2fdsm ADLSGen2FileDataSetMapping) AsKustoDatabaseDataSetMapping() (*Kust return nil, false } -// AsSQLDWTableDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping. -func (ag2fdsm ADLSGen2FileDataSetMapping) AsSQLDWTableDataSetMapping() (*SQLDWTableDataSetMapping, bool) { +// AsSQLDBTableDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping. +func (ag2fdsm ADLSGen2FileDataSetMapping) AsSQLDBTableDataSetMapping() (*SQLDBTableDataSetMapping, bool) { return nil, false } -// AsSQLDBTableDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping. -func (ag2fdsm ADLSGen2FileDataSetMapping) AsSQLDBTableDataSetMapping() (*SQLDBTableDataSetMapping, bool) { +// AsSQLDWTableDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping. +func (ag2fdsm ADLSGen2FileDataSetMapping) AsSQLDWTableDataSetMapping() (*SQLDWTableDataSetMapping, bool) { return nil, false } @@ -1162,7 +1167,7 @@ func (ag2fp ADLSGen2FileProperties) MarshalJSON() ([]byte, error) { type ADLSGen2FileSystemDataSet struct { // ADLSGen2FileSystemProperties - ADLS Gen 2 file system data set properties. *ADLSGen2FileSystemProperties `json:"properties,omitempty"` - // Kind - Possible values include: 'KindDataSet', 'KindBlob', 'KindBlobFolder', 'KindContainer', 'KindAdlsGen2File', 'KindAdlsGen2Folder', 'KindAdlsGen2FileSystem', 'KindAdlsGen1Folder', 'KindAdlsGen1File', 'KindKustoCluster', 'KindKustoDatabase', 'KindSQLDWTable', 'KindSQLDBTable' + // Kind - Possible values include: 'KindDataSet', 'KindAdlsGen1File', 'KindAdlsGen1Folder', 'KindAdlsGen2File', 'KindAdlsGen2FileSystem', 'KindAdlsGen2Folder', 'KindContainer', 'KindBlob', 'KindBlobFolder', 'KindKustoCluster', 'KindKustoDatabase', 'KindSQLDBTable', 'KindSQLDWTable' Kind Kind `json:"kind,omitempty"` // ID - READ-ONLY; The resource id of the azure resource ID *string `json:"id,omitempty"` @@ -1185,18 +1190,13 @@ func (ag2fsds ADLSGen2FileSystemDataSet) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsBlobDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet. -func (ag2fsds ADLSGen2FileSystemDataSet) AsBlobDataSet() (*BlobDataSet, bool) { - return nil, false -} - -// AsBlobFolderDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet. -func (ag2fsds ADLSGen2FileSystemDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool) { +// AsADLSGen1FileDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet. +func (ag2fsds ADLSGen2FileSystemDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool) { return nil, false } -// AsBlobContainerDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet. -func (ag2fsds ADLSGen2FileSystemDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool) { +// AsADLSGen1FolderDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet. +func (ag2fsds ADLSGen2FileSystemDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool) { return nil, false } @@ -1205,23 +1205,28 @@ func (ag2fsds ADLSGen2FileSystemDataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileD return nil, false } +// AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet. +func (ag2fsds ADLSGen2FileSystemDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool) { + return &ag2fsds, true +} + // AsADLSGen2FolderDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet. func (ag2fsds ADLSGen2FileSystemDataSet) AsADLSGen2FolderDataSet() (*ADLSGen2FolderDataSet, bool) { return nil, false } -// AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet. -func (ag2fsds ADLSGen2FileSystemDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool) { - return &ag2fsds, true +// AsBlobContainerDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet. +func (ag2fsds ADLSGen2FileSystemDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool) { + return nil, false } -// AsADLSGen1FolderDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet. -func (ag2fsds ADLSGen2FileSystemDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool) { +// AsBlobDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet. +func (ag2fsds ADLSGen2FileSystemDataSet) AsBlobDataSet() (*BlobDataSet, bool) { return nil, false } -// AsADLSGen1FileDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet. -func (ag2fsds ADLSGen2FileSystemDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool) { +// AsBlobFolderDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet. +func (ag2fsds ADLSGen2FileSystemDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool) { return nil, false } @@ -1235,13 +1240,13 @@ func (ag2fsds ADLSGen2FileSystemDataSet) AsKustoDatabaseDataSet() (*KustoDatabas return nil, false } -// AsSQLDWTableDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet. -func (ag2fsds ADLSGen2FileSystemDataSet) AsSQLDWTableDataSet() (*SQLDWTableDataSet, bool) { +// AsSQLDBTableDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet. +func (ag2fsds ADLSGen2FileSystemDataSet) AsSQLDBTableDataSet() (*SQLDBTableDataSet, bool) { return nil, false } -// AsSQLDBTableDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet. -func (ag2fsds ADLSGen2FileSystemDataSet) AsSQLDBTableDataSet() (*SQLDBTableDataSet, bool) { +// AsSQLDWTableDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet. +func (ag2fsds ADLSGen2FileSystemDataSet) AsSQLDWTableDataSet() (*SQLDWTableDataSet, bool) { return nil, false } @@ -1319,7 +1324,7 @@ func (ag2fsds *ADLSGen2FileSystemDataSet) UnmarshalJSON(body []byte) error { type ADLSGen2FileSystemDataSetMapping struct { // ADLSGen2FileSystemDataSetMappingProperties - ADLS Gen2 file system data set mapping properties. *ADLSGen2FileSystemDataSetMappingProperties `json:"properties,omitempty"` - // Kind - Possible values include: 'KindBasicDataSetMappingKindDataSetMapping', 'KindBasicDataSetMappingKindBlob', 'KindBasicDataSetMappingKindBlobFolder', 'KindBasicDataSetMappingKindContainer', 'KindBasicDataSetMappingKindAdlsGen2File', 'KindBasicDataSetMappingKindAdlsGen2Folder', 'KindBasicDataSetMappingKindAdlsGen2FileSystem', 'KindBasicDataSetMappingKindKustoCluster', 'KindBasicDataSetMappingKindKustoDatabase', 'KindBasicDataSetMappingKindSQLDWTable', 'KindBasicDataSetMappingKindSQLDBTable' + // Kind - Possible values include: 'KindBasicDataSetMappingKindDataSetMapping', 'KindBasicDataSetMappingKindAdlsGen2File', 'KindBasicDataSetMappingKindAdlsGen2FileSystem', 'KindBasicDataSetMappingKindAdlsGen2Folder', 'KindBasicDataSetMappingKindContainer', 'KindBasicDataSetMappingKindBlob', 'KindBasicDataSetMappingKindBlobFolder', 'KindBasicDataSetMappingKindKustoCluster', 'KindBasicDataSetMappingKindKustoDatabase', 'KindBasicDataSetMappingKindSQLDBTable', 'KindBasicDataSetMappingKindSQLDWTable' Kind KindBasicDataSetMapping `json:"kind,omitempty"` // ID - READ-ONLY; The resource id of the azure resource ID *string `json:"id,omitempty"` @@ -1342,13 +1347,18 @@ func (ag2fsdsm ADLSGen2FileSystemDataSetMapping) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsBlobDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping. -func (ag2fsdsm ADLSGen2FileSystemDataSetMapping) AsBlobDataSetMapping() (*BlobDataSetMapping, bool) { +// AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping. +func (ag2fsdsm ADLSGen2FileSystemDataSetMapping) AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool) { return nil, false } -// AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping. -func (ag2fsdsm ADLSGen2FileSystemDataSetMapping) AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool) { +// AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping. +func (ag2fsdsm ADLSGen2FileSystemDataSetMapping) AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool) { + return &ag2fsdsm, true +} + +// AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping. +func (ag2fsdsm ADLSGen2FileSystemDataSetMapping) AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool) { return nil, false } @@ -1357,21 +1367,16 @@ func (ag2fsdsm ADLSGen2FileSystemDataSetMapping) AsBlobContainerDataSetMapping() return nil, false } -// AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping. -func (ag2fsdsm ADLSGen2FileSystemDataSetMapping) AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool) { +// AsBlobDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping. +func (ag2fsdsm ADLSGen2FileSystemDataSetMapping) AsBlobDataSetMapping() (*BlobDataSetMapping, bool) { return nil, false } -// AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping. -func (ag2fsdsm ADLSGen2FileSystemDataSetMapping) AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool) { +// AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping. +func (ag2fsdsm ADLSGen2FileSystemDataSetMapping) AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool) { return nil, false } -// AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping. -func (ag2fsdsm ADLSGen2FileSystemDataSetMapping) AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool) { - return &ag2fsdsm, true -} - // AsKustoClusterDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping. func (ag2fsdsm ADLSGen2FileSystemDataSetMapping) AsKustoClusterDataSetMapping() (*KustoClusterDataSetMapping, bool) { return nil, false @@ -1382,13 +1387,13 @@ func (ag2fsdsm ADLSGen2FileSystemDataSetMapping) AsKustoDatabaseDataSetMapping() return nil, false } -// AsSQLDWTableDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping. -func (ag2fsdsm ADLSGen2FileSystemDataSetMapping) AsSQLDWTableDataSetMapping() (*SQLDWTableDataSetMapping, bool) { +// AsSQLDBTableDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping. +func (ag2fsdsm ADLSGen2FileSystemDataSetMapping) AsSQLDBTableDataSetMapping() (*SQLDBTableDataSetMapping, bool) { return nil, false } -// AsSQLDBTableDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping. -func (ag2fsdsm ADLSGen2FileSystemDataSetMapping) AsSQLDBTableDataSetMapping() (*SQLDBTableDataSetMapping, bool) { +// AsSQLDWTableDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping. +func (ag2fsdsm ADLSGen2FileSystemDataSetMapping) AsSQLDWTableDataSetMapping() (*SQLDWTableDataSetMapping, bool) { return nil, false } @@ -1537,7 +1542,7 @@ func (ag2fsp ADLSGen2FileSystemProperties) MarshalJSON() ([]byte, error) { type ADLSGen2FolderDataSet struct { // ADLSGen2FolderProperties - ADLS Gen 2 folder data set properties. *ADLSGen2FolderProperties `json:"properties,omitempty"` - // Kind - Possible values include: 'KindDataSet', 'KindBlob', 'KindBlobFolder', 'KindContainer', 'KindAdlsGen2File', 'KindAdlsGen2Folder', 'KindAdlsGen2FileSystem', 'KindAdlsGen1Folder', 'KindAdlsGen1File', 'KindKustoCluster', 'KindKustoDatabase', 'KindSQLDWTable', 'KindSQLDBTable' + // Kind - Possible values include: 'KindDataSet', 'KindAdlsGen1File', 'KindAdlsGen1Folder', 'KindAdlsGen2File', 'KindAdlsGen2FileSystem', 'KindAdlsGen2Folder', 'KindContainer', 'KindBlob', 'KindBlobFolder', 'KindKustoCluster', 'KindKustoDatabase', 'KindSQLDBTable', 'KindSQLDWTable' Kind Kind `json:"kind,omitempty"` // ID - READ-ONLY; The resource id of the azure resource ID *string `json:"id,omitempty"` @@ -1560,23 +1565,23 @@ func (ag2fds ADLSGen2FolderDataSet) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsBlobDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet. -func (ag2fds ADLSGen2FolderDataSet) AsBlobDataSet() (*BlobDataSet, bool) { +// AsADLSGen1FileDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet. +func (ag2fds ADLSGen2FolderDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool) { return nil, false } -// AsBlobFolderDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet. -func (ag2fds ADLSGen2FolderDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool) { +// AsADLSGen1FolderDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet. +func (ag2fds ADLSGen2FolderDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool) { return nil, false } -// AsBlobContainerDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet. -func (ag2fds ADLSGen2FolderDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool) { +// AsADLSGen2FileDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet. +func (ag2fds ADLSGen2FolderDataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool) { return nil, false } -// AsADLSGen2FileDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet. -func (ag2fds ADLSGen2FolderDataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool) { +// AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet. +func (ag2fds ADLSGen2FolderDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool) { return nil, false } @@ -1585,18 +1590,18 @@ func (ag2fds ADLSGen2FolderDataSet) AsADLSGen2FolderDataSet() (*ADLSGen2FolderDa return &ag2fds, true } -// AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet. -func (ag2fds ADLSGen2FolderDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool) { +// AsBlobContainerDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet. +func (ag2fds ADLSGen2FolderDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool) { return nil, false } -// AsADLSGen1FolderDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet. -func (ag2fds ADLSGen2FolderDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool) { +// AsBlobDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet. +func (ag2fds ADLSGen2FolderDataSet) AsBlobDataSet() (*BlobDataSet, bool) { return nil, false } -// AsADLSGen1FileDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet. -func (ag2fds ADLSGen2FolderDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool) { +// AsBlobFolderDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet. +func (ag2fds ADLSGen2FolderDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool) { return nil, false } @@ -1610,13 +1615,13 @@ func (ag2fds ADLSGen2FolderDataSet) AsKustoDatabaseDataSet() (*KustoDatabaseData return nil, false } -// AsSQLDWTableDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet. -func (ag2fds ADLSGen2FolderDataSet) AsSQLDWTableDataSet() (*SQLDWTableDataSet, bool) { +// AsSQLDBTableDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet. +func (ag2fds ADLSGen2FolderDataSet) AsSQLDBTableDataSet() (*SQLDBTableDataSet, bool) { return nil, false } -// AsSQLDBTableDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet. -func (ag2fds ADLSGen2FolderDataSet) AsSQLDBTableDataSet() (*SQLDBTableDataSet, bool) { +// AsSQLDWTableDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet. +func (ag2fds ADLSGen2FolderDataSet) AsSQLDWTableDataSet() (*SQLDWTableDataSet, bool) { return nil, false } @@ -1694,7 +1699,7 @@ func (ag2fds *ADLSGen2FolderDataSet) UnmarshalJSON(body []byte) error { type ADLSGen2FolderDataSetMapping struct { // ADLSGen2FolderDataSetMappingProperties - ADLS Gen2 folder data set mapping properties. *ADLSGen2FolderDataSetMappingProperties `json:"properties,omitempty"` - // Kind - Possible values include: 'KindBasicDataSetMappingKindDataSetMapping', 'KindBasicDataSetMappingKindBlob', 'KindBasicDataSetMappingKindBlobFolder', 'KindBasicDataSetMappingKindContainer', 'KindBasicDataSetMappingKindAdlsGen2File', 'KindBasicDataSetMappingKindAdlsGen2Folder', 'KindBasicDataSetMappingKindAdlsGen2FileSystem', 'KindBasicDataSetMappingKindKustoCluster', 'KindBasicDataSetMappingKindKustoDatabase', 'KindBasicDataSetMappingKindSQLDWTable', 'KindBasicDataSetMappingKindSQLDBTable' + // Kind - Possible values include: 'KindBasicDataSetMappingKindDataSetMapping', 'KindBasicDataSetMappingKindAdlsGen2File', 'KindBasicDataSetMappingKindAdlsGen2FileSystem', 'KindBasicDataSetMappingKindAdlsGen2Folder', 'KindBasicDataSetMappingKindContainer', 'KindBasicDataSetMappingKindBlob', 'KindBasicDataSetMappingKindBlobFolder', 'KindBasicDataSetMappingKindKustoCluster', 'KindBasicDataSetMappingKindKustoDatabase', 'KindBasicDataSetMappingKindSQLDBTable', 'KindBasicDataSetMappingKindSQLDWTable' Kind KindBasicDataSetMapping `json:"kind,omitempty"` // ID - READ-ONLY; The resource id of the azure resource ID *string `json:"id,omitempty"` @@ -1717,33 +1722,33 @@ func (ag2fdsm ADLSGen2FolderDataSetMapping) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsBlobDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping. -func (ag2fdsm ADLSGen2FolderDataSetMapping) AsBlobDataSetMapping() (*BlobDataSetMapping, bool) { +// AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping. +func (ag2fdsm ADLSGen2FolderDataSetMapping) AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool) { return nil, false } -// AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping. -func (ag2fdsm ADLSGen2FolderDataSetMapping) AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool) { +// AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping. +func (ag2fdsm ADLSGen2FolderDataSetMapping) AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool) { return nil, false } +// AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping. +func (ag2fdsm ADLSGen2FolderDataSetMapping) AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool) { + return &ag2fdsm, true +} + // AsBlobContainerDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping. func (ag2fdsm ADLSGen2FolderDataSetMapping) AsBlobContainerDataSetMapping() (*BlobContainerDataSetMapping, bool) { return nil, false } -// AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping. -func (ag2fdsm ADLSGen2FolderDataSetMapping) AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool) { +// AsBlobDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping. +func (ag2fdsm ADLSGen2FolderDataSetMapping) AsBlobDataSetMapping() (*BlobDataSetMapping, bool) { return nil, false } -// AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping. -func (ag2fdsm ADLSGen2FolderDataSetMapping) AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool) { - return &ag2fdsm, true -} - -// AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping. -func (ag2fdsm ADLSGen2FolderDataSetMapping) AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool) { +// AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping. +func (ag2fdsm ADLSGen2FolderDataSetMapping) AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool) { return nil, false } @@ -1757,13 +1762,13 @@ func (ag2fdsm ADLSGen2FolderDataSetMapping) AsKustoDatabaseDataSetMapping() (*Ku return nil, false } -// AsSQLDWTableDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping. -func (ag2fdsm ADLSGen2FolderDataSetMapping) AsSQLDWTableDataSetMapping() (*SQLDWTableDataSetMapping, bool) { +// AsSQLDBTableDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping. +func (ag2fdsm ADLSGen2FolderDataSetMapping) AsSQLDBTableDataSetMapping() (*SQLDBTableDataSetMapping, bool) { return nil, false } -// AsSQLDBTableDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping. -func (ag2fdsm ADLSGen2FolderDataSetMapping) AsSQLDBTableDataSetMapping() (*SQLDBTableDataSetMapping, bool) { +// AsSQLDWTableDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping. +func (ag2fdsm ADLSGen2FolderDataSetMapping) AsSQLDWTableDataSetMapping() (*SQLDWTableDataSetMapping, bool) { return nil, false } @@ -1922,7 +1927,7 @@ func (ag2fp ADLSGen2FolderProperties) MarshalJSON() ([]byte, error) { type BlobContainerDataSet struct { // BlobContainerProperties - Blob container data set properties. *BlobContainerProperties `json:"properties,omitempty"` - // Kind - Possible values include: 'KindDataSet', 'KindBlob', 'KindBlobFolder', 'KindContainer', 'KindAdlsGen2File', 'KindAdlsGen2Folder', 'KindAdlsGen2FileSystem', 'KindAdlsGen1Folder', 'KindAdlsGen1File', 'KindKustoCluster', 'KindKustoDatabase', 'KindSQLDWTable', 'KindSQLDBTable' + // Kind - Possible values include: 'KindDataSet', 'KindAdlsGen1File', 'KindAdlsGen1Folder', 'KindAdlsGen2File', 'KindAdlsGen2FileSystem', 'KindAdlsGen2Folder', 'KindContainer', 'KindBlob', 'KindBlobFolder', 'KindKustoCluster', 'KindKustoDatabase', 'KindSQLDBTable', 'KindSQLDWTable' Kind Kind `json:"kind,omitempty"` // ID - READ-ONLY; The resource id of the azure resource ID *string `json:"id,omitempty"` @@ -1945,43 +1950,43 @@ func (bcds BlobContainerDataSet) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsBlobDataSet is the BasicDataSet implementation for BlobContainerDataSet. -func (bcds BlobContainerDataSet) AsBlobDataSet() (*BlobDataSet, bool) { +// AsADLSGen1FileDataSet is the BasicDataSet implementation for BlobContainerDataSet. +func (bcds BlobContainerDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool) { return nil, false } -// AsBlobFolderDataSet is the BasicDataSet implementation for BlobContainerDataSet. -func (bcds BlobContainerDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool) { +// AsADLSGen1FolderDataSet is the BasicDataSet implementation for BlobContainerDataSet. +func (bcds BlobContainerDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool) { return nil, false } -// AsBlobContainerDataSet is the BasicDataSet implementation for BlobContainerDataSet. -func (bcds BlobContainerDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool) { - return &bcds, true -} - // AsADLSGen2FileDataSet is the BasicDataSet implementation for BlobContainerDataSet. func (bcds BlobContainerDataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool) { return nil, false } +// AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for BlobContainerDataSet. +func (bcds BlobContainerDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool) { + return nil, false +} + // AsADLSGen2FolderDataSet is the BasicDataSet implementation for BlobContainerDataSet. func (bcds BlobContainerDataSet) AsADLSGen2FolderDataSet() (*ADLSGen2FolderDataSet, bool) { return nil, false } -// AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for BlobContainerDataSet. -func (bcds BlobContainerDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool) { - return nil, false +// AsBlobContainerDataSet is the BasicDataSet implementation for BlobContainerDataSet. +func (bcds BlobContainerDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool) { + return &bcds, true } -// AsADLSGen1FolderDataSet is the BasicDataSet implementation for BlobContainerDataSet. -func (bcds BlobContainerDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool) { +// AsBlobDataSet is the BasicDataSet implementation for BlobContainerDataSet. +func (bcds BlobContainerDataSet) AsBlobDataSet() (*BlobDataSet, bool) { return nil, false } -// AsADLSGen1FileDataSet is the BasicDataSet implementation for BlobContainerDataSet. -func (bcds BlobContainerDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool) { +// AsBlobFolderDataSet is the BasicDataSet implementation for BlobContainerDataSet. +func (bcds BlobContainerDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool) { return nil, false } @@ -1995,13 +2000,13 @@ func (bcds BlobContainerDataSet) AsKustoDatabaseDataSet() (*KustoDatabaseDataSet return nil, false } -// AsSQLDWTableDataSet is the BasicDataSet implementation for BlobContainerDataSet. -func (bcds BlobContainerDataSet) AsSQLDWTableDataSet() (*SQLDWTableDataSet, bool) { +// AsSQLDBTableDataSet is the BasicDataSet implementation for BlobContainerDataSet. +func (bcds BlobContainerDataSet) AsSQLDBTableDataSet() (*SQLDBTableDataSet, bool) { return nil, false } -// AsSQLDBTableDataSet is the BasicDataSet implementation for BlobContainerDataSet. -func (bcds BlobContainerDataSet) AsSQLDBTableDataSet() (*SQLDBTableDataSet, bool) { +// AsSQLDWTableDataSet is the BasicDataSet implementation for BlobContainerDataSet. +func (bcds BlobContainerDataSet) AsSQLDWTableDataSet() (*SQLDWTableDataSet, bool) { return nil, false } @@ -2079,7 +2084,7 @@ func (bcds *BlobContainerDataSet) UnmarshalJSON(body []byte) error { type BlobContainerDataSetMapping struct { // BlobContainerMappingProperties - Blob container data set mapping properties. *BlobContainerMappingProperties `json:"properties,omitempty"` - // Kind - Possible values include: 'KindBasicDataSetMappingKindDataSetMapping', 'KindBasicDataSetMappingKindBlob', 'KindBasicDataSetMappingKindBlobFolder', 'KindBasicDataSetMappingKindContainer', 'KindBasicDataSetMappingKindAdlsGen2File', 'KindBasicDataSetMappingKindAdlsGen2Folder', 'KindBasicDataSetMappingKindAdlsGen2FileSystem', 'KindBasicDataSetMappingKindKustoCluster', 'KindBasicDataSetMappingKindKustoDatabase', 'KindBasicDataSetMappingKindSQLDWTable', 'KindBasicDataSetMappingKindSQLDBTable' + // Kind - Possible values include: 'KindBasicDataSetMappingKindDataSetMapping', 'KindBasicDataSetMappingKindAdlsGen2File', 'KindBasicDataSetMappingKindAdlsGen2FileSystem', 'KindBasicDataSetMappingKindAdlsGen2Folder', 'KindBasicDataSetMappingKindContainer', 'KindBasicDataSetMappingKindBlob', 'KindBasicDataSetMappingKindBlobFolder', 'KindBasicDataSetMappingKindKustoCluster', 'KindBasicDataSetMappingKindKustoDatabase', 'KindBasicDataSetMappingKindSQLDBTable', 'KindBasicDataSetMappingKindSQLDWTable' Kind KindBasicDataSetMapping `json:"kind,omitempty"` // ID - READ-ONLY; The resource id of the azure resource ID *string `json:"id,omitempty"` @@ -2102,13 +2107,18 @@ func (bcdsm BlobContainerDataSetMapping) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsBlobDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping. -func (bcdsm BlobContainerDataSetMapping) AsBlobDataSetMapping() (*BlobDataSetMapping, bool) { +// AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping. +func (bcdsm BlobContainerDataSetMapping) AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool) { return nil, false } -// AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping. -func (bcdsm BlobContainerDataSetMapping) AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool) { +// AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping. +func (bcdsm BlobContainerDataSetMapping) AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool) { + return nil, false +} + +// AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping. +func (bcdsm BlobContainerDataSetMapping) AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool) { return nil, false } @@ -2117,18 +2127,13 @@ func (bcdsm BlobContainerDataSetMapping) AsBlobContainerDataSetMapping() (*BlobC return &bcdsm, true } -// AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping. -func (bcdsm BlobContainerDataSetMapping) AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool) { - return nil, false -} - -// AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping. -func (bcdsm BlobContainerDataSetMapping) AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool) { +// AsBlobDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping. +func (bcdsm BlobContainerDataSetMapping) AsBlobDataSetMapping() (*BlobDataSetMapping, bool) { return nil, false } -// AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping. -func (bcdsm BlobContainerDataSetMapping) AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool) { +// AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping. +func (bcdsm BlobContainerDataSetMapping) AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool) { return nil, false } @@ -2142,13 +2147,13 @@ func (bcdsm BlobContainerDataSetMapping) AsKustoDatabaseDataSetMapping() (*Kusto return nil, false } -// AsSQLDWTableDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping. -func (bcdsm BlobContainerDataSetMapping) AsSQLDWTableDataSetMapping() (*SQLDWTableDataSetMapping, bool) { +// AsSQLDBTableDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping. +func (bcdsm BlobContainerDataSetMapping) AsSQLDBTableDataSetMapping() (*SQLDBTableDataSetMapping, bool) { return nil, false } -// AsSQLDBTableDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping. -func (bcdsm BlobContainerDataSetMapping) AsSQLDBTableDataSetMapping() (*SQLDBTableDataSetMapping, bool) { +// AsSQLDWTableDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping. +func (bcdsm BlobContainerDataSetMapping) AsSQLDWTableDataSetMapping() (*SQLDWTableDataSetMapping, bool) { return nil, false } @@ -2297,7 +2302,7 @@ func (bcp BlobContainerProperties) MarshalJSON() ([]byte, error) { type BlobDataSet struct { // BlobProperties - Blob data set properties. *BlobProperties `json:"properties,omitempty"` - // Kind - Possible values include: 'KindDataSet', 'KindBlob', 'KindBlobFolder', 'KindContainer', 'KindAdlsGen2File', 'KindAdlsGen2Folder', 'KindAdlsGen2FileSystem', 'KindAdlsGen1Folder', 'KindAdlsGen1File', 'KindKustoCluster', 'KindKustoDatabase', 'KindSQLDWTable', 'KindSQLDBTable' + // Kind - Possible values include: 'KindDataSet', 'KindAdlsGen1File', 'KindAdlsGen1Folder', 'KindAdlsGen2File', 'KindAdlsGen2FileSystem', 'KindAdlsGen2Folder', 'KindContainer', 'KindBlob', 'KindBlobFolder', 'KindKustoCluster', 'KindKustoDatabase', 'KindSQLDBTable', 'KindSQLDWTable' Kind Kind `json:"kind,omitempty"` // ID - READ-ONLY; The resource id of the azure resource ID *string `json:"id,omitempty"` @@ -2320,18 +2325,13 @@ func (bds BlobDataSet) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsBlobDataSet is the BasicDataSet implementation for BlobDataSet. -func (bds BlobDataSet) AsBlobDataSet() (*BlobDataSet, bool) { - return &bds, true -} - -// AsBlobFolderDataSet is the BasicDataSet implementation for BlobDataSet. -func (bds BlobDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool) { +// AsADLSGen1FileDataSet is the BasicDataSet implementation for BlobDataSet. +func (bds BlobDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool) { return nil, false } -// AsBlobContainerDataSet is the BasicDataSet implementation for BlobDataSet. -func (bds BlobDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool) { +// AsADLSGen1FolderDataSet is the BasicDataSet implementation for BlobDataSet. +func (bds BlobDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool) { return nil, false } @@ -2340,23 +2340,28 @@ func (bds BlobDataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool) { return nil, false } +// AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for BlobDataSet. +func (bds BlobDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool) { + return nil, false +} + // AsADLSGen2FolderDataSet is the BasicDataSet implementation for BlobDataSet. func (bds BlobDataSet) AsADLSGen2FolderDataSet() (*ADLSGen2FolderDataSet, bool) { return nil, false } -// AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for BlobDataSet. -func (bds BlobDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool) { +// AsBlobContainerDataSet is the BasicDataSet implementation for BlobDataSet. +func (bds BlobDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool) { return nil, false } -// AsADLSGen1FolderDataSet is the BasicDataSet implementation for BlobDataSet. -func (bds BlobDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool) { - return nil, false +// AsBlobDataSet is the BasicDataSet implementation for BlobDataSet. +func (bds BlobDataSet) AsBlobDataSet() (*BlobDataSet, bool) { + return &bds, true } -// AsADLSGen1FileDataSet is the BasicDataSet implementation for BlobDataSet. -func (bds BlobDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool) { +// AsBlobFolderDataSet is the BasicDataSet implementation for BlobDataSet. +func (bds BlobDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool) { return nil, false } @@ -2370,13 +2375,13 @@ func (bds BlobDataSet) AsKustoDatabaseDataSet() (*KustoDatabaseDataSet, bool) { return nil, false } -// AsSQLDWTableDataSet is the BasicDataSet implementation for BlobDataSet. -func (bds BlobDataSet) AsSQLDWTableDataSet() (*SQLDWTableDataSet, bool) { +// AsSQLDBTableDataSet is the BasicDataSet implementation for BlobDataSet. +func (bds BlobDataSet) AsSQLDBTableDataSet() (*SQLDBTableDataSet, bool) { return nil, false } -// AsSQLDBTableDataSet is the BasicDataSet implementation for BlobDataSet. -func (bds BlobDataSet) AsSQLDBTableDataSet() (*SQLDBTableDataSet, bool) { +// AsSQLDWTableDataSet is the BasicDataSet implementation for BlobDataSet. +func (bds BlobDataSet) AsSQLDWTableDataSet() (*SQLDWTableDataSet, bool) { return nil, false } @@ -2454,7 +2459,7 @@ func (bds *BlobDataSet) UnmarshalJSON(body []byte) error { type BlobDataSetMapping struct { // BlobMappingProperties - Blob data set mapping properties. *BlobMappingProperties `json:"properties,omitempty"` - // Kind - Possible values include: 'KindBasicDataSetMappingKindDataSetMapping', 'KindBasicDataSetMappingKindBlob', 'KindBasicDataSetMappingKindBlobFolder', 'KindBasicDataSetMappingKindContainer', 'KindBasicDataSetMappingKindAdlsGen2File', 'KindBasicDataSetMappingKindAdlsGen2Folder', 'KindBasicDataSetMappingKindAdlsGen2FileSystem', 'KindBasicDataSetMappingKindKustoCluster', 'KindBasicDataSetMappingKindKustoDatabase', 'KindBasicDataSetMappingKindSQLDWTable', 'KindBasicDataSetMappingKindSQLDBTable' + // Kind - Possible values include: 'KindBasicDataSetMappingKindDataSetMapping', 'KindBasicDataSetMappingKindAdlsGen2File', 'KindBasicDataSetMappingKindAdlsGen2FileSystem', 'KindBasicDataSetMappingKindAdlsGen2Folder', 'KindBasicDataSetMappingKindContainer', 'KindBasicDataSetMappingKindBlob', 'KindBasicDataSetMappingKindBlobFolder', 'KindBasicDataSetMappingKindKustoCluster', 'KindBasicDataSetMappingKindKustoDatabase', 'KindBasicDataSetMappingKindSQLDBTable', 'KindBasicDataSetMappingKindSQLDWTable' Kind KindBasicDataSetMapping `json:"kind,omitempty"` // ID - READ-ONLY; The resource id of the azure resource ID *string `json:"id,omitempty"` @@ -2477,33 +2482,33 @@ func (bdsm BlobDataSetMapping) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsBlobDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping. -func (bdsm BlobDataSetMapping) AsBlobDataSetMapping() (*BlobDataSetMapping, bool) { - return &bdsm, true +// AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping. +func (bdsm BlobDataSetMapping) AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool) { + return nil, false } -// AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping. -func (bdsm BlobDataSetMapping) AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool) { +// AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping. +func (bdsm BlobDataSetMapping) AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool) { return nil, false } -// AsBlobContainerDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping. -func (bdsm BlobDataSetMapping) AsBlobContainerDataSetMapping() (*BlobContainerDataSetMapping, bool) { +// AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping. +func (bdsm BlobDataSetMapping) AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool) { return nil, false } -// AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping. -func (bdsm BlobDataSetMapping) AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool) { +// AsBlobContainerDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping. +func (bdsm BlobDataSetMapping) AsBlobContainerDataSetMapping() (*BlobContainerDataSetMapping, bool) { return nil, false } -// AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping. -func (bdsm BlobDataSetMapping) AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool) { - return nil, false +// AsBlobDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping. +func (bdsm BlobDataSetMapping) AsBlobDataSetMapping() (*BlobDataSetMapping, bool) { + return &bdsm, true } -// AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping. -func (bdsm BlobDataSetMapping) AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool) { +// AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping. +func (bdsm BlobDataSetMapping) AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool) { return nil, false } @@ -2517,13 +2522,13 @@ func (bdsm BlobDataSetMapping) AsKustoDatabaseDataSetMapping() (*KustoDatabaseDa return nil, false } -// AsSQLDWTableDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping. -func (bdsm BlobDataSetMapping) AsSQLDWTableDataSetMapping() (*SQLDWTableDataSetMapping, bool) { +// AsSQLDBTableDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping. +func (bdsm BlobDataSetMapping) AsSQLDBTableDataSetMapping() (*SQLDBTableDataSetMapping, bool) { return nil, false } -// AsSQLDBTableDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping. -func (bdsm BlobDataSetMapping) AsSQLDBTableDataSetMapping() (*SQLDBTableDataSetMapping, bool) { +// AsSQLDWTableDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping. +func (bdsm BlobDataSetMapping) AsSQLDWTableDataSetMapping() (*SQLDWTableDataSetMapping, bool) { return nil, false } @@ -2601,7 +2606,7 @@ func (bdsm *BlobDataSetMapping) UnmarshalJSON(body []byte) error { type BlobFolderDataSet struct { // BlobFolderProperties - Blob folder data set properties. *BlobFolderProperties `json:"properties,omitempty"` - // Kind - Possible values include: 'KindDataSet', 'KindBlob', 'KindBlobFolder', 'KindContainer', 'KindAdlsGen2File', 'KindAdlsGen2Folder', 'KindAdlsGen2FileSystem', 'KindAdlsGen1Folder', 'KindAdlsGen1File', 'KindKustoCluster', 'KindKustoDatabase', 'KindSQLDWTable', 'KindSQLDBTable' + // Kind - Possible values include: 'KindDataSet', 'KindAdlsGen1File', 'KindAdlsGen1Folder', 'KindAdlsGen2File', 'KindAdlsGen2FileSystem', 'KindAdlsGen2Folder', 'KindContainer', 'KindBlob', 'KindBlobFolder', 'KindKustoCluster', 'KindKustoDatabase', 'KindSQLDBTable', 'KindSQLDWTable' Kind Kind `json:"kind,omitempty"` // ID - READ-ONLY; The resource id of the azure resource ID *string `json:"id,omitempty"` @@ -2624,18 +2629,13 @@ func (bfds BlobFolderDataSet) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsBlobDataSet is the BasicDataSet implementation for BlobFolderDataSet. -func (bfds BlobFolderDataSet) AsBlobDataSet() (*BlobDataSet, bool) { +// AsADLSGen1FileDataSet is the BasicDataSet implementation for BlobFolderDataSet. +func (bfds BlobFolderDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool) { return nil, false } -// AsBlobFolderDataSet is the BasicDataSet implementation for BlobFolderDataSet. -func (bfds BlobFolderDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool) { - return &bfds, true -} - -// AsBlobContainerDataSet is the BasicDataSet implementation for BlobFolderDataSet. -func (bfds BlobFolderDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool) { +// AsADLSGen1FolderDataSet is the BasicDataSet implementation for BlobFolderDataSet. +func (bfds BlobFolderDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool) { return nil, false } @@ -2644,24 +2644,29 @@ func (bfds BlobFolderDataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, boo return nil, false } +// AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for BlobFolderDataSet. +func (bfds BlobFolderDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool) { + return nil, false +} + // AsADLSGen2FolderDataSet is the BasicDataSet implementation for BlobFolderDataSet. func (bfds BlobFolderDataSet) AsADLSGen2FolderDataSet() (*ADLSGen2FolderDataSet, bool) { return nil, false } -// AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for BlobFolderDataSet. -func (bfds BlobFolderDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool) { +// AsBlobContainerDataSet is the BasicDataSet implementation for BlobFolderDataSet. +func (bfds BlobFolderDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool) { return nil, false } -// AsADLSGen1FolderDataSet is the BasicDataSet implementation for BlobFolderDataSet. -func (bfds BlobFolderDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool) { +// AsBlobDataSet is the BasicDataSet implementation for BlobFolderDataSet. +func (bfds BlobFolderDataSet) AsBlobDataSet() (*BlobDataSet, bool) { return nil, false } -// AsADLSGen1FileDataSet is the BasicDataSet implementation for BlobFolderDataSet. -func (bfds BlobFolderDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool) { - return nil, false +// AsBlobFolderDataSet is the BasicDataSet implementation for BlobFolderDataSet. +func (bfds BlobFolderDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool) { + return &bfds, true } // AsKustoClusterDataSet is the BasicDataSet implementation for BlobFolderDataSet. @@ -2674,13 +2679,13 @@ func (bfds BlobFolderDataSet) AsKustoDatabaseDataSet() (*KustoDatabaseDataSet, b return nil, false } -// AsSQLDWTableDataSet is the BasicDataSet implementation for BlobFolderDataSet. -func (bfds BlobFolderDataSet) AsSQLDWTableDataSet() (*SQLDWTableDataSet, bool) { +// AsSQLDBTableDataSet is the BasicDataSet implementation for BlobFolderDataSet. +func (bfds BlobFolderDataSet) AsSQLDBTableDataSet() (*SQLDBTableDataSet, bool) { return nil, false } -// AsSQLDBTableDataSet is the BasicDataSet implementation for BlobFolderDataSet. -func (bfds BlobFolderDataSet) AsSQLDBTableDataSet() (*SQLDBTableDataSet, bool) { +// AsSQLDWTableDataSet is the BasicDataSet implementation for BlobFolderDataSet. +func (bfds BlobFolderDataSet) AsSQLDWTableDataSet() (*SQLDWTableDataSet, bool) { return nil, false } @@ -2758,7 +2763,7 @@ func (bfds *BlobFolderDataSet) UnmarshalJSON(body []byte) error { type BlobFolderDataSetMapping struct { // BlobFolderMappingProperties - Blob folder data set mapping properties. *BlobFolderMappingProperties `json:"properties,omitempty"` - // Kind - Possible values include: 'KindBasicDataSetMappingKindDataSetMapping', 'KindBasicDataSetMappingKindBlob', 'KindBasicDataSetMappingKindBlobFolder', 'KindBasicDataSetMappingKindContainer', 'KindBasicDataSetMappingKindAdlsGen2File', 'KindBasicDataSetMappingKindAdlsGen2Folder', 'KindBasicDataSetMappingKindAdlsGen2FileSystem', 'KindBasicDataSetMappingKindKustoCluster', 'KindBasicDataSetMappingKindKustoDatabase', 'KindBasicDataSetMappingKindSQLDWTable', 'KindBasicDataSetMappingKindSQLDBTable' + // Kind - Possible values include: 'KindBasicDataSetMappingKindDataSetMapping', 'KindBasicDataSetMappingKindAdlsGen2File', 'KindBasicDataSetMappingKindAdlsGen2FileSystem', 'KindBasicDataSetMappingKindAdlsGen2Folder', 'KindBasicDataSetMappingKindContainer', 'KindBasicDataSetMappingKindBlob', 'KindBasicDataSetMappingKindBlobFolder', 'KindBasicDataSetMappingKindKustoCluster', 'KindBasicDataSetMappingKindKustoDatabase', 'KindBasicDataSetMappingKindSQLDBTable', 'KindBasicDataSetMappingKindSQLDWTable' Kind KindBasicDataSetMapping `json:"kind,omitempty"` // ID - READ-ONLY; The resource id of the azure resource ID *string `json:"id,omitempty"` @@ -2781,34 +2786,34 @@ func (bfdsm BlobFolderDataSetMapping) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsBlobDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping. -func (bfdsm BlobFolderDataSetMapping) AsBlobDataSetMapping() (*BlobDataSetMapping, bool) { +// AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping. +func (bfdsm BlobFolderDataSetMapping) AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool) { return nil, false } -// AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping. -func (bfdsm BlobFolderDataSetMapping) AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool) { - return &bfdsm, true +// AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping. +func (bfdsm BlobFolderDataSetMapping) AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool) { + return nil, false } -// AsBlobContainerDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping. -func (bfdsm BlobFolderDataSetMapping) AsBlobContainerDataSetMapping() (*BlobContainerDataSetMapping, bool) { +// AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping. +func (bfdsm BlobFolderDataSetMapping) AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool) { return nil, false } -// AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping. -func (bfdsm BlobFolderDataSetMapping) AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool) { +// AsBlobContainerDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping. +func (bfdsm BlobFolderDataSetMapping) AsBlobContainerDataSetMapping() (*BlobContainerDataSetMapping, bool) { return nil, false } -// AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping. -func (bfdsm BlobFolderDataSetMapping) AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool) { +// AsBlobDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping. +func (bfdsm BlobFolderDataSetMapping) AsBlobDataSetMapping() (*BlobDataSetMapping, bool) { return nil, false } -// AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping. -func (bfdsm BlobFolderDataSetMapping) AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool) { - return nil, false +// AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping. +func (bfdsm BlobFolderDataSetMapping) AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool) { + return &bfdsm, true } // AsKustoClusterDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping. @@ -2821,13 +2826,13 @@ func (bfdsm BlobFolderDataSetMapping) AsKustoDatabaseDataSetMapping() (*KustoDat return nil, false } -// AsSQLDWTableDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping. -func (bfdsm BlobFolderDataSetMapping) AsSQLDWTableDataSetMapping() (*SQLDWTableDataSetMapping, bool) { +// AsSQLDBTableDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping. +func (bfdsm BlobFolderDataSetMapping) AsSQLDBTableDataSetMapping() (*SQLDBTableDataSetMapping, bool) { return nil, false } -// AsSQLDBTableDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping. -func (bfdsm BlobFolderDataSetMapping) AsSQLDBTableDataSetMapping() (*SQLDBTableDataSetMapping, bool) { +// AsSQLDWTableDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping. +func (bfdsm BlobFolderDataSetMapping) AsSQLDWTableDataSetMapping() (*SQLDWTableDataSetMapping, bool) { return nil, false } @@ -3293,8 +3298,11 @@ func (page ConsumerInvitationListPage) Values() []ConsumerInvitation { } // Creates a new instance of the ConsumerInvitationListPage type. -func NewConsumerInvitationListPage(getNextPage func(context.Context, ConsumerInvitationList) (ConsumerInvitationList, error)) ConsumerInvitationListPage { - return ConsumerInvitationListPage{fn: getNextPage} +func NewConsumerInvitationListPage(cur ConsumerInvitationList, getNextPage func(context.Context, ConsumerInvitationList) (ConsumerInvitationList, error)) ConsumerInvitationListPage { + return ConsumerInvitationListPage{ + fn: getNextPage, + cil: cur, + } } // ConsumerInvitationProperties properties of consumer invitation @@ -3562,8 +3570,11 @@ func (page ConsumerSourceDataSetListPage) Values() []ConsumerSourceDataSet { } // Creates a new instance of the ConsumerSourceDataSetListPage type. -func NewConsumerSourceDataSetListPage(getNextPage func(context.Context, ConsumerSourceDataSetList) (ConsumerSourceDataSetList, error)) ConsumerSourceDataSetListPage { - return ConsumerSourceDataSetListPage{fn: getNextPage} +func NewConsumerSourceDataSetListPage(cur ConsumerSourceDataSetList, getNextPage func(context.Context, ConsumerSourceDataSetList) (ConsumerSourceDataSetList, error)) ConsumerSourceDataSetListPage { + return ConsumerSourceDataSetListPage{ + fn: getNextPage, + csdsl: cur, + } } // ConsumerSourceDataSetProperties properties of consumer source dataSet @@ -3582,25 +3593,25 @@ type ConsumerSourceDataSetProperties struct { // BasicDataSet a DataSet data transfer object. type BasicDataSet interface { - AsBlobDataSet() (*BlobDataSet, bool) - AsBlobFolderDataSet() (*BlobFolderDataSet, bool) - AsBlobContainerDataSet() (*BlobContainerDataSet, bool) + AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool) + AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool) - AsADLSGen2FolderDataSet() (*ADLSGen2FolderDataSet, bool) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool) - AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool) - AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool) + AsADLSGen2FolderDataSet() (*ADLSGen2FolderDataSet, bool) + AsBlobContainerDataSet() (*BlobContainerDataSet, bool) + AsBlobDataSet() (*BlobDataSet, bool) + AsBlobFolderDataSet() (*BlobFolderDataSet, bool) AsKustoClusterDataSet() (*KustoClusterDataSet, bool) AsKustoDatabaseDataSet() (*KustoDatabaseDataSet, bool) - AsSQLDWTableDataSet() (*SQLDWTableDataSet, bool) AsSQLDBTableDataSet() (*SQLDBTableDataSet, bool) + AsSQLDWTableDataSet() (*SQLDWTableDataSet, bool) AsDataSet() (*DataSet, bool) } // DataSet a DataSet data transfer object. type DataSet struct { autorest.Response `json:"-"` - // Kind - Possible values include: 'KindDataSet', 'KindBlob', 'KindBlobFolder', 'KindContainer', 'KindAdlsGen2File', 'KindAdlsGen2Folder', 'KindAdlsGen2FileSystem', 'KindAdlsGen1Folder', 'KindAdlsGen1File', 'KindKustoCluster', 'KindKustoDatabase', 'KindSQLDWTable', 'KindSQLDBTable' + // Kind - Possible values include: 'KindDataSet', 'KindAdlsGen1File', 'KindAdlsGen1Folder', 'KindAdlsGen2File', 'KindAdlsGen2FileSystem', 'KindAdlsGen2Folder', 'KindContainer', 'KindBlob', 'KindBlobFolder', 'KindKustoCluster', 'KindKustoDatabase', 'KindSQLDBTable', 'KindSQLDWTable' Kind Kind `json:"kind,omitempty"` // ID - READ-ONLY; The resource id of the azure resource ID *string `json:"id,omitempty"` @@ -3618,38 +3629,38 @@ func unmarshalBasicDataSet(body []byte) (BasicDataSet, error) { } switch m["kind"] { - case string(KindBlob): - var bds BlobDataSet - err := json.Unmarshal(body, &bds) - return bds, err - case string(KindBlobFolder): - var bfds BlobFolderDataSet - err := json.Unmarshal(body, &bfds) - return bfds, err - case string(KindContainer): - var bcds BlobContainerDataSet - err := json.Unmarshal(body, &bcds) - return bcds, err + case string(KindAdlsGen1File): + var ag1fds ADLSGen1FileDataSet + err := json.Unmarshal(body, &ag1fds) + return ag1fds, err + case string(KindAdlsGen1Folder): + var ag1fds ADLSGen1FolderDataSet + err := json.Unmarshal(body, &ag1fds) + return ag1fds, err case string(KindAdlsGen2File): var ag2fds ADLSGen2FileDataSet err := json.Unmarshal(body, &ag2fds) return ag2fds, err - case string(KindAdlsGen2Folder): - var ag2fds ADLSGen2FolderDataSet - err := json.Unmarshal(body, &ag2fds) - return ag2fds, err case string(KindAdlsGen2FileSystem): var ag2fsds ADLSGen2FileSystemDataSet err := json.Unmarshal(body, &ag2fsds) return ag2fsds, err - case string(KindAdlsGen1Folder): - var ag1fds ADLSGen1FolderDataSet - err := json.Unmarshal(body, &ag1fds) - return ag1fds, err - case string(KindAdlsGen1File): - var ag1fds ADLSGen1FileDataSet - err := json.Unmarshal(body, &ag1fds) - return ag1fds, err + case string(KindAdlsGen2Folder): + var ag2fds ADLSGen2FolderDataSet + err := json.Unmarshal(body, &ag2fds) + return ag2fds, err + case string(KindContainer): + var bcds BlobContainerDataSet + err := json.Unmarshal(body, &bcds) + return bcds, err + case string(KindBlob): + var bds BlobDataSet + err := json.Unmarshal(body, &bds) + return bds, err + case string(KindBlobFolder): + var bfds BlobFolderDataSet + err := json.Unmarshal(body, &bfds) + return bfds, err case string(KindKustoCluster): var kcds KustoClusterDataSet err := json.Unmarshal(body, &kcds) @@ -3658,14 +3669,14 @@ func unmarshalBasicDataSet(body []byte) (BasicDataSet, error) { var kdds KustoDatabaseDataSet err := json.Unmarshal(body, &kdds) return kdds, err - case string(KindSQLDWTable): - var sdtds SQLDWTableDataSet - err := json.Unmarshal(body, &sdtds) - return sdtds, err case string(KindSQLDBTable): var sdtds SQLDBTableDataSet err := json.Unmarshal(body, &sdtds) return sdtds, err + case string(KindSQLDWTable): + var sdtds SQLDWTableDataSet + err := json.Unmarshal(body, &sdtds) + return sdtds, err default: var ds DataSet err := json.Unmarshal(body, &ds) @@ -3701,23 +3712,23 @@ func (ds DataSet) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsBlobDataSet is the BasicDataSet implementation for DataSet. -func (ds DataSet) AsBlobDataSet() (*BlobDataSet, bool) { +// AsADLSGen1FileDataSet is the BasicDataSet implementation for DataSet. +func (ds DataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool) { return nil, false } -// AsBlobFolderDataSet is the BasicDataSet implementation for DataSet. -func (ds DataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool) { +// AsADLSGen1FolderDataSet is the BasicDataSet implementation for DataSet. +func (ds DataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool) { return nil, false } -// AsBlobContainerDataSet is the BasicDataSet implementation for DataSet. -func (ds DataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool) { +// AsADLSGen2FileDataSet is the BasicDataSet implementation for DataSet. +func (ds DataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool) { return nil, false } -// AsADLSGen2FileDataSet is the BasicDataSet implementation for DataSet. -func (ds DataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool) { +// AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for DataSet. +func (ds DataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool) { return nil, false } @@ -3726,18 +3737,18 @@ func (ds DataSet) AsADLSGen2FolderDataSet() (*ADLSGen2FolderDataSet, bool) { return nil, false } -// AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for DataSet. -func (ds DataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool) { +// AsBlobContainerDataSet is the BasicDataSet implementation for DataSet. +func (ds DataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool) { return nil, false } -// AsADLSGen1FolderDataSet is the BasicDataSet implementation for DataSet. -func (ds DataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool) { +// AsBlobDataSet is the BasicDataSet implementation for DataSet. +func (ds DataSet) AsBlobDataSet() (*BlobDataSet, bool) { return nil, false } -// AsADLSGen1FileDataSet is the BasicDataSet implementation for DataSet. -func (ds DataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool) { +// AsBlobFolderDataSet is the BasicDataSet implementation for DataSet. +func (ds DataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool) { return nil, false } @@ -3751,13 +3762,13 @@ func (ds DataSet) AsKustoDatabaseDataSet() (*KustoDatabaseDataSet, bool) { return nil, false } -// AsSQLDWTableDataSet is the BasicDataSet implementation for DataSet. -func (ds DataSet) AsSQLDWTableDataSet() (*SQLDWTableDataSet, bool) { +// AsSQLDBTableDataSet is the BasicDataSet implementation for DataSet. +func (ds DataSet) AsSQLDBTableDataSet() (*SQLDBTableDataSet, bool) { return nil, false } -// AsSQLDBTableDataSet is the BasicDataSet implementation for DataSet. -func (ds DataSet) AsSQLDBTableDataSet() (*SQLDBTableDataSet, bool) { +// AsSQLDWTableDataSet is the BasicDataSet implementation for DataSet. +func (ds DataSet) AsSQLDWTableDataSet() (*SQLDWTableDataSet, bool) { return nil, false } @@ -3955,29 +3966,32 @@ func (page DataSetListPage) Values() []BasicDataSet { } // Creates a new instance of the DataSetListPage type. -func NewDataSetListPage(getNextPage func(context.Context, DataSetList) (DataSetList, error)) DataSetListPage { - return DataSetListPage{fn: getNextPage} +func NewDataSetListPage(cur DataSetList, getNextPage func(context.Context, DataSetList) (DataSetList, error)) DataSetListPage { + return DataSetListPage{ + fn: getNextPage, + dsl: cur, + } } // BasicDataSetMapping a data set mapping data transfer object. type BasicDataSetMapping interface { - AsBlobDataSetMapping() (*BlobDataSetMapping, bool) - AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool) - AsBlobContainerDataSetMapping() (*BlobContainerDataSetMapping, bool) AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool) - AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool) AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool) + AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool) + AsBlobContainerDataSetMapping() (*BlobContainerDataSetMapping, bool) + AsBlobDataSetMapping() (*BlobDataSetMapping, bool) + AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool) AsKustoClusterDataSetMapping() (*KustoClusterDataSetMapping, bool) AsKustoDatabaseDataSetMapping() (*KustoDatabaseDataSetMapping, bool) - AsSQLDWTableDataSetMapping() (*SQLDWTableDataSetMapping, bool) AsSQLDBTableDataSetMapping() (*SQLDBTableDataSetMapping, bool) + AsSQLDWTableDataSetMapping() (*SQLDWTableDataSetMapping, bool) AsDataSetMapping() (*DataSetMapping, bool) } // DataSetMapping a data set mapping data transfer object. type DataSetMapping struct { autorest.Response `json:"-"` - // Kind - Possible values include: 'KindBasicDataSetMappingKindDataSetMapping', 'KindBasicDataSetMappingKindBlob', 'KindBasicDataSetMappingKindBlobFolder', 'KindBasicDataSetMappingKindContainer', 'KindBasicDataSetMappingKindAdlsGen2File', 'KindBasicDataSetMappingKindAdlsGen2Folder', 'KindBasicDataSetMappingKindAdlsGen2FileSystem', 'KindBasicDataSetMappingKindKustoCluster', 'KindBasicDataSetMappingKindKustoDatabase', 'KindBasicDataSetMappingKindSQLDWTable', 'KindBasicDataSetMappingKindSQLDBTable' + // Kind - Possible values include: 'KindBasicDataSetMappingKindDataSetMapping', 'KindBasicDataSetMappingKindAdlsGen2File', 'KindBasicDataSetMappingKindAdlsGen2FileSystem', 'KindBasicDataSetMappingKindAdlsGen2Folder', 'KindBasicDataSetMappingKindContainer', 'KindBasicDataSetMappingKindBlob', 'KindBasicDataSetMappingKindBlobFolder', 'KindBasicDataSetMappingKindKustoCluster', 'KindBasicDataSetMappingKindKustoDatabase', 'KindBasicDataSetMappingKindSQLDBTable', 'KindBasicDataSetMappingKindSQLDWTable' Kind KindBasicDataSetMapping `json:"kind,omitempty"` // ID - READ-ONLY; The resource id of the azure resource ID *string `json:"id,omitempty"` @@ -3995,30 +4009,30 @@ func unmarshalBasicDataSetMapping(body []byte) (BasicDataSetMapping, error) { } switch m["kind"] { - case string(KindBasicDataSetMappingKindBlob): - var bdsm BlobDataSetMapping - err := json.Unmarshal(body, &bdsm) - return bdsm, err - case string(KindBasicDataSetMappingKindBlobFolder): - var bfdsm BlobFolderDataSetMapping - err := json.Unmarshal(body, &bfdsm) - return bfdsm, err - case string(KindBasicDataSetMappingKindContainer): - var bcdsm BlobContainerDataSetMapping - err := json.Unmarshal(body, &bcdsm) - return bcdsm, err case string(KindBasicDataSetMappingKindAdlsGen2File): var ag2fdsm ADLSGen2FileDataSetMapping err := json.Unmarshal(body, &ag2fdsm) return ag2fdsm, err - case string(KindBasicDataSetMappingKindAdlsGen2Folder): - var ag2fdsm ADLSGen2FolderDataSetMapping - err := json.Unmarshal(body, &ag2fdsm) - return ag2fdsm, err case string(KindBasicDataSetMappingKindAdlsGen2FileSystem): var ag2fsdsm ADLSGen2FileSystemDataSetMapping err := json.Unmarshal(body, &ag2fsdsm) return ag2fsdsm, err + case string(KindBasicDataSetMappingKindAdlsGen2Folder): + var ag2fdsm ADLSGen2FolderDataSetMapping + err := json.Unmarshal(body, &ag2fdsm) + return ag2fdsm, err + case string(KindBasicDataSetMappingKindContainer): + var bcdsm BlobContainerDataSetMapping + err := json.Unmarshal(body, &bcdsm) + return bcdsm, err + case string(KindBasicDataSetMappingKindBlob): + var bdsm BlobDataSetMapping + err := json.Unmarshal(body, &bdsm) + return bdsm, err + case string(KindBasicDataSetMappingKindBlobFolder): + var bfdsm BlobFolderDataSetMapping + err := json.Unmarshal(body, &bfdsm) + return bfdsm, err case string(KindBasicDataSetMappingKindKustoCluster): var kcdsm KustoClusterDataSetMapping err := json.Unmarshal(body, &kcdsm) @@ -4027,14 +4041,14 @@ func unmarshalBasicDataSetMapping(body []byte) (BasicDataSetMapping, error) { var kddsm KustoDatabaseDataSetMapping err := json.Unmarshal(body, &kddsm) return kddsm, err - case string(KindBasicDataSetMappingKindSQLDWTable): - var sdtdsm SQLDWTableDataSetMapping - err := json.Unmarshal(body, &sdtdsm) - return sdtdsm, err case string(KindBasicDataSetMappingKindSQLDBTable): var sdtdsm SQLDBTableDataSetMapping err := json.Unmarshal(body, &sdtdsm) return sdtdsm, err + case string(KindBasicDataSetMappingKindSQLDWTable): + var sdtdsm SQLDWTableDataSetMapping + err := json.Unmarshal(body, &sdtdsm) + return sdtdsm, err default: var dsm DataSetMapping err := json.Unmarshal(body, &dsm) @@ -4070,33 +4084,33 @@ func (dsm DataSetMapping) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsBlobDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping. -func (dsm DataSetMapping) AsBlobDataSetMapping() (*BlobDataSetMapping, bool) { +// AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping. +func (dsm DataSetMapping) AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool) { return nil, false } -// AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping. -func (dsm DataSetMapping) AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool) { +// AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping. +func (dsm DataSetMapping) AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool) { return nil, false } -// AsBlobContainerDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping. -func (dsm DataSetMapping) AsBlobContainerDataSetMapping() (*BlobContainerDataSetMapping, bool) { +// AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping. +func (dsm DataSetMapping) AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool) { return nil, false } -// AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping. -func (dsm DataSetMapping) AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool) { +// AsBlobContainerDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping. +func (dsm DataSetMapping) AsBlobContainerDataSetMapping() (*BlobContainerDataSetMapping, bool) { return nil, false } -// AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping. -func (dsm DataSetMapping) AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool) { +// AsBlobDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping. +func (dsm DataSetMapping) AsBlobDataSetMapping() (*BlobDataSetMapping, bool) { return nil, false } -// AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping. -func (dsm DataSetMapping) AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool) { +// AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping. +func (dsm DataSetMapping) AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool) { return nil, false } @@ -4110,13 +4124,13 @@ func (dsm DataSetMapping) AsKustoDatabaseDataSetMapping() (*KustoDatabaseDataSet return nil, false } -// AsSQLDWTableDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping. -func (dsm DataSetMapping) AsSQLDWTableDataSetMapping() (*SQLDWTableDataSetMapping, bool) { +// AsSQLDBTableDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping. +func (dsm DataSetMapping) AsSQLDBTableDataSetMapping() (*SQLDBTableDataSetMapping, bool) { return nil, false } -// AsSQLDBTableDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping. -func (dsm DataSetMapping) AsSQLDBTableDataSetMapping() (*SQLDBTableDataSetMapping, bool) { +// AsSQLDWTableDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping. +func (dsm DataSetMapping) AsSQLDWTableDataSetMapping() (*SQLDWTableDataSetMapping, bool) { return nil, false } @@ -4314,8 +4328,11 @@ func (page DataSetMappingListPage) Values() []BasicDataSetMapping { } // Creates a new instance of the DataSetMappingListPage type. -func NewDataSetMappingListPage(getNextPage func(context.Context, DataSetMappingList) (DataSetMappingList, error)) DataSetMappingListPage { - return DataSetMappingListPage{fn: getNextPage} +func NewDataSetMappingListPage(cur DataSetMappingList, getNextPage func(context.Context, DataSetMappingList) (DataSetMappingList, error)) DataSetMappingListPage { + return DataSetMappingListPage{ + fn: getNextPage, + dsml: cur, + } } // DataSetMappingModel ... @@ -4352,7 +4369,8 @@ func (dsm *DataSetModel) UnmarshalJSON(body []byte) error { return nil } -// DataSetsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation. +// DataSetsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running +// operation. type DataSetsDeleteFuture struct { azure.Future } @@ -4670,8 +4688,11 @@ func (page InvitationListPage) Values() []Invitation { } // Creates a new instance of the InvitationListPage type. -func NewInvitationListPage(getNextPage func(context.Context, InvitationList) (InvitationList, error)) InvitationListPage { - return InvitationListPage{fn: getNextPage} +func NewInvitationListPage(cur InvitationList, getNextPage func(context.Context, InvitationList) (InvitationList, error)) InvitationListPage { + return InvitationListPage{ + fn: getNextPage, + il: cur, + } } // InvitationProperties invitation property bag. @@ -4717,7 +4738,7 @@ func (IP InvitationProperties) MarshalJSON() ([]byte, error) { type KustoClusterDataSet struct { // KustoClusterDataSetProperties - Kusto cluster data set properties. *KustoClusterDataSetProperties `json:"properties,omitempty"` - // Kind - Possible values include: 'KindDataSet', 'KindBlob', 'KindBlobFolder', 'KindContainer', 'KindAdlsGen2File', 'KindAdlsGen2Folder', 'KindAdlsGen2FileSystem', 'KindAdlsGen1Folder', 'KindAdlsGen1File', 'KindKustoCluster', 'KindKustoDatabase', 'KindSQLDWTable', 'KindSQLDBTable' + // Kind - Possible values include: 'KindDataSet', 'KindAdlsGen1File', 'KindAdlsGen1Folder', 'KindAdlsGen2File', 'KindAdlsGen2FileSystem', 'KindAdlsGen2Folder', 'KindContainer', 'KindBlob', 'KindBlobFolder', 'KindKustoCluster', 'KindKustoDatabase', 'KindSQLDBTable', 'KindSQLDWTable' Kind Kind `json:"kind,omitempty"` // ID - READ-ONLY; The resource id of the azure resource ID *string `json:"id,omitempty"` @@ -4740,23 +4761,23 @@ func (kcds KustoClusterDataSet) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsBlobDataSet is the BasicDataSet implementation for KustoClusterDataSet. -func (kcds KustoClusterDataSet) AsBlobDataSet() (*BlobDataSet, bool) { +// AsADLSGen1FileDataSet is the BasicDataSet implementation for KustoClusterDataSet. +func (kcds KustoClusterDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool) { return nil, false } -// AsBlobFolderDataSet is the BasicDataSet implementation for KustoClusterDataSet. -func (kcds KustoClusterDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool) { +// AsADLSGen1FolderDataSet is the BasicDataSet implementation for KustoClusterDataSet. +func (kcds KustoClusterDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool) { return nil, false } -// AsBlobContainerDataSet is the BasicDataSet implementation for KustoClusterDataSet. -func (kcds KustoClusterDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool) { +// AsADLSGen2FileDataSet is the BasicDataSet implementation for KustoClusterDataSet. +func (kcds KustoClusterDataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool) { return nil, false } -// AsADLSGen2FileDataSet is the BasicDataSet implementation for KustoClusterDataSet. -func (kcds KustoClusterDataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool) { +// AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for KustoClusterDataSet. +func (kcds KustoClusterDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool) { return nil, false } @@ -4765,18 +4786,18 @@ func (kcds KustoClusterDataSet) AsADLSGen2FolderDataSet() (*ADLSGen2FolderDataSe return nil, false } -// AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for KustoClusterDataSet. -func (kcds KustoClusterDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool) { +// AsBlobContainerDataSet is the BasicDataSet implementation for KustoClusterDataSet. +func (kcds KustoClusterDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool) { return nil, false } -// AsADLSGen1FolderDataSet is the BasicDataSet implementation for KustoClusterDataSet. -func (kcds KustoClusterDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool) { +// AsBlobDataSet is the BasicDataSet implementation for KustoClusterDataSet. +func (kcds KustoClusterDataSet) AsBlobDataSet() (*BlobDataSet, bool) { return nil, false } -// AsADLSGen1FileDataSet is the BasicDataSet implementation for KustoClusterDataSet. -func (kcds KustoClusterDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool) { +// AsBlobFolderDataSet is the BasicDataSet implementation for KustoClusterDataSet. +func (kcds KustoClusterDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool) { return nil, false } @@ -4790,13 +4811,13 @@ func (kcds KustoClusterDataSet) AsKustoDatabaseDataSet() (*KustoDatabaseDataSet, return nil, false } -// AsSQLDWTableDataSet is the BasicDataSet implementation for KustoClusterDataSet. -func (kcds KustoClusterDataSet) AsSQLDWTableDataSet() (*SQLDWTableDataSet, bool) { +// AsSQLDBTableDataSet is the BasicDataSet implementation for KustoClusterDataSet. +func (kcds KustoClusterDataSet) AsSQLDBTableDataSet() (*SQLDBTableDataSet, bool) { return nil, false } -// AsSQLDBTableDataSet is the BasicDataSet implementation for KustoClusterDataSet. -func (kcds KustoClusterDataSet) AsSQLDBTableDataSet() (*SQLDBTableDataSet, bool) { +// AsSQLDWTableDataSet is the BasicDataSet implementation for KustoClusterDataSet. +func (kcds KustoClusterDataSet) AsSQLDWTableDataSet() (*SQLDWTableDataSet, bool) { return nil, false } @@ -4874,7 +4895,7 @@ func (kcds *KustoClusterDataSet) UnmarshalJSON(body []byte) error { type KustoClusterDataSetMapping struct { // KustoClusterDataSetMappingProperties - Kusto cluster data set mapping properties. *KustoClusterDataSetMappingProperties `json:"properties,omitempty"` - // Kind - Possible values include: 'KindBasicDataSetMappingKindDataSetMapping', 'KindBasicDataSetMappingKindBlob', 'KindBasicDataSetMappingKindBlobFolder', 'KindBasicDataSetMappingKindContainer', 'KindBasicDataSetMappingKindAdlsGen2File', 'KindBasicDataSetMappingKindAdlsGen2Folder', 'KindBasicDataSetMappingKindAdlsGen2FileSystem', 'KindBasicDataSetMappingKindKustoCluster', 'KindBasicDataSetMappingKindKustoDatabase', 'KindBasicDataSetMappingKindSQLDWTable', 'KindBasicDataSetMappingKindSQLDBTable' + // Kind - Possible values include: 'KindBasicDataSetMappingKindDataSetMapping', 'KindBasicDataSetMappingKindAdlsGen2File', 'KindBasicDataSetMappingKindAdlsGen2FileSystem', 'KindBasicDataSetMappingKindAdlsGen2Folder', 'KindBasicDataSetMappingKindContainer', 'KindBasicDataSetMappingKindBlob', 'KindBasicDataSetMappingKindBlobFolder', 'KindBasicDataSetMappingKindKustoCluster', 'KindBasicDataSetMappingKindKustoDatabase', 'KindBasicDataSetMappingKindSQLDBTable', 'KindBasicDataSetMappingKindSQLDWTable' Kind KindBasicDataSetMapping `json:"kind,omitempty"` // ID - READ-ONLY; The resource id of the azure resource ID *string `json:"id,omitempty"` @@ -4897,13 +4918,18 @@ func (kcdsm KustoClusterDataSetMapping) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsBlobDataSetMapping is the BasicDataSetMapping implementation for KustoClusterDataSetMapping. -func (kcdsm KustoClusterDataSetMapping) AsBlobDataSetMapping() (*BlobDataSetMapping, bool) { +// AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for KustoClusterDataSetMapping. +func (kcdsm KustoClusterDataSetMapping) AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool) { + return nil, false +} + +// AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for KustoClusterDataSetMapping. +func (kcdsm KustoClusterDataSetMapping) AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool) { return nil, false } -// AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for KustoClusterDataSetMapping. -func (kcdsm KustoClusterDataSetMapping) AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool) { +// AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for KustoClusterDataSetMapping. +func (kcdsm KustoClusterDataSetMapping) AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool) { return nil, false } @@ -4912,18 +4938,13 @@ func (kcdsm KustoClusterDataSetMapping) AsBlobContainerDataSetMapping() (*BlobCo return nil, false } -// AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for KustoClusterDataSetMapping. -func (kcdsm KustoClusterDataSetMapping) AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool) { - return nil, false -} - -// AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for KustoClusterDataSetMapping. -func (kcdsm KustoClusterDataSetMapping) AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool) { +// AsBlobDataSetMapping is the BasicDataSetMapping implementation for KustoClusterDataSetMapping. +func (kcdsm KustoClusterDataSetMapping) AsBlobDataSetMapping() (*BlobDataSetMapping, bool) { return nil, false } -// AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for KustoClusterDataSetMapping. -func (kcdsm KustoClusterDataSetMapping) AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool) { +// AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for KustoClusterDataSetMapping. +func (kcdsm KustoClusterDataSetMapping) AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool) { return nil, false } @@ -4937,13 +4958,13 @@ func (kcdsm KustoClusterDataSetMapping) AsKustoDatabaseDataSetMapping() (*KustoD return nil, false } -// AsSQLDWTableDataSetMapping is the BasicDataSetMapping implementation for KustoClusterDataSetMapping. -func (kcdsm KustoClusterDataSetMapping) AsSQLDWTableDataSetMapping() (*SQLDWTableDataSetMapping, bool) { +// AsSQLDBTableDataSetMapping is the BasicDataSetMapping implementation for KustoClusterDataSetMapping. +func (kcdsm KustoClusterDataSetMapping) AsSQLDBTableDataSetMapping() (*SQLDBTableDataSetMapping, bool) { return nil, false } -// AsSQLDBTableDataSetMapping is the BasicDataSetMapping implementation for KustoClusterDataSetMapping. -func (kcdsm KustoClusterDataSetMapping) AsSQLDBTableDataSetMapping() (*SQLDBTableDataSetMapping, bool) { +// AsSQLDWTableDataSetMapping is the BasicDataSetMapping implementation for KustoClusterDataSetMapping. +func (kcdsm KustoClusterDataSetMapping) AsSQLDWTableDataSetMapping() (*SQLDWTableDataSetMapping, bool) { return nil, false } @@ -5068,7 +5089,7 @@ func (kcdsp KustoClusterDataSetProperties) MarshalJSON() ([]byte, error) { type KustoDatabaseDataSet struct { // KustoDatabaseDataSetProperties - Kusto database data set properties. *KustoDatabaseDataSetProperties `json:"properties,omitempty"` - // Kind - Possible values include: 'KindDataSet', 'KindBlob', 'KindBlobFolder', 'KindContainer', 'KindAdlsGen2File', 'KindAdlsGen2Folder', 'KindAdlsGen2FileSystem', 'KindAdlsGen1Folder', 'KindAdlsGen1File', 'KindKustoCluster', 'KindKustoDatabase', 'KindSQLDWTable', 'KindSQLDBTable' + // Kind - Possible values include: 'KindDataSet', 'KindAdlsGen1File', 'KindAdlsGen1Folder', 'KindAdlsGen2File', 'KindAdlsGen2FileSystem', 'KindAdlsGen2Folder', 'KindContainer', 'KindBlob', 'KindBlobFolder', 'KindKustoCluster', 'KindKustoDatabase', 'KindSQLDBTable', 'KindSQLDWTable' Kind Kind `json:"kind,omitempty"` // ID - READ-ONLY; The resource id of the azure resource ID *string `json:"id,omitempty"` @@ -5091,23 +5112,23 @@ func (kdds KustoDatabaseDataSet) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsBlobDataSet is the BasicDataSet implementation for KustoDatabaseDataSet. -func (kdds KustoDatabaseDataSet) AsBlobDataSet() (*BlobDataSet, bool) { +// AsADLSGen1FileDataSet is the BasicDataSet implementation for KustoDatabaseDataSet. +func (kdds KustoDatabaseDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool) { return nil, false } -// AsBlobFolderDataSet is the BasicDataSet implementation for KustoDatabaseDataSet. -func (kdds KustoDatabaseDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool) { +// AsADLSGen1FolderDataSet is the BasicDataSet implementation for KustoDatabaseDataSet. +func (kdds KustoDatabaseDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool) { return nil, false } -// AsBlobContainerDataSet is the BasicDataSet implementation for KustoDatabaseDataSet. -func (kdds KustoDatabaseDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool) { +// AsADLSGen2FileDataSet is the BasicDataSet implementation for KustoDatabaseDataSet. +func (kdds KustoDatabaseDataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool) { return nil, false } -// AsADLSGen2FileDataSet is the BasicDataSet implementation for KustoDatabaseDataSet. -func (kdds KustoDatabaseDataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool) { +// AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for KustoDatabaseDataSet. +func (kdds KustoDatabaseDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool) { return nil, false } @@ -5116,18 +5137,18 @@ func (kdds KustoDatabaseDataSet) AsADLSGen2FolderDataSet() (*ADLSGen2FolderDataS return nil, false } -// AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for KustoDatabaseDataSet. -func (kdds KustoDatabaseDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool) { +// AsBlobContainerDataSet is the BasicDataSet implementation for KustoDatabaseDataSet. +func (kdds KustoDatabaseDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool) { return nil, false } -// AsADLSGen1FolderDataSet is the BasicDataSet implementation for KustoDatabaseDataSet. -func (kdds KustoDatabaseDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool) { +// AsBlobDataSet is the BasicDataSet implementation for KustoDatabaseDataSet. +func (kdds KustoDatabaseDataSet) AsBlobDataSet() (*BlobDataSet, bool) { return nil, false } -// AsADLSGen1FileDataSet is the BasicDataSet implementation for KustoDatabaseDataSet. -func (kdds KustoDatabaseDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool) { +// AsBlobFolderDataSet is the BasicDataSet implementation for KustoDatabaseDataSet. +func (kdds KustoDatabaseDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool) { return nil, false } @@ -5141,13 +5162,13 @@ func (kdds KustoDatabaseDataSet) AsKustoDatabaseDataSet() (*KustoDatabaseDataSet return &kdds, true } -// AsSQLDWTableDataSet is the BasicDataSet implementation for KustoDatabaseDataSet. -func (kdds KustoDatabaseDataSet) AsSQLDWTableDataSet() (*SQLDWTableDataSet, bool) { +// AsSQLDBTableDataSet is the BasicDataSet implementation for KustoDatabaseDataSet. +func (kdds KustoDatabaseDataSet) AsSQLDBTableDataSet() (*SQLDBTableDataSet, bool) { return nil, false } -// AsSQLDBTableDataSet is the BasicDataSet implementation for KustoDatabaseDataSet. -func (kdds KustoDatabaseDataSet) AsSQLDBTableDataSet() (*SQLDBTableDataSet, bool) { +// AsSQLDWTableDataSet is the BasicDataSet implementation for KustoDatabaseDataSet. +func (kdds KustoDatabaseDataSet) AsSQLDWTableDataSet() (*SQLDWTableDataSet, bool) { return nil, false } @@ -5225,7 +5246,7 @@ func (kdds *KustoDatabaseDataSet) UnmarshalJSON(body []byte) error { type KustoDatabaseDataSetMapping struct { // KustoDatabaseDataSetMappingProperties - Kusto database data set mapping properties. *KustoDatabaseDataSetMappingProperties `json:"properties,omitempty"` - // Kind - Possible values include: 'KindBasicDataSetMappingKindDataSetMapping', 'KindBasicDataSetMappingKindBlob', 'KindBasicDataSetMappingKindBlobFolder', 'KindBasicDataSetMappingKindContainer', 'KindBasicDataSetMappingKindAdlsGen2File', 'KindBasicDataSetMappingKindAdlsGen2Folder', 'KindBasicDataSetMappingKindAdlsGen2FileSystem', 'KindBasicDataSetMappingKindKustoCluster', 'KindBasicDataSetMappingKindKustoDatabase', 'KindBasicDataSetMappingKindSQLDWTable', 'KindBasicDataSetMappingKindSQLDBTable' + // Kind - Possible values include: 'KindBasicDataSetMappingKindDataSetMapping', 'KindBasicDataSetMappingKindAdlsGen2File', 'KindBasicDataSetMappingKindAdlsGen2FileSystem', 'KindBasicDataSetMappingKindAdlsGen2Folder', 'KindBasicDataSetMappingKindContainer', 'KindBasicDataSetMappingKindBlob', 'KindBasicDataSetMappingKindBlobFolder', 'KindBasicDataSetMappingKindKustoCluster', 'KindBasicDataSetMappingKindKustoDatabase', 'KindBasicDataSetMappingKindSQLDBTable', 'KindBasicDataSetMappingKindSQLDWTable' Kind KindBasicDataSetMapping `json:"kind,omitempty"` // ID - READ-ONLY; The resource id of the azure resource ID *string `json:"id,omitempty"` @@ -5248,33 +5269,33 @@ func (kddsm KustoDatabaseDataSetMapping) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsBlobDataSetMapping is the BasicDataSetMapping implementation for KustoDatabaseDataSetMapping. -func (kddsm KustoDatabaseDataSetMapping) AsBlobDataSetMapping() (*BlobDataSetMapping, bool) { +// AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for KustoDatabaseDataSetMapping. +func (kddsm KustoDatabaseDataSetMapping) AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool) { return nil, false } -// AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for KustoDatabaseDataSetMapping. -func (kddsm KustoDatabaseDataSetMapping) AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool) { +// AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for KustoDatabaseDataSetMapping. +func (kddsm KustoDatabaseDataSetMapping) AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool) { return nil, false } -// AsBlobContainerDataSetMapping is the BasicDataSetMapping implementation for KustoDatabaseDataSetMapping. -func (kddsm KustoDatabaseDataSetMapping) AsBlobContainerDataSetMapping() (*BlobContainerDataSetMapping, bool) { +// AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for KustoDatabaseDataSetMapping. +func (kddsm KustoDatabaseDataSetMapping) AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool) { return nil, false } -// AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for KustoDatabaseDataSetMapping. -func (kddsm KustoDatabaseDataSetMapping) AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool) { +// AsBlobContainerDataSetMapping is the BasicDataSetMapping implementation for KustoDatabaseDataSetMapping. +func (kddsm KustoDatabaseDataSetMapping) AsBlobContainerDataSetMapping() (*BlobContainerDataSetMapping, bool) { return nil, false } -// AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for KustoDatabaseDataSetMapping. -func (kddsm KustoDatabaseDataSetMapping) AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool) { +// AsBlobDataSetMapping is the BasicDataSetMapping implementation for KustoDatabaseDataSetMapping. +func (kddsm KustoDatabaseDataSetMapping) AsBlobDataSetMapping() (*BlobDataSetMapping, bool) { return nil, false } -// AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for KustoDatabaseDataSetMapping. -func (kddsm KustoDatabaseDataSetMapping) AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool) { +// AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for KustoDatabaseDataSetMapping. +func (kddsm KustoDatabaseDataSetMapping) AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool) { return nil, false } @@ -5288,13 +5309,13 @@ func (kddsm KustoDatabaseDataSetMapping) AsKustoDatabaseDataSetMapping() (*Kusto return &kddsm, true } -// AsSQLDWTableDataSetMapping is the BasicDataSetMapping implementation for KustoDatabaseDataSetMapping. -func (kddsm KustoDatabaseDataSetMapping) AsSQLDWTableDataSetMapping() (*SQLDWTableDataSetMapping, bool) { +// AsSQLDBTableDataSetMapping is the BasicDataSetMapping implementation for KustoDatabaseDataSetMapping. +func (kddsm KustoDatabaseDataSetMapping) AsSQLDBTableDataSetMapping() (*SQLDBTableDataSetMapping, bool) { return nil, false } -// AsSQLDBTableDataSetMapping is the BasicDataSetMapping implementation for KustoDatabaseDataSetMapping. -func (kddsm KustoDatabaseDataSetMapping) AsSQLDBTableDataSetMapping() (*SQLDBTableDataSetMapping, bool) { +// AsSQLDWTableDataSetMapping is the BasicDataSetMapping implementation for KustoDatabaseDataSetMapping. +func (kddsm KustoDatabaseDataSetMapping) AsSQLDWTableDataSetMapping() (*SQLDWTableDataSetMapping, bool) { return nil, false } @@ -5567,8 +5588,11 @@ func (page OperationListPage) Values() []OperationModel { } // Creates a new instance of the OperationListPage type. -func NewOperationListPage(getNextPage func(context.Context, OperationList) (OperationList, error)) OperationListPage { - return OperationListPage{fn: getNextPage} +func NewOperationListPage(cur OperationList, getNextPage func(context.Context, OperationList) (OperationList, error)) OperationListPage { + return OperationListPage{ + fn: getNextPage, + ol: cur, + } } // OperationMetaLogSpecification log specifications for operation api @@ -5953,8 +5977,11 @@ func (page ProviderShareSubscriptionListPage) Values() []ProviderShareSubscripti } // Creates a new instance of the ProviderShareSubscriptionListPage type. -func NewProviderShareSubscriptionListPage(getNextPage func(context.Context, ProviderShareSubscriptionList) (ProviderShareSubscriptionList, error)) ProviderShareSubscriptionListPage { - return ProviderShareSubscriptionListPage{fn: getNextPage} +func NewProviderShareSubscriptionListPage(cur ProviderShareSubscriptionList, getNextPage func(context.Context, ProviderShareSubscriptionList) (ProviderShareSubscriptionList, error)) ProviderShareSubscriptionListPage { + return ProviderShareSubscriptionListPage{ + fn: getNextPage, + pssl: cur, + } } // ProviderShareSubscriptionProperties provider share subscription properties @@ -6584,8 +6611,11 @@ func (page ShareListPage) Values() []Share { } // Creates a new instance of the ShareListPage type. -func NewShareListPage(getNextPage func(context.Context, ShareList) (ShareList, error)) ShareListPage { - return ShareListPage{fn: getNextPage} +func NewShareListPage(cur ShareList, getNextPage func(context.Context, ShareList) (ShareList, error)) ShareListPage { + return ShareListPage{ + fn: getNextPage, + sl: cur, + } } // ShareProperties share property bag. @@ -6874,8 +6904,11 @@ func (page ShareSubscriptionListPage) Values() []ShareSubscription { } // Creates a new instance of the ShareSubscriptionListPage type. -func NewShareSubscriptionListPage(getNextPage func(context.Context, ShareSubscriptionList) (ShareSubscriptionList, error)) ShareSubscriptionListPage { - return ShareSubscriptionListPage{fn: getNextPage} +func NewShareSubscriptionListPage(cur ShareSubscriptionList, getNextPage func(context.Context, ShareSubscriptionList) (ShareSubscriptionList, error)) ShareSubscriptionListPage { + return ShareSubscriptionListPage{ + fn: getNextPage, + ssl: cur, + } } // ShareSubscriptionProperties share subscription property bag. @@ -6922,8 +6955,8 @@ func (ssp ShareSubscriptionProperties) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// ShareSubscriptionsCancelSynchronizationFuture an abstraction for monitoring and retrieving the results of a -// long-running operation. +// ShareSubscriptionsCancelSynchronizationFuture an abstraction for monitoring and retrieving the results +// of a long-running operation. type ShareSubscriptionsCancelSynchronizationFuture struct { azure.Future } @@ -6951,8 +6984,8 @@ func (future *ShareSubscriptionsCancelSynchronizationFuture) Result(client Share return } -// ShareSubscriptionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running -// operation. +// ShareSubscriptionsDeleteFuture an abstraction for monitoring and retrieving the results of a +// long-running operation. type ShareSubscriptionsDeleteFuture struct { azure.Future } @@ -7190,8 +7223,11 @@ func (page ShareSubscriptionSynchronizationListPage) Values() []ShareSubscriptio } // Creates a new instance of the ShareSubscriptionSynchronizationListPage type. -func NewShareSubscriptionSynchronizationListPage(getNextPage func(context.Context, ShareSubscriptionSynchronizationList) (ShareSubscriptionSynchronizationList, error)) ShareSubscriptionSynchronizationListPage { - return ShareSubscriptionSynchronizationListPage{fn: getNextPage} +func NewShareSubscriptionSynchronizationListPage(cur ShareSubscriptionSynchronizationList, getNextPage func(context.Context, ShareSubscriptionSynchronizationList) (ShareSubscriptionSynchronizationList, error)) ShareSubscriptionSynchronizationListPage { + return ShareSubscriptionSynchronizationListPage{ + fn: getNextPage, + sssl: cur, + } } // ShareSynchronization a ShareSynchronization data transfer object. @@ -7403,8 +7439,11 @@ func (page ShareSynchronizationListPage) Values() []ShareSynchronization { } // Creates a new instance of the ShareSynchronizationListPage type. -func NewShareSynchronizationListPage(getNextPage func(context.Context, ShareSynchronizationList) (ShareSynchronizationList, error)) ShareSynchronizationListPage { - return ShareSynchronizationListPage{fn: getNextPage} +func NewShareSynchronizationListPage(cur ShareSynchronizationList, getNextPage func(context.Context, ShareSynchronizationList) (ShareSynchronizationList, error)) ShareSynchronizationListPage { + return ShareSynchronizationListPage{ + fn: getNextPage, + ssl: cur, + } } // BasicSourceShareSynchronizationSetting a view of synchronization setting added by the provider @@ -7608,7 +7647,8 @@ func (ssssl SourceShareSynchronizationSettingList) sourceShareSynchronizationSet autorest.WithBaseURL(to.String(ssssl.NextLink))) } -// SourceShareSynchronizationSettingListPage contains a page of BasicSourceShareSynchronizationSetting values. +// SourceShareSynchronizationSettingListPage contains a page of BasicSourceShareSynchronizationSetting +// values. type SourceShareSynchronizationSettingListPage struct { fn func(context.Context, SourceShareSynchronizationSettingList) (SourceShareSynchronizationSettingList, error) ssssl SourceShareSynchronizationSettingList @@ -7666,15 +7706,18 @@ func (page SourceShareSynchronizationSettingListPage) Values() []BasicSourceShar } // Creates a new instance of the SourceShareSynchronizationSettingListPage type. -func NewSourceShareSynchronizationSettingListPage(getNextPage func(context.Context, SourceShareSynchronizationSettingList) (SourceShareSynchronizationSettingList, error)) SourceShareSynchronizationSettingListPage { - return SourceShareSynchronizationSettingListPage{fn: getNextPage} +func NewSourceShareSynchronizationSettingListPage(cur SourceShareSynchronizationSettingList, getNextPage func(context.Context, SourceShareSynchronizationSettingList) (SourceShareSynchronizationSettingList, error)) SourceShareSynchronizationSettingListPage { + return SourceShareSynchronizationSettingListPage{ + fn: getNextPage, + ssssl: cur, + } } // SQLDBTableDataSet a SQL DB table data set. type SQLDBTableDataSet struct { // SQLDBTableProperties - SQL DB table data set properties. *SQLDBTableProperties `json:"properties,omitempty"` - // Kind - Possible values include: 'KindDataSet', 'KindBlob', 'KindBlobFolder', 'KindContainer', 'KindAdlsGen2File', 'KindAdlsGen2Folder', 'KindAdlsGen2FileSystem', 'KindAdlsGen1Folder', 'KindAdlsGen1File', 'KindKustoCluster', 'KindKustoDatabase', 'KindSQLDWTable', 'KindSQLDBTable' + // Kind - Possible values include: 'KindDataSet', 'KindAdlsGen1File', 'KindAdlsGen1Folder', 'KindAdlsGen2File', 'KindAdlsGen2FileSystem', 'KindAdlsGen2Folder', 'KindContainer', 'KindBlob', 'KindBlobFolder', 'KindKustoCluster', 'KindKustoDatabase', 'KindSQLDBTable', 'KindSQLDWTable' Kind Kind `json:"kind,omitempty"` // ID - READ-ONLY; The resource id of the azure resource ID *string `json:"id,omitempty"` @@ -7697,23 +7740,23 @@ func (sdtds SQLDBTableDataSet) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsBlobDataSet is the BasicDataSet implementation for SQLDBTableDataSet. -func (sdtds SQLDBTableDataSet) AsBlobDataSet() (*BlobDataSet, bool) { +// AsADLSGen1FileDataSet is the BasicDataSet implementation for SQLDBTableDataSet. +func (sdtds SQLDBTableDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool) { return nil, false } -// AsBlobFolderDataSet is the BasicDataSet implementation for SQLDBTableDataSet. -func (sdtds SQLDBTableDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool) { +// AsADLSGen1FolderDataSet is the BasicDataSet implementation for SQLDBTableDataSet. +func (sdtds SQLDBTableDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool) { return nil, false } -// AsBlobContainerDataSet is the BasicDataSet implementation for SQLDBTableDataSet. -func (sdtds SQLDBTableDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool) { +// AsADLSGen2FileDataSet is the BasicDataSet implementation for SQLDBTableDataSet. +func (sdtds SQLDBTableDataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool) { return nil, false } -// AsADLSGen2FileDataSet is the BasicDataSet implementation for SQLDBTableDataSet. -func (sdtds SQLDBTableDataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool) { +// AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for SQLDBTableDataSet. +func (sdtds SQLDBTableDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool) { return nil, false } @@ -7722,18 +7765,18 @@ func (sdtds SQLDBTableDataSet) AsADLSGen2FolderDataSet() (*ADLSGen2FolderDataSet return nil, false } -// AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for SQLDBTableDataSet. -func (sdtds SQLDBTableDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool) { +// AsBlobContainerDataSet is the BasicDataSet implementation for SQLDBTableDataSet. +func (sdtds SQLDBTableDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool) { return nil, false } -// AsADLSGen1FolderDataSet is the BasicDataSet implementation for SQLDBTableDataSet. -func (sdtds SQLDBTableDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool) { +// AsBlobDataSet is the BasicDataSet implementation for SQLDBTableDataSet. +func (sdtds SQLDBTableDataSet) AsBlobDataSet() (*BlobDataSet, bool) { return nil, false } -// AsADLSGen1FileDataSet is the BasicDataSet implementation for SQLDBTableDataSet. -func (sdtds SQLDBTableDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool) { +// AsBlobFolderDataSet is the BasicDataSet implementation for SQLDBTableDataSet. +func (sdtds SQLDBTableDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool) { return nil, false } @@ -7747,16 +7790,16 @@ func (sdtds SQLDBTableDataSet) AsKustoDatabaseDataSet() (*KustoDatabaseDataSet, return nil, false } -// AsSQLDWTableDataSet is the BasicDataSet implementation for SQLDBTableDataSet. -func (sdtds SQLDBTableDataSet) AsSQLDWTableDataSet() (*SQLDWTableDataSet, bool) { - return nil, false -} - // AsSQLDBTableDataSet is the BasicDataSet implementation for SQLDBTableDataSet. func (sdtds SQLDBTableDataSet) AsSQLDBTableDataSet() (*SQLDBTableDataSet, bool) { return &sdtds, true } +// AsSQLDWTableDataSet is the BasicDataSet implementation for SQLDBTableDataSet. +func (sdtds SQLDBTableDataSet) AsSQLDWTableDataSet() (*SQLDWTableDataSet, bool) { + return nil, false +} + // AsDataSet is the BasicDataSet implementation for SQLDBTableDataSet. func (sdtds SQLDBTableDataSet) AsDataSet() (*DataSet, bool) { return nil, false @@ -7831,7 +7874,7 @@ func (sdtds *SQLDBTableDataSet) UnmarshalJSON(body []byte) error { type SQLDBTableDataSetMapping struct { // SQLDBTableDataSetMappingProperties - Sql DB data set mapping properties. *SQLDBTableDataSetMappingProperties `json:"properties,omitempty"` - // Kind - Possible values include: 'KindBasicDataSetMappingKindDataSetMapping', 'KindBasicDataSetMappingKindBlob', 'KindBasicDataSetMappingKindBlobFolder', 'KindBasicDataSetMappingKindContainer', 'KindBasicDataSetMappingKindAdlsGen2File', 'KindBasicDataSetMappingKindAdlsGen2Folder', 'KindBasicDataSetMappingKindAdlsGen2FileSystem', 'KindBasicDataSetMappingKindKustoCluster', 'KindBasicDataSetMappingKindKustoDatabase', 'KindBasicDataSetMappingKindSQLDWTable', 'KindBasicDataSetMappingKindSQLDBTable' + // Kind - Possible values include: 'KindBasicDataSetMappingKindDataSetMapping', 'KindBasicDataSetMappingKindAdlsGen2File', 'KindBasicDataSetMappingKindAdlsGen2FileSystem', 'KindBasicDataSetMappingKindAdlsGen2Folder', 'KindBasicDataSetMappingKindContainer', 'KindBasicDataSetMappingKindBlob', 'KindBasicDataSetMappingKindBlobFolder', 'KindBasicDataSetMappingKindKustoCluster', 'KindBasicDataSetMappingKindKustoDatabase', 'KindBasicDataSetMappingKindSQLDBTable', 'KindBasicDataSetMappingKindSQLDWTable' Kind KindBasicDataSetMapping `json:"kind,omitempty"` // ID - READ-ONLY; The resource id of the azure resource ID *string `json:"id,omitempty"` @@ -7854,33 +7897,33 @@ func (sdtdsm SQLDBTableDataSetMapping) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsBlobDataSetMapping is the BasicDataSetMapping implementation for SQLDBTableDataSetMapping. -func (sdtdsm SQLDBTableDataSetMapping) AsBlobDataSetMapping() (*BlobDataSetMapping, bool) { +// AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for SQLDBTableDataSetMapping. +func (sdtdsm SQLDBTableDataSetMapping) AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool) { return nil, false } -// AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for SQLDBTableDataSetMapping. -func (sdtdsm SQLDBTableDataSetMapping) AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool) { +// AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for SQLDBTableDataSetMapping. +func (sdtdsm SQLDBTableDataSetMapping) AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool) { return nil, false } -// AsBlobContainerDataSetMapping is the BasicDataSetMapping implementation for SQLDBTableDataSetMapping. -func (sdtdsm SQLDBTableDataSetMapping) AsBlobContainerDataSetMapping() (*BlobContainerDataSetMapping, bool) { +// AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for SQLDBTableDataSetMapping. +func (sdtdsm SQLDBTableDataSetMapping) AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool) { return nil, false } -// AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for SQLDBTableDataSetMapping. -func (sdtdsm SQLDBTableDataSetMapping) AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool) { +// AsBlobContainerDataSetMapping is the BasicDataSetMapping implementation for SQLDBTableDataSetMapping. +func (sdtdsm SQLDBTableDataSetMapping) AsBlobContainerDataSetMapping() (*BlobContainerDataSetMapping, bool) { return nil, false } -// AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for SQLDBTableDataSetMapping. -func (sdtdsm SQLDBTableDataSetMapping) AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool) { +// AsBlobDataSetMapping is the BasicDataSetMapping implementation for SQLDBTableDataSetMapping. +func (sdtdsm SQLDBTableDataSetMapping) AsBlobDataSetMapping() (*BlobDataSetMapping, bool) { return nil, false } -// AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for SQLDBTableDataSetMapping. -func (sdtdsm SQLDBTableDataSetMapping) AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool) { +// AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for SQLDBTableDataSetMapping. +func (sdtdsm SQLDBTableDataSetMapping) AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool) { return nil, false } @@ -7894,16 +7937,16 @@ func (sdtdsm SQLDBTableDataSetMapping) AsKustoDatabaseDataSetMapping() (*KustoDa return nil, false } -// AsSQLDWTableDataSetMapping is the BasicDataSetMapping implementation for SQLDBTableDataSetMapping. -func (sdtdsm SQLDBTableDataSetMapping) AsSQLDWTableDataSetMapping() (*SQLDWTableDataSetMapping, bool) { - return nil, false -} - // AsSQLDBTableDataSetMapping is the BasicDataSetMapping implementation for SQLDBTableDataSetMapping. func (sdtdsm SQLDBTableDataSetMapping) AsSQLDBTableDataSetMapping() (*SQLDBTableDataSetMapping, bool) { return &sdtdsm, true } +// AsSQLDWTableDataSetMapping is the BasicDataSetMapping implementation for SQLDBTableDataSetMapping. +func (sdtdsm SQLDBTableDataSetMapping) AsSQLDWTableDataSetMapping() (*SQLDWTableDataSetMapping, bool) { + return nil, false +} + // AsDataSetMapping is the BasicDataSetMapping implementation for SQLDBTableDataSetMapping. func (sdtdsm SQLDBTableDataSetMapping) AsDataSetMapping() (*DataSetMapping, bool) { return nil, false @@ -8049,7 +8092,7 @@ func (sdtp SQLDBTableProperties) MarshalJSON() ([]byte, error) { type SQLDWTableDataSet struct { // SQLDWTableProperties - SQL DW table data set properties. *SQLDWTableProperties `json:"properties,omitempty"` - // Kind - Possible values include: 'KindDataSet', 'KindBlob', 'KindBlobFolder', 'KindContainer', 'KindAdlsGen2File', 'KindAdlsGen2Folder', 'KindAdlsGen2FileSystem', 'KindAdlsGen1Folder', 'KindAdlsGen1File', 'KindKustoCluster', 'KindKustoDatabase', 'KindSQLDWTable', 'KindSQLDBTable' + // Kind - Possible values include: 'KindDataSet', 'KindAdlsGen1File', 'KindAdlsGen1Folder', 'KindAdlsGen2File', 'KindAdlsGen2FileSystem', 'KindAdlsGen2Folder', 'KindContainer', 'KindBlob', 'KindBlobFolder', 'KindKustoCluster', 'KindKustoDatabase', 'KindSQLDBTable', 'KindSQLDWTable' Kind Kind `json:"kind,omitempty"` // ID - READ-ONLY; The resource id of the azure resource ID *string `json:"id,omitempty"` @@ -8072,23 +8115,23 @@ func (sdtds SQLDWTableDataSet) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsBlobDataSet is the BasicDataSet implementation for SQLDWTableDataSet. -func (sdtds SQLDWTableDataSet) AsBlobDataSet() (*BlobDataSet, bool) { +// AsADLSGen1FileDataSet is the BasicDataSet implementation for SQLDWTableDataSet. +func (sdtds SQLDWTableDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool) { return nil, false } -// AsBlobFolderDataSet is the BasicDataSet implementation for SQLDWTableDataSet. -func (sdtds SQLDWTableDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool) { +// AsADLSGen1FolderDataSet is the BasicDataSet implementation for SQLDWTableDataSet. +func (sdtds SQLDWTableDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool) { return nil, false } -// AsBlobContainerDataSet is the BasicDataSet implementation for SQLDWTableDataSet. -func (sdtds SQLDWTableDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool) { +// AsADLSGen2FileDataSet is the BasicDataSet implementation for SQLDWTableDataSet. +func (sdtds SQLDWTableDataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool) { return nil, false } -// AsADLSGen2FileDataSet is the BasicDataSet implementation for SQLDWTableDataSet. -func (sdtds SQLDWTableDataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool) { +// AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for SQLDWTableDataSet. +func (sdtds SQLDWTableDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool) { return nil, false } @@ -8097,18 +8140,18 @@ func (sdtds SQLDWTableDataSet) AsADLSGen2FolderDataSet() (*ADLSGen2FolderDataSet return nil, false } -// AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for SQLDWTableDataSet. -func (sdtds SQLDWTableDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool) { +// AsBlobContainerDataSet is the BasicDataSet implementation for SQLDWTableDataSet. +func (sdtds SQLDWTableDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool) { return nil, false } -// AsADLSGen1FolderDataSet is the BasicDataSet implementation for SQLDWTableDataSet. -func (sdtds SQLDWTableDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool) { +// AsBlobDataSet is the BasicDataSet implementation for SQLDWTableDataSet. +func (sdtds SQLDWTableDataSet) AsBlobDataSet() (*BlobDataSet, bool) { return nil, false } -// AsADLSGen1FileDataSet is the BasicDataSet implementation for SQLDWTableDataSet. -func (sdtds SQLDWTableDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool) { +// AsBlobFolderDataSet is the BasicDataSet implementation for SQLDWTableDataSet. +func (sdtds SQLDWTableDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool) { return nil, false } @@ -8122,16 +8165,16 @@ func (sdtds SQLDWTableDataSet) AsKustoDatabaseDataSet() (*KustoDatabaseDataSet, return nil, false } -// AsSQLDWTableDataSet is the BasicDataSet implementation for SQLDWTableDataSet. -func (sdtds SQLDWTableDataSet) AsSQLDWTableDataSet() (*SQLDWTableDataSet, bool) { - return &sdtds, true -} - // AsSQLDBTableDataSet is the BasicDataSet implementation for SQLDWTableDataSet. func (sdtds SQLDWTableDataSet) AsSQLDBTableDataSet() (*SQLDBTableDataSet, bool) { return nil, false } +// AsSQLDWTableDataSet is the BasicDataSet implementation for SQLDWTableDataSet. +func (sdtds SQLDWTableDataSet) AsSQLDWTableDataSet() (*SQLDWTableDataSet, bool) { + return &sdtds, true +} + // AsDataSet is the BasicDataSet implementation for SQLDWTableDataSet. func (sdtds SQLDWTableDataSet) AsDataSet() (*DataSet, bool) { return nil, false @@ -8206,7 +8249,7 @@ func (sdtds *SQLDWTableDataSet) UnmarshalJSON(body []byte) error { type SQLDWTableDataSetMapping struct { // SQLDWTableDataSetMappingProperties - Sql DW data set mapping properties. *SQLDWTableDataSetMappingProperties `json:"properties,omitempty"` - // Kind - Possible values include: 'KindBasicDataSetMappingKindDataSetMapping', 'KindBasicDataSetMappingKindBlob', 'KindBasicDataSetMappingKindBlobFolder', 'KindBasicDataSetMappingKindContainer', 'KindBasicDataSetMappingKindAdlsGen2File', 'KindBasicDataSetMappingKindAdlsGen2Folder', 'KindBasicDataSetMappingKindAdlsGen2FileSystem', 'KindBasicDataSetMappingKindKustoCluster', 'KindBasicDataSetMappingKindKustoDatabase', 'KindBasicDataSetMappingKindSQLDWTable', 'KindBasicDataSetMappingKindSQLDBTable' + // Kind - Possible values include: 'KindBasicDataSetMappingKindDataSetMapping', 'KindBasicDataSetMappingKindAdlsGen2File', 'KindBasicDataSetMappingKindAdlsGen2FileSystem', 'KindBasicDataSetMappingKindAdlsGen2Folder', 'KindBasicDataSetMappingKindContainer', 'KindBasicDataSetMappingKindBlob', 'KindBasicDataSetMappingKindBlobFolder', 'KindBasicDataSetMappingKindKustoCluster', 'KindBasicDataSetMappingKindKustoDatabase', 'KindBasicDataSetMappingKindSQLDBTable', 'KindBasicDataSetMappingKindSQLDWTable' Kind KindBasicDataSetMapping `json:"kind,omitempty"` // ID - READ-ONLY; The resource id of the azure resource ID *string `json:"id,omitempty"` @@ -8229,33 +8272,33 @@ func (sdtdsm SQLDWTableDataSetMapping) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsBlobDataSetMapping is the BasicDataSetMapping implementation for SQLDWTableDataSetMapping. -func (sdtdsm SQLDWTableDataSetMapping) AsBlobDataSetMapping() (*BlobDataSetMapping, bool) { +// AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for SQLDWTableDataSetMapping. +func (sdtdsm SQLDWTableDataSetMapping) AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool) { return nil, false } -// AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for SQLDWTableDataSetMapping. -func (sdtdsm SQLDWTableDataSetMapping) AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool) { +// AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for SQLDWTableDataSetMapping. +func (sdtdsm SQLDWTableDataSetMapping) AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool) { return nil, false } -// AsBlobContainerDataSetMapping is the BasicDataSetMapping implementation for SQLDWTableDataSetMapping. -func (sdtdsm SQLDWTableDataSetMapping) AsBlobContainerDataSetMapping() (*BlobContainerDataSetMapping, bool) { +// AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for SQLDWTableDataSetMapping. +func (sdtdsm SQLDWTableDataSetMapping) AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool) { return nil, false } -// AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for SQLDWTableDataSetMapping. -func (sdtdsm SQLDWTableDataSetMapping) AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool) { +// AsBlobContainerDataSetMapping is the BasicDataSetMapping implementation for SQLDWTableDataSetMapping. +func (sdtdsm SQLDWTableDataSetMapping) AsBlobContainerDataSetMapping() (*BlobContainerDataSetMapping, bool) { return nil, false } -// AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for SQLDWTableDataSetMapping. -func (sdtdsm SQLDWTableDataSetMapping) AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool) { +// AsBlobDataSetMapping is the BasicDataSetMapping implementation for SQLDWTableDataSetMapping. +func (sdtdsm SQLDWTableDataSetMapping) AsBlobDataSetMapping() (*BlobDataSetMapping, bool) { return nil, false } -// AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for SQLDWTableDataSetMapping. -func (sdtdsm SQLDWTableDataSetMapping) AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool) { +// AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for SQLDWTableDataSetMapping. +func (sdtdsm SQLDWTableDataSetMapping) AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool) { return nil, false } @@ -8269,16 +8312,16 @@ func (sdtdsm SQLDWTableDataSetMapping) AsKustoDatabaseDataSetMapping() (*KustoDa return nil, false } -// AsSQLDWTableDataSetMapping is the BasicDataSetMapping implementation for SQLDWTableDataSetMapping. -func (sdtdsm SQLDWTableDataSetMapping) AsSQLDWTableDataSetMapping() (*SQLDWTableDataSetMapping, bool) { - return &sdtdsm, true -} - // AsSQLDBTableDataSetMapping is the BasicDataSetMapping implementation for SQLDWTableDataSetMapping. func (sdtdsm SQLDWTableDataSetMapping) AsSQLDBTableDataSetMapping() (*SQLDBTableDataSetMapping, bool) { return nil, false } +// AsSQLDWTableDataSetMapping is the BasicDataSetMapping implementation for SQLDWTableDataSetMapping. +func (sdtdsm SQLDWTableDataSetMapping) AsSQLDWTableDataSetMapping() (*SQLDWTableDataSetMapping, bool) { + return &sdtdsm, true +} + // AsDataSetMapping is the BasicDataSetMapping implementation for SQLDWTableDataSetMapping. func (sdtdsm SQLDWTableDataSetMapping) AsDataSetMapping() (*DataSetMapping, bool) { return nil, false @@ -8463,7 +8506,8 @@ type SynchronizationDetailsList struct { Value *[]SynchronizationDetails `json:"value,omitempty"` } -// SynchronizationDetailsListIterator provides access to a complete listing of SynchronizationDetails values. +// SynchronizationDetailsListIterator provides access to a complete listing of SynchronizationDetails +// values. type SynchronizationDetailsListIterator struct { i int page SynchronizationDetailsListPage @@ -8606,8 +8650,11 @@ func (page SynchronizationDetailsListPage) Values() []SynchronizationDetails { } // Creates a new instance of the SynchronizationDetailsListPage type. -func NewSynchronizationDetailsListPage(getNextPage func(context.Context, SynchronizationDetailsList) (SynchronizationDetailsList, error)) SynchronizationDetailsListPage { - return SynchronizationDetailsListPage{fn: getNextPage} +func NewSynchronizationDetailsListPage(cur SynchronizationDetailsList, getNextPage func(context.Context, SynchronizationDetailsList) (SynchronizationDetailsList, error)) SynchronizationDetailsListPage { + return SynchronizationDetailsListPage{ + fn: getNextPage, + sdl: cur, + } } // BasicSynchronizationSetting a Synchronization Setting data transfer object. @@ -8732,7 +8779,8 @@ func (ssl *SynchronizationSettingList) UnmarshalJSON(body []byte) error { return nil } -// SynchronizationSettingListIterator provides access to a complete listing of SynchronizationSetting values. +// SynchronizationSettingListIterator provides access to a complete listing of SynchronizationSetting +// values. type SynchronizationSettingListIterator struct { i int page SynchronizationSettingListPage @@ -8875,8 +8923,11 @@ func (page SynchronizationSettingListPage) Values() []BasicSynchronizationSettin } // Creates a new instance of the SynchronizationSettingListPage type. -func NewSynchronizationSettingListPage(getNextPage func(context.Context, SynchronizationSettingList) (SynchronizationSettingList, error)) SynchronizationSettingListPage { - return SynchronizationSettingListPage{fn: getNextPage} +func NewSynchronizationSettingListPage(cur SynchronizationSettingList, getNextPage func(context.Context, SynchronizationSettingList) (SynchronizationSettingList, error)) SynchronizationSettingListPage { + return SynchronizationSettingListPage{ + fn: getNextPage, + ssl: cur, + } } // SynchronizationSettingModel ... @@ -9196,8 +9247,11 @@ func (page TriggerListPage) Values() []BasicTrigger { } // Creates a new instance of the TriggerListPage type. -func NewTriggerListPage(getNextPage func(context.Context, TriggerList) (TriggerList, error)) TriggerListPage { - return TriggerListPage{fn: getNextPage} +func NewTriggerListPage(cur TriggerList, getNextPage func(context.Context, TriggerList) (TriggerList, error)) TriggerListPage { + return TriggerListPage{ + fn: getNextPage, + tl: cur, + } } // TriggerModel ... @@ -9217,7 +9271,8 @@ func (tm *TriggerModel) UnmarshalJSON(body []byte) error { return nil } -// TriggersCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation. +// TriggersCreateFuture an abstraction for monitoring and retrieving the results of a long-running +// operation. type TriggersCreateFuture struct { azure.Future } @@ -9245,7 +9300,8 @@ func (future *TriggersCreateFuture) Result(client TriggersClient) (tm TriggerMod return } -// TriggersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation. +// TriggersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running +// operation. type TriggersDeleteFuture struct { azure.Future }