import "github.com/Azure/azure-sdk-for-go/services/datashare/mgmt/2019-11-01/datashare"
Package datashare implements the Azure ARM Datashare service API version 2019-11-01.
Creates a Microsoft.DataShare management client.
accounts.go client.go consumerinvitations.go consumersourcedatasets.go datasetmappings.go datasets.go enums.go invitations.go models.go operations.go providersharesubscriptions.go shares.go sharesubscriptions.go synchronizationsettings.go triggers.go version.go
const ( // DefaultBaseURI is the default URI used for the service Datashare DefaultBaseURI = "https://management.azure.com" )
UserAgent returns the UserAgent string to use when sending http.Requests.
Version returns the semantic version (see http://semver.org) of the client.
type ADLSGen1FileDataSet struct { // ADLSGen1FileProperties - ADLS Gen 1 file data set properties. *ADLSGen1FileProperties `json:"properties,omitempty"` // ID - READ-ONLY; The resource id of the azure resource ID *string `json:"id,omitempty"` // Name - READ-ONLY; Name of the azure resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; Type of the azure resource Type *string `json:"type,omitempty"` // Kind - Possible values include: 'KindDataSet', 'KindAdlsGen1File', 'KindAdlsGen1Folder', 'KindAdlsGen2File', 'KindAdlsGen2FileSystem', 'KindAdlsGen2Folder', 'KindContainer', 'KindBlob', 'KindBlobFolder', 'KindKustoCluster', 'KindKustoDatabase', 'KindSQLDBTable', 'KindSQLDWTable' Kind Kind `json:"kind,omitempty"` }
ADLSGen1FileDataSet an ADLS Gen 1 file data set.
func (ag1fds ADLSGen1FileDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool)
AsADLSGen1FileDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet.
func (ag1fds ADLSGen1FileDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool)
AsADLSGen1FolderDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet.
func (ag1fds ADLSGen1FileDataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool)
AsADLSGen2FileDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet.
func (ag1fds ADLSGen1FileDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool)
AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet.
func (ag1fds ADLSGen1FileDataSet) AsADLSGen2FolderDataSet() (*ADLSGen2FolderDataSet, bool)
AsADLSGen2FolderDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet.
func (ag1fds ADLSGen1FileDataSet) AsBasicDataSet() (BasicDataSet, bool)
AsBasicDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet.
func (ag1fds ADLSGen1FileDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool)
AsBlobContainerDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet.
func (ag1fds ADLSGen1FileDataSet) AsBlobDataSet() (*BlobDataSet, bool)
AsBlobDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet.
func (ag1fds ADLSGen1FileDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool)
AsBlobFolderDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet.
func (ag1fds ADLSGen1FileDataSet) AsDataSet() (*DataSet, bool)
AsDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet.
func (ag1fds ADLSGen1FileDataSet) AsKustoClusterDataSet() (*KustoClusterDataSet, bool)
AsKustoClusterDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet.
func (ag1fds ADLSGen1FileDataSet) AsKustoDatabaseDataSet() (*KustoDatabaseDataSet, bool)
AsKustoDatabaseDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet.
func (ag1fds ADLSGen1FileDataSet) AsSQLDBTableDataSet() (*SQLDBTableDataSet, bool)
AsSQLDBTableDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet.
func (ag1fds ADLSGen1FileDataSet) AsSQLDWTableDataSet() (*SQLDWTableDataSet, bool)
AsSQLDWTableDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet.
func (ag1fds ADLSGen1FileDataSet) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ADLSGen1FileDataSet.
func (ag1fds *ADLSGen1FileDataSet) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ADLSGen1FileDataSet struct.
type ADLSGen1FileProperties struct { // AccountName - The ADLS account name. AccountName *string `json:"accountName,omitempty"` // DataSetID - READ-ONLY; Unique id for identifying a data set resource DataSetID *string `json:"dataSetId,omitempty"` // FileName - The file name in the ADLS account. FileName *string `json:"fileName,omitempty"` // FolderPath - The folder path within the ADLS account. FolderPath *string `json:"folderPath,omitempty"` // ResourceGroup - Resource group of ADLS account. ResourceGroup *string `json:"resourceGroup,omitempty"` // SubscriptionID - Subscription id of ADLS account. SubscriptionID *string `json:"subscriptionId,omitempty"` }
ADLSGen1FileProperties properties of the ADLS Gen1 file data set.
func (ag1fp ADLSGen1FileProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ADLSGen1FileProperties.
type ADLSGen1FolderDataSet struct { // ADLSGen1FolderProperties - ADLS Gen 1 folder data set properties. *ADLSGen1FolderProperties `json:"properties,omitempty"` // 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"` // Name - READ-ONLY; Name of the azure resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; Type of the azure resource Type *string `json:"type,omitempty"` }
ADLSGen1FolderDataSet an ADLS Gen 1 folder data set.
func (ag1fds ADLSGen1FolderDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool)
AsADLSGen1FileDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet.
func (ag1fds ADLSGen1FolderDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool)
AsADLSGen1FolderDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet.
func (ag1fds ADLSGen1FolderDataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool)
AsADLSGen2FileDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet.
func (ag1fds ADLSGen1FolderDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool)
AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet.
func (ag1fds ADLSGen1FolderDataSet) AsADLSGen2FolderDataSet() (*ADLSGen2FolderDataSet, bool)
AsADLSGen2FolderDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet.
func (ag1fds ADLSGen1FolderDataSet) AsBasicDataSet() (BasicDataSet, bool)
AsBasicDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet.
func (ag1fds ADLSGen1FolderDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool)
AsBlobContainerDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet.
func (ag1fds ADLSGen1FolderDataSet) AsBlobDataSet() (*BlobDataSet, bool)
AsBlobDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet.
func (ag1fds ADLSGen1FolderDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool)
AsBlobFolderDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet.
func (ag1fds ADLSGen1FolderDataSet) AsDataSet() (*DataSet, bool)
AsDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet.
func (ag1fds ADLSGen1FolderDataSet) AsKustoClusterDataSet() (*KustoClusterDataSet, bool)
AsKustoClusterDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet.
func (ag1fds ADLSGen1FolderDataSet) AsKustoDatabaseDataSet() (*KustoDatabaseDataSet, bool)
AsKustoDatabaseDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet.
func (ag1fds ADLSGen1FolderDataSet) AsSQLDBTableDataSet() (*SQLDBTableDataSet, bool)
AsSQLDBTableDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet.
func (ag1fds ADLSGen1FolderDataSet) AsSQLDWTableDataSet() (*SQLDWTableDataSet, bool)
AsSQLDWTableDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet.
func (ag1fds ADLSGen1FolderDataSet) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ADLSGen1FolderDataSet.
func (ag1fds *ADLSGen1FolderDataSet) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ADLSGen1FolderDataSet struct.
type ADLSGen1FolderProperties struct { // AccountName - The ADLS account name. AccountName *string `json:"accountName,omitempty"` // DataSetID - READ-ONLY; Unique id for identifying a data set resource DataSetID *string `json:"dataSetId,omitempty"` // FolderPath - The folder path within the ADLS account. FolderPath *string `json:"folderPath,omitempty"` // ResourceGroup - Resource group of ADLS account. ResourceGroup *string `json:"resourceGroup,omitempty"` // SubscriptionID - Subscription id of ADLS account. SubscriptionID *string `json:"subscriptionId,omitempty"` }
ADLSGen1FolderProperties properties of the ADLS Gen1 folder data set.
func (ag1fp ADLSGen1FolderProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ADLSGen1FolderProperties.
type ADLSGen2FileDataSet struct { // ADLSGen2FileProperties - ADLS Gen 2 file data set properties. *ADLSGen2FileProperties `json:"properties,omitempty"` // 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"` // Name - READ-ONLY; Name of the azure resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; Type of the azure resource Type *string `json:"type,omitempty"` }
ADLSGen2FileDataSet an ADLS Gen 2 file data set.
func (ag2fds ADLSGen2FileDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool)
AsADLSGen1FileDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet.
func (ag2fds ADLSGen2FileDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool)
AsADLSGen1FolderDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet.
func (ag2fds ADLSGen2FileDataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool)
AsADLSGen2FileDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet.
func (ag2fds ADLSGen2FileDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool)
AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet.
func (ag2fds ADLSGen2FileDataSet) AsADLSGen2FolderDataSet() (*ADLSGen2FolderDataSet, bool)
AsADLSGen2FolderDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet.
func (ag2fds ADLSGen2FileDataSet) AsBasicDataSet() (BasicDataSet, bool)
AsBasicDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet.
func (ag2fds ADLSGen2FileDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool)
AsBlobContainerDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet.
func (ag2fds ADLSGen2FileDataSet) AsBlobDataSet() (*BlobDataSet, bool)
AsBlobDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet.
func (ag2fds ADLSGen2FileDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool)
AsBlobFolderDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet.
func (ag2fds ADLSGen2FileDataSet) AsDataSet() (*DataSet, bool)
AsDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet.
func (ag2fds ADLSGen2FileDataSet) AsKustoClusterDataSet() (*KustoClusterDataSet, bool)
AsKustoClusterDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet.
func (ag2fds ADLSGen2FileDataSet) AsKustoDatabaseDataSet() (*KustoDatabaseDataSet, bool)
AsKustoDatabaseDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet.
func (ag2fds ADLSGen2FileDataSet) AsSQLDBTableDataSet() (*SQLDBTableDataSet, bool)
AsSQLDBTableDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet.
func (ag2fds ADLSGen2FileDataSet) AsSQLDWTableDataSet() (*SQLDWTableDataSet, bool)
AsSQLDWTableDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet.
func (ag2fds ADLSGen2FileDataSet) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ADLSGen2FileDataSet.
func (ag2fds *ADLSGen2FileDataSet) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ADLSGen2FileDataSet struct.
type ADLSGen2FileDataSetMapping struct { // ADLSGen2FileDataSetMappingProperties - ADLS Gen2 file data set mapping properties. *ADLSGen2FileDataSetMappingProperties `json:"properties,omitempty"` // ID - READ-ONLY; The resource id of the azure resource ID *string `json:"id,omitempty"` // Name - READ-ONLY; Name of the azure resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; Type of the azure resource Type *string `json:"type,omitempty"` // Kind - Possible values include: 'KindBasicDataSetMappingKindDataSetMapping', 'KindBasicDataSetMappingKindAdlsGen2File', 'KindBasicDataSetMappingKindAdlsGen2FileSystem', 'KindBasicDataSetMappingKindAdlsGen2Folder', 'KindBasicDataSetMappingKindContainer', 'KindBasicDataSetMappingKindBlob', 'KindBasicDataSetMappingKindBlobFolder', 'KindBasicDataSetMappingKindKustoCluster', 'KindBasicDataSetMappingKindKustoDatabase', 'KindBasicDataSetMappingKindSQLDBTable', 'KindBasicDataSetMappingKindSQLDWTable' Kind KindBasicDataSetMapping `json:"kind,omitempty"` }
ADLSGen2FileDataSetMapping an ADLS Gen2 file data set mapping.
func (ag2fdsm ADLSGen2FileDataSetMapping) AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool)
AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping.
func (ag2fdsm ADLSGen2FileDataSetMapping) AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool)
AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping.
func (ag2fdsm ADLSGen2FileDataSetMapping) AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool)
AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping.
func (ag2fdsm ADLSGen2FileDataSetMapping) AsBasicDataSetMapping() (BasicDataSetMapping, bool)
AsBasicDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping.
func (ag2fdsm ADLSGen2FileDataSetMapping) AsBlobContainerDataSetMapping() (*BlobContainerDataSetMapping, bool)
AsBlobContainerDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping.
func (ag2fdsm ADLSGen2FileDataSetMapping) AsBlobDataSetMapping() (*BlobDataSetMapping, bool)
AsBlobDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping.
func (ag2fdsm ADLSGen2FileDataSetMapping) AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool)
AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping.
func (ag2fdsm ADLSGen2FileDataSetMapping) AsDataSetMapping() (*DataSetMapping, bool)
AsDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping.
func (ag2fdsm ADLSGen2FileDataSetMapping) AsKustoClusterDataSetMapping() (*KustoClusterDataSetMapping, bool)
AsKustoClusterDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping.
func (ag2fdsm ADLSGen2FileDataSetMapping) AsKustoDatabaseDataSetMapping() (*KustoDatabaseDataSetMapping, bool)
AsKustoDatabaseDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping.
func (ag2fdsm ADLSGen2FileDataSetMapping) AsSQLDBTableDataSetMapping() (*SQLDBTableDataSetMapping, bool)
AsSQLDBTableDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping.
func (ag2fdsm ADLSGen2FileDataSetMapping) AsSQLDWTableDataSetMapping() (*SQLDWTableDataSetMapping, bool)
AsSQLDWTableDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping.
func (ag2fdsm ADLSGen2FileDataSetMapping) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ADLSGen2FileDataSetMapping.
func (ag2fdsm *ADLSGen2FileDataSetMapping) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ADLSGen2FileDataSetMapping struct.
type ADLSGen2FileDataSetMappingProperties struct { // DataSetID - The id of the source data set. DataSetID *string `json:"dataSetId,omitempty"` // DataSetMappingStatus - READ-ONLY; Gets the status of the data set mapping. Possible values include: 'Ok', 'Broken' DataSetMappingStatus DataSetMappingStatus `json:"dataSetMappingStatus,omitempty"` // FilePath - File path within the file system. FilePath *string `json:"filePath,omitempty"` // FileSystem - File system to which the file belongs. FileSystem *string `json:"fileSystem,omitempty"` // OutputType - Type of output file. Possible values include: 'Csv', 'Parquet' OutputType OutputType `json:"outputType,omitempty"` // ProvisioningState - READ-ONLY; Provisioning state of the data set mapping. Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Moving', 'Failed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // ResourceGroup - Resource group of storage account. ResourceGroup *string `json:"resourceGroup,omitempty"` // StorageAccountName - Storage account name of the source data set. StorageAccountName *string `json:"storageAccountName,omitempty"` // SubscriptionID - Subscription id of storage account. SubscriptionID *string `json:"subscriptionId,omitempty"` }
ADLSGen2FileDataSetMappingProperties ADLS Gen 2 file data set mapping property bag.
func (ag2fdsmp ADLSGen2FileDataSetMappingProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ADLSGen2FileDataSetMappingProperties.
type ADLSGen2FileProperties struct { // DataSetID - READ-ONLY; Unique id for identifying a data set resource DataSetID *string `json:"dataSetId,omitempty"` // FilePath - File path within the file system. FilePath *string `json:"filePath,omitempty"` // FileSystem - File system to which the file belongs. FileSystem *string `json:"fileSystem,omitempty"` // ResourceGroup - Resource group of storage account ResourceGroup *string `json:"resourceGroup,omitempty"` // StorageAccountName - Storage account name of the source data set StorageAccountName *string `json:"storageAccountName,omitempty"` // SubscriptionID - Subscription id of storage account SubscriptionID *string `json:"subscriptionId,omitempty"` }
ADLSGen2FileProperties properties of the ADLS Gen2 file data set.
func (ag2fp ADLSGen2FileProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ADLSGen2FileProperties.
type ADLSGen2FileSystemDataSet struct { // ADLSGen2FileSystemProperties - ADLS Gen 2 file system data set properties. *ADLSGen2FileSystemProperties `json:"properties,omitempty"` // 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"` // Name - READ-ONLY; Name of the azure resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; Type of the azure resource Type *string `json:"type,omitempty"` }
ADLSGen2FileSystemDataSet an ADLS Gen 2 file system data set.
func (ag2fsds ADLSGen2FileSystemDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool)
AsADLSGen1FileDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet.
func (ag2fsds ADLSGen2FileSystemDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool)
AsADLSGen1FolderDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet.
func (ag2fsds ADLSGen2FileSystemDataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool)
AsADLSGen2FileDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet.
func (ag2fsds ADLSGen2FileSystemDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool)
AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet.
func (ag2fsds ADLSGen2FileSystemDataSet) AsADLSGen2FolderDataSet() (*ADLSGen2FolderDataSet, bool)
AsADLSGen2FolderDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet.
func (ag2fsds ADLSGen2FileSystemDataSet) AsBasicDataSet() (BasicDataSet, bool)
AsBasicDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet.
func (ag2fsds ADLSGen2FileSystemDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool)
AsBlobContainerDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet.
func (ag2fsds ADLSGen2FileSystemDataSet) AsBlobDataSet() (*BlobDataSet, bool)
AsBlobDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet.
func (ag2fsds ADLSGen2FileSystemDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool)
AsBlobFolderDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet.
func (ag2fsds ADLSGen2FileSystemDataSet) AsDataSet() (*DataSet, bool)
AsDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet.
func (ag2fsds ADLSGen2FileSystemDataSet) AsKustoClusterDataSet() (*KustoClusterDataSet, bool)
AsKustoClusterDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet.
func (ag2fsds ADLSGen2FileSystemDataSet) AsKustoDatabaseDataSet() (*KustoDatabaseDataSet, bool)
AsKustoDatabaseDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet.
func (ag2fsds ADLSGen2FileSystemDataSet) AsSQLDBTableDataSet() (*SQLDBTableDataSet, bool)
AsSQLDBTableDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet.
func (ag2fsds ADLSGen2FileSystemDataSet) AsSQLDWTableDataSet() (*SQLDWTableDataSet, bool)
AsSQLDWTableDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet.
func (ag2fsds ADLSGen2FileSystemDataSet) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ADLSGen2FileSystemDataSet.
func (ag2fsds *ADLSGen2FileSystemDataSet) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ADLSGen2FileSystemDataSet struct.
type ADLSGen2FileSystemDataSetMapping struct { // ADLSGen2FileSystemDataSetMappingProperties - ADLS Gen2 file system data set mapping properties. *ADLSGen2FileSystemDataSetMappingProperties `json:"properties,omitempty"` // 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"` // Name - READ-ONLY; Name of the azure resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; Type of the azure resource Type *string `json:"type,omitempty"` }
ADLSGen2FileSystemDataSetMapping an ADLS Gen2 file system data set mapping.
func (ag2fsdsm ADLSGen2FileSystemDataSetMapping) AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool)
AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping.
func (ag2fsdsm ADLSGen2FileSystemDataSetMapping) AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool)
AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping.
func (ag2fsdsm ADLSGen2FileSystemDataSetMapping) AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool)
AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping.
func (ag2fsdsm ADLSGen2FileSystemDataSetMapping) AsBasicDataSetMapping() (BasicDataSetMapping, bool)
AsBasicDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping.
func (ag2fsdsm ADLSGen2FileSystemDataSetMapping) AsBlobContainerDataSetMapping() (*BlobContainerDataSetMapping, bool)
AsBlobContainerDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping.
func (ag2fsdsm ADLSGen2FileSystemDataSetMapping) AsBlobDataSetMapping() (*BlobDataSetMapping, bool)
AsBlobDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping.
func (ag2fsdsm ADLSGen2FileSystemDataSetMapping) AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool)
AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping.
func (ag2fsdsm ADLSGen2FileSystemDataSetMapping) AsDataSetMapping() (*DataSetMapping, bool)
AsDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping.
func (ag2fsdsm ADLSGen2FileSystemDataSetMapping) AsKustoClusterDataSetMapping() (*KustoClusterDataSetMapping, bool)
AsKustoClusterDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping.
func (ag2fsdsm ADLSGen2FileSystemDataSetMapping) AsKustoDatabaseDataSetMapping() (*KustoDatabaseDataSetMapping, bool)
AsKustoDatabaseDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping.
func (ag2fsdsm ADLSGen2FileSystemDataSetMapping) AsSQLDBTableDataSetMapping() (*SQLDBTableDataSetMapping, bool)
AsSQLDBTableDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping.
func (ag2fsdsm ADLSGen2FileSystemDataSetMapping) AsSQLDWTableDataSetMapping() (*SQLDWTableDataSetMapping, bool)
AsSQLDWTableDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping.
func (ag2fsdsm ADLSGen2FileSystemDataSetMapping) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ADLSGen2FileSystemDataSetMapping.
func (ag2fsdsm *ADLSGen2FileSystemDataSetMapping) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ADLSGen2FileSystemDataSetMapping struct.
type ADLSGen2FileSystemDataSetMappingProperties struct { // DataSetID - The id of the source data set. DataSetID *string `json:"dataSetId,omitempty"` // DataSetMappingStatus - READ-ONLY; Gets the status of the data set mapping. Possible values include: 'Ok', 'Broken' DataSetMappingStatus DataSetMappingStatus `json:"dataSetMappingStatus,omitempty"` // FileSystem - The file system name. FileSystem *string `json:"fileSystem,omitempty"` // ProvisioningState - READ-ONLY; Provisioning state of the data set mapping. Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Moving', 'Failed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // ResourceGroup - Resource group of storage account. ResourceGroup *string `json:"resourceGroup,omitempty"` // StorageAccountName - Storage account name of the source data set. StorageAccountName *string `json:"storageAccountName,omitempty"` // SubscriptionID - Subscription id of storage account. SubscriptionID *string `json:"subscriptionId,omitempty"` }
ADLSGen2FileSystemDataSetMappingProperties ADLS Gen 2 file system data set mapping property bag.
func (ag2fsdsmp ADLSGen2FileSystemDataSetMappingProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ADLSGen2FileSystemDataSetMappingProperties.
type ADLSGen2FileSystemProperties struct { // DataSetID - READ-ONLY; Unique id for identifying a data set resource DataSetID *string `json:"dataSetId,omitempty"` // FileSystem - The file system name. FileSystem *string `json:"fileSystem,omitempty"` // ResourceGroup - Resource group of storage account ResourceGroup *string `json:"resourceGroup,omitempty"` // StorageAccountName - Storage account name of the source data set StorageAccountName *string `json:"storageAccountName,omitempty"` // SubscriptionID - Subscription id of storage account SubscriptionID *string `json:"subscriptionId,omitempty"` }
ADLSGen2FileSystemProperties properties of the ADLS Gen2 file system data set.
func (ag2fsp ADLSGen2FileSystemProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ADLSGen2FileSystemProperties.
type ADLSGen2FolderDataSet struct { // ADLSGen2FolderProperties - ADLS Gen 2 folder data set properties. *ADLSGen2FolderProperties `json:"properties,omitempty"` // 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"` // Name - READ-ONLY; Name of the azure resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; Type of the azure resource Type *string `json:"type,omitempty"` }
ADLSGen2FolderDataSet an ADLS Gen 2 folder data set.
func (ag2fds ADLSGen2FolderDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool)
AsADLSGen1FileDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet.
func (ag2fds ADLSGen2FolderDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool)
AsADLSGen1FolderDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet.
func (ag2fds ADLSGen2FolderDataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool)
AsADLSGen2FileDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet.
func (ag2fds ADLSGen2FolderDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool)
AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet.
func (ag2fds ADLSGen2FolderDataSet) AsADLSGen2FolderDataSet() (*ADLSGen2FolderDataSet, bool)
AsADLSGen2FolderDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet.
func (ag2fds ADLSGen2FolderDataSet) AsBasicDataSet() (BasicDataSet, bool)
AsBasicDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet.
func (ag2fds ADLSGen2FolderDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool)
AsBlobContainerDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet.
func (ag2fds ADLSGen2FolderDataSet) AsBlobDataSet() (*BlobDataSet, bool)
AsBlobDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet.
func (ag2fds ADLSGen2FolderDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool)
AsBlobFolderDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet.
func (ag2fds ADLSGen2FolderDataSet) AsDataSet() (*DataSet, bool)
AsDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet.
func (ag2fds ADLSGen2FolderDataSet) AsKustoClusterDataSet() (*KustoClusterDataSet, bool)
AsKustoClusterDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet.
func (ag2fds ADLSGen2FolderDataSet) AsKustoDatabaseDataSet() (*KustoDatabaseDataSet, bool)
AsKustoDatabaseDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet.
func (ag2fds ADLSGen2FolderDataSet) AsSQLDBTableDataSet() (*SQLDBTableDataSet, bool)
AsSQLDBTableDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet.
func (ag2fds ADLSGen2FolderDataSet) AsSQLDWTableDataSet() (*SQLDWTableDataSet, bool)
AsSQLDWTableDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet.
func (ag2fds ADLSGen2FolderDataSet) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ADLSGen2FolderDataSet.
func (ag2fds *ADLSGen2FolderDataSet) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ADLSGen2FolderDataSet struct.
type ADLSGen2FolderDataSetMapping struct { // ADLSGen2FolderDataSetMappingProperties - ADLS Gen2 folder data set mapping properties. *ADLSGen2FolderDataSetMappingProperties `json:"properties,omitempty"` // 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"` // Name - READ-ONLY; Name of the azure resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; Type of the azure resource Type *string `json:"type,omitempty"` }
ADLSGen2FolderDataSetMapping an ADLS Gen2 folder data set mapping.
func (ag2fdsm ADLSGen2FolderDataSetMapping) AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool)
AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping.
func (ag2fdsm ADLSGen2FolderDataSetMapping) AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool)
AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping.
func (ag2fdsm ADLSGen2FolderDataSetMapping) AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool)
AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping.
func (ag2fdsm ADLSGen2FolderDataSetMapping) AsBasicDataSetMapping() (BasicDataSetMapping, bool)
AsBasicDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping.
func (ag2fdsm ADLSGen2FolderDataSetMapping) AsBlobContainerDataSetMapping() (*BlobContainerDataSetMapping, bool)
AsBlobContainerDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping.
func (ag2fdsm ADLSGen2FolderDataSetMapping) AsBlobDataSetMapping() (*BlobDataSetMapping, bool)
AsBlobDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping.
func (ag2fdsm ADLSGen2FolderDataSetMapping) AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool)
AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping.
func (ag2fdsm ADLSGen2FolderDataSetMapping) AsDataSetMapping() (*DataSetMapping, bool)
AsDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping.
func (ag2fdsm ADLSGen2FolderDataSetMapping) AsKustoClusterDataSetMapping() (*KustoClusterDataSetMapping, bool)
AsKustoClusterDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping.
func (ag2fdsm ADLSGen2FolderDataSetMapping) AsKustoDatabaseDataSetMapping() (*KustoDatabaseDataSetMapping, bool)
AsKustoDatabaseDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping.
func (ag2fdsm ADLSGen2FolderDataSetMapping) AsSQLDBTableDataSetMapping() (*SQLDBTableDataSetMapping, bool)
AsSQLDBTableDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping.
func (ag2fdsm ADLSGen2FolderDataSetMapping) AsSQLDWTableDataSetMapping() (*SQLDWTableDataSetMapping, bool)
AsSQLDWTableDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping.
func (ag2fdsm ADLSGen2FolderDataSetMapping) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ADLSGen2FolderDataSetMapping.
func (ag2fdsm *ADLSGen2FolderDataSetMapping) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ADLSGen2FolderDataSetMapping struct.
type ADLSGen2FolderDataSetMappingProperties struct { // DataSetID - The id of the source data set. DataSetID *string `json:"dataSetId,omitempty"` // DataSetMappingStatus - READ-ONLY; Gets the status of the data set mapping. Possible values include: 'Ok', 'Broken' DataSetMappingStatus DataSetMappingStatus `json:"dataSetMappingStatus,omitempty"` // FileSystem - File system to which the folder belongs. FileSystem *string `json:"fileSystem,omitempty"` // FolderPath - Folder path within the file system. FolderPath *string `json:"folderPath,omitempty"` // ProvisioningState - READ-ONLY; Provisioning state of the data set mapping. Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Moving', 'Failed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // ResourceGroup - Resource group of storage account. ResourceGroup *string `json:"resourceGroup,omitempty"` // StorageAccountName - Storage account name of the source data set. StorageAccountName *string `json:"storageAccountName,omitempty"` // SubscriptionID - Subscription id of storage account. SubscriptionID *string `json:"subscriptionId,omitempty"` }
ADLSGen2FolderDataSetMappingProperties ADLS Gen 2 folder data set mapping property bag.
func (ag2fdsmp ADLSGen2FolderDataSetMappingProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ADLSGen2FolderDataSetMappingProperties.
type ADLSGen2FolderProperties struct { // DataSetID - READ-ONLY; Unique id for identifying a data set resource DataSetID *string `json:"dataSetId,omitempty"` // FileSystem - File system to which the folder belongs. FileSystem *string `json:"fileSystem,omitempty"` // FolderPath - Folder path within the file system. FolderPath *string `json:"folderPath,omitempty"` // ResourceGroup - Resource group of storage account ResourceGroup *string `json:"resourceGroup,omitempty"` // StorageAccountName - Storage account name of the source data set StorageAccountName *string `json:"storageAccountName,omitempty"` // SubscriptionID - Subscription id of storage account SubscriptionID *string `json:"subscriptionId,omitempty"` }
ADLSGen2FolderProperties properties of the ADLS Gen2 folder data set.
func (ag2fp ADLSGen2FolderProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ADLSGen2FolderProperties.
type Account struct { autorest.Response `json:"-"` // Identity - Identity Info on the Account Identity *Identity `json:"identity,omitempty"` // AccountProperties - Properties on the account *AccountProperties `json:"properties,omitempty"` // ID - READ-ONLY; The resource id of the azure resource ID *string `json:"id,omitempty"` // Location - Location of the azure resource. Location *string `json:"location,omitempty"` // Name - READ-ONLY; Name of the azure resource Name *string `json:"name,omitempty"` // Tags - Tags on the azure resource. Tags map[string]*string `json:"tags"` // Type - READ-ONLY; Type of the azure resource Type *string `json:"type,omitempty"` }
Account an account data transfer object.
MarshalJSON is the custom marshaler for Account.
UnmarshalJSON is the custom unmarshaler for Account struct.
type AccountList struct { autorest.Response `json:"-"` // NextLink - The Url of next result page. NextLink *string `json:"nextLink,omitempty"` // Value - Collection of items of type DataTransferObjects. Value *[]Account `json:"value,omitempty"` }
AccountList list response for get Accounts.
func (al AccountList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type AccountListIterator struct {
// contains filtered or unexported fields
}
AccountListIterator provides access to a complete listing of Account values.
func NewAccountListIterator(page AccountListPage) AccountListIterator
Creates a new instance of the AccountListIterator type.
func (iter *AccountListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (iter *AccountListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (iter AccountListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter AccountListIterator) Response() AccountList
Response returns the raw server response from the last page request.
func (iter AccountListIterator) Value() Account
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type AccountListPage struct {
// contains filtered or unexported fields
}
AccountListPage contains a page of Account values.
func NewAccountListPage(cur AccountList, getNextPage func(context.Context, AccountList) (AccountList, error)) AccountListPage
Creates a new instance of the AccountListPage type.
func (page *AccountListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (page *AccountListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (page AccountListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page AccountListPage) Response() AccountList
Response returns the raw server response from the last page request.
func (page AccountListPage) Values() []Account
Values returns the slice of values for the current page or nil if there are no values.
type AccountProperties struct { // CreatedAt - READ-ONLY; Time at which the account was created. CreatedAt *date.Time `json:"createdAt,omitempty"` // ProvisioningState - READ-ONLY; Provisioning state of the Account. Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Moving', 'Failed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // UserEmail - READ-ONLY; Email of the user who created the resource UserEmail *string `json:"userEmail,omitempty"` // UserName - READ-ONLY; Name of the user who created the resource UserName *string `json:"userName,omitempty"` }
AccountProperties account property bag.
type AccountUpdateParameters struct { // Tags - Tags on the azure resource. Tags map[string]*string `json:"tags"` }
AccountUpdateParameters update parameters for accounts
func (aup AccountUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AccountUpdateParameters.
type AccountsClient struct { BaseClient }
AccountsClient is the creates a Microsoft.DataShare management client.
func NewAccountsClient(subscriptionID string) AccountsClient
NewAccountsClient creates an instance of the AccountsClient client.
func NewAccountsClientWithBaseURI(baseURI string, subscriptionID string) AccountsClient
NewAccountsClientWithBaseURI creates an instance of the AccountsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client AccountsClient) Create(ctx context.Context, resourceGroupName string, accountName string, account Account) (result AccountsCreateFuture, err error)
Create create an account Parameters: resourceGroupName - the resource group name. accountName - the name of the share account. account - the account payload.
func (client AccountsClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, account Account) (*http.Request, error)
CreatePreparer prepares the Create request.
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (client AccountsClient) CreateSender(req *http.Request) (future AccountsCreateFuture, err error)
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (client AccountsClient) Delete(ctx context.Context, resourceGroupName string, accountName string) (result AccountsDeleteFuture, err error)
Delete deleteAccount Parameters: resourceGroupName - the resource group name. accountName - the name of the share account.
func (client AccountsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client AccountsClient) DeleteResponder(resp *http.Response) (result OperationResponse, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (client AccountsClient) DeleteSender(req *http.Request) (future AccountsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client AccountsClient) Get(ctx context.Context, resourceGroupName string, accountName string) (result Account, err error)
Get get an account Parameters: resourceGroupName - the resource group name. accountName - the name of the share account.
func (client AccountsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
GetPreparer prepares the Get request.
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (client AccountsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, skipToken string) (result AccountListPage, err error)
ListByResourceGroup list Accounts in ResourceGroup Parameters: resourceGroupName - the resource group name. skipToken - continuation token
func (client AccountsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, skipToken string) (result AccountListIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (client AccountsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, skipToken string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (client AccountsClient) ListByResourceGroupResponder(resp *http.Response) (result AccountList, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (client AccountsClient) ListBySubscription(ctx context.Context, skipToken string) (result AccountListPage, err error)
ListBySubscription list Accounts in Subscription Parameters: skipToken - continuation token
func (client AccountsClient) ListBySubscriptionComplete(ctx context.Context, skipToken string) (result AccountListIterator, err error)
ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.
func (client AccountsClient) ListBySubscriptionPreparer(ctx context.Context, skipToken string) (*http.Request, error)
ListBySubscriptionPreparer prepares the ListBySubscription request.
func (client AccountsClient) ListBySubscriptionResponder(resp *http.Response) (result AccountList, err error)
ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.
ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.
func (client AccountsClient) Update(ctx context.Context, resourceGroupName string, accountName string, accountUpdateParameters AccountUpdateParameters) (result Account, err error)
Update patch an account Parameters: resourceGroupName - the resource group name. accountName - the name of the share account. accountUpdateParameters - the account update parameters.
func (client AccountsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, accountUpdateParameters AccountUpdateParameters) (*http.Request, error)
UpdatePreparer prepares the Update request.
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type AccountsCreateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AccountsClient) (Account, error) }
AccountsCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type AccountsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AccountsClient) (OperationResponse, error) }
AccountsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
BaseClient is the base client for Datashare.
func New(subscriptionID string) BaseClient
New creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
type BasicDataSet interface { AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool) AsADLSGen2FolderDataSet() (*ADLSGen2FolderDataSet, bool) AsBlobContainerDataSet() (*BlobContainerDataSet, bool) AsBlobDataSet() (*BlobDataSet, bool) AsBlobFolderDataSet() (*BlobFolderDataSet, bool) AsKustoClusterDataSet() (*KustoClusterDataSet, bool) AsKustoDatabaseDataSet() (*KustoDatabaseDataSet, bool) AsSQLDBTableDataSet() (*SQLDBTableDataSet, bool) AsSQLDWTableDataSet() (*SQLDWTableDataSet, bool) AsDataSet() (*DataSet, bool) }
BasicDataSet a DataSet data transfer object.
type BasicDataSetMapping interface { AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool) AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool) AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool) AsBlobContainerDataSetMapping() (*BlobContainerDataSetMapping, bool) AsBlobDataSetMapping() (*BlobDataSetMapping, bool) AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool) AsKustoClusterDataSetMapping() (*KustoClusterDataSetMapping, bool) AsKustoDatabaseDataSetMapping() (*KustoDatabaseDataSetMapping, bool) AsSQLDBTableDataSetMapping() (*SQLDBTableDataSetMapping, bool) AsSQLDWTableDataSetMapping() (*SQLDWTableDataSetMapping, bool) AsDataSetMapping() (*DataSetMapping, bool) }
BasicDataSetMapping a data set mapping data transfer object.
type BasicSourceShareSynchronizationSetting interface { ScheduledSourceSynchronizationSetting, bool) () (*SourceShareSynchronizationSetting, bool) }() (*
BasicSourceShareSynchronizationSetting a view of synchronization setting added by the provider
type BasicSynchronizationSetting interface { AsScheduledSynchronizationSetting() (*ScheduledSynchronizationSetting, bool) AsSynchronizationSetting() (*SynchronizationSetting, bool) }
BasicSynchronizationSetting a Synchronization Setting data transfer object.
type BasicTrigger interface { AsScheduledTrigger() (*ScheduledTrigger, bool) AsTrigger() (*Trigger, bool) }
BasicTrigger a Trigger data transfer object.
type BlobContainerDataSet struct { // BlobContainerProperties - Blob container data set properties. *BlobContainerProperties `json:"properties,omitempty"` // 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"` // Name - READ-ONLY; Name of the azure resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; Type of the azure resource Type *string `json:"type,omitempty"` }
BlobContainerDataSet an Azure storage blob container data set.
func (bcds BlobContainerDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool)
AsADLSGen1FileDataSet is the BasicDataSet implementation for BlobContainerDataSet.
func (bcds BlobContainerDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool)
AsADLSGen1FolderDataSet is the BasicDataSet implementation for BlobContainerDataSet.
func (bcds BlobContainerDataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool)
AsADLSGen2FileDataSet is the BasicDataSet implementation for BlobContainerDataSet.
func (bcds BlobContainerDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool)
AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for BlobContainerDataSet.
func (bcds BlobContainerDataSet) AsADLSGen2FolderDataSet() (*ADLSGen2FolderDataSet, bool)
AsADLSGen2FolderDataSet is the BasicDataSet implementation for BlobContainerDataSet.
func (bcds BlobContainerDataSet) AsBasicDataSet() (BasicDataSet, bool)
AsBasicDataSet is the BasicDataSet implementation for BlobContainerDataSet.
func (bcds BlobContainerDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool)
AsBlobContainerDataSet is the BasicDataSet implementation for BlobContainerDataSet.
func (bcds BlobContainerDataSet) AsBlobDataSet() (*BlobDataSet, bool)
AsBlobDataSet is the BasicDataSet implementation for BlobContainerDataSet.
func (bcds BlobContainerDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool)
AsBlobFolderDataSet is the BasicDataSet implementation for BlobContainerDataSet.
func (bcds BlobContainerDataSet) AsDataSet() (*DataSet, bool)
AsDataSet is the BasicDataSet implementation for BlobContainerDataSet.
func (bcds BlobContainerDataSet) AsKustoClusterDataSet() (*KustoClusterDataSet, bool)
AsKustoClusterDataSet is the BasicDataSet implementation for BlobContainerDataSet.
func (bcds BlobContainerDataSet) AsKustoDatabaseDataSet() (*KustoDatabaseDataSet, bool)
AsKustoDatabaseDataSet is the BasicDataSet implementation for BlobContainerDataSet.
func (bcds BlobContainerDataSet) AsSQLDBTableDataSet() (*SQLDBTableDataSet, bool)
AsSQLDBTableDataSet is the BasicDataSet implementation for BlobContainerDataSet.
func (bcds BlobContainerDataSet) AsSQLDWTableDataSet() (*SQLDWTableDataSet, bool)
AsSQLDWTableDataSet is the BasicDataSet implementation for BlobContainerDataSet.
func (bcds BlobContainerDataSet) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BlobContainerDataSet.
func (bcds *BlobContainerDataSet) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for BlobContainerDataSet struct.
type BlobContainerDataSetMapping struct { // BlobContainerMappingProperties - Blob container data set mapping properties. *BlobContainerMappingProperties `json:"properties,omitempty"` // 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"` // Name - READ-ONLY; Name of the azure resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; Type of the azure resource Type *string `json:"type,omitempty"` }
BlobContainerDataSetMapping a Blob container data set mapping.
func (bcdsm BlobContainerDataSetMapping) AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool)
AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping.
func (bcdsm BlobContainerDataSetMapping) AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool)
AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping.
func (bcdsm BlobContainerDataSetMapping) AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool)
AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping.
func (bcdsm BlobContainerDataSetMapping) AsBasicDataSetMapping() (BasicDataSetMapping, bool)
AsBasicDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping.
func (bcdsm BlobContainerDataSetMapping) AsBlobContainerDataSetMapping() (*BlobContainerDataSetMapping, bool)
AsBlobContainerDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping.
func (bcdsm BlobContainerDataSetMapping) AsBlobDataSetMapping() (*BlobDataSetMapping, bool)
AsBlobDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping.
func (bcdsm BlobContainerDataSetMapping) AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool)
AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping.
func (bcdsm BlobContainerDataSetMapping) AsDataSetMapping() (*DataSetMapping, bool)
AsDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping.
func (bcdsm BlobContainerDataSetMapping) AsKustoClusterDataSetMapping() (*KustoClusterDataSetMapping, bool)
AsKustoClusterDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping.
func (bcdsm BlobContainerDataSetMapping) AsKustoDatabaseDataSetMapping() (*KustoDatabaseDataSetMapping, bool)
AsKustoDatabaseDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping.
func (bcdsm BlobContainerDataSetMapping) AsSQLDBTableDataSetMapping() (*SQLDBTableDataSetMapping, bool)
AsSQLDBTableDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping.
func (bcdsm BlobContainerDataSetMapping) AsSQLDWTableDataSetMapping() (*SQLDWTableDataSetMapping, bool)
AsSQLDWTableDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping.
func (bcdsm BlobContainerDataSetMapping) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BlobContainerDataSetMapping.
func (bcdsm *BlobContainerDataSetMapping) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for BlobContainerDataSetMapping struct.
type BlobContainerMappingProperties struct { // ContainerName - BLOB Container name. ContainerName *string `json:"containerName,omitempty"` // DataSetID - The id of the source data set. DataSetID *string `json:"dataSetId,omitempty"` // DataSetMappingStatus - READ-ONLY; Gets the status of the data set mapping. Possible values include: 'Ok', 'Broken' DataSetMappingStatus DataSetMappingStatus `json:"dataSetMappingStatus,omitempty"` // ProvisioningState - READ-ONLY; Provisioning state of the data set mapping. Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Moving', 'Failed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // ResourceGroup - Resource group of storage account. ResourceGroup *string `json:"resourceGroup,omitempty"` // StorageAccountName - Storage account name of the source data set. StorageAccountName *string `json:"storageAccountName,omitempty"` // SubscriptionID - Subscription id of storage account. SubscriptionID *string `json:"subscriptionId,omitempty"` }
BlobContainerMappingProperties azure storage Blob container data set mapping property bag.
func (bcmp BlobContainerMappingProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BlobContainerMappingProperties.
type BlobContainerProperties struct { // ContainerName - BLOB Container name. ContainerName *string `json:"containerName,omitempty"` // DataSetID - READ-ONLY; Unique id for identifying a data set resource DataSetID *string `json:"dataSetId,omitempty"` // ResourceGroup - Resource group of storage account ResourceGroup *string `json:"resourceGroup,omitempty"` // StorageAccountName - Storage account name of the source data set StorageAccountName *string `json:"storageAccountName,omitempty"` // SubscriptionID - Subscription id of storage account SubscriptionID *string `json:"subscriptionId,omitempty"` }
BlobContainerProperties properties of the BLOB container data set.
func (bcp BlobContainerProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BlobContainerProperties.
type BlobDataSet struct { // BlobProperties - Blob data set properties. *BlobProperties `json:"properties,omitempty"` // 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"` // Name - READ-ONLY; Name of the azure resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; Type of the azure resource Type *string `json:"type,omitempty"` }
BlobDataSet an Azure storage blob data set.
func (bds BlobDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool)
AsADLSGen1FileDataSet is the BasicDataSet implementation for BlobDataSet.
func (bds BlobDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool)
AsADLSGen1FolderDataSet is the BasicDataSet implementation for BlobDataSet.
func (bds BlobDataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool)
AsADLSGen2FileDataSet is the BasicDataSet implementation for BlobDataSet.
func (bds BlobDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool)
AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for BlobDataSet.
func (bds BlobDataSet) AsADLSGen2FolderDataSet() (*ADLSGen2FolderDataSet, bool)
AsADLSGen2FolderDataSet is the BasicDataSet implementation for BlobDataSet.
func (bds BlobDataSet) AsBasicDataSet() (BasicDataSet, bool)
AsBasicDataSet is the BasicDataSet implementation for BlobDataSet.
func (bds BlobDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool)
AsBlobContainerDataSet is the BasicDataSet implementation for BlobDataSet.
func (bds BlobDataSet) AsBlobDataSet() (*BlobDataSet, bool)
AsBlobDataSet is the BasicDataSet implementation for BlobDataSet.
func (bds BlobDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool)
AsBlobFolderDataSet is the BasicDataSet implementation for BlobDataSet.
func (bds BlobDataSet) AsDataSet() (*DataSet, bool)
AsDataSet is the BasicDataSet implementation for BlobDataSet.
func (bds BlobDataSet) AsKustoClusterDataSet() (*KustoClusterDataSet, bool)
AsKustoClusterDataSet is the BasicDataSet implementation for BlobDataSet.
func (bds BlobDataSet) AsKustoDatabaseDataSet() (*KustoDatabaseDataSet, bool)
AsKustoDatabaseDataSet is the BasicDataSet implementation for BlobDataSet.
func (bds BlobDataSet) AsSQLDBTableDataSet() (*SQLDBTableDataSet, bool)
AsSQLDBTableDataSet is the BasicDataSet implementation for BlobDataSet.
func (bds BlobDataSet) AsSQLDWTableDataSet() (*SQLDWTableDataSet, bool)
AsSQLDWTableDataSet is the BasicDataSet implementation for BlobDataSet.
func (bds BlobDataSet) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BlobDataSet.
func (bds *BlobDataSet) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for BlobDataSet struct.
type BlobDataSetMapping struct { // BlobMappingProperties - Blob data set mapping properties. *BlobMappingProperties `json:"properties,omitempty"` // 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"` // Name - READ-ONLY; Name of the azure resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; Type of the azure resource Type *string `json:"type,omitempty"` }
BlobDataSetMapping a Blob data set mapping.
func (bdsm BlobDataSetMapping) AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool)
AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping.
func (bdsm BlobDataSetMapping) AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool)
AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping.
func (bdsm BlobDataSetMapping) AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool)
AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping.
func (bdsm BlobDataSetMapping) AsBasicDataSetMapping() (BasicDataSetMapping, bool)
AsBasicDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping.
func (bdsm BlobDataSetMapping) AsBlobContainerDataSetMapping() (*BlobContainerDataSetMapping, bool)
AsBlobContainerDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping.
func (bdsm BlobDataSetMapping) AsBlobDataSetMapping() (*BlobDataSetMapping, bool)
AsBlobDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping.
func (bdsm BlobDataSetMapping) AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool)
AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping.
func (bdsm BlobDataSetMapping) AsDataSetMapping() (*DataSetMapping, bool)
AsDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping.
func (bdsm BlobDataSetMapping) AsKustoClusterDataSetMapping() (*KustoClusterDataSetMapping, bool)
AsKustoClusterDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping.
func (bdsm BlobDataSetMapping) AsKustoDatabaseDataSetMapping() (*KustoDatabaseDataSetMapping, bool)
AsKustoDatabaseDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping.
func (bdsm BlobDataSetMapping) AsSQLDBTableDataSetMapping() (*SQLDBTableDataSetMapping, bool)
AsSQLDBTableDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping.
func (bdsm BlobDataSetMapping) AsSQLDWTableDataSetMapping() (*SQLDWTableDataSetMapping, bool)
AsSQLDWTableDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping.
func (bdsm BlobDataSetMapping) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BlobDataSetMapping.
func (bdsm *BlobDataSetMapping) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for BlobDataSetMapping struct.
type BlobFolderDataSet struct { // BlobFolderProperties - Blob folder data set properties. *BlobFolderProperties `json:"properties,omitempty"` // 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"` // Name - READ-ONLY; Name of the azure resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; Type of the azure resource Type *string `json:"type,omitempty"` }
BlobFolderDataSet an Azure storage blob folder data set.
func (bfds BlobFolderDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool)
AsADLSGen1FileDataSet is the BasicDataSet implementation for BlobFolderDataSet.
func (bfds BlobFolderDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool)
AsADLSGen1FolderDataSet is the BasicDataSet implementation for BlobFolderDataSet.
func (bfds BlobFolderDataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool)
AsADLSGen2FileDataSet is the BasicDataSet implementation for BlobFolderDataSet.
func (bfds BlobFolderDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool)
AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for BlobFolderDataSet.
func (bfds BlobFolderDataSet) AsADLSGen2FolderDataSet() (*ADLSGen2FolderDataSet, bool)
AsADLSGen2FolderDataSet is the BasicDataSet implementation for BlobFolderDataSet.
func (bfds BlobFolderDataSet) AsBasicDataSet() (BasicDataSet, bool)
AsBasicDataSet is the BasicDataSet implementation for BlobFolderDataSet.
func (bfds BlobFolderDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool)
AsBlobContainerDataSet is the BasicDataSet implementation for BlobFolderDataSet.
func (bfds BlobFolderDataSet) AsBlobDataSet() (*BlobDataSet, bool)
AsBlobDataSet is the BasicDataSet implementation for BlobFolderDataSet.
func (bfds BlobFolderDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool)
AsBlobFolderDataSet is the BasicDataSet implementation for BlobFolderDataSet.
func (bfds BlobFolderDataSet) AsDataSet() (*DataSet, bool)
AsDataSet is the BasicDataSet implementation for BlobFolderDataSet.
func (bfds BlobFolderDataSet) AsKustoClusterDataSet() (*KustoClusterDataSet, bool)
AsKustoClusterDataSet is the BasicDataSet implementation for BlobFolderDataSet.
func (bfds BlobFolderDataSet) AsKustoDatabaseDataSet() (*KustoDatabaseDataSet, bool)
AsKustoDatabaseDataSet is the BasicDataSet implementation for BlobFolderDataSet.
func (bfds BlobFolderDataSet) AsSQLDBTableDataSet() (*SQLDBTableDataSet, bool)
AsSQLDBTableDataSet is the BasicDataSet implementation for BlobFolderDataSet.
func (bfds BlobFolderDataSet) AsSQLDWTableDataSet() (*SQLDWTableDataSet, bool)
AsSQLDWTableDataSet is the BasicDataSet implementation for BlobFolderDataSet.
func (bfds BlobFolderDataSet) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BlobFolderDataSet.
func (bfds *BlobFolderDataSet) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for BlobFolderDataSet struct.
type BlobFolderDataSetMapping struct { // BlobFolderMappingProperties - Blob folder data set mapping properties. *BlobFolderMappingProperties `json:"properties,omitempty"` // 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"` // Name - READ-ONLY; Name of the azure resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; Type of the azure resource Type *string `json:"type,omitempty"` }
BlobFolderDataSetMapping a Blob folder data set mapping.
func (bfdsm BlobFolderDataSetMapping) AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool)
AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping.
func (bfdsm BlobFolderDataSetMapping) AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool)
AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping.
func (bfdsm BlobFolderDataSetMapping) AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool)
AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping.
func (bfdsm BlobFolderDataSetMapping) AsBasicDataSetMapping() (BasicDataSetMapping, bool)
AsBasicDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping.
func (bfdsm BlobFolderDataSetMapping) AsBlobContainerDataSetMapping() (*BlobContainerDataSetMapping, bool)
AsBlobContainerDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping.
func (bfdsm BlobFolderDataSetMapping) AsBlobDataSetMapping() (*BlobDataSetMapping, bool)
AsBlobDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping.
func (bfdsm BlobFolderDataSetMapping) AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool)
AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping.
func (bfdsm BlobFolderDataSetMapping) AsDataSetMapping() (*DataSetMapping, bool)
AsDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping.
func (bfdsm BlobFolderDataSetMapping) AsKustoClusterDataSetMapping() (*KustoClusterDataSetMapping, bool)
AsKustoClusterDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping.
func (bfdsm BlobFolderDataSetMapping) AsKustoDatabaseDataSetMapping() (*KustoDatabaseDataSetMapping, bool)
AsKustoDatabaseDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping.
func (bfdsm BlobFolderDataSetMapping) AsSQLDBTableDataSetMapping() (*SQLDBTableDataSetMapping, bool)
AsSQLDBTableDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping.
func (bfdsm BlobFolderDataSetMapping) AsSQLDWTableDataSetMapping() (*SQLDWTableDataSetMapping, bool)
AsSQLDWTableDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping.
func (bfdsm BlobFolderDataSetMapping) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BlobFolderDataSetMapping.
func (bfdsm *BlobFolderDataSetMapping) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for BlobFolderDataSetMapping struct.
type BlobFolderMappingProperties struct { // ContainerName - Container that has the file path. ContainerName *string `json:"containerName,omitempty"` // DataSetID - The id of the source data set. DataSetID *string `json:"dataSetId,omitempty"` // DataSetMappingStatus - READ-ONLY; Gets the status of the data set mapping. Possible values include: 'Ok', 'Broken' DataSetMappingStatus DataSetMappingStatus `json:"dataSetMappingStatus,omitempty"` // Prefix - Prefix for blob folder Prefix *string `json:"prefix,omitempty"` // ProvisioningState - READ-ONLY; Provisioning state of the data set mapping. Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Moving', 'Failed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // ResourceGroup - Resource group of storage account. ResourceGroup *string `json:"resourceGroup,omitempty"` // StorageAccountName - Storage account name of the source data set. StorageAccountName *string `json:"storageAccountName,omitempty"` // SubscriptionID - Subscription id of storage account. SubscriptionID *string `json:"subscriptionId,omitempty"` }
BlobFolderMappingProperties azure storage Blob folder data set mapping property bag.
func (bfmp BlobFolderMappingProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BlobFolderMappingProperties.
type BlobFolderProperties struct { // ContainerName - Container that has the file path. ContainerName *string `json:"containerName,omitempty"` // DataSetID - READ-ONLY; Unique id for identifying a data set resource DataSetID *string `json:"dataSetId,omitempty"` // Prefix - Prefix for blob folder Prefix *string `json:"prefix,omitempty"` // ResourceGroup - Resource group of storage account ResourceGroup *string `json:"resourceGroup,omitempty"` // StorageAccountName - Storage account name of the source data set StorageAccountName *string `json:"storageAccountName,omitempty"` // SubscriptionID - Subscription id of storage account SubscriptionID *string `json:"subscriptionId,omitempty"` }
BlobFolderProperties properties of the blob folder data set.
func (bfp BlobFolderProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BlobFolderProperties.
type BlobMappingProperties struct { // ContainerName - Container that has the file path. ContainerName *string `json:"containerName,omitempty"` // DataSetID - The id of the source data set. DataSetID *string `json:"dataSetId,omitempty"` // DataSetMappingStatus - READ-ONLY; Gets the status of the data set mapping. Possible values include: 'Ok', 'Broken' DataSetMappingStatus DataSetMappingStatus `json:"dataSetMappingStatus,omitempty"` // FilePath - File path within the source data set FilePath *string `json:"filePath,omitempty"` // OutputType - File output type. Possible values include: 'Csv', 'Parquet' OutputType OutputType `json:"outputType,omitempty"` // ProvisioningState - READ-ONLY; Provisioning state of the data set mapping. Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Moving', 'Failed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // ResourceGroup - Resource group of storage account. ResourceGroup *string `json:"resourceGroup,omitempty"` // StorageAccountName - Storage account name of the source data set. StorageAccountName *string `json:"storageAccountName,omitempty"` // SubscriptionID - Subscription id of storage account. SubscriptionID *string `json:"subscriptionId,omitempty"` }
BlobMappingProperties azure storage Blob data set mapping property bag.
func (bmp BlobMappingProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BlobMappingProperties.
type BlobProperties struct { // ContainerName - Container that has the file path. ContainerName *string `json:"containerName,omitempty"` // DataSetID - READ-ONLY; Unique id for identifying a data set resource DataSetID *string `json:"dataSetId,omitempty"` // FilePath - File path within the source data set FilePath *string `json:"filePath,omitempty"` // ResourceGroup - Resource group of storage account ResourceGroup *string `json:"resourceGroup,omitempty"` // StorageAccountName - Storage account name of the source data set StorageAccountName *string `json:"storageAccountName,omitempty"` // SubscriptionID - Subscription id of storage account SubscriptionID *string `json:"subscriptionId,omitempty"` }
BlobProperties properties of the blob data set.
func (bp BlobProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BlobProperties.
type ConsumerInvitation struct { autorest.Response `json:"-"` // ConsumerInvitationProperties - Properties on the account *ConsumerInvitationProperties `json:"properties,omitempty"` // ID - READ-ONLY; The resource id of the azure resource ID *string `json:"id,omitempty"` // Name - READ-ONLY; Name of the azure resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; Type of the azure resource Type *string `json:"type,omitempty"` }
ConsumerInvitation a consumer Invitation data transfer object.
func (ci ConsumerInvitation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ConsumerInvitation.
func (ci *ConsumerInvitation) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ConsumerInvitation struct.
type ConsumerInvitationList struct { autorest.Response `json:"-"` // NextLink - The Url of next result page. NextLink *string `json:"nextLink,omitempty"` // Value - Collection of items of type DataTransferObjects. Value *[]ConsumerInvitation `json:"value,omitempty"` }
ConsumerInvitationList list response for get InvitationList
func (cil ConsumerInvitationList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ConsumerInvitationListIterator struct {
// contains filtered or unexported fields
}
ConsumerInvitationListIterator provides access to a complete listing of ConsumerInvitation values.
func NewConsumerInvitationListIterator(page ConsumerInvitationListPage) ConsumerInvitationListIterator
Creates a new instance of the ConsumerInvitationListIterator type.
func (iter *ConsumerInvitationListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (iter *ConsumerInvitationListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (iter ConsumerInvitationListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ConsumerInvitationListIterator) Response() ConsumerInvitationList
Response returns the raw server response from the last page request.
func (iter ConsumerInvitationListIterator) Value() ConsumerInvitation
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ConsumerInvitationListPage struct {
// contains filtered or unexported fields
}
ConsumerInvitationListPage contains a page of ConsumerInvitation values.
func NewConsumerInvitationListPage(cur ConsumerInvitationList, getNextPage func(context.Context, ConsumerInvitationList) (ConsumerInvitationList, error)) ConsumerInvitationListPage
Creates a new instance of the ConsumerInvitationListPage type.
func (page *ConsumerInvitationListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (page *ConsumerInvitationListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (page ConsumerInvitationListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ConsumerInvitationListPage) Response() ConsumerInvitationList
Response returns the raw server response from the last page request.
func (page ConsumerInvitationListPage) Values() []ConsumerInvitation
Values returns the slice of values for the current page or nil if there are no values.
type ConsumerInvitationProperties struct { // DataSetCount - READ-ONLY; Number of data sets in a share DataSetCount *int32 `json:"dataSetCount,omitempty"` // Description - READ-ONLY; Description shared when the invitation was created Description *string `json:"description,omitempty"` // InvitationID - Unique id of the invitation. InvitationID *string `json:"invitationId,omitempty"` // InvitationStatus - READ-ONLY; The status of the invitation. Possible values include: 'Pending', 'Accepted', 'Rejected', 'Withdrawn' InvitationStatus InvitationStatus `json:"invitationStatus,omitempty"` // Location - READ-ONLY; invitation location Location *string `json:"location,omitempty"` // ProviderEmail - READ-ONLY; Email of the provider who created the resource ProviderEmail *string `json:"providerEmail,omitempty"` // ProviderName - READ-ONLY; Name of the provider who created the resource ProviderName *string `json:"providerName,omitempty"` // ProviderTenantName - READ-ONLY; Tenant name of the provider who created the resource ProviderTenantName *string `json:"providerTenantName,omitempty"` // RespondedAt - READ-ONLY; The time the recipient responded to the invitation. RespondedAt *date.Time `json:"respondedAt,omitempty"` // SentAt - READ-ONLY; Gets the time at which the invitation was sent. SentAt *date.Time `json:"sentAt,omitempty"` // ShareName - READ-ONLY; Gets the source share Name. *string `json:"shareName,omitempty"` // TermsOfUse - READ-ONLY; Terms of use shared when the invitation was created TermsOfUse *string `json:"termsOfUse,omitempty"` // UserEmail - READ-ONLY; Email of the user who created the resource UserEmail *string `json:"userEmail,omitempty"` // UserName - READ-ONLY; Name of the user who created the resource UserName *string `json:"userName,omitempty"` }
ConsumerInvitationProperties properties of consumer invitation
func (cip ConsumerInvitationProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ConsumerInvitationProperties.
type ConsumerInvitationsClient struct { BaseClient }
ConsumerInvitationsClient is the creates a Microsoft.DataShare management client.
func NewConsumerInvitationsClient(subscriptionID string) ConsumerInvitationsClient
NewConsumerInvitationsClient creates an instance of the ConsumerInvitationsClient client.
func NewConsumerInvitationsClientWithBaseURI(baseURI string, subscriptionID string) ConsumerInvitationsClient
NewConsumerInvitationsClientWithBaseURI creates an instance of the ConsumerInvitationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client ConsumerInvitationsClient) Get(ctx context.Context, location string, invitationID string) (result ConsumerInvitation, err error)
Get get an invitation Parameters: location - location of the invitation invitationID - an invitation id
func (client ConsumerInvitationsClient) GetPreparer(ctx context.Context, location string, invitationID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client ConsumerInvitationsClient) GetResponder(resp *http.Response) (result ConsumerInvitation, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (client ConsumerInvitationsClient) ListInvitations(ctx context.Context, skipToken string) (result ConsumerInvitationListPage, err error)
ListInvitations lists invitations Parameters: skipToken - the continuation token
func (client ConsumerInvitationsClient) ListInvitationsComplete(ctx context.Context, skipToken string) (result ConsumerInvitationListIterator, err error)
ListInvitationsComplete enumerates all values, automatically crossing page boundaries as required.
func (client ConsumerInvitationsClient) ListInvitationsPreparer(ctx context.Context, skipToken string) (*http.Request, error)
ListInvitationsPreparer prepares the ListInvitations request.
func (client ConsumerInvitationsClient) ListInvitationsResponder(resp *http.Response) (result ConsumerInvitationList, err error)
ListInvitationsResponder handles the response to the ListInvitations request. The method always closes the http.Response Body.
func (client ConsumerInvitationsClient) ListInvitationsSender(req *http.Request) (*http.Response, error)
ListInvitationsSender sends the ListInvitations request. The method will close the http.Response Body if it receives an error.
func (client ConsumerInvitationsClient) RejectInvitation(ctx context.Context, location string, invitation ConsumerInvitation) (result ConsumerInvitation, err error)
RejectInvitation reject an invitation Parameters: location - location of the invitation invitation - an invitation payload
func (client ConsumerInvitationsClient) RejectInvitationPreparer(ctx context.Context, location string, invitation ConsumerInvitation) (*http.Request, error)
RejectInvitationPreparer prepares the RejectInvitation request.
func (client ConsumerInvitationsClient) RejectInvitationResponder(resp *http.Response) (result ConsumerInvitation, err error)
RejectInvitationResponder handles the response to the RejectInvitation request. The method always closes the http.Response Body.
func (client ConsumerInvitationsClient) RejectInvitationSender(req *http.Request) (*http.Response, error)
RejectInvitationSender sends the RejectInvitation request. The method will close the http.Response Body if it receives an error.
type ConsumerSourceDataSet struct { // ConsumerSourceDataSetProperties - source dataSet properties *ConsumerSourceDataSetProperties `json:"properties,omitempty"` // ID - READ-ONLY; The resource id of the azure resource ID *string `json:"id,omitempty"` // Name - READ-ONLY; Name of the azure resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; Type of the azure resource Type *string `json:"type,omitempty"` }
ConsumerSourceDataSet a consumer side dataSet data transfer object.
func (csds ConsumerSourceDataSet) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ConsumerSourceDataSet.
func (csds *ConsumerSourceDataSet) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ConsumerSourceDataSet struct.
type ConsumerSourceDataSetList struct { autorest.Response `json:"-"` // NextLink - The Url of next result page. NextLink *string `json:"nextLink,omitempty"` // Value - Collection of items of type DataTransferObjects. Value *[]ConsumerSourceDataSet `json:"value,omitempty"` }
ConsumerSourceDataSetList a consumer side list of source dataSets
func (csdsl ConsumerSourceDataSetList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ConsumerSourceDataSetListIterator struct {
// contains filtered or unexported fields
}
ConsumerSourceDataSetListIterator provides access to a complete listing of ConsumerSourceDataSet values.
func NewConsumerSourceDataSetListIterator(page ConsumerSourceDataSetListPage) ConsumerSourceDataSetListIterator
Creates a new instance of the ConsumerSourceDataSetListIterator type.
func (iter *ConsumerSourceDataSetListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (iter *ConsumerSourceDataSetListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (iter ConsumerSourceDataSetListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ConsumerSourceDataSetListIterator) Response() ConsumerSourceDataSetList
Response returns the raw server response from the last page request.
func (iter ConsumerSourceDataSetListIterator) Value() ConsumerSourceDataSet
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ConsumerSourceDataSetListPage struct {
// contains filtered or unexported fields
}
ConsumerSourceDataSetListPage contains a page of ConsumerSourceDataSet values.
func NewConsumerSourceDataSetListPage(cur ConsumerSourceDataSetList, getNextPage func(context.Context, ConsumerSourceDataSetList) (ConsumerSourceDataSetList, error)) ConsumerSourceDataSetListPage
Creates a new instance of the ConsumerSourceDataSetListPage type.
func (page *ConsumerSourceDataSetListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (page *ConsumerSourceDataSetListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (page ConsumerSourceDataSetListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ConsumerSourceDataSetListPage) Response() ConsumerSourceDataSetList
Response returns the raw server response from the last page request.
func (page ConsumerSourceDataSetListPage) Values() []ConsumerSourceDataSet
Values returns the slice of values for the current page or nil if there are no values.
type ConsumerSourceDataSetProperties struct { // DataSetID - READ-ONLY; DataSet Id DataSetID *string `json:"dataSetId,omitempty"` // DataSetLocation - READ-ONLY; Location of the data set. DataSetLocation *string `json:"dataSetLocation,omitempty"` // DataSetName - READ-ONLY; DataSet name DataSetName *string `json:"dataSetName,omitempty"` // DataSetPath - READ-ONLY; DataSet path DataSetPath *string `json:"dataSetPath,omitempty"` // DataSetType - READ-ONLY; Type of data set. Possible values include: 'Blob', 'Container', 'BlobFolder', 'AdlsGen2FileSystem', 'AdlsGen2Folder', 'AdlsGen2File', 'AdlsGen1Folder', 'AdlsGen1File', 'KustoCluster', 'KustoDatabase', 'SQLDBTable', 'SQLDWTable' DataSetType DataSetType `json:"dataSetType,omitempty"` }
ConsumerSourceDataSetProperties properties of consumer source dataSet
type ConsumerSourceDataSetsClient struct { BaseClient }
ConsumerSourceDataSetsClient is the creates a Microsoft.DataShare management client.
func NewConsumerSourceDataSetsClient(subscriptionID string) ConsumerSourceDataSetsClient
NewConsumerSourceDataSetsClient creates an instance of the ConsumerSourceDataSetsClient client.
func NewConsumerSourceDataSetsClientWithBaseURI(baseURI string, subscriptionID string) ConsumerSourceDataSetsClient
NewConsumerSourceDataSetsClientWithBaseURI creates an instance of the ConsumerSourceDataSetsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client ConsumerSourceDataSetsClient) ListByShareSubscription(ctx context.Context, resourceGroupName string, accountName string, shareSubscriptionName string, skipToken string) (result ConsumerSourceDataSetListPage, err error)
ListByShareSubscription get source dataSets of a shareSubscription Parameters: resourceGroupName - the resource group name. accountName - the name of the share account. shareSubscriptionName - the name of the shareSubscription. skipToken - continuation token
func (client ConsumerSourceDataSetsClient) ListByShareSubscriptionComplete(ctx context.Context, resourceGroupName string, accountName string, shareSubscriptionName string, skipToken string) (result ConsumerSourceDataSetListIterator, err error)
ListByShareSubscriptionComplete enumerates all values, automatically crossing page boundaries as required.
func (client ConsumerSourceDataSetsClient) ListByShareSubscriptionPreparer(ctx context.Context, resourceGroupName string, accountName string, shareSubscriptionName string, skipToken string) (*http.Request, error)
ListByShareSubscriptionPreparer prepares the ListByShareSubscription request.
func (client ConsumerSourceDataSetsClient) ListByShareSubscriptionResponder(resp *http.Response) (result ConsumerSourceDataSetList, err error)
ListByShareSubscriptionResponder handles the response to the ListByShareSubscription request. The method always closes the http.Response Body.
func (client ConsumerSourceDataSetsClient) ListByShareSubscriptionSender(req *http.Request) (*http.Response, error)
ListByShareSubscriptionSender sends the ListByShareSubscription request. The method will close the http.Response Body if it receives an error.
type DataSet struct { autorest.Response `json:"-"` // 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"` // Name - READ-ONLY; Name of the azure resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; Type of the azure resource Type *string `json:"type,omitempty"` }
DataSet a DataSet data transfer object.
func (ds DataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool)
AsADLSGen1FileDataSet is the BasicDataSet implementation for DataSet.
func (ds DataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool)
AsADLSGen1FolderDataSet is the BasicDataSet implementation for DataSet.
func (ds DataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool)
AsADLSGen2FileDataSet is the BasicDataSet implementation for DataSet.
func (ds DataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool)
AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for DataSet.
func (ds DataSet) AsADLSGen2FolderDataSet() (*ADLSGen2FolderDataSet, bool)
AsADLSGen2FolderDataSet is the BasicDataSet implementation for DataSet.
func (ds DataSet) AsBasicDataSet() (BasicDataSet, bool)
AsBasicDataSet is the BasicDataSet implementation for DataSet.
func (ds DataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool)
AsBlobContainerDataSet is the BasicDataSet implementation for DataSet.
func (ds DataSet) AsBlobDataSet() (*BlobDataSet, bool)
AsBlobDataSet is the BasicDataSet implementation for DataSet.
func (ds DataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool)
AsBlobFolderDataSet is the BasicDataSet implementation for DataSet.
AsDataSet is the BasicDataSet implementation for DataSet.
func (ds DataSet) AsKustoClusterDataSet() (*KustoClusterDataSet, bool)
AsKustoClusterDataSet is the BasicDataSet implementation for DataSet.
func (ds DataSet) AsKustoDatabaseDataSet() (*KustoDatabaseDataSet, bool)
AsKustoDatabaseDataSet is the BasicDataSet implementation for DataSet.
func (ds DataSet) AsSQLDBTableDataSet() (*SQLDBTableDataSet, bool)
AsSQLDBTableDataSet is the BasicDataSet implementation for DataSet.
func (ds DataSet) AsSQLDWTableDataSet() (*SQLDWTableDataSet, bool)
AsSQLDWTableDataSet is the BasicDataSet implementation for DataSet.
MarshalJSON is the custom marshaler for DataSet.
type DataSetList struct { autorest.Response `json:"-"` // NextLink - The Url of next result page. NextLink *string `json:"nextLink,omitempty"` // Value - Collection of items of type DataTransferObjects. Value *[]BasicDataSet `json:"value,omitempty"` }
DataSetList list response for get DataSets
func (dsl DataSetList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (dsl *DataSetList) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DataSetList struct.
type DataSetListIterator struct {
// contains filtered or unexported fields
}
DataSetListIterator provides access to a complete listing of DataSet values.
func NewDataSetListIterator(page DataSetListPage) DataSetListIterator
Creates a new instance of the DataSetListIterator type.
func (iter *DataSetListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (iter *DataSetListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (iter DataSetListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter DataSetListIterator) Response() DataSetList
Response returns the raw server response from the last page request.
func (iter DataSetListIterator) Value() BasicDataSet
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type DataSetListPage struct {
// contains filtered or unexported fields
}
DataSetListPage contains a page of BasicDataSet values.
func NewDataSetListPage(cur DataSetList, getNextPage func(context.Context, DataSetList) (DataSetList, error)) DataSetListPage
Creates a new instance of the DataSetListPage type.
func (page *DataSetListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (page *DataSetListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (page DataSetListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page DataSetListPage) Response() DataSetList
Response returns the raw server response from the last page request.
func (page DataSetListPage) Values() []BasicDataSet
Values returns the slice of values for the current page or nil if there are no values.
type DataSetMapping struct { autorest.Response `json:"-"` // 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"` // Name - READ-ONLY; Name of the azure resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; Type of the azure resource Type *string `json:"type,omitempty"` }
DataSetMapping a data set mapping data transfer object.
func (dsm DataSetMapping) AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool)
AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping.
func (dsm DataSetMapping) AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool)
AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping.
func (dsm DataSetMapping) AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool)
AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping.
func (dsm DataSetMapping) AsBasicDataSetMapping() (BasicDataSetMapping, bool)
AsBasicDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping.
func (dsm DataSetMapping) AsBlobContainerDataSetMapping() (*BlobContainerDataSetMapping, bool)
AsBlobContainerDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping.
func (dsm DataSetMapping) AsBlobDataSetMapping() (*BlobDataSetMapping, bool)
AsBlobDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping.
func (dsm DataSetMapping) AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool)
AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping.
func (dsm DataSetMapping) AsDataSetMapping() (*DataSetMapping, bool)
AsDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping.
func (dsm DataSetMapping) AsKustoClusterDataSetMapping() (*KustoClusterDataSetMapping, bool)
AsKustoClusterDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping.
func (dsm DataSetMapping) AsKustoDatabaseDataSetMapping() (*KustoDatabaseDataSetMapping, bool)
AsKustoDatabaseDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping.
func (dsm DataSetMapping) AsSQLDBTableDataSetMapping() (*SQLDBTableDataSetMapping, bool)
AsSQLDBTableDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping.
func (dsm DataSetMapping) AsSQLDWTableDataSetMapping() (*SQLDWTableDataSetMapping, bool)
AsSQLDWTableDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping.
func (dsm DataSetMapping) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataSetMapping.
type DataSetMappingList struct { autorest.Response `json:"-"` // NextLink - The Url of next result page. NextLink *string `json:"nextLink,omitempty"` // Value - Collection of items of type DataTransferObjects. Value *[]BasicDataSetMapping `json:"value,omitempty"` }
DataSetMappingList list response for get DataSetMappings
func (dsml DataSetMappingList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (dsml *DataSetMappingList) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DataSetMappingList struct.
type DataSetMappingListIterator struct {
// contains filtered or unexported fields
}
DataSetMappingListIterator provides access to a complete listing of DataSetMapping values.
func NewDataSetMappingListIterator(page DataSetMappingListPage) DataSetMappingListIterator
Creates a new instance of the DataSetMappingListIterator type.
func (iter *DataSetMappingListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (iter *DataSetMappingListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (iter DataSetMappingListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter DataSetMappingListIterator) Response() DataSetMappingList
Response returns the raw server response from the last page request.
func (iter DataSetMappingListIterator) Value() BasicDataSetMapping
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type DataSetMappingListPage struct {
// contains filtered or unexported fields
}
DataSetMappingListPage contains a page of BasicDataSetMapping values.
func NewDataSetMappingListPage(cur DataSetMappingList, getNextPage func(context.Context, DataSetMappingList) (DataSetMappingList, error)) DataSetMappingListPage
Creates a new instance of the DataSetMappingListPage type.
func (page *DataSetMappingListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (page *DataSetMappingListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (page DataSetMappingListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page DataSetMappingListPage) Response() DataSetMappingList
Response returns the raw server response from the last page request.
func (page DataSetMappingListPage) Values() []BasicDataSetMapping
Values returns the slice of values for the current page or nil if there are no values.
type DataSetMappingModel struct { autorest.Response `json:"-"` Value BasicDataSetMapping `json:"value,omitempty"` }
DataSetMappingModel ...
func (dsmm *DataSetMappingModel) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DataSetMappingModel struct.
DataSetMappingStatus enumerates the values for data set mapping status.
const ( // Broken ... Broken DataSetMappingStatus = "Broken" // Ok ... Ok DataSetMappingStatus = "Ok" )
func PossibleDataSetMappingStatusValues() []DataSetMappingStatus
PossibleDataSetMappingStatusValues returns an array of possible values for the DataSetMappingStatus const type.
type DataSetMappingsClient struct { BaseClient }
DataSetMappingsClient is the creates a Microsoft.DataShare management client.
func NewDataSetMappingsClient(subscriptionID string) DataSetMappingsClient
NewDataSetMappingsClient creates an instance of the DataSetMappingsClient client.
func NewDataSetMappingsClientWithBaseURI(baseURI string, subscriptionID string) DataSetMappingsClient
NewDataSetMappingsClientWithBaseURI creates an instance of the DataSetMappingsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client DataSetMappingsClient) Create(ctx context.Context, resourceGroupName string, accountName string, shareSubscriptionName string, dataSetMappingName string, dataSetMapping BasicDataSetMapping) (result DataSetMappingModel, err error)
Create create a DataSetMapping Parameters: resourceGroupName - the resource group name. accountName - the name of the share account. shareSubscriptionName - the name of the share subscription which will hold the data set sink. dataSetMappingName - the name of the data set mapping to be created. dataSetMapping - destination data set configuration details.
func (client DataSetMappingsClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, shareSubscriptionName string, dataSetMappingName string, dataSetMapping BasicDataSetMapping) (*http.Request, error)
CreatePreparer prepares the Create request.
func (client DataSetMappingsClient) CreateResponder(resp *http.Response) (result DataSetMappingModel, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (client DataSetMappingsClient) Delete(ctx context.Context, resourceGroupName string, accountName string, shareSubscriptionName string, dataSetMappingName string) (result autorest.Response, err error)
Delete delete a DataSetMapping in a shareSubscription Parameters: resourceGroupName - the resource group name. accountName - the name of the share account. shareSubscriptionName - the name of the shareSubscription. dataSetMappingName - the name of the dataSetMapping.
func (client DataSetMappingsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, shareSubscriptionName string, dataSetMappingName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client DataSetMappingsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client DataSetMappingsClient) Get(ctx context.Context, resourceGroupName string, accountName string, shareSubscriptionName string, dataSetMappingName string) (result DataSetMappingModel, err error)
Get get a DataSetMapping in a shareSubscription Parameters: resourceGroupName - the resource group name. accountName - the name of the share account. shareSubscriptionName - the name of the shareSubscription. dataSetMappingName - the name of the dataSetMapping.
func (client DataSetMappingsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, shareSubscriptionName string, dataSetMappingName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client DataSetMappingsClient) GetResponder(resp *http.Response) (result DataSetMappingModel, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (client DataSetMappingsClient) ListByShareSubscription(ctx context.Context, resourceGroupName string, accountName string, shareSubscriptionName string, skipToken string, filter string, orderby string) (result DataSetMappingListPage, err error)
ListByShareSubscription list DataSetMappings in a share subscription Parameters: resourceGroupName - the resource group name. accountName - the name of the share account. shareSubscriptionName - the name of the share subscription. skipToken - continuation token filter - filters the results using OData syntax. orderby - sorts the results using OData syntax.
func (client DataSetMappingsClient) ListByShareSubscriptionComplete(ctx context.Context, resourceGroupName string, accountName string, shareSubscriptionName string, skipToken string, filter string, orderby string) (result DataSetMappingListIterator, err error)
ListByShareSubscriptionComplete enumerates all values, automatically crossing page boundaries as required.
func (client DataSetMappingsClient) ListByShareSubscriptionPreparer(ctx context.Context, resourceGroupName string, accountName string, shareSubscriptionName string, skipToken string, filter string, orderby string) (*http.Request, error)
ListByShareSubscriptionPreparer prepares the ListByShareSubscription request.
func (client DataSetMappingsClient) ListByShareSubscriptionResponder(resp *http.Response) (result DataSetMappingList, err error)
ListByShareSubscriptionResponder handles the response to the ListByShareSubscription request. The method always closes the http.Response Body.
func (client DataSetMappingsClient) ListByShareSubscriptionSender(req *http.Request) (*http.Response, error)
ListByShareSubscriptionSender sends the ListByShareSubscription request. The method will close the http.Response Body if it receives an error.
type DataSetModel struct { autorest.Response `json:"-"` Value BasicDataSet `json:"value,omitempty"` }
DataSetModel ...
func (dsm *DataSetModel) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DataSetModel struct.
DataSetType enumerates the values for data set type.
const ( // AdlsGen1File ... AdlsGen1File DataSetType = "AdlsGen1File" // AdlsGen1Folder ... AdlsGen1Folder DataSetType = "AdlsGen1Folder" // AdlsGen2File ... AdlsGen2File DataSetType = "AdlsGen2File" // AdlsGen2FileSystem ... AdlsGen2FileSystem DataSetType = "AdlsGen2FileSystem" // AdlsGen2Folder ... AdlsGen2Folder DataSetType = "AdlsGen2Folder" // Blob ... Blob DataSetType = "Blob" // BlobFolder ... BlobFolder DataSetType = "BlobFolder" // Container ... Container DataSetType = "Container" // KustoCluster ... KustoCluster DataSetType = "KustoCluster" // KustoDatabase ... KustoDatabase DataSetType = "KustoDatabase" // SQLDBTable ... SQLDBTable DataSetType = "SqlDBTable" // SQLDWTable ... SQLDWTable DataSetType = "SqlDWTable" )
func PossibleDataSetTypeValues() []DataSetType
PossibleDataSetTypeValues returns an array of possible values for the DataSetType const type.
type DataSetsClient struct { BaseClient }
DataSetsClient is the creates a Microsoft.DataShare management client.
func NewDataSetsClient(subscriptionID string) DataSetsClient
NewDataSetsClient creates an instance of the DataSetsClient client.
func NewDataSetsClientWithBaseURI(baseURI string, subscriptionID string) DataSetsClient
NewDataSetsClientWithBaseURI creates an instance of the DataSetsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client DataSetsClient) Create(ctx context.Context, resourceGroupName string, accountName string, shareName string, dataSetName string, dataSet BasicDataSet) (result DataSetModel, err error)
Create create a DataSet Parameters: resourceGroupName - the resource group name. accountName - the name of the share account. shareName - the name of the share to add the data set to. dataSetName - the name of the dataSet. dataSet - the new data set information.
func (client DataSetsClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, shareName string, dataSetName string, dataSet BasicDataSet) (*http.Request, error)
CreatePreparer prepares the Create request.
func (client DataSetsClient) CreateResponder(resp *http.Response) (result DataSetModel, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (client DataSetsClient) Delete(ctx context.Context, resourceGroupName string, accountName string, shareName string, dataSetName string) (result DataSetsDeleteFuture, err error)
Delete delete a DataSet in a share Parameters: resourceGroupName - the resource group name. accountName - the name of the share account. shareName - the name of the share. dataSetName - the name of the dataSet.
func (client DataSetsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, shareName string, dataSetName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client DataSetsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (client DataSetsClient) DeleteSender(req *http.Request) (future DataSetsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client DataSetsClient) Get(ctx context.Context, resourceGroupName string, accountName string, shareName string, dataSetName string) (result DataSetModel, err error)
Get get a DataSet in a share Parameters: resourceGroupName - the resource group name. accountName - the name of the share account. shareName - the name of the share. dataSetName - the name of the dataSet.
func (client DataSetsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, shareName string, dataSetName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client DataSetsClient) GetResponder(resp *http.Response) (result DataSetModel, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (client DataSetsClient) ListByShare(ctx context.Context, resourceGroupName string, accountName string, shareName string, skipToken string, filter string, orderby string) (result DataSetListPage, err error)
ListByShare list DataSets in a share Parameters: resourceGroupName - the resource group name. accountName - the name of the share account. shareName - the name of the share. skipToken - continuation token filter - filters the results using OData syntax. orderby - sorts the results using OData syntax.
func (client DataSetsClient) ListByShareComplete(ctx context.Context, resourceGroupName string, accountName string, shareName string, skipToken string, filter string, orderby string) (result DataSetListIterator, err error)
ListByShareComplete enumerates all values, automatically crossing page boundaries as required.
func (client DataSetsClient) ListBySharePreparer(ctx context.Context, resourceGroupName string, accountName string, shareName string, skipToken string, filter string, orderby string) (*http.Request, error)
ListBySharePreparer prepares the ListByShare request.
func (client DataSetsClient) ListByShareResponder(resp *http.Response) (result DataSetList, err error)
ListByShareResponder handles the response to the ListByShare request. The method always closes the http.Response Body.
ListByShareSender sends the ListByShare request. The method will close the http.Response Body if it receives an error.
type DataSetsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(DataSetsClient) (autorest.Response, error) }
DataSetsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type DefaultDto struct { // ID - READ-ONLY; The resource id of the azure resource ID *string `json:"id,omitempty"` // Location - Location of the azure resource. Location *string `json:"location,omitempty"` // Name - READ-ONLY; Name of the azure resource Name *string `json:"name,omitempty"` // Tags - Tags on the azure resource. Tags map[string]*string `json:"tags"` // Type - READ-ONLY; Type of the azure resource Type *string `json:"type,omitempty"` }
DefaultDto base data transfer object implementation for default resources.
func (dd DefaultDto) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DefaultDto.
type DimensionProperties struct { // DisplayName - localized display name of the dimension to customer DisplayName *string `json:"displayName,omitempty"` // Name - dimension name Name *string `json:"name,omitempty"` }
DimensionProperties properties for dimension
type Error struct { // Error - The data share error body Error *ErrorInfo `json:"error,omitempty"` }
Error the data share error model.
type ErrorInfo struct { // Code - Code of the error Code *string `json:"code,omitempty"` // Details - Nested details of the error model Details *[]ErrorInfo `json:"details,omitempty"` // Message - Message of the error Message *string `json:"message,omitempty"` // Target - Target of the error Target *string `json:"target,omitempty"` }
ErrorInfo the data share error body model.
type Identity struct { // PrincipalID - READ-ONLY; service principal Id PrincipalID *string `json:"principalId,omitempty"` // TenantID - READ-ONLY; Tenant Id TenantID *string `json:"tenantId,omitempty"` // Type - Identity Type. Possible values include: 'SystemAssigned' Type Type `json:"type,omitempty"` }
Identity identity of resource
MarshalJSON is the custom marshaler for Identity.
type Invitation struct { autorest.Response `json:"-"` // InvitationProperties - Properties on the Invitation *InvitationProperties `json:"properties,omitempty"` // ID - READ-ONLY; The resource id of the azure resource ID *string `json:"id,omitempty"` // Name - READ-ONLY; Name of the azure resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; Type of the azure resource Type *string `json:"type,omitempty"` }
Invitation a Invitation data transfer object.
func (i Invitation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Invitation.
func (i *Invitation) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for Invitation struct.
type InvitationList struct { autorest.Response `json:"-"` // NextLink - The Url of next result page. NextLink *string `json:"nextLink,omitempty"` // Value - Collection of items of type DataTransferObjects. Value *[]Invitation `json:"value,omitempty"` }
InvitationList list response for get InvitationList
func (il InvitationList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type InvitationListIterator struct {
// contains filtered or unexported fields
}
InvitationListIterator provides access to a complete listing of Invitation values.
func NewInvitationListIterator(page InvitationListPage) InvitationListIterator
Creates a new instance of the InvitationListIterator type.
func (iter *InvitationListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (iter *InvitationListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (iter InvitationListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter InvitationListIterator) Response() InvitationList
Response returns the raw server response from the last page request.
func (iter InvitationListIterator) Value() Invitation
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type InvitationListPage struct {
// contains filtered or unexported fields
}
InvitationListPage contains a page of Invitation values.
func NewInvitationListPage(cur InvitationList, getNextPage func(context.Context, InvitationList) (InvitationList, error)) InvitationListPage
Creates a new instance of the InvitationListPage type.
func (page *InvitationListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (page *InvitationListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (page InvitationListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page InvitationListPage) Response() InvitationList
Response returns the raw server response from the last page request.
func (page InvitationListPage) Values() []Invitation
Values returns the slice of values for the current page or nil if there are no values.
type InvitationProperties struct { // InvitationID - READ-ONLY; unique invitation id InvitationID *string `json:"invitationId,omitempty"` // InvitationStatus - READ-ONLY; The status of the invitation. Possible values include: 'Pending', 'Accepted', 'Rejected', 'Withdrawn' InvitationStatus InvitationStatus `json:"invitationStatus,omitempty"` // RespondedAt - READ-ONLY; The time the recipient responded to the invitation. RespondedAt *date.Time `json:"respondedAt,omitempty"` // SentAt - READ-ONLY; Gets the time at which the invitation was sent. SentAt *date.Time `json:"sentAt,omitempty"` // TargetActiveDirectoryID - The target Azure AD Id. Can't be combined with email. TargetActiveDirectoryID *string `json:"targetActiveDirectoryId,omitempty"` // TargetEmail - The email the invitation is directed to. TargetEmail *string `json:"targetEmail,omitempty"` // TargetObjectID - The target user or application Id that invitation is being sent to. // Must be specified along TargetActiveDirectoryId. This enables sending // invitations to specific users or applications in an AD tenant. TargetObjectID *string `json:"targetObjectId,omitempty"` // UserEmail - READ-ONLY; Email of the user who created the resource UserEmail *string `json:"userEmail,omitempty"` // UserName - READ-ONLY; Name of the user who created the resource UserName *string `json:"userName,omitempty"` }
InvitationProperties invitation property bag.
func (IP InvitationProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for InvitationProperties.
InvitationStatus enumerates the values for invitation status.
const ( // Accepted ... Accepted InvitationStatus = "Accepted" // Pending ... Pending InvitationStatus = "Pending" // Rejected ... Rejected InvitationStatus = "Rejected" // Withdrawn ... Withdrawn InvitationStatus = "Withdrawn" )
func PossibleInvitationStatusValues() []InvitationStatus
PossibleInvitationStatusValues returns an array of possible values for the InvitationStatus const type.
type InvitationsClient struct { BaseClient }
InvitationsClient is the creates a Microsoft.DataShare management client.
func NewInvitationsClient(subscriptionID string) InvitationsClient
NewInvitationsClient creates an instance of the InvitationsClient client.
func NewInvitationsClientWithBaseURI(baseURI string, subscriptionID string) InvitationsClient
NewInvitationsClientWithBaseURI creates an instance of the InvitationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client InvitationsClient) Create(ctx context.Context, resourceGroupName string, accountName string, shareName string, invitationName string, invitation Invitation) (result Invitation, err error)
Create create an invitation Parameters: resourceGroupName - the resource group name. accountName - the name of the share account. shareName - the name of the share to send the invitation for. invitationName - the name of the invitation. invitation - invitation details.
func (client InvitationsClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, shareName string, invitationName string, invitation Invitation) (*http.Request, error)
CreatePreparer prepares the Create request.
func (client InvitationsClient) CreateResponder(resp *http.Response) (result Invitation, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (client InvitationsClient) Delete(ctx context.Context, resourceGroupName string, accountName string, shareName string, invitationName string) (result autorest.Response, err error)
Delete delete an invitation in a share Parameters: resourceGroupName - the resource group name. accountName - the name of the share account. shareName - the name of the share. invitationName - the name of the invitation.
func (client InvitationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, shareName string, invitationName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (client InvitationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client InvitationsClient) Get(ctx context.Context, resourceGroupName string, accountName string, shareName string, invitationName string) (result Invitation, err error)
Get get an invitation in a share Parameters: resourceGroupName - the resource group name. accountName - the name of the share account. shareName - the name of the share. invitationName - the name of the invitation.
func (client InvitationsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, shareName string, invitationName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (client InvitationsClient) GetResponder(resp *http.Response) (result Invitation, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (client InvitationsClient) ListByShare(ctx context.Context, resourceGroupName string, accountName string, shareName string, skipToken string, filter string, orderby string) (result InvitationListPage, err error)
ListByShare list invitations in a share Parameters: resourceGroupName - the resource group name. accountName - the name of the share account. shareName - the name of the share. skipToken - the continuation token filter - filters the results using OData syntax. orderby - sorts the results using OData syntax.
func (client InvitationsClient) ListByShareComplete(ctx context.Context, resourceGroupName string, accountName string, shareName string, skipToken string, filter string, orderby string) (result InvitationListIterator, err error)
ListByShareComplete enumerates all values, automatically crossing page boundaries as required.
func (client InvitationsClient) ListBySharePreparer(ctx context.Context, resourceGroupName string, accountName string, shareName string, skipToken string, filter string, orderby string) (*http.Request, error)
ListBySharePreparer prepares the ListByShare request.
func (client InvitationsClient) ListByShareResponder(resp *http.Response) (result InvitationList, err error)
ListByShareResponder handles the response to the ListByShare request. The method always closes the http.Response Body.
ListByShareSender sends the ListByShare request. The method will close the http.Response Body if it receives an error.
Kind enumerates the values for kind.
const ( // KindAdlsGen1File ... KindAdlsGen1File Kind = "AdlsGen1File" // KindAdlsGen1Folder ... KindAdlsGen1Folder Kind = "AdlsGen1Folder" // KindAdlsGen2File ... KindAdlsGen2File Kind = "AdlsGen2File" // KindAdlsGen2FileSystem ... KindAdlsGen2FileSystem Kind = "AdlsGen2FileSystem" // KindAdlsGen2Folder ... KindAdlsGen2Folder Kind = "AdlsGen2Folder" // KindBlob ... KindBlob Kind = "Blob" // KindBlobFolder ... KindBlobFolder Kind = "BlobFolder" // KindContainer ... KindContainer Kind = "Container" // KindDataSet ... KindDataSet Kind = "DataSet" // KindKustoCluster ... KindKustoCluster Kind = "KustoCluster" // KindKustoDatabase ... KindKustoDatabase Kind = "KustoDatabase" // KindSQLDBTable ... KindSQLDBTable Kind = "SqlDBTable" // KindSQLDWTable ... KindSQLDWTable Kind = "SqlDWTable" )
PossibleKindValues returns an array of possible values for the Kind const type.
KindBasicDataSetMapping enumerates the values for kind basic data set mapping.
const ( // KindBasicDataSetMappingKindAdlsGen2File ... KindBasicDataSetMappingKindAdlsGen2File KindBasicDataSetMapping = "AdlsGen2File" // KindBasicDataSetMappingKindAdlsGen2FileSystem ... KindBasicDataSetMappingKindAdlsGen2FileSystem KindBasicDataSetMapping = "AdlsGen2FileSystem" // KindBasicDataSetMappingKindAdlsGen2Folder ... KindBasicDataSetMappingKindAdlsGen2Folder KindBasicDataSetMapping = "AdlsGen2Folder" // KindBasicDataSetMappingKindBlob ... KindBasicDataSetMappingKindBlob KindBasicDataSetMapping = "Blob" // KindBasicDataSetMappingKindBlobFolder ... KindBasicDataSetMappingKindBlobFolder KindBasicDataSetMapping = "BlobFolder" // KindBasicDataSetMappingKindContainer ... KindBasicDataSetMappingKindContainer KindBasicDataSetMapping = "Container" // KindBasicDataSetMappingKindDataSetMapping ... KindBasicDataSetMappingKindDataSetMapping KindBasicDataSetMapping = "DataSetMapping" // KindBasicDataSetMappingKindKustoCluster ... KindBasicDataSetMappingKindKustoCluster KindBasicDataSetMapping = "KustoCluster" // KindBasicDataSetMappingKindKustoDatabase ... KindBasicDataSetMappingKindKustoDatabase KindBasicDataSetMapping = "KustoDatabase" // KindBasicDataSetMappingKindSQLDBTable ... KindBasicDataSetMappingKindSQLDBTable KindBasicDataSetMapping = "SqlDBTable" // KindBasicDataSetMappingKindSQLDWTable ... KindBasicDataSetMappingKindSQLDWTable KindBasicDataSetMapping = "SqlDWTable" )
func PossibleKindBasicDataSetMappingValues() []KindBasicDataSetMapping
PossibleKindBasicDataSetMappingValues returns an array of possible values for the KindBasicDataSetMapping const type.
KindBasicSourceShareSynchronizationSetting enumerates the values for kind basic source share synchronization setting.
const ( // KindScheduleBased ... KindScheduleBased KindBasicSourceShareSynchronizationSetting = "ScheduleBased" // KindSourceShareSynchronizationSetting ... KindBasicSourceShareSynchronizationSetting = "SourceShareSynchronizationSetting" )
func PossibleKindBasicSourceShareSynchronizationSettingValues() []KindBasicSourceShareSynchronizationSetting
PossibleKindBasicSourceShareSynchronizationSettingValues returns an array of possible values for the KindBasicSourceShareSynchronizationSetting const type.
KindBasicSynchronizationSetting enumerates the values for kind basic synchronization setting.
const ( // KindBasicSynchronizationSettingKindScheduleBased ... KindBasicSynchronizationSettingKindScheduleBased KindBasicSynchronizationSetting = "ScheduleBased" // KindBasicSynchronizationSettingKindSynchronizationSetting ... KindBasicSynchronizationSettingKindSynchronizationSetting KindBasicSynchronizationSetting = "SynchronizationSetting" )
func PossibleKindBasicSynchronizationSettingValues() []KindBasicSynchronizationSetting
PossibleKindBasicSynchronizationSettingValues returns an array of possible values for the KindBasicSynchronizationSetting const type.
KindBasicTrigger enumerates the values for kind basic trigger.
const ( // KindBasicTriggerKindScheduleBased ... KindBasicTriggerKindScheduleBased KindBasicTrigger = "ScheduleBased" // KindBasicTriggerKindTrigger ... KindBasicTriggerKindTrigger KindBasicTrigger = "Trigger" )
func PossibleKindBasicTriggerValues() []KindBasicTrigger
PossibleKindBasicTriggerValues returns an array of possible values for the KindBasicTrigger const type.
type KustoClusterDataSet struct { // KustoClusterDataSetProperties - Kusto cluster data set properties. *KustoClusterDataSetProperties `json:"properties,omitempty"` // 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"` // Name - READ-ONLY; Name of the azure resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; Type of the azure resource Type *string `json:"type,omitempty"` }
KustoClusterDataSet a kusto cluster data set.
func (kcds KustoClusterDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool)
AsADLSGen1FileDataSet is the BasicDataSet implementation for KustoClusterDataSet.
func (kcds KustoClusterDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool)
AsADLSGen1FolderDataSet is the BasicDataSet implementation for KustoClusterDataSet.
func (kcds KustoClusterDataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool)
AsADLSGen2FileDataSet is the BasicDataSet implementation for KustoClusterDataSet.
func (kcds KustoClusterDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool)
AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for KustoClusterDataSet.
func (kcds KustoClusterDataSet) AsADLSGen2FolderDataSet() (*ADLSGen2FolderDataSet, bool)
AsADLSGen2FolderDataSet is the BasicDataSet implementation for KustoClusterDataSet.
func (kcds KustoClusterDataSet) AsBasicDataSet() (BasicDataSet, bool)
AsBasicDataSet is the BasicDataSet implementation for KustoClusterDataSet.
func (kcds KustoClusterDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool)
AsBlobContainerDataSet is the BasicDataSet implementation for KustoClusterDataSet.
func (kcds KustoClusterDataSet) AsBlobDataSet() (*BlobDataSet, bool)
AsBlobDataSet is the BasicDataSet implementation for KustoClusterDataSet.
func (kcds KustoClusterDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool)
AsBlobFolderDataSet is the BasicDataSet implementation for KustoClusterDataSet.
func (kcds KustoClusterDataSet) AsDataSet() (*DataSet, bool)
AsDataSet is the BasicDataSet implementation for KustoClusterDataSet.
func (kcds KustoClusterDataSet) AsKustoClusterDataSet() (*KustoClusterDataSet, bool)
AsKustoClusterDataSet is the BasicDataSet implementation for KustoClusterDataSet.
func (kcds KustoClusterDataSet) AsKustoDatabaseDataSet() (*KustoDatabaseDataSet, bool)
AsKustoDatabaseDataSet is the BasicDataSet implementation for KustoClusterDataSet.
func (kcds KustoClusterDataSet) AsSQLDBTableDataSet() (*SQLDBTableDataSet, bool)
AsSQLDBTableDataSet is the BasicDataSet implementation for KustoClusterDataSet.
func (kcds KustoClusterDataSet) AsSQLDWTableDataSet() (*SQLDWTableDataSet, bool)
AsSQLDWTableDataSet is the BasicDataSet implementation for KustoClusterDataSet.
func (kcds KustoClusterDataSet) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for KustoClusterDataSet.
func (kcds *KustoClusterDataSet) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for KustoClusterDataSet struct.
type KustoClusterDataSetMapping struct { // KustoClusterDataSetMappingProperties - Kusto cluster data set mapping properties. *KustoClusterDataSetMappingProperties `json:"properties,omitempty"` // 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"` // Name - READ-ONLY; Name of the azure resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; Type of the azure resource Type *string `json:"type,omitempty"` }
KustoClusterDataSetMapping a Kusto cluster data set mapping
func (kcdsm KustoClusterDataSetMapping) AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool)
AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for KustoClusterDataSetMapping.
func (kcdsm KustoClusterDataSetMapping) AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool)
AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for KustoClusterDataSetMapping.
func (kcdsm KustoClusterDataSetMapping) AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool)
AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for KustoClusterDataSetMapping.
func (kcdsm KustoClusterDataSetMapping) AsBasicDataSetMapping() (BasicDataSetMapping, bool)
AsBasicDataSetMapping is the BasicDataSetMapping implementation for KustoClusterDataSetMapping.
func (kcdsm KustoClusterDataSetMapping) AsBlobContainerDataSetMapping() (*BlobContainerDataSetMapping, bool)
AsBlobContainerDataSetMapping is the BasicDataSetMapping implementation for KustoClusterDataSetMapping.
func (kcdsm KustoClusterDataSetMapping) AsBlobDataSetMapping() (*BlobDataSetMapping, bool)
AsBlobDataSetMapping is the BasicDataSetMapping implementation for KustoClusterDataSetMapping.
func (kcdsm KustoClusterDataSetMapping) AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool)
AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for KustoClusterDataSetMapping.
func (kcdsm KustoClusterDataSetMapping) AsDataSetMapping() (*DataSetMapping, bool)
AsDataSetMapping is the BasicDataSetMapping implementation for KustoClusterDataSetMapping.
func (kcdsm KustoClusterDataSetMapping) AsKustoClusterDataSetMapping() (*KustoClusterDataSetMapping, bool)
AsKustoClusterDataSetMapping is the BasicDataSetMapping implementation for KustoClusterDataSetMapping.
func (kcdsm KustoClusterDataSetMapping) AsKustoDatabaseDataSetMapping() (*KustoDatabaseDataSetMapping, bool)
AsKustoDatabaseDataSetMapping is the BasicDataSetMapping implementation for KustoClusterDataSetMapping.
func (kcdsm KustoClusterDataSetMapping) AsSQLDBTableDataSetMapping() (*SQLDBTableDataSetMapping, bool)
AsSQLDBTableDataSetMapping is the BasicDataSetMapping implementation for KustoClusterDataSetMapping.
func (kcdsm KustoClusterDataSetMapping) AsSQLDWTableDataSetMapping() (*SQLDWTableDataSetMapping, bool)
AsSQLDWTableDataSetMapping is the BasicDataSetMapping implementation for KustoClusterDataSetMapping.
func (kcdsm KustoClusterDataSetMapping) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for KustoClusterDataSetMapping.
func (kcdsm *KustoClusterDataSetMapping) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for KustoClusterDataSetMapping struct.
type KustoClusterDataSetMappingProperties struct { // DataSetID - The id of the source data set. DataSetID *string `json:"dataSetId,omitempty"` // DataSetMappingStatus - READ-ONLY; Gets the status of the data set mapping. Possible values include: 'Ok', 'Broken' DataSetMappingStatus DataSetMappingStatus `json:"dataSetMappingStatus,omitempty"` // KustoClusterResourceID - Resource id of the sink kusto cluster. KustoClusterResourceID *string `json:"kustoClusterResourceId,omitempty"` // Location - READ-ONLY; Location of the sink kusto cluster. Location *string `json:"location,omitempty"` // ProvisioningState - READ-ONLY; Provisioning state of the data set mapping. Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Moving', 'Failed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
KustoClusterDataSetMappingProperties properties of the Kusto cluster data set mapping
func (kcdsmp KustoClusterDataSetMappingProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for KustoClusterDataSetMappingProperties.
type KustoClusterDataSetProperties struct { // DataSetID - READ-ONLY; Unique id for identifying a data set resource DataSetID *string `json:"dataSetId,omitempty"` // KustoClusterResourceID - Resource id of the kusto cluster. KustoClusterResourceID *string `json:"kustoClusterResourceId,omitempty"` // Location - READ-ONLY; Location of the kusto cluster. Location *string `json:"location,omitempty"` // ProvisioningState - READ-ONLY; Provisioning state of the kusto cluster data set. Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Moving', 'Failed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
KustoClusterDataSetProperties properties of the kusto cluster data set.
func (kcdsp KustoClusterDataSetProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for KustoClusterDataSetProperties.
type KustoDatabaseDataSet struct { // KustoDatabaseDataSetProperties - Kusto database data set properties. *KustoDatabaseDataSetProperties `json:"properties,omitempty"` // 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"` // Name - READ-ONLY; Name of the azure resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; Type of the azure resource Type *string `json:"type,omitempty"` }
KustoDatabaseDataSet a kusto database data set.
func (kdds KustoDatabaseDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool)
AsADLSGen1FileDataSet is the BasicDataSet implementation for KustoDatabaseDataSet.
func (kdds KustoDatabaseDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool)
AsADLSGen1FolderDataSet is the BasicDataSet implementation for KustoDatabaseDataSet.
func (kdds KustoDatabaseDataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool)
AsADLSGen2FileDataSet is the BasicDataSet implementation for KustoDatabaseDataSet.
func (kdds KustoDatabaseDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool)
AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for KustoDatabaseDataSet.
func (kdds KustoDatabaseDataSet) AsADLSGen2FolderDataSet() (*ADLSGen2FolderDataSet, bool)
AsADLSGen2FolderDataSet is the BasicDataSet implementation for KustoDatabaseDataSet.
func (kdds KustoDatabaseDataSet) AsBasicDataSet() (BasicDataSet, bool)
AsBasicDataSet is the BasicDataSet implementation for KustoDatabaseDataSet.
func (kdds KustoDatabaseDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool)
AsBlobContainerDataSet is the BasicDataSet implementation for KustoDatabaseDataSet.
func (kdds KustoDatabaseDataSet) AsBlobDataSet() (*BlobDataSet, bool)
AsBlobDataSet is the BasicDataSet implementation for KustoDatabaseDataSet.
func (kdds KustoDatabaseDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool)
AsBlobFolderDataSet is the BasicDataSet implementation for KustoDatabaseDataSet.
func (kdds KustoDatabaseDataSet) AsDataSet() (*DataSet, bool)
AsDataSet is the BasicDataSet implementation for KustoDatabaseDataSet.
func (kdds KustoDatabaseDataSet) AsKustoClusterDataSet() (*KustoClusterDataSet, bool)
AsKustoClusterDataSet is the BasicDataSet implementation for KustoDatabaseDataSet.
func (kdds KustoDatabaseDataSet) AsKustoDatabaseDataSet() (*KustoDatabaseDataSet, bool)
AsKustoDatabaseDataSet is the BasicDataSet implementation for KustoDatabaseDataSet.
func (kdds KustoDatabaseDataSet) AsSQLDBTableDataSet() (*SQLDBTableDataSet, bool)
AsSQLDBTableDataSet is the BasicDataSet implementation for KustoDatabaseDataSet.
func (kdds KustoDatabaseDataSet) AsSQLDWTableDataSet() (*SQLDWTableDataSet, bool)
AsSQLDWTableDataSet is the BasicDataSet implementation for KustoDatabaseDataSet.
func (kdds KustoDatabaseDataSet) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for KustoDatabaseDataSet.
func (kdds *KustoDatabaseDataSet) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for KustoDatabaseDataSet struct.
type KustoDatabaseDataSetMapping struct { // KustoDatabaseDataSetMappingProperties - Kusto database data set mapping properties. *KustoDatabaseDataSetMappingProperties `json:"properties,omitempty"` // 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"` // Name - READ-ONLY; Name of the azure resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; Type of the azure resource Type *string `json:"type,omitempty"` }
KustoDatabaseDataSetMapping a Kusto database data set mapping
func (kddsm KustoDatabaseDataSetMapping) AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool)
AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for KustoDatabaseDataSetMapping.
func (kddsm KustoDatabaseDataSetMapping) AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool)
AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for KustoDatabaseDataSetMapping.
func (kddsm KustoDatabaseDataSetMapping) AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool)
AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for KustoDatabaseDataSetMapping.
func (kddsm KustoDatabaseDataSetMapping) AsBasicDataSetMapping() (BasicDataSetMapping, bool)
AsBasicDataSetMapping is the BasicDataSetMapping implementation for KustoDatabaseDataSetMapping.
func (kddsm KustoDatabaseDataSetMapping) AsBlobContainerDataSetMapping() (*BlobContainerDataSetMapping, bool)
AsBlobContainerDataSetMapping is the BasicDataSetMapping implementation for KustoDatabaseDataSetMapping.
func (kddsm KustoDatabaseDataSetMapping) AsBlobDataSetMapping() (*BlobDataSetMapping, bool)
AsBlobDataSetMapping is the BasicDataSetMapping implementation for KustoDatabaseDataSetMapping.
func (kddsm KustoDatabaseDataSetMapping) AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool)
AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for KustoDatabaseDataSetMapping.
func (kddsm KustoDatabaseDataSetMapping) AsDataSetMapping() (*DataSetMapping, bool)
AsDataSetMapping is the BasicDataSetMapping implementation for KustoDatabaseDataSetMapping.
func (kddsm KustoDatabaseDataSetMapping) AsKustoClusterDataSetMapping() (*KustoClusterDataSetMapping, bool)
AsKustoClusterDataSetMapping is the BasicDataSetMapping implementation for KustoDatabaseDataSetMapping.
func (kddsm KustoDatabaseDataSetMapping) AsKustoDatabaseDataSetMapping() (*KustoDatabaseDataSetMapping, bool)
AsKustoDatabaseDataSetMapping is the BasicDataSetMapping implementation for KustoDatabaseDataSetMapping.
func (kddsm KustoDatabaseDataSetMapping) AsSQLDBTableDataSetMapping() (*SQLDBTableDataSetMapping, bool)
AsSQLDBTableDataSetMapping is the BasicDataSetMapping implementation for KustoDatabaseDataSetMapping.
func (kddsm KustoDatabaseDataSetMapping) AsSQLDWTableDataSetMapping() (*SQLDWTableDataSetMapping, bool)
AsSQLDWTableDataSetMapping is the BasicDataSetMapping implementation for KustoDatabaseDataSetMapping.
func (kddsm KustoDatabaseDataSetMapping) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for KustoDatabaseDataSetMapping.
func (kddsm *KustoDatabaseDataSetMapping) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for KustoDatabaseDataSetMapping struct.
type KustoDatabaseDataSetMappingProperties struct { // DataSetID - The id of the source data set. DataSetID *string `json:"dataSetId,omitempty"` // DataSetMappingStatus - READ-ONLY; Gets the status of the data set mapping. Possible values include: 'Ok', 'Broken' DataSetMappingStatus DataSetMappingStatus `json:"dataSetMappingStatus,omitempty"` // KustoClusterResourceID - Resource id of the sink kusto cluster. KustoClusterResourceID *string `json:"kustoClusterResourceId,omitempty"` // Location - READ-ONLY; Location of the sink kusto cluster. Location *string `json:"location,omitempty"` // ProvisioningState - READ-ONLY; Provisioning state of the data set mapping. Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Moving', 'Failed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
KustoDatabaseDataSetMappingProperties properties of the Kusto database data set mapping
func (kddsmp KustoDatabaseDataSetMappingProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for KustoDatabaseDataSetMappingProperties.
type KustoDatabaseDataSetProperties struct { // DataSetID - READ-ONLY; Unique id for identifying a data set resource DataSetID *string `json:"dataSetId,omitempty"` // KustoDatabaseResourceID - Resource id of the kusto database. KustoDatabaseResourceID *string `json:"kustoDatabaseResourceId,omitempty"` // Location - READ-ONLY; Location of the kusto cluster. Location *string `json:"location,omitempty"` // ProvisioningState - READ-ONLY; Provisioning state of the kusto database data set. Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Moving', 'Failed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
KustoDatabaseDataSetProperties properties of the kusto database data set.
func (kddsp KustoDatabaseDataSetProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for KustoDatabaseDataSetProperties.
type OperationList struct { autorest.Response `json:"-"` // NextLink - The Url of next result page. NextLink *string `json:"nextLink,omitempty"` // Value - Collection of items of type DataTransferObjects. Value *[]OperationModel `json:"value,omitempty"` }
OperationList list response for get operations.
func (ol OperationList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type OperationListIterator struct {
// contains filtered or unexported fields
}
OperationListIterator provides access to a complete listing of OperationModel values.
func NewOperationListIterator(page OperationListPage) OperationListIterator
Creates a new instance of the OperationListIterator type.
func (iter *OperationListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (iter *OperationListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (iter OperationListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter OperationListIterator) Response() OperationList
Response returns the raw server response from the last page request.
func (iter OperationListIterator) Value() OperationModel
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type OperationListPage struct {
// contains filtered or unexported fields
}
OperationListPage contains a page of OperationModel values.
func NewOperationListPage(cur OperationList, getNextPage func(context.Context, OperationList) (OperationList, error)) OperationListPage
Creates a new instance of the OperationListPage type.
func (page *OperationListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (page *OperationListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (page OperationListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page OperationListPage) Response() OperationList
Response returns the raw server response from the last page request.
func (page OperationListPage) Values() []OperationModel
Values returns the slice of values for the current page or nil if there are no values.
type OperationMetaLogSpecification struct { // BlobDuration - blob duration of the log BlobDuration *string `json:"blobDuration,omitempty"` // DisplayName - localized name of the log category DisplayName *string `json:"displayName,omitempty"` // Name - name of the log category Name *string `json:"name,omitempty"` }
OperationMetaLogSpecification log specifications for operation api
type OperationMetaMetricSpecification struct { // AggregationType - aggregation type of metric AggregationType *string `json:"aggregationType,omitempty"` // Dimensions - properties for dimension Dimensions *[]DimensionProperties `json:"dimensions,omitempty"` // DisplayDescription - description of the metric DisplayDescription *string `json:"displayDescription,omitempty"` // DisplayName - localized name of the metric DisplayName *string `json:"displayName,omitempty"` // EnableRegionalMdmAccount - enable regional mdm account EnableRegionalMdmAccount *string `json:"enableRegionalMdmAccount,omitempty"` // InternalMetricName - internal metric name InternalMetricName *string `json:"internalMetricName,omitempty"` // Name - name of the metric Name *string `json:"name,omitempty"` // ResourceIDDimensionNameOverride - dimension name use to replace resource id if specified ResourceIDDimensionNameOverride *string `json:"resourceIdDimensionNameOverride,omitempty"` // SupportedAggregationTypes - supported aggregation types SupportedAggregationTypes *[]string `json:"supportedAggregationTypes,omitempty"` // SupportedTimeGrainTypes - supported time grain types SupportedTimeGrainTypes *[]string `json:"supportedTimeGrainTypes,omitempty"` // Unit - units for the metric Unit *string `json:"unit,omitempty"` }
OperationMetaMetricSpecification metric specifications for the operation
type OperationMetaPropertyInfo struct { // ServiceSpecification - meta service specification ServiceSpecification *OperationMetaServiceSpecification `json:"serviceSpecification,omitempty"` }
OperationMetaPropertyInfo properties on meta info
type OperationMetaServiceSpecification struct { // LogSpecifications - log specifications for the operation LogSpecifications *[]OperationMetaLogSpecification `json:"logSpecifications,omitempty"` // MetricSpecifications - metric specifications for the operation MetricSpecifications *[]OperationMetaMetricSpecification `json:"metricSpecifications,omitempty"` }
OperationMetaServiceSpecification the operation meta service specification
type OperationModel struct { // Display - Properties on the operation Display *OperationModelProperties `json:"display,omitempty"` // Name - Operation name for display purposes Name *string `json:"name,omitempty"` // Origin - origin of the operation Origin *string `json:"origin,omitempty"` // OperationMetaPropertyInfo - properties for the operation meta info *OperationMetaPropertyInfo `json:"properties,omitempty"` }
OperationModel the response model for get operations
func (om OperationModel) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OperationModel.
func (om *OperationModel) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for OperationModel struct.
type OperationModelProperties struct { // Description - Description of the operation for display purposes Description *string `json:"description,omitempty"` // Operation - Name of the operation for display purposes Operation *string `json:"operation,omitempty"` // Provider - Name of the provider for display purposes Provider *string `json:"provider,omitempty"` // Resource - Name of the resource type for display purposes Resource *string `json:"resource,omitempty"` }
OperationModelProperties properties on operations
type OperationResponse struct { autorest.Response `json:"-"` // EndTime - start time EndTime *date.Time `json:"endTime,omitempty"` // Error - The error property when status is failed. Error *ErrorInfo `json:"error,omitempty"` // StartTime - start time StartTime *date.Time `json:"startTime,omitempty"` // Status - Operation state of the long running operation. Possible values include: 'StatusAccepted', 'StatusInProgress', 'StatusTransientFailure', 'StatusSucceeded', 'StatusFailed', 'StatusCanceled' Status Status `json:"status,omitempty"` }
OperationResponse response for long running operation
type OperationsClient struct {