azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/preview/datashare/mgmt/2018-11-01-preview/datashare Index | Files | Directories

package datashare

import "github.com/Azure/azure-sdk-for-go/services/preview/datashare/mgmt/2018-11-01-preview/datashare"

Package datashare implements the Azure ARM Datashare service API version 2018-11-01-preview.

Creates a Microsoft.DataShare management client.

Index

Package Files

accounts.go client.go consumerinvitations.go consumersourcedatasets.go datasetmappings.go datasets.go invitations.go models.go operations.go providersharesubscriptions.go shares.go sharesubscriptions.go synchronizationsettings.go triggers.go version.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Datashare
    DefaultBaseURI = "https://management.azure.com"
)

func UserAgent Uses

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version Uses

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

type ADLSGen1FileDataSet Uses

type ADLSGen1FileDataSet struct {
    // ADLSGen1FileProperties - ADLS Gen 1 file dataset 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', 'KindBlob', 'KindBlobFolder', 'KindContainer', 'KindAdlsGen2File', 'KindAdlsGen2Folder', 'KindAdlsGen2FileSystem', 'KindAdlsGen1Folder', 'KindAdlsGen1File'
    Kind Kind `json:"kind,omitempty"`
}

ADLSGen1FileDataSet an ADLS Gen 1 file dataset.

func (ADLSGen1FileDataSet) AsADLSGen1FileDataSet Uses

func (ag1fds ADLSGen1FileDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool)

AsADLSGen1FileDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet.

func (ADLSGen1FileDataSet) AsADLSGen1FolderDataSet Uses

func (ag1fds ADLSGen1FileDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool)

AsADLSGen1FolderDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet.

func (ADLSGen1FileDataSet) AsADLSGen2FileDataSet Uses

func (ag1fds ADLSGen1FileDataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool)

AsADLSGen2FileDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet.

func (ADLSGen1FileDataSet) AsADLSGen2FileSystemDataSet Uses

func (ag1fds ADLSGen1FileDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool)

AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet.

func (ADLSGen1FileDataSet) AsADLSGen2FolderDataSet Uses

func (ag1fds ADLSGen1FileDataSet) AsADLSGen2FolderDataSet() (*ADLSGen2FolderDataSet, bool)

AsADLSGen2FolderDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet.

func (ADLSGen1FileDataSet) AsBasicDataSet Uses

func (ag1fds ADLSGen1FileDataSet) AsBasicDataSet() (BasicDataSet, bool)

AsBasicDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet.

func (ADLSGen1FileDataSet) AsBlobContainerDataSet Uses

func (ag1fds ADLSGen1FileDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool)

AsBlobContainerDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet.

func (ADLSGen1FileDataSet) AsBlobDataSet Uses

func (ag1fds ADLSGen1FileDataSet) AsBlobDataSet() (*BlobDataSet, bool)

AsBlobDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet.

func (ADLSGen1FileDataSet) AsBlobFolderDataSet Uses

func (ag1fds ADLSGen1FileDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool)

AsBlobFolderDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet.

func (ADLSGen1FileDataSet) AsDataSet Uses

func (ag1fds ADLSGen1FileDataSet) AsDataSet() (*DataSet, bool)

AsDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet.

func (ADLSGen1FileDataSet) MarshalJSON Uses

func (ag1fds ADLSGen1FileDataSet) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ADLSGen1FileDataSet.

func (*ADLSGen1FileDataSet) UnmarshalJSON Uses

func (ag1fds *ADLSGen1FileDataSet) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ADLSGen1FileDataSet struct.

type ADLSGen1FileProperties Uses

type ADLSGen1FileProperties struct {
    // AccountName - The ADLS account name.
    AccountName *string `json:"accountName,omitempty"`
    // DataSetID - READ-ONLY; Unique DataSet id.
    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.

type ADLSGen1FolderDataSet Uses

type ADLSGen1FolderDataSet struct {
    // ADLSGen1FolderProperties - ADLS Gen 1 folder  dataset properties.
    *ADLSGen1FolderProperties `json:"properties,omitempty"`
    // Kind - Possible values include: 'KindDataSet', 'KindBlob', 'KindBlobFolder', 'KindContainer', 'KindAdlsGen2File', 'KindAdlsGen2Folder', 'KindAdlsGen2FileSystem', 'KindAdlsGen1Folder', 'KindAdlsGen1File'
    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 dataset.

func (ADLSGen1FolderDataSet) AsADLSGen1FileDataSet Uses

func (ag1fds ADLSGen1FolderDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool)

AsADLSGen1FileDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet.

func (ADLSGen1FolderDataSet) AsADLSGen1FolderDataSet Uses

func (ag1fds ADLSGen1FolderDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool)

AsADLSGen1FolderDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet.

func (ADLSGen1FolderDataSet) AsADLSGen2FileDataSet Uses

func (ag1fds ADLSGen1FolderDataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool)

AsADLSGen2FileDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet.

func (ADLSGen1FolderDataSet) AsADLSGen2FileSystemDataSet Uses

func (ag1fds ADLSGen1FolderDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool)

AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet.

func (ADLSGen1FolderDataSet) AsADLSGen2FolderDataSet Uses

func (ag1fds ADLSGen1FolderDataSet) AsADLSGen2FolderDataSet() (*ADLSGen2FolderDataSet, bool)

AsADLSGen2FolderDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet.

func (ADLSGen1FolderDataSet) AsBasicDataSet Uses

func (ag1fds ADLSGen1FolderDataSet) AsBasicDataSet() (BasicDataSet, bool)

AsBasicDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet.

func (ADLSGen1FolderDataSet) AsBlobContainerDataSet Uses

func (ag1fds ADLSGen1FolderDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool)

AsBlobContainerDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet.

func (ADLSGen1FolderDataSet) AsBlobDataSet Uses

func (ag1fds ADLSGen1FolderDataSet) AsBlobDataSet() (*BlobDataSet, bool)

AsBlobDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet.

func (ADLSGen1FolderDataSet) AsBlobFolderDataSet Uses

func (ag1fds ADLSGen1FolderDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool)

AsBlobFolderDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet.

func (ADLSGen1FolderDataSet) AsDataSet Uses

func (ag1fds ADLSGen1FolderDataSet) AsDataSet() (*DataSet, bool)

AsDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet.

func (ADLSGen1FolderDataSet) MarshalJSON Uses

func (ag1fds ADLSGen1FolderDataSet) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ADLSGen1FolderDataSet.

func (*ADLSGen1FolderDataSet) UnmarshalJSON Uses

func (ag1fds *ADLSGen1FolderDataSet) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ADLSGen1FolderDataSet struct.

type ADLSGen1FolderProperties Uses

type ADLSGen1FolderProperties struct {
    // AccountName - The ADLS account name.
    AccountName *string `json:"accountName,omitempty"`
    // DataSetID - READ-ONLY; Unique DataSet id.
    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.

type ADLSGen2FileDataSet Uses

type ADLSGen2FileDataSet struct {
    // ADLSGen2FileProperties - ADLS Gen 2 file dataset properties.
    *ADLSGen2FileProperties `json:"properties,omitempty"`
    // Kind - Possible values include: 'KindDataSet', 'KindBlob', 'KindBlobFolder', 'KindContainer', 'KindAdlsGen2File', 'KindAdlsGen2Folder', 'KindAdlsGen2FileSystem', 'KindAdlsGen1Folder', 'KindAdlsGen1File'
    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 dataset.

func (ADLSGen2FileDataSet) AsADLSGen1FileDataSet Uses

func (ag2fds ADLSGen2FileDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool)

AsADLSGen1FileDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet.

func (ADLSGen2FileDataSet) AsADLSGen1FolderDataSet Uses

func (ag2fds ADLSGen2FileDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool)

AsADLSGen1FolderDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet.

func (ADLSGen2FileDataSet) AsADLSGen2FileDataSet Uses

func (ag2fds ADLSGen2FileDataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool)

AsADLSGen2FileDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet.

func (ADLSGen2FileDataSet) AsADLSGen2FileSystemDataSet Uses

func (ag2fds ADLSGen2FileDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool)

AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet.

func (ADLSGen2FileDataSet) AsADLSGen2FolderDataSet Uses

func (ag2fds ADLSGen2FileDataSet) AsADLSGen2FolderDataSet() (*ADLSGen2FolderDataSet, bool)

AsADLSGen2FolderDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet.

func (ADLSGen2FileDataSet) AsBasicDataSet Uses

func (ag2fds ADLSGen2FileDataSet) AsBasicDataSet() (BasicDataSet, bool)

AsBasicDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet.

func (ADLSGen2FileDataSet) AsBlobContainerDataSet Uses

func (ag2fds ADLSGen2FileDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool)

AsBlobContainerDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet.

func (ADLSGen2FileDataSet) AsBlobDataSet Uses

func (ag2fds ADLSGen2FileDataSet) AsBlobDataSet() (*BlobDataSet, bool)

AsBlobDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet.

func (ADLSGen2FileDataSet) AsBlobFolderDataSet Uses

func (ag2fds ADLSGen2FileDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool)

AsBlobFolderDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet.

func (ADLSGen2FileDataSet) AsDataSet Uses

func (ag2fds ADLSGen2FileDataSet) AsDataSet() (*DataSet, bool)

AsDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet.

func (ADLSGen2FileDataSet) MarshalJSON Uses

func (ag2fds ADLSGen2FileDataSet) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ADLSGen2FileDataSet.

func (*ADLSGen2FileDataSet) UnmarshalJSON Uses

func (ag2fds *ADLSGen2FileDataSet) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ADLSGen2FileDataSet struct.

type ADLSGen2FileDataSetMapping Uses

type ADLSGen2FileDataSetMapping struct {
    // ADLSGen2FileDataSetMappingProperties - ADLS Gen2 file dataset 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', 'KindBasicDataSetMappingKindBlob', 'KindBasicDataSetMappingKindBlobFolder', 'KindBasicDataSetMappingKindContainer', 'KindBasicDataSetMappingKindAdlsGen2File', 'KindBasicDataSetMappingKindAdlsGen2Folder', 'KindBasicDataSetMappingKindAdlsGen2FileSystem'
    Kind KindBasicDataSetMapping `json:"kind,omitempty"`
}

ADLSGen2FileDataSetMapping an ADLS Gen2 file dataset mapping.

func (ADLSGen2FileDataSetMapping) AsADLSGen2FileDataSetMapping Uses

func (ag2fdsm ADLSGen2FileDataSetMapping) AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool)

AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping.

func (ADLSGen2FileDataSetMapping) AsADLSGen2FileSystemDataSetMapping Uses

func (ag2fdsm ADLSGen2FileDataSetMapping) AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool)

AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping.

func (ADLSGen2FileDataSetMapping) AsADLSGen2FolderDataSetMapping Uses

func (ag2fdsm ADLSGen2FileDataSetMapping) AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool)

AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping.

func (ADLSGen2FileDataSetMapping) AsBasicDataSetMapping Uses

func (ag2fdsm ADLSGen2FileDataSetMapping) AsBasicDataSetMapping() (BasicDataSetMapping, bool)

AsBasicDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping.

func (ADLSGen2FileDataSetMapping) AsBlobContainerDataSetMapping Uses

func (ag2fdsm ADLSGen2FileDataSetMapping) AsBlobContainerDataSetMapping() (*BlobContainerDataSetMapping, bool)

AsBlobContainerDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping.

func (ADLSGen2FileDataSetMapping) AsBlobDataSetMapping Uses

func (ag2fdsm ADLSGen2FileDataSetMapping) AsBlobDataSetMapping() (*BlobDataSetMapping, bool)

AsBlobDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping.

func (ADLSGen2FileDataSetMapping) AsBlobFolderDataSetMapping Uses

func (ag2fdsm ADLSGen2FileDataSetMapping) AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool)

AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping.

func (ADLSGen2FileDataSetMapping) AsDataSetMapping Uses

func (ag2fdsm ADLSGen2FileDataSetMapping) AsDataSetMapping() (*DataSetMapping, bool)

AsDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping.

func (ADLSGen2FileDataSetMapping) MarshalJSON Uses

func (ag2fdsm ADLSGen2FileDataSetMapping) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ADLSGen2FileDataSetMapping.

func (*ADLSGen2FileDataSetMapping) UnmarshalJSON Uses

func (ag2fdsm *ADLSGen2FileDataSetMapping) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ADLSGen2FileDataSetMapping struct.

type ADLSGen2FileDataSetMappingProperties Uses

type ADLSGen2FileDataSetMappingProperties struct {
    // DataSetID - Gets the id of source dataset.
    DataSetID *string `json:"dataSetId,omitempty"`
    // DataSetMappingStatus - Gets the status of the dataset 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"`
    // 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 dataset mapping property bag.

type ADLSGen2FileProperties Uses

type ADLSGen2FileProperties struct {
    // DataSetID - READ-ONLY; Unique DataSet id.
    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.

type ADLSGen2FileSystemDataSet Uses

type ADLSGen2FileSystemDataSet struct {
    // ADLSGen2FileSystemProperties - ADLS Gen 2 file system dataset properties.
    *ADLSGen2FileSystemProperties `json:"properties,omitempty"`
    // Kind - Possible values include: 'KindDataSet', 'KindBlob', 'KindBlobFolder', 'KindContainer', 'KindAdlsGen2File', 'KindAdlsGen2Folder', 'KindAdlsGen2FileSystem', 'KindAdlsGen1Folder', 'KindAdlsGen1File'
    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 dataset.

func (ADLSGen2FileSystemDataSet) AsADLSGen1FileDataSet Uses

func (ag2fsds ADLSGen2FileSystemDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool)

AsADLSGen1FileDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet.

func (ADLSGen2FileSystemDataSet) AsADLSGen1FolderDataSet Uses

func (ag2fsds ADLSGen2FileSystemDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool)

AsADLSGen1FolderDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet.

func (ADLSGen2FileSystemDataSet) AsADLSGen2FileDataSet Uses

func (ag2fsds ADLSGen2FileSystemDataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool)

AsADLSGen2FileDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet.

func (ADLSGen2FileSystemDataSet) AsADLSGen2FileSystemDataSet Uses

func (ag2fsds ADLSGen2FileSystemDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool)

AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet.

func (ADLSGen2FileSystemDataSet) AsADLSGen2FolderDataSet Uses

func (ag2fsds ADLSGen2FileSystemDataSet) AsADLSGen2FolderDataSet() (*ADLSGen2FolderDataSet, bool)

AsADLSGen2FolderDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet.

func (ADLSGen2FileSystemDataSet) AsBasicDataSet Uses

func (ag2fsds ADLSGen2FileSystemDataSet) AsBasicDataSet() (BasicDataSet, bool)

AsBasicDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet.

func (ADLSGen2FileSystemDataSet) AsBlobContainerDataSet Uses

func (ag2fsds ADLSGen2FileSystemDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool)

AsBlobContainerDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet.

func (ADLSGen2FileSystemDataSet) AsBlobDataSet Uses

func (ag2fsds ADLSGen2FileSystemDataSet) AsBlobDataSet() (*BlobDataSet, bool)

AsBlobDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet.

func (ADLSGen2FileSystemDataSet) AsBlobFolderDataSet Uses

func (ag2fsds ADLSGen2FileSystemDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool)

AsBlobFolderDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet.

func (ADLSGen2FileSystemDataSet) AsDataSet Uses

func (ag2fsds ADLSGen2FileSystemDataSet) AsDataSet() (*DataSet, bool)

AsDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet.

func (ADLSGen2FileSystemDataSet) MarshalJSON Uses

func (ag2fsds ADLSGen2FileSystemDataSet) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ADLSGen2FileSystemDataSet.

func (*ADLSGen2FileSystemDataSet) UnmarshalJSON Uses

func (ag2fsds *ADLSGen2FileSystemDataSet) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ADLSGen2FileSystemDataSet struct.

type ADLSGen2FileSystemDataSetMapping Uses

type ADLSGen2FileSystemDataSetMapping struct {
    // ADLSGen2FileSystemDataSetMappingProperties - ADLS Gen2 file system dataset mapping properties.
    *ADLSGen2FileSystemDataSetMappingProperties `json:"properties,omitempty"`
    // Kind - Possible values include: 'KindBasicDataSetMappingKindDataSetMapping', 'KindBasicDataSetMappingKindBlob', 'KindBasicDataSetMappingKindBlobFolder', 'KindBasicDataSetMappingKindContainer', 'KindBasicDataSetMappingKindAdlsGen2File', 'KindBasicDataSetMappingKindAdlsGen2Folder', 'KindBasicDataSetMappingKindAdlsGen2FileSystem'
    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 dataset mapping.

func (ADLSGen2FileSystemDataSetMapping) AsADLSGen2FileDataSetMapping Uses

func (ag2fsdsm ADLSGen2FileSystemDataSetMapping) AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool)

AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping.

func (ADLSGen2FileSystemDataSetMapping) AsADLSGen2FileSystemDataSetMapping Uses

func (ag2fsdsm ADLSGen2FileSystemDataSetMapping) AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool)

AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping.

func (ADLSGen2FileSystemDataSetMapping) AsADLSGen2FolderDataSetMapping Uses

func (ag2fsdsm ADLSGen2FileSystemDataSetMapping) AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool)

AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping.

func (ADLSGen2FileSystemDataSetMapping) AsBasicDataSetMapping Uses

func (ag2fsdsm ADLSGen2FileSystemDataSetMapping) AsBasicDataSetMapping() (BasicDataSetMapping, bool)

AsBasicDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping.

func (ADLSGen2FileSystemDataSetMapping) AsBlobContainerDataSetMapping Uses

func (ag2fsdsm ADLSGen2FileSystemDataSetMapping) AsBlobContainerDataSetMapping() (*BlobContainerDataSetMapping, bool)

AsBlobContainerDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping.

func (ADLSGen2FileSystemDataSetMapping) AsBlobDataSetMapping Uses

func (ag2fsdsm ADLSGen2FileSystemDataSetMapping) AsBlobDataSetMapping() (*BlobDataSetMapping, bool)

AsBlobDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping.

func (ADLSGen2FileSystemDataSetMapping) AsBlobFolderDataSetMapping Uses

func (ag2fsdsm ADLSGen2FileSystemDataSetMapping) AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool)

AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping.

func (ADLSGen2FileSystemDataSetMapping) AsDataSetMapping Uses

func (ag2fsdsm ADLSGen2FileSystemDataSetMapping) AsDataSetMapping() (*DataSetMapping, bool)

AsDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping.

func (ADLSGen2FileSystemDataSetMapping) MarshalJSON Uses

func (ag2fsdsm ADLSGen2FileSystemDataSetMapping) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ADLSGen2FileSystemDataSetMapping.

func (*ADLSGen2FileSystemDataSetMapping) UnmarshalJSON Uses

func (ag2fsdsm *ADLSGen2FileSystemDataSetMapping) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ADLSGen2FileSystemDataSetMapping struct.

type ADLSGen2FileSystemDataSetMappingProperties Uses

type ADLSGen2FileSystemDataSetMappingProperties struct {
    // DataSetID - Gets the id of source dataset.
    DataSetID *string `json:"dataSetId,omitempty"`
    // DataSetMappingStatus - Gets the status of the dataset mapping. Possible values include: 'Ok', 'Broken'
    DataSetMappingStatus DataSetMappingStatus `json:"dataSetMappingStatus,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"`
}

ADLSGen2FileSystemDataSetMappingProperties ADLS Gen 2 file system dataset mapping property bag.

type ADLSGen2FileSystemProperties Uses

type ADLSGen2FileSystemProperties struct {
    // DataSetID - READ-ONLY; Unique DataSet id.
    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.

type ADLSGen2FolderDataSet Uses

type ADLSGen2FolderDataSet struct {
    // ADLSGen2FolderProperties - ADLS Gen 2 folder dataset properties.
    *ADLSGen2FolderProperties `json:"properties,omitempty"`
    // Kind - Possible values include: 'KindDataSet', 'KindBlob', 'KindBlobFolder', 'KindContainer', 'KindAdlsGen2File', 'KindAdlsGen2Folder', 'KindAdlsGen2FileSystem', 'KindAdlsGen1Folder', 'KindAdlsGen1File'
    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 dataset.

func (ADLSGen2FolderDataSet) AsADLSGen1FileDataSet Uses

func (ag2fds ADLSGen2FolderDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool)

AsADLSGen1FileDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet.

func (ADLSGen2FolderDataSet) AsADLSGen1FolderDataSet Uses

func (ag2fds ADLSGen2FolderDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool)

AsADLSGen1FolderDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet.

func (ADLSGen2FolderDataSet) AsADLSGen2FileDataSet Uses

func (ag2fds ADLSGen2FolderDataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool)

AsADLSGen2FileDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet.

func (ADLSGen2FolderDataSet) AsADLSGen2FileSystemDataSet Uses

func (ag2fds ADLSGen2FolderDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool)

AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet.

func (ADLSGen2FolderDataSet) AsADLSGen2FolderDataSet Uses

func (ag2fds ADLSGen2FolderDataSet) AsADLSGen2FolderDataSet() (*ADLSGen2FolderDataSet, bool)

AsADLSGen2FolderDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet.

func (ADLSGen2FolderDataSet) AsBasicDataSet Uses

func (ag2fds ADLSGen2FolderDataSet) AsBasicDataSet() (BasicDataSet, bool)

AsBasicDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet.

func (ADLSGen2FolderDataSet) AsBlobContainerDataSet Uses

func (ag2fds ADLSGen2FolderDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool)

AsBlobContainerDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet.

func (ADLSGen2FolderDataSet) AsBlobDataSet Uses

func (ag2fds ADLSGen2FolderDataSet) AsBlobDataSet() (*BlobDataSet, bool)

AsBlobDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet.

func (ADLSGen2FolderDataSet) AsBlobFolderDataSet Uses

func (ag2fds ADLSGen2FolderDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool)

AsBlobFolderDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet.

func (ADLSGen2FolderDataSet) AsDataSet Uses

func (ag2fds ADLSGen2FolderDataSet) AsDataSet() (*DataSet, bool)

AsDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet.

func (ADLSGen2FolderDataSet) MarshalJSON Uses

func (ag2fds ADLSGen2FolderDataSet) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ADLSGen2FolderDataSet.

func (*ADLSGen2FolderDataSet) UnmarshalJSON Uses

func (ag2fds *ADLSGen2FolderDataSet) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ADLSGen2FolderDataSet struct.

type ADLSGen2FolderDataSetMapping Uses

type ADLSGen2FolderDataSetMapping struct {
    // ADLSGen2FolderDataSetMappingProperties - ADLS Gen2 folder dataset mapping properties.
    *ADLSGen2FolderDataSetMappingProperties `json:"properties,omitempty"`
    // Kind - Possible values include: 'KindBasicDataSetMappingKindDataSetMapping', 'KindBasicDataSetMappingKindBlob', 'KindBasicDataSetMappingKindBlobFolder', 'KindBasicDataSetMappingKindContainer', 'KindBasicDataSetMappingKindAdlsGen2File', 'KindBasicDataSetMappingKindAdlsGen2Folder', 'KindBasicDataSetMappingKindAdlsGen2FileSystem'
    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 dataset mapping.

func (ADLSGen2FolderDataSetMapping) AsADLSGen2FileDataSetMapping Uses

func (ag2fdsm ADLSGen2FolderDataSetMapping) AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool)

AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping.

func (ADLSGen2FolderDataSetMapping) AsADLSGen2FileSystemDataSetMapping Uses

func (ag2fdsm ADLSGen2FolderDataSetMapping) AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool)

AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping.

func (ADLSGen2FolderDataSetMapping) AsADLSGen2FolderDataSetMapping Uses

func (ag2fdsm ADLSGen2FolderDataSetMapping) AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool)

AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping.

func (ADLSGen2FolderDataSetMapping) AsBasicDataSetMapping Uses

func (ag2fdsm ADLSGen2FolderDataSetMapping) AsBasicDataSetMapping() (BasicDataSetMapping, bool)

AsBasicDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping.

func (ADLSGen2FolderDataSetMapping) AsBlobContainerDataSetMapping Uses

func (ag2fdsm ADLSGen2FolderDataSetMapping) AsBlobContainerDataSetMapping() (*BlobContainerDataSetMapping, bool)

AsBlobContainerDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping.

func (ADLSGen2FolderDataSetMapping) AsBlobDataSetMapping Uses

func (ag2fdsm ADLSGen2FolderDataSetMapping) AsBlobDataSetMapping() (*BlobDataSetMapping, bool)

AsBlobDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping.

func (ADLSGen2FolderDataSetMapping) AsBlobFolderDataSetMapping Uses

func (ag2fdsm ADLSGen2FolderDataSetMapping) AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool)

AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping.

func (ADLSGen2FolderDataSetMapping) AsDataSetMapping Uses

func (ag2fdsm ADLSGen2FolderDataSetMapping) AsDataSetMapping() (*DataSetMapping, bool)

AsDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping.

func (ADLSGen2FolderDataSetMapping) MarshalJSON Uses

func (ag2fdsm ADLSGen2FolderDataSetMapping) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ADLSGen2FolderDataSetMapping.

func (*ADLSGen2FolderDataSetMapping) UnmarshalJSON Uses

func (ag2fdsm *ADLSGen2FolderDataSetMapping) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ADLSGen2FolderDataSetMapping struct.

type ADLSGen2FolderDataSetMappingProperties Uses

type ADLSGen2FolderDataSetMappingProperties struct {
    // DataSetID - Gets the id of source dataset.
    DataSetID *string `json:"dataSetId,omitempty"`
    // DataSetMappingStatus - Gets the status of the dataset 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"`
    // 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 dataset mapping property bag.

type ADLSGen2FolderProperties Uses

type ADLSGen2FolderProperties struct {
    // DataSetID - READ-ONLY; Unique DataSet id.
    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.

type Account Uses

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.

func (Account) MarshalJSON Uses

func (a Account) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Account.

func (*Account) UnmarshalJSON Uses

func (a *Account) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Account struct.

type AccountList Uses

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 (AccountList) IsEmpty Uses

func (al AccountList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AccountListIterator Uses

type AccountListIterator struct {
    // contains filtered or unexported fields
}

AccountListIterator provides access to a complete listing of Account values.

func NewAccountListIterator Uses

func NewAccountListIterator(page AccountListPage) AccountListIterator

Creates a new instance of the AccountListIterator type.

func (*AccountListIterator) Next Uses

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 (*AccountListIterator) NextWithContext Uses

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 (AccountListIterator) NotDone Uses

func (iter AccountListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (AccountListIterator) Response Uses

func (iter AccountListIterator) Response() AccountList

Response returns the raw server response from the last page request.

func (AccountListIterator) Value Uses

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 Uses

type AccountListPage struct {
    // contains filtered or unexported fields
}

AccountListPage contains a page of Account values.

func NewAccountListPage Uses

func NewAccountListPage(getNextPage func(context.Context, AccountList) (AccountList, error)) AccountListPage

Creates a new instance of the AccountListPage type.

func (*AccountListPage) Next Uses

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 (*AccountListPage) NextWithContext Uses

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 (AccountListPage) NotDone Uses

func (page AccountListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AccountListPage) Response Uses

func (page AccountListPage) Response() AccountList

Response returns the raw server response from the last page request.

func (AccountListPage) Values Uses

func (page AccountListPage) Values() []Account

Values returns the slice of values for the current page or nil if there are no values.

type AccountProperties Uses

type AccountProperties struct {
    // CreatedAt - READ-ONLY; Time at which the account was created.
    CreatedAt *date.Time `json:"createdAt,omitempty"`
    // CreatedBy - READ-ONLY; Name of the user who created the account.
    CreatedBy *string `json:"createdBy,omitempty"`
    // ProvisioningState - READ-ONLY; Provisioning state of the Account. Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Moving', 'Failed'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

AccountProperties account property bag.

type AccountUpdateParameters Uses

type AccountUpdateParameters struct {
    // Tags - Tags on the azure resource.
    Tags map[string]*string `json:"tags"`
}

AccountUpdateParameters update parameters for accounts

func (AccountUpdateParameters) MarshalJSON Uses

func (aup AccountUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AccountUpdateParameters.

type AccountsClient Uses

type AccountsClient struct {
    BaseClient
}

AccountsClient is the creates a Microsoft.DataShare management client.

func NewAccountsClient Uses

func NewAccountsClient(subscriptionID string) AccountsClient

NewAccountsClient creates an instance of the AccountsClient client.

func NewAccountsClientWithBaseURI Uses

func NewAccountsClientWithBaseURI(baseURI string, subscriptionID string) AccountsClient

NewAccountsClientWithBaseURI creates an instance of the AccountsClient client.

func (AccountsClient) Create Uses

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 (AccountsClient) CreatePreparer Uses

func (client AccountsClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, account Account) (*http.Request, error)

CreatePreparer prepares the Create request.

func (AccountsClient) CreateResponder Uses

func (client AccountsClient) CreateResponder(resp *http.Response) (result Account, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (AccountsClient) CreateSender Uses

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 (AccountsClient) Delete Uses

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 (AccountsClient) DeletePreparer Uses

func (client AccountsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (AccountsClient) DeleteResponder Uses

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 (AccountsClient) DeleteSender Uses

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 (AccountsClient) Get Uses

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 (AccountsClient) GetPreparer Uses

func (client AccountsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AccountsClient) GetResponder Uses

func (client AccountsClient) GetResponder(resp *http.Response) (result Account, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (AccountsClient) GetSender Uses

func (client AccountsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (AccountsClient) ListByResourceGroup Uses

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 (AccountsClient) ListByResourceGroupComplete Uses

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 (AccountsClient) ListByResourceGroupPreparer Uses

func (client AccountsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, skipToken string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (AccountsClient) ListByResourceGroupResponder Uses

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.

func (AccountsClient) ListByResourceGroupSender Uses

func (client AccountsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (AccountsClient) ListBySubscription Uses

func (client AccountsClient) ListBySubscription(ctx context.Context, skipToken string) (result AccountListPage, err error)

ListBySubscription list Accounts in Subscription Parameters: skipToken - continuation token

func (AccountsClient) ListBySubscriptionComplete Uses

func (client AccountsClient) ListBySubscriptionComplete(ctx context.Context, skipToken string) (result AccountListIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (AccountsClient) ListBySubscriptionPreparer Uses

func (client AccountsClient) ListBySubscriptionPreparer(ctx context.Context, skipToken string) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (AccountsClient) ListBySubscriptionResponder Uses

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.

func (AccountsClient) ListBySubscriptionSender Uses

func (client AccountsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

func (AccountsClient) Update Uses

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 (AccountsClient) UpdatePreparer Uses

func (client AccountsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, accountUpdateParameters AccountUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (AccountsClient) UpdateResponder Uses

func (client AccountsClient) UpdateResponder(resp *http.Response) (result Account, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (AccountsClient) UpdateSender Uses

func (client AccountsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type AccountsCreateFuture Uses

type AccountsCreateFuture struct {
    azure.Future
}

AccountsCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*AccountsCreateFuture) Result Uses

func (future *AccountsCreateFuture) Result(client AccountsClient) (a Account, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type AccountsDeleteFuture Uses

type AccountsDeleteFuture struct {
    azure.Future
}

AccountsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*AccountsDeleteFuture) Result Uses

func (future *AccountsDeleteFuture) Result(client AccountsClient) (or OperationResponse, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type BaseClient Uses

type BaseClient struct {
    autorest.Client
    BaseURI        string
    SubscriptionID string
}

BaseClient is the base client for Datashare.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type BasicDataSet Uses

type BasicDataSet interface {
    AsBlobDataSet() (*BlobDataSet, bool)
    AsBlobFolderDataSet() (*BlobFolderDataSet, bool)
    AsBlobContainerDataSet() (*BlobContainerDataSet, bool)
    AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool)
    AsADLSGen2FolderDataSet() (*ADLSGen2FolderDataSet, bool)
    AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool)
    AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool)
    AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool)
    AsDataSet() (*DataSet, bool)
}

BasicDataSet a DataSet data transfer object.

type BasicDataSetMapping Uses

type BasicDataSetMapping interface {
    AsBlobDataSetMapping() (*BlobDataSetMapping, bool)
    AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool)
    AsBlobContainerDataSetMapping() (*BlobContainerDataSetMapping, bool)
    AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool)
    AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool)
    AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool)
    AsDataSetMapping() (*DataSetMapping, bool)
}

BasicDataSetMapping a dataset mapping data transfer object.

type BasicSourceShareSynchronizationSetting Uses

type BasicSourceShareSynchronizationSetting interface {
    AsScheduledSourceSynchronizationSetting() (*ScheduledSourceSynchronizationSetting, bool)
    AsSourceShareSynchronizationSetting() (*SourceShareSynchronizationSetting, bool)
}

BasicSourceShareSynchronizationSetting a view of synchronization setting added by the provider

type BasicSynchronizationSetting Uses

type BasicSynchronizationSetting interface {
    AsScheduledSynchronizationSetting() (*ScheduledSynchronizationSetting, bool)
    AsSynchronizationSetting() (*SynchronizationSetting, bool)
}

BasicSynchronizationSetting a Synchronization Setting data transfer object.

type BasicTrigger Uses

type BasicTrigger interface {
    AsScheduledTrigger() (*ScheduledTrigger, bool)
    AsTrigger() (*Trigger, bool)
}

BasicTrigger a Trigger data transfer object.

type BlobContainerDataSet Uses

type BlobContainerDataSet struct {
    // BlobContainerProperties - Blob container dataset properties.
    *BlobContainerProperties `json:"properties,omitempty"`
    // Kind - Possible values include: 'KindDataSet', 'KindBlob', 'KindBlobFolder', 'KindContainer', 'KindAdlsGen2File', 'KindAdlsGen2Folder', 'KindAdlsGen2FileSystem', 'KindAdlsGen1Folder', 'KindAdlsGen1File'
    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 dataset.

func (BlobContainerDataSet) AsADLSGen1FileDataSet Uses

func (bcds BlobContainerDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool)

AsADLSGen1FileDataSet is the BasicDataSet implementation for BlobContainerDataSet.

func (BlobContainerDataSet) AsADLSGen1FolderDataSet Uses

func (bcds BlobContainerDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool)

AsADLSGen1FolderDataSet is the BasicDataSet implementation for BlobContainerDataSet.

func (BlobContainerDataSet) AsADLSGen2FileDataSet Uses

func (bcds BlobContainerDataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool)

AsADLSGen2FileDataSet is the BasicDataSet implementation for BlobContainerDataSet.

func (BlobContainerDataSet) AsADLSGen2FileSystemDataSet Uses

func (bcds BlobContainerDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool)

AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for BlobContainerDataSet.

func (BlobContainerDataSet) AsADLSGen2FolderDataSet Uses

func (bcds BlobContainerDataSet) AsADLSGen2FolderDataSet() (*ADLSGen2FolderDataSet, bool)

AsADLSGen2FolderDataSet is the BasicDataSet implementation for BlobContainerDataSet.

func (BlobContainerDataSet) AsBasicDataSet Uses

func (bcds BlobContainerDataSet) AsBasicDataSet() (BasicDataSet, bool)

AsBasicDataSet is the BasicDataSet implementation for BlobContainerDataSet.

func (BlobContainerDataSet) AsBlobContainerDataSet Uses

func (bcds BlobContainerDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool)

AsBlobContainerDataSet is the BasicDataSet implementation for BlobContainerDataSet.

func (BlobContainerDataSet) AsBlobDataSet Uses

func (bcds BlobContainerDataSet) AsBlobDataSet() (*BlobDataSet, bool)

AsBlobDataSet is the BasicDataSet implementation for BlobContainerDataSet.

func (BlobContainerDataSet) AsBlobFolderDataSet Uses

func (bcds BlobContainerDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool)

AsBlobFolderDataSet is the BasicDataSet implementation for BlobContainerDataSet.

func (BlobContainerDataSet) AsDataSet Uses

func (bcds BlobContainerDataSet) AsDataSet() (*DataSet, bool)

AsDataSet is the BasicDataSet implementation for BlobContainerDataSet.

func (BlobContainerDataSet) MarshalJSON Uses

func (bcds BlobContainerDataSet) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BlobContainerDataSet.

func (*BlobContainerDataSet) UnmarshalJSON Uses

func (bcds *BlobContainerDataSet) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for BlobContainerDataSet struct.

type BlobContainerDataSetMapping Uses

type BlobContainerDataSetMapping struct {
    // BlobContainerMappingProperties - Blob container dataset mapping properties.
    *BlobContainerMappingProperties `json:"properties,omitempty"`
    // Kind - Possible values include: 'KindBasicDataSetMappingKindDataSetMapping', 'KindBasicDataSetMappingKindBlob', 'KindBasicDataSetMappingKindBlobFolder', 'KindBasicDataSetMappingKindContainer', 'KindBasicDataSetMappingKindAdlsGen2File', 'KindBasicDataSetMappingKindAdlsGen2Folder', 'KindBasicDataSetMappingKindAdlsGen2FileSystem'
    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 dataset mapping.

func (BlobContainerDataSetMapping) AsADLSGen2FileDataSetMapping Uses

func (bcdsm BlobContainerDataSetMapping) AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool)

AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping.

func (BlobContainerDataSetMapping) AsADLSGen2FileSystemDataSetMapping Uses

func (bcdsm BlobContainerDataSetMapping) AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool)

AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping.

func (BlobContainerDataSetMapping) AsADLSGen2FolderDataSetMapping Uses

func (bcdsm BlobContainerDataSetMapping) AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool)

AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping.

func (BlobContainerDataSetMapping) AsBasicDataSetMapping Uses

func (bcdsm BlobContainerDataSetMapping) AsBasicDataSetMapping() (BasicDataSetMapping, bool)

AsBasicDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping.

func (BlobContainerDataSetMapping) AsBlobContainerDataSetMapping Uses

func (bcdsm BlobContainerDataSetMapping) AsBlobContainerDataSetMapping() (*BlobContainerDataSetMapping, bool)

AsBlobContainerDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping.

func (BlobContainerDataSetMapping) AsBlobDataSetMapping Uses

func (bcdsm BlobContainerDataSetMapping) AsBlobDataSetMapping() (*BlobDataSetMapping, bool)

AsBlobDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping.

func (BlobContainerDataSetMapping) AsBlobFolderDataSetMapping Uses

func (bcdsm BlobContainerDataSetMapping) AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool)

AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping.

func (BlobContainerDataSetMapping) AsDataSetMapping Uses

func (bcdsm BlobContainerDataSetMapping) AsDataSetMapping() (*DataSetMapping, bool)

AsDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping.

func (BlobContainerDataSetMapping) MarshalJSON Uses

func (bcdsm BlobContainerDataSetMapping) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BlobContainerDataSetMapping.

func (*BlobContainerDataSetMapping) UnmarshalJSON Uses

func (bcdsm *BlobContainerDataSetMapping) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for BlobContainerDataSetMapping struct.

type BlobContainerMappingProperties Uses

type BlobContainerMappingProperties struct {
    // ContainerName - BLOB Container name.
    ContainerName *string `json:"containerName,omitempty"`
    // DataSetID - Gets the id of source dataset.
    DataSetID *string `json:"dataSetId,omitempty"`
    // DataSetMappingStatus - Gets the status of the dataset mapping. Possible values include: 'Ok', 'Broken'
    DataSetMappingStatus DataSetMappingStatus `json:"dataSetMappingStatus,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 dataset mapping property bag.

type BlobContainerProperties Uses

type BlobContainerProperties struct {
    // ContainerName - BLOB Container name.
    ContainerName *string `json:"containerName,omitempty"`
    // DataSetID - READ-ONLY; Unique DataSet id.
    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.

type BlobDataSet Uses

type BlobDataSet struct {
    // BlobProperties - Blob dataset properties.
    *BlobProperties `json:"properties,omitempty"`
    // Kind - Possible values include: 'KindDataSet', 'KindBlob', 'KindBlobFolder', 'KindContainer', 'KindAdlsGen2File', 'KindAdlsGen2Folder', 'KindAdlsGen2FileSystem', 'KindAdlsGen1Folder', 'KindAdlsGen1File'
    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 dataset.

func (BlobDataSet) AsADLSGen1FileDataSet Uses

func (bds BlobDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool)

AsADLSGen1FileDataSet is the BasicDataSet implementation for BlobDataSet.

func (BlobDataSet) AsADLSGen1FolderDataSet Uses

func (bds BlobDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool)

AsADLSGen1FolderDataSet is the BasicDataSet implementation for BlobDataSet.

func (BlobDataSet) AsADLSGen2FileDataSet Uses

func (bds BlobDataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool)

AsADLSGen2FileDataSet is the BasicDataSet implementation for BlobDataSet.

func (BlobDataSet) AsADLSGen2FileSystemDataSet Uses

func (bds BlobDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool)

AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for BlobDataSet.

func (BlobDataSet) AsADLSGen2FolderDataSet Uses

func (bds BlobDataSet) AsADLSGen2FolderDataSet() (*ADLSGen2FolderDataSet, bool)

AsADLSGen2FolderDataSet is the BasicDataSet implementation for BlobDataSet.

func (BlobDataSet) AsBasicDataSet Uses

func (bds BlobDataSet) AsBasicDataSet() (BasicDataSet, bool)

AsBasicDataSet is the BasicDataSet implementation for BlobDataSet.

func (BlobDataSet) AsBlobContainerDataSet Uses

func (bds BlobDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool)

AsBlobContainerDataSet is the BasicDataSet implementation for BlobDataSet.

func (BlobDataSet) AsBlobDataSet Uses

func (bds BlobDataSet) AsBlobDataSet() (*BlobDataSet, bool)

AsBlobDataSet is the BasicDataSet implementation for BlobDataSet.

func (BlobDataSet) AsBlobFolderDataSet Uses

func (bds BlobDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool)

AsBlobFolderDataSet is the BasicDataSet implementation for BlobDataSet.

func (BlobDataSet) AsDataSet Uses

func (bds BlobDataSet) AsDataSet() (*DataSet, bool)

AsDataSet is the BasicDataSet implementation for BlobDataSet.

func (BlobDataSet) MarshalJSON Uses

func (bds BlobDataSet) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BlobDataSet.

func (*BlobDataSet) UnmarshalJSON Uses

func (bds *BlobDataSet) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for BlobDataSet struct.

type BlobDataSetMapping Uses

type BlobDataSetMapping struct {
    // BlobMappingProperties - Blob dataset mapping properties.
    *BlobMappingProperties `json:"properties,omitempty"`
    // Kind - Possible values include: 'KindBasicDataSetMappingKindDataSetMapping', 'KindBasicDataSetMappingKindBlob', 'KindBasicDataSetMappingKindBlobFolder', 'KindBasicDataSetMappingKindContainer', 'KindBasicDataSetMappingKindAdlsGen2File', 'KindBasicDataSetMappingKindAdlsGen2Folder', 'KindBasicDataSetMappingKindAdlsGen2FileSystem'
    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 dataset mapping.

func (BlobDataSetMapping) AsADLSGen2FileDataSetMapping Uses

func (bdsm BlobDataSetMapping) AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool)

AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping.

func (BlobDataSetMapping) AsADLSGen2FileSystemDataSetMapping Uses

func (bdsm BlobDataSetMapping) AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool)

AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping.

func (BlobDataSetMapping) AsADLSGen2FolderDataSetMapping Uses

func (bdsm BlobDataSetMapping) AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool)

AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping.

func (BlobDataSetMapping) AsBasicDataSetMapping Uses

func (bdsm BlobDataSetMapping) AsBasicDataSetMapping() (BasicDataSetMapping, bool)

AsBasicDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping.

func (BlobDataSetMapping) AsBlobContainerDataSetMapping Uses

func (bdsm BlobDataSetMapping) AsBlobContainerDataSetMapping() (*BlobContainerDataSetMapping, bool)

AsBlobContainerDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping.

func (BlobDataSetMapping) AsBlobDataSetMapping Uses

func (bdsm BlobDataSetMapping) AsBlobDataSetMapping() (*BlobDataSetMapping, bool)

AsBlobDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping.

func (BlobDataSetMapping) AsBlobFolderDataSetMapping Uses

func (bdsm BlobDataSetMapping) AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool)

AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping.

func (BlobDataSetMapping) AsDataSetMapping Uses

func (bdsm BlobDataSetMapping) AsDataSetMapping() (*DataSetMapping, bool)

AsDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping.

func (BlobDataSetMapping) MarshalJSON Uses

func (bdsm BlobDataSetMapping) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BlobDataSetMapping.

func (*BlobDataSetMapping) UnmarshalJSON Uses

func (bdsm *BlobDataSetMapping) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for BlobDataSetMapping struct.

type BlobFolderDataSet Uses

type BlobFolderDataSet struct {
    // BlobFolderProperties - Blob folder dataset properties.
    *BlobFolderProperties `json:"properties,omitempty"`
    // Kind - Possible values include: 'KindDataSet', 'KindBlob', 'KindBlobFolder', 'KindContainer', 'KindAdlsGen2File', 'KindAdlsGen2Folder', 'KindAdlsGen2FileSystem', 'KindAdlsGen1Folder', 'KindAdlsGen1File'
    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 dataset.

func (BlobFolderDataSet) AsADLSGen1FileDataSet Uses

func (bfds BlobFolderDataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool)

AsADLSGen1FileDataSet is the BasicDataSet implementation for BlobFolderDataSet.

func (BlobFolderDataSet) AsADLSGen1FolderDataSet Uses

func (bfds BlobFolderDataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool)

AsADLSGen1FolderDataSet is the BasicDataSet implementation for BlobFolderDataSet.

func (BlobFolderDataSet) AsADLSGen2FileDataSet Uses

func (bfds BlobFolderDataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool)

AsADLSGen2FileDataSet is the BasicDataSet implementation for BlobFolderDataSet.

func (BlobFolderDataSet) AsADLSGen2FileSystemDataSet Uses

func (bfds BlobFolderDataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool)

AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for BlobFolderDataSet.

func (BlobFolderDataSet) AsADLSGen2FolderDataSet Uses

func (bfds BlobFolderDataSet) AsADLSGen2FolderDataSet() (*ADLSGen2FolderDataSet, bool)

AsADLSGen2FolderDataSet is the BasicDataSet implementation for BlobFolderDataSet.

func (BlobFolderDataSet) AsBasicDataSet Uses

func (bfds BlobFolderDataSet) AsBasicDataSet() (BasicDataSet, bool)

AsBasicDataSet is the BasicDataSet implementation for BlobFolderDataSet.

func (BlobFolderDataSet) AsBlobContainerDataSet Uses

func (bfds BlobFolderDataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool)

AsBlobContainerDataSet is the BasicDataSet implementation for BlobFolderDataSet.

func (BlobFolderDataSet) AsBlobDataSet Uses

func (bfds BlobFolderDataSet) AsBlobDataSet() (*BlobDataSet, bool)

AsBlobDataSet is the BasicDataSet implementation for BlobFolderDataSet.

func (BlobFolderDataSet) AsBlobFolderDataSet Uses

func (bfds BlobFolderDataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool)

AsBlobFolderDataSet is the BasicDataSet implementation for BlobFolderDataSet.

func (BlobFolderDataSet) AsDataSet Uses

func (bfds BlobFolderDataSet) AsDataSet() (*DataSet, bool)

AsDataSet is the BasicDataSet implementation for BlobFolderDataSet.

func (BlobFolderDataSet) MarshalJSON Uses

func (bfds BlobFolderDataSet) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BlobFolderDataSet.

func (*BlobFolderDataSet) UnmarshalJSON Uses

func (bfds *BlobFolderDataSet) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for BlobFolderDataSet struct.

type BlobFolderDataSetMapping Uses

type BlobFolderDataSetMapping struct {
    // BlobFolderMappingProperties - Blob folder dataset mapping properties.
    *BlobFolderMappingProperties `json:"properties,omitempty"`
    // Kind - Possible values include: 'KindBasicDataSetMappingKindDataSetMapping', 'KindBasicDataSetMappingKindBlob', 'KindBasicDataSetMappingKindBlobFolder', 'KindBasicDataSetMappingKindContainer', 'KindBasicDataSetMappingKindAdlsGen2File', 'KindBasicDataSetMappingKindAdlsGen2Folder', 'KindBasicDataSetMappingKindAdlsGen2FileSystem'
    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 dataset mapping.

func (BlobFolderDataSetMapping) AsADLSGen2FileDataSetMapping Uses

func (bfdsm BlobFolderDataSetMapping) AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool)

AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping.

func (BlobFolderDataSetMapping) AsADLSGen2FileSystemDataSetMapping Uses

func (bfdsm BlobFolderDataSetMapping) AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool)

AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping.

func (BlobFolderDataSetMapping) AsADLSGen2FolderDataSetMapping Uses

func (bfdsm BlobFolderDataSetMapping) AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool)

AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping.

func (BlobFolderDataSetMapping) AsBasicDataSetMapping Uses

func (bfdsm BlobFolderDataSetMapping) AsBasicDataSetMapping() (BasicDataSetMapping, bool)

AsBasicDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping.

func (BlobFolderDataSetMapping) AsBlobContainerDataSetMapping Uses

func (bfdsm BlobFolderDataSetMapping) AsBlobContainerDataSetMapping() (*BlobContainerDataSetMapping, bool)

AsBlobContainerDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping.

func (BlobFolderDataSetMapping) AsBlobDataSetMapping Uses

func (bfdsm BlobFolderDataSetMapping) AsBlobDataSetMapping() (*BlobDataSetMapping, bool)

AsBlobDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping.

func (BlobFolderDataSetMapping) AsBlobFolderDataSetMapping Uses

func (bfdsm BlobFolderDataSetMapping) AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool)

AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping.

func (BlobFolderDataSetMapping) AsDataSetMapping Uses

func (bfdsm BlobFolderDataSetMapping) AsDataSetMapping() (*DataSetMapping, bool)

AsDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping.

func (BlobFolderDataSetMapping) MarshalJSON Uses

func (bfdsm BlobFolderDataSetMapping) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BlobFolderDataSetMapping.

func (*BlobFolderDataSetMapping) UnmarshalJSON Uses

func (bfdsm *BlobFolderDataSetMapping) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for BlobFolderDataSetMapping struct.

type BlobFolderMappingProperties Uses

type BlobFolderMappingProperties struct {
    // ContainerName - Container that has the file path.
    ContainerName *string `json:"containerName,omitempty"`
    // DataSetID - Gets the id of source dataset.
    DataSetID *string `json:"dataSetId,omitempty"`
    // DataSetMappingStatus - Gets the status of the dataset mapping. Possible values include: 'Ok', 'Broken'
    DataSetMappingStatus DataSetMappingStatus `json:"dataSetMappingStatus,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"`
}

BlobFolderMappingProperties azure storage Blob folder dataset mapping property bag.

type BlobFolderProperties Uses

type BlobFolderProperties struct {
    // ContainerName - Container that has the file path.
    ContainerName *string `json:"containerName,omitempty"`
    // DataSetID - READ-ONLY; Unique DataSet id.
    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.

type BlobMappingProperties Uses

type BlobMappingProperties struct {
    // ContainerName - Container that has the file path.
    ContainerName *string `json:"containerName,omitempty"`
    // DataSetID - Gets the id of source dataset.
    DataSetID *string `json:"dataSetId,omitempty"`
    // DataSetMappingStatus - Gets the status of the dataset mapping. Possible values include: 'Ok', 'Broken'
    DataSetMappingStatus DataSetMappingStatus `json:"dataSetMappingStatus,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"`
}

BlobMappingProperties azure storage Blob dataset mapping property bag.

type BlobProperties Uses

type BlobProperties struct {
    // ContainerName - Container that has the file path.
    ContainerName *string `json:"containerName,omitempty"`
    // DataSetID - READ-ONLY; Unique DataSet id.
    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.

type ConsumerInvitation Uses

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 (ConsumerInvitation) MarshalJSON Uses

func (ci ConsumerInvitation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConsumerInvitation.

func (*ConsumerInvitation) UnmarshalJSON Uses

func (ci *ConsumerInvitation) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ConsumerInvitation struct.

type ConsumerInvitationList Uses

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 (ConsumerInvitationList) IsEmpty Uses

func (cil ConsumerInvitationList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ConsumerInvitationListIterator Uses

type ConsumerInvitationListIterator struct {
    // contains filtered or unexported fields
}

ConsumerInvitationListIterator provides access to a complete listing of ConsumerInvitation values.

func NewConsumerInvitationListIterator Uses

func NewConsumerInvitationListIterator(page ConsumerInvitationListPage) ConsumerInvitationListIterator

Creates a new instance of the ConsumerInvitationListIterator type.

func (*ConsumerInvitationListIterator) Next Uses

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 (*ConsumerInvitationListIterator) NextWithContext Uses

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 (ConsumerInvitationListIterator) NotDone Uses

func (iter ConsumerInvitationListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ConsumerInvitationListIterator) Response Uses

func (iter ConsumerInvitationListIterator) Response() ConsumerInvitationList

Response returns the raw server response from the last page request.

func (ConsumerInvitationListIterator) Value Uses

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 Uses

type ConsumerInvitationListPage struct {
    // contains filtered or unexported fields
}

ConsumerInvitationListPage contains a page of ConsumerInvitation values.

func NewConsumerInvitationListPage Uses

func NewConsumerInvitationListPage(getNextPage func(context.Context, ConsumerInvitationList) (ConsumerInvitationList, error)) ConsumerInvitationListPage

Creates a new instance of the ConsumerInvitationListPage type.

func (*ConsumerInvitationListPage) Next Uses

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 (*ConsumerInvitationListPage) NextWithContext Uses

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 (ConsumerInvitationListPage) NotDone Uses

func (page ConsumerInvitationListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ConsumerInvitationListPage) Response Uses

func (page ConsumerInvitationListPage) Response() ConsumerInvitationList

Response returns the raw server response from the last page request.

func (ConsumerInvitationListPage) Values Uses

func (page ConsumerInvitationListPage) Values() []ConsumerInvitation

Values returns the slice of values for the current page or nil if there are no values.

type ConsumerInvitationProperties Uses

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"`
    // RespondedAt - READ-ONLY; The time the recipient responded to the invitation.
    RespondedAt *date.Time `json:"respondedAt,omitempty"`
    // Sender - READ-ONLY; Gets the name of the sender.
    Sender *string `json:"sender,omitempty"`
    // SenderCompanyName - READ-ONLY; Gets the company name of the sender.
    SenderCompanyName *string `json:"senderCompanyName,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.
    ShareName *string `json:"shareName,omitempty"`
    // TermsOfUse - READ-ONLY; Terms of use shared when the invitation was created
    TermsOfUse *string `json:"termsOfUse,omitempty"`
}

ConsumerInvitationProperties properties of consumer invitation

type ConsumerInvitationsClient Uses

type ConsumerInvitationsClient struct {
    BaseClient
}

ConsumerInvitationsClient is the creates a Microsoft.DataShare management client.

func NewConsumerInvitationsClient Uses

func NewConsumerInvitationsClient(subscriptionID string) ConsumerInvitationsClient

NewConsumerInvitationsClient creates an instance of the ConsumerInvitationsClient client.

func NewConsumerInvitationsClientWithBaseURI Uses

func NewConsumerInvitationsClientWithBaseURI(baseURI string, subscriptionID string) ConsumerInvitationsClient

NewConsumerInvitationsClientWithBaseURI creates an instance of the ConsumerInvitationsClient client.

func (ConsumerInvitationsClient) Get Uses

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 (ConsumerInvitationsClient) GetPreparer Uses

func (client ConsumerInvitationsClient) GetPreparer(ctx context.Context, location string, invitationID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ConsumerInvitationsClient) GetResponder Uses

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.

func (ConsumerInvitationsClient) GetSender Uses

func (client ConsumerInvitationsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ConsumerInvitationsClient) ListInvitations Uses

func (client ConsumerInvitationsClient) ListInvitations(ctx context.Context, skipToken string) (result ConsumerInvitationListPage, err error)

ListInvitations lists invitations Parameters: skipToken - the continuation token

func (ConsumerInvitationsClient) ListInvitationsComplete Uses

func (client ConsumerInvitationsClient) ListInvitationsComplete(ctx context.Context, skipToken string) (result ConsumerInvitationListIterator, err error)

ListInvitationsComplete enumerates all values, automatically crossing page boundaries as required.

func (ConsumerInvitationsClient) ListInvitationsPreparer Uses

func (client ConsumerInvitationsClient) ListInvitationsPreparer(ctx context.Context, skipToken string) (*http.Request, error)

ListInvitationsPreparer prepares the ListInvitations request.

func (ConsumerInvitationsClient) ListInvitationsResponder Uses

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 (ConsumerInvitationsClient) ListInvitationsSender Uses

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 (ConsumerInvitationsClient) RejectInvitation Uses

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 (ConsumerInvitationsClient) RejectInvitationPreparer Uses

func (client ConsumerInvitationsClient) RejectInvitationPreparer(ctx context.Context, location string, invitation ConsumerInvitation) (*http.Request, error)

RejectInvitationPreparer prepares the RejectInvitation request.

func (ConsumerInvitationsClient) RejectInvitationResponder Uses

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 (ConsumerInvitationsClient) RejectInvitationSender Uses

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 Uses

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 (ConsumerSourceDataSet) MarshalJSON Uses

func (csds ConsumerSourceDataSet) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConsumerSourceDataSet.

func (*ConsumerSourceDataSet) UnmarshalJSON Uses

func (csds *ConsumerSourceDataSet) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ConsumerSourceDataSet struct.

type ConsumerSourceDataSetList Uses

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 (ConsumerSourceDataSetList) IsEmpty Uses

func (csdsl ConsumerSourceDataSetList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ConsumerSourceDataSetListIterator Uses

type ConsumerSourceDataSetListIterator struct {
    // contains filtered or unexported fields
}

ConsumerSourceDataSetListIterator provides access to a complete listing of ConsumerSourceDataSet values.

func NewConsumerSourceDataSetListIterator Uses

func NewConsumerSourceDataSetListIterator(page ConsumerSourceDataSetListPage) ConsumerSourceDataSetListIterator

Creates a new instance of the ConsumerSourceDataSetListIterator type.

func (*ConsumerSourceDataSetListIterator) Next Uses

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 (*ConsumerSourceDataSetListIterator) NextWithContext Uses

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 (ConsumerSourceDataSetListIterator) NotDone Uses

func (iter ConsumerSourceDataSetListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ConsumerSourceDataSetListIterator) Response Uses

func (iter ConsumerSourceDataSetListIterator) Response() ConsumerSourceDataSetList

Response returns the raw server response from the last page request.

func (ConsumerSourceDataSetListIterator) Value Uses

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 Uses

type ConsumerSourceDataSetListPage struct {
    // contains filtered or unexported fields
}

ConsumerSourceDataSetListPage contains a page of ConsumerSourceDataSet values.

func NewConsumerSourceDataSetListPage Uses

func NewConsumerSourceDataSetListPage(getNextPage func(context.Context, ConsumerSourceDataSetList) (ConsumerSourceDataSetList, error)) ConsumerSourceDataSetListPage

Creates a new instance of the ConsumerSourceDataSetListPage type.

func (*ConsumerSourceDataSetListPage) Next Uses

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 (*ConsumerSourceDataSetListPage) NextWithContext Uses

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 (ConsumerSourceDataSetListPage) NotDone Uses

func (page ConsumerSourceDataSetListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ConsumerSourceDataSetListPage) Response Uses

func (page ConsumerSourceDataSetListPage) Response() ConsumerSourceDataSetList

Response returns the raw server response from the last page request.

func (ConsumerSourceDataSetListPage) Values Uses

func (page ConsumerSourceDataSetListPage) Values() []ConsumerSourceDataSet

Values returns the slice of values for the current page or nil if there are no values.

type ConsumerSourceDataSetProperties Uses

type ConsumerSourceDataSetProperties struct {
    // DataSetID - READ-ONLY; DataSet Id
    DataSetID *string `json:"dataSetId,omitempty"`
    // DataSetName - READ-ONLY; DataSet name
    DataSetName *string `json:"dataSetName,omitempty"`
    // DataSetType - READ-ONLY; Type of dataSet. Possible values include: 'Blob', 'Container', 'BlobFolder', 'AdlsGen2FileSystem', 'AdlsGen2Folder', 'AdlsGen2File', 'AdlsGen1Folder', 'AdlsGen1File'
    DataSetType DataSetType `json:"dataSetType,omitempty"`
}

ConsumerSourceDataSetProperties properties of consumer source dataSet

type ConsumerSourceDataSetsClient Uses

type ConsumerSourceDataSetsClient struct {
    BaseClient
}

ConsumerSourceDataSetsClient is the creates a Microsoft.DataShare management client.

func NewConsumerSourceDataSetsClient Uses

func NewConsumerSourceDataSetsClient(subscriptionID string) ConsumerSourceDataSetsClient

NewConsumerSourceDataSetsClient creates an instance of the ConsumerSourceDataSetsClient client.

func NewConsumerSourceDataSetsClientWithBaseURI Uses

func NewConsumerSourceDataSetsClientWithBaseURI(baseURI string, subscriptionID string) ConsumerSourceDataSetsClient

NewConsumerSourceDataSetsClientWithBaseURI creates an instance of the ConsumerSourceDataSetsClient client.

func (ConsumerSourceDataSetsClient) ListByShareSubscription Uses

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 (ConsumerSourceDataSetsClient) ListByShareSubscriptionComplete Uses

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 (ConsumerSourceDataSetsClient) ListByShareSubscriptionPreparer Uses

func (client ConsumerSourceDataSetsClient) ListByShareSubscriptionPreparer(ctx context.Context, resourceGroupName string, accountName string, shareSubscriptionName string, skipToken string) (*http.Request, error)

ListByShareSubscriptionPreparer prepares the ListByShareSubscription request.

func (ConsumerSourceDataSetsClient) ListByShareSubscriptionResponder Uses

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 (ConsumerSourceDataSetsClient) ListByShareSubscriptionSender Uses

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 Uses

type DataSet struct {
    autorest.Response `json:"-"`
    // Kind - Possible values include: 'KindDataSet', 'KindBlob', 'KindBlobFolder', 'KindContainer', 'KindAdlsGen2File', 'KindAdlsGen2Folder', 'KindAdlsGen2FileSystem', 'KindAdlsGen1Folder', 'KindAdlsGen1File'
    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 (DataSet) AsADLSGen1FileDataSet Uses

func (ds DataSet) AsADLSGen1FileDataSet() (*ADLSGen1FileDataSet, bool)

AsADLSGen1FileDataSet is the BasicDataSet implementation for DataSet.

func (DataSet) AsADLSGen1FolderDataSet Uses

func (ds DataSet) AsADLSGen1FolderDataSet() (*ADLSGen1FolderDataSet, bool)

AsADLSGen1FolderDataSet is the BasicDataSet implementation for DataSet.

func (DataSet) AsADLSGen2FileDataSet Uses

func (ds DataSet) AsADLSGen2FileDataSet() (*ADLSGen2FileDataSet, bool)

AsADLSGen2FileDataSet is the BasicDataSet implementation for DataSet.

func (DataSet) AsADLSGen2FileSystemDataSet Uses

func (ds DataSet) AsADLSGen2FileSystemDataSet() (*ADLSGen2FileSystemDataSet, bool)

AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for DataSet.

func (DataSet) AsADLSGen2FolderDataSet Uses

func (ds DataSet) AsADLSGen2FolderDataSet() (*ADLSGen2FolderDataSet, bool)

AsADLSGen2FolderDataSet is the BasicDataSet implementation for DataSet.

func (DataSet) AsBasicDataSet Uses

func (ds DataSet) AsBasicDataSet() (BasicDataSet, bool)

AsBasicDataSet is the BasicDataSet implementation for DataSet.

func (DataSet) AsBlobContainerDataSet Uses

func (ds DataSet) AsBlobContainerDataSet() (*BlobContainerDataSet, bool)

AsBlobContainerDataSet is the BasicDataSet implementation for DataSet.

func (DataSet) AsBlobDataSet Uses

func (ds DataSet) AsBlobDataSet() (*BlobDataSet, bool)

AsBlobDataSet is the BasicDataSet implementation for DataSet.

func (DataSet) AsBlobFolderDataSet Uses

func (ds DataSet) AsBlobFolderDataSet() (*BlobFolderDataSet, bool)

AsBlobFolderDataSet is the BasicDataSet implementation for DataSet.

func (DataSet) AsDataSet Uses

func (ds DataSet) AsDataSet() (*DataSet, bool)

AsDataSet is the BasicDataSet implementation for DataSet.

func (DataSet) MarshalJSON Uses

func (ds DataSet) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DataSet.

type DataSetList Uses

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 (DataSetList) IsEmpty Uses

func (dsl DataSetList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (*DataSetList) UnmarshalJSON Uses

func (dsl *DataSetList) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DataSetList struct.

type DataSetListIterator Uses

type DataSetListIterator struct {
    // contains filtered or unexported fields
}

DataSetListIterator provides access to a complete listing of DataSet values.

func NewDataSetListIterator Uses

func NewDataSetListIterator(page DataSetListPage) DataSetListIterator

Creates a new instance of the DataSetListIterator type.

func (*DataSetListIterator) Next Uses

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 (*DataSetListIterator) NextWithContext Uses

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 (DataSetListIterator) NotDone Uses

func (iter DataSetListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (DataSetListIterator) Response Uses

func (iter DataSetListIterator) Response() DataSetList

Response returns the raw server response from the last page request.

func (DataSetListIterator) Value Uses

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 Uses

type DataSetListPage struct {
    // contains filtered or unexported fields
}

DataSetListPage contains a page of BasicDataSet values.

func NewDataSetListPage Uses

func NewDataSetListPage(getNextPage func(context.Context, DataSetList) (DataSetList, error)) DataSetListPage

Creates a new instance of the DataSetListPage type.

func (*DataSetListPage) Next Uses

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 (*DataSetListPage) NextWithContext Uses

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 (DataSetListPage) NotDone Uses

func (page DataSetListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (DataSetListPage) Response Uses

func (page DataSetListPage) Response() DataSetList

Response returns the raw server response from the last page request.

func (DataSetListPage) Values Uses

func (page DataSetListPage) Values() []BasicDataSet

Values returns the slice of values for the current page or nil if there are no values.

type DataSetMapping Uses

type DataSetMapping struct {
    autorest.Response `json:"-"`
    // Kind - Possible values include: 'KindBasicDataSetMappingKindDataSetMapping', 'KindBasicDataSetMappingKindBlob', 'KindBasicDataSetMappingKindBlobFolder', 'KindBasicDataSetMappingKindContainer', 'KindBasicDataSetMappingKindAdlsGen2File', 'KindBasicDataSetMappingKindAdlsGen2Folder', 'KindBasicDataSetMappingKindAdlsGen2FileSystem'
    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 dataset mapping data transfer object.

func (DataSetMapping) AsADLSGen2FileDataSetMapping Uses

func (dsm DataSetMapping) AsADLSGen2FileDataSetMapping() (*ADLSGen2FileDataSetMapping, bool)

AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping.

func (DataSetMapping) AsADLSGen2FileSystemDataSetMapping Uses

func (dsm DataSetMapping) AsADLSGen2FileSystemDataSetMapping() (*ADLSGen2FileSystemDataSetMapping, bool)

AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping.

func (DataSetMapping) AsADLSGen2FolderDataSetMapping Uses

func (dsm DataSetMapping) AsADLSGen2FolderDataSetMapping() (*ADLSGen2FolderDataSetMapping, bool)

AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping.

func (DataSetMapping) AsBasicDataSetMapping Uses

func (dsm DataSetMapping) AsBasicDataSetMapping() (BasicDataSetMapping, bool)

AsBasicDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping.

func (DataSetMapping) AsBlobContainerDataSetMapping Uses

func (dsm DataSetMapping) AsBlobContainerDataSetMapping() (*BlobContainerDataSetMapping, bool)

AsBlobContainerDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping.

func (DataSetMapping) AsBlobDataSetMapping Uses

func (dsm DataSetMapping) AsBlobDataSetMapping() (*BlobDataSetMapping, bool)

AsBlobDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping.

func (DataSetMapping) AsBlobFolderDataSetMapping Uses

func (dsm DataSetMapping) AsBlobFolderDataSetMapping() (*BlobFolderDataSetMapping, bool)

AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping.

func (DataSetMapping) AsDataSetMapping Uses

func (dsm DataSetMapping) AsDataSetMapping() (*DataSetMapping, bool)

AsDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping.

func (DataSetMapping) MarshalJSON Uses

func (dsm DataSetMapping) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DataSetMapping.

type DataSetMappingList Uses

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 (DataSetMappingList) IsEmpty Uses

func (dsml DataSetMappingList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (*DataSetMappingList) UnmarshalJSON Uses

func (dsml *DataSetMappingList) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DataSetMappingList struct.

type DataSetMappingListIterator Uses

type DataSetMappingListIterator struct {
    // contains filtered or unexported fields
}

DataSetMappingListIterator provides access to a complete listing of DataSetMapping values.

func NewDataSetMappingListIterator Uses

func NewDataSetMappingListIterator(page DataSetMappingListPage) DataSetMappingListIterator

Creates a new instance of the DataSetMappingListIterator type.

func (*DataSetMappingListIterator) Next Uses

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 (*DataSetMappingListIterator) NextWithContext Uses

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 (DataSetMappingListIterator) NotDone Uses

func (iter DataSetMappingListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (DataSetMappingListIterator) Response Uses

func (iter DataSetMappingListIterator) Response() DataSetMappingList

Response returns the raw server response from the last page request.

func (DataSetMappingListIterator) Value Uses

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 Uses

type DataSetMappingListPage struct {
    // contains filtered or unexported fields
}

DataSetMappingListPage contains a page of BasicDataSetMapping values.

func NewDataSetMappingListPage Uses

func NewDataSetMappingListPage(getNextPage func(context.Context, DataSetMappingList) (DataSetMappingList, error)) DataSetMappingListPage

Creates a new instance of the DataSetMappingListPage type.

func (*DataSetMappingListPage) Next Uses

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 (*DataSetMappingListPage) NextWithContext Uses

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 (DataSetMappingListPage) NotDone Uses

func (page DataSetMappingListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (DataSetMappingListPage) Response Uses

func (page DataSetMappingListPage) Response() DataSetMappingList

Response returns the raw server response from the last page request.

func (DataSetMappingListPage) Values Uses

func (page DataSetMappingListPage) Values() []BasicDataSetMapping

Values returns the slice of values for the current page or nil if there are no values.

type DataSetMappingModel Uses

type DataSetMappingModel struct {
    autorest.Response `json:"-"`
    Value             BasicDataSetMapping `json:"value,omitempty"`
}

DataSetMappingModel ...

func (*DataSetMappingModel) UnmarshalJSON Uses

func (dsmm *DataSetMappingModel) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DataSetMappingModel struct.

type DataSetMappingStatus Uses

type DataSetMappingStatus string

DataSetMappingStatus enumerates the values for data set mapping status.

const (
    // Broken ...
    Broken DataSetMappingStatus = "Broken"
    // Ok ...
    Ok  DataSetMappingStatus = "Ok"
)

func PossibleDataSetMappingStatusValues Uses

func PossibleDataSetMappingStatusValues() []DataSetMappingStatus

PossibleDataSetMappingStatusValues returns an array of possible values for the DataSetMappingStatus const type.

type DataSetMappingsClient Uses

type DataSetMappingsClient struct {
    BaseClient
}

DataSetMappingsClient is the creates a Microsoft.DataShare management client.

func NewDataSetMappingsClient Uses

func NewDataSetMappingsClient(subscriptionID string) DataSetMappingsClient

NewDataSetMappingsClient creates an instance of the DataSetMappingsClient client.

func NewDataSetMappingsClientWithBaseURI Uses

func NewDataSetMappingsClientWithBaseURI(baseURI string, subscriptionID string) DataSetMappingsClient

NewDataSetMappingsClientWithBaseURI creates an instance of the DataSetMappingsClient client.

func (DataSetMappingsClient) Create Uses

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 Id of the source data set being mapped. dataSetMapping - destination data set configuration details.

func (DataSetMappingsClient) CreatePreparer Uses

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 (DataSetMappingsClient) CreateResponder Uses

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.

func (DataSetMappingsClient) CreateSender Uses

func (client DataSetMappingsClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (DataSetMappingsClient) Delete Uses

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 (DataSetMappingsClient) DeletePreparer Uses

func (client DataSetMappingsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, shareSubscriptionName string, dataSetMappingName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (DataSetMappingsClient) DeleteResponder Uses

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.

func (DataSetMappingsClient) DeleteSender Uses

func (client DataSetMappingsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (DataSetMappingsClient) Get Uses

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 (DataSetMappingsClient) GetPreparer Uses

func (client DataSetMappingsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, shareSubscriptionName string, dataSetMappingName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DataSetMappingsClient) GetResponder Uses

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.

func (DataSetMappingsClient) GetSender Uses

func (client DataSetMappingsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (DataSetMappingsClient) ListByShareSubscription Uses

func (client DataSetMappingsClient) ListByShareSubscription(ctx context.Context, resourceGroupName string, accountName string, shareSubscriptionName string, skipToken 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

func (DataSetMappingsClient) ListByShareSubscriptionComplete Uses

func (client DataSetMappingsClient) ListByShareSubscriptionComplete(ctx context.Context, resourceGroupName string, accountName string, shareSubscriptionName string, skipToken string) (result DataSetMappingListIterator, err error)

ListByShareSubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (DataSetMappingsClient) ListByShareSubscriptionPreparer Uses

func (client DataSetMappingsClient) ListByShareSubscriptionPreparer(ctx context.Context, resourceGroupName string, accountName string, shareSubscriptionName string, skipToken string) (*http.Request, error)

ListByShareSubscriptionPreparer prepares the ListByShareSubscription request.

func (DataSetMappingsClient) ListByShareSubscriptionResponder Uses

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 (DataSetMappingsClient) ListByShareSubscriptionSender Uses

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 Uses

type DataSetModel struct {
    autorest.Response `json:"-"`
    Value             BasicDataSet `json:"value,omitempty"`
}

DataSetModel ...

func (*DataSetModel) UnmarshalJSON Uses

func (dsm *DataSetModel) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DataSetModel struct.

type DataSetType Uses

type DataSetType string

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"
)

func PossibleDataSetTypeValues Uses

func PossibleDataSetTypeValues() []DataSetType

PossibleDataSetTypeValues returns an array of possible values for the DataSetType const type.

type DataSetsClient Uses

type DataSetsClient struct {
    BaseClient
}

DataSetsClient is the creates a Microsoft.DataShare management client.

func NewDataSetsClient Uses

func NewDataSetsClient(subscriptionID string) DataSetsClient

NewDataSetsClient creates an instance of the DataSetsClient client.

func NewDataSetsClientWithBaseURI Uses

func NewDataSetsClientWithBaseURI(baseURI string, subscriptionID string) DataSetsClient

NewDataSetsClientWithBaseURI creates an instance of the DataSetsClient client.

func (DataSetsClient) Create Uses

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 (DataSetsClient) CreatePreparer Uses

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 (DataSetsClient) CreateResponder Uses

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.

func (DataSetsClient) CreateSender Uses

func (client DataSetsClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (DataSetsClient) Delete Uses

func (client DataSetsClient) Delete(ctx context.Context, resourceGroupName string, accountName string, shareName string, dataSetName string) (result autorest.Response, 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 (DataSetsClient) DeletePreparer Uses

func (client DataSetsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, shareName string, dataSetName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (DataSetsClient) DeleteResponder Uses

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 (DataSetsClient) DeleteSender Uses

func (client DataSetsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (DataSetsClient) Get Uses

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 (DataSetsClient) GetPreparer Uses

func (client DataSetsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, shareName string, dataSetName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DataSetsClient) GetResponder Uses

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.

func (DataSetsClient) GetSender Uses

func (client DataSetsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (DataSetsClient) ListByShare Uses

func (client DataSetsClient) ListByShare(ctx context.Context, resourceGroupName string, accountName string, shareName string, skipToken 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

func (DataSetsClient) ListByShareComplete Uses

func (client DataSetsClient) ListByShareComplete(ctx context.Context, resourceGroupName string, accountName string, shareName string, skipToken string) (result DataSetListIterator, err error)

ListByShareComplete enumerates all values, automatically crossing page boundaries as required.

func (DataSetsClient) ListBySharePreparer Uses

func (client DataSetsClient) ListBySharePreparer(ctx context.Context, resourceGroupName string, accountName string, shareName string, skipToken string) (*http.Request, error)

ListBySharePreparer prepares the ListByShare request.

func (DataSetsClient) ListByShareResponder Uses

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.

func (DataSetsClient) ListByShareSender Uses

func (client DataSetsClient) ListByShareSender(req *http.Request) (*http.Response, error)

ListByShareSender sends the ListByShare request. The method will close the http.Response Body if it receives an error.

type DefaultDto Uses

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 (DefaultDto) MarshalJSON Uses

func (dd DefaultDto) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DefaultDto.

type DimensionProperties Uses

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 Uses

type Error struct {
    // Error - The data share error body
    Error *ErrorInfo `json:"error,omitempty"`
}

Error the data share error model.

type ErrorInfo Uses

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 Uses

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

type Invitation Uses

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 (Invitation) MarshalJSON Uses

func (i Invitation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Invitation.

func (*Invitation) UnmarshalJSON Uses

func (i *Invitation) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Invitation struct.

type InvitationList Uses

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 (InvitationList) IsEmpty Uses

func (il InvitationList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type InvitationListIterator Uses

type InvitationListIterator struct {
    // contains filtered or unexported fields
}

InvitationListIterator provides access to a complete listing of Invitation values.

func NewInvitationListIterator Uses

func NewInvitationListIterator(page InvitationListPage) InvitationListIterator

Creates a new instance of the InvitationListIterator type.

func (*InvitationListIterator) Next Uses

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 (*InvitationListIterator) NextWithContext Uses

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 (InvitationListIterator) NotDone Uses

func (iter InvitationListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (InvitationListIterator) Response Uses

func (iter InvitationListIterator) Response() InvitationList

Response returns the raw server response from the last page request.

func (InvitationListIterator) Value Uses

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 Uses

type InvitationListPage struct {
    // contains filtered or unexported fields
}

InvitationListPage contains a page of Invitation values.

func NewInvitationListPage Uses

func NewInvitationListPage(getNextPage func(context.Context, InvitationList) (InvitationList, error)) InvitationListPage

Creates a new instance of the InvitationListPage type.

func (*InvitationListPage) Next Uses

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 (*InvitationListPage) NextWithContext Uses

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 (InvitationListPage) NotDone Uses

func (page InvitationListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (InvitationListPage) Response Uses

func (page InvitationListPage) Response() InvitationList

Response returns the raw server response from the last page request.

func (InvitationListPage) Values Uses

func (page InvitationListPage) Values() []Invitation

Values returns the slice of values for the current page or nil if there are no values.

type InvitationProperties Uses

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"`
    // Sender - READ-ONLY; Gets the name of the sender.
    Sender *string `json:"sender,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"`
}

InvitationProperties invitation property bag.

type InvitationStatus Uses

type InvitationStatus string

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 Uses

func PossibleInvitationStatusValues() []InvitationStatus

PossibleInvitationStatusValues returns an array of possible values for the InvitationStatus const type.

type InvitationsClient Uses

type InvitationsClient struct {
    BaseClient
}

InvitationsClient is the creates a Microsoft.DataShare management client.

func NewInvitationsClient Uses

func NewInvitationsClient(subscriptionID string) InvitationsClient

NewInvitationsClient creates an instance of the InvitationsClient client.

func NewInvitationsClientWithBaseURI Uses

func NewInvitationsClientWithBaseURI(baseURI string, subscriptionID string) InvitationsClient

NewInvitationsClientWithBaseURI creates an instance of the InvitationsClient client.

func (InvitationsClient) Create Uses

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 (InvitationsClient) CreatePreparer Uses

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 (InvitationsClient) CreateResponder Uses

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.

func (InvitationsClient) CreateSender Uses

func (client InvitationsClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (InvitationsClient) Delete Uses

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 (InvitationsClient) DeletePreparer Uses

func (client InvitationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, shareName string, invitationName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (InvitationsClient) DeleteResponder Uses

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.

func (InvitationsClient) DeleteSender Uses

func (client InvitationsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (InvitationsClient) Get Uses

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 (InvitationsClient) GetPreparer Uses

func (client InvitationsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, shareName string, invitationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (InvitationsClient) GetResponder Uses

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.

func (InvitationsClient) GetSender Uses

func (client InvitationsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (InvitationsClient) ListByShare Uses

func (client InvitationsClient) ListByShare(ctx context.Context, resourceGroupName string, accountName string, shareName string, skipToken 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

func (InvitationsClient) ListByShareComplete Uses

func (client InvitationsClient) ListByShareComplete(ctx context.Context, resourceGroupName string, accountName string, shareName string, skipToken string) (result InvitationListIterator, err error)

ListByShareComplete enumerates all values, automatically crossing page boundaries as required.

func (InvitationsClient) ListBySharePreparer Uses

func (client InvitationsClient) ListBySharePreparer(ctx context.Context, resourceGroupName string, accountName string, shareName string, skipToken string) (*http.Request, error)

ListBySharePreparer prepares the ListByShare request.

func (InvitationsClient) ListByShareResponder Uses

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.

func (InvitationsClient) ListByShareSender Uses

func (client InvitationsClient) ListByShareSender(req *http.Request) (*http.Response, error)

ListByShareSender sends the ListByShare request. The method will close the http.Response Body if it receives an error.

type Kind Uses

type Kind string

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"
)

func PossibleKindValues Uses

func PossibleKindValues() []Kind

PossibleKindValues returns an array of possible values for the Kind const type.

type KindBasicDataSetMapping Uses

type KindBasicDataSetMapping string

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"
)

func PossibleKindBasicDataSetMappingValues Uses

func PossibleKindBasicDataSetMappingValues() []KindBasicDataSetMapping

PossibleKindBasicDataSetMappingValues returns an array of possible values for the KindBasicDataSetMapping const type.

type KindBasicSourceShareSynchronizationSetting Uses

type KindBasicSourceShareSynchronizationSetting string

KindBasicSourceShareSynchronizationSetting enumerates the values for kind basic source share synchronization setting.

const (
    // KindScheduleBased ...
    KindScheduleBased KindBasicSourceShareSynchronizationSetting = "ScheduleBased"
    // KindSourceShareSynchronizationSetting ...
    KindSourceShareSynchronizationSetting KindBasicSourceShareSynchronizationSetting = "SourceShareSynchronizationSetting"
)

func PossibleKindBasicSourceShareSynchronizationSettingValues Uses

func PossibleKindBasicSourceShareSynchronizationSettingValues() []KindBasicSourceShareSynchronizationSetting

PossibleKindBasicSourceShareSynchronizationSettingValues returns an array of possible values for the KindBasicSourceShareSynchronizationSetting const type.

type KindBasicSynchronizationSetting Uses

type KindBasicSynchronizationSetting string

KindBasicSynchronizationSetting enumerates the values for kind basic synchronization setting.

const (
    // KindBasicSynchronizationSettingKindScheduleBased ...
    KindBasicSynchronizationSettingKindScheduleBased KindBasicSynchronizationSetting = "ScheduleBased"
    // KindBasicSynchronizationSettingKindSynchronizationSetting ...
    KindBasicSynchronizationSettingKindSynchronizationSetting KindBasicSynchronizationSetting = "SynchronizationSetting"
)

func PossibleKindBasicSynchronizationSettingValues Uses

func PossibleKindBasicSynchronizationSettingValues() []KindBasicSynchronizationSetting

PossibleKindBasicSynchronizationSettingValues returns an array of possible values for the KindBasicSynchronizationSetting const type.

type KindBasicTrigger Uses

type KindBasicTrigger string

KindBasicTrigger enumerates the values for kind basic trigger.

const (
    // KindBasicTriggerKindScheduleBased ...
    KindBasicTriggerKindScheduleBased KindBasicTrigger = "ScheduleBased"
    // KindBasicTriggerKindTrigger ...
    KindBasicTriggerKindTrigger KindBasicTrigger = "Trigger"
)

func PossibleKindBasicTriggerValues Uses

func PossibleKindBasicTriggerValues() []KindBasicTrigger

PossibleKindBasicTriggerValues returns an array of possible values for the KindBasicTrigger const type.

type OperationList Uses

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 (OperationList) IsEmpty Uses

func (ol OperationList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListIterator Uses

type OperationListIterator struct {
    // contains filtered or unexported fields
}

OperationListIterator provides access to a complete listing of OperationModel values.

func NewOperationListIterator Uses

func NewOperationListIterator(page OperationListPage) OperationListIterator

Creates a new instance of the OperationListIterator type.

func (*OperationListIterator) Next Uses

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 (*OperationListIterator) NextWithContext Uses

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 (OperationListIterator) NotDone Uses

func (iter OperationListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (OperationListIterator) Response Uses

func (iter OperationListIterator) Response() OperationList

Response returns the raw server response from the last page request.

func (OperationListIterator) Value Uses

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 Uses

type OperationListPage struct {
    // contains filtered or unexported fields
}

OperationListPage contains a page of OperationModel values.

func NewOperationListPage Uses

func NewOperationListPage(getNextPage func(context.Context, OperationList) (OperationList, error)) OperationListPage

Creates a new instance of the OperationListPage type.

func (*OperationListPage) Next Uses

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 (*OperationListPage) NextWithContext Uses

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 (OperationListPage) NotDone Uses

func (page OperationListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (OperationListPage) Response Uses

func (page OperationListPage) Response() OperationList

Response returns the raw server response from the last page request.

func (OperationListPage) Values Uses

func (page OperationListPage) Values() []OperationModel

Values returns the slice of values for the current page or nil if there are no values.

type OperationMetaLogSpecification Uses

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 Uses

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 Uses

type OperationMetaPropertyInfo struct {
    // ServiceSpecification - meta service specification
    ServiceSpecification *OperationMetaServiceSpecification `json:"serviceSpecification,omitempty"`
}

OperationMetaPropertyInfo properties on meta info

type OperationMetaServiceSpecification Uses

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 Uses

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 (OperationModel) MarshalJSON Uses

func (om OperationModel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationModel.

func (*OperationModel) UnmarshalJSON Uses

func (om *OperationModel) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for OperationModel struct.

type OperationModelProperties Uses

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 Uses

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 Uses

type OperationsClient struct {
    BaseClient
}

OperationsClient is the creates a Microsoft.DataShare management client.

func NewOperationsClient Uses

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI Uses

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List Uses

func (client OperationsClient) List(ctx context.Context) (result OperationListPage, err error)

List list of available operations

func (OperationsClient) ListComplete Uses

func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OperationsClient) ListPreparer Uses

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder Uses

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender Uses

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ProviderShareSubscription Uses

type ProviderShareSubscription struct {
    autorest.Response `json:"-"`
    // ProviderShareSubscriptionProperties - properties of providerShareSubscription
    *ProviderShareSubscriptionProperties `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"`
}

ProviderShareSubscription a provider side share subscription data transfer object.

func (ProviderShareSubscription) MarshalJSON Uses

func (pss ProviderShareSubscription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProviderShareSubscription.

func (*ProviderShareSubscription) UnmarshalJSON Uses

func (pss *ProviderShareSubscription) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ProviderShareSubscription struct.

type ProviderShareSubscriptionList Uses

type ProviderShareSubscriptionList struct {
    autorest.Response `json:"-"`
    // NextLink - The Url of next result page.
    NextLink *string `json:"nextLink,omitempty"`
    // Value - Collection of items of type DataTransferObjects.
    Value *[]ProviderShareSubscription `json:"value,omitempty"`
}

ProviderShareSubscriptionList list response for get ShareSubscription.

func (ProviderShareSubscriptionList) IsEmpty Uses

func (pssl ProviderShareSubscriptionList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ProviderShareSubscriptionListIterator Uses

type ProviderShareSubscriptionListIterator struct {
    // contains filtered or unexported fields
}

ProviderShareSubscriptionListIterator provides access to a complete listing of ProviderShareSubscription values.

func NewProviderShareSubscriptionListIterator Uses

func NewProviderShareSubscriptionListIterator(page ProviderShareSubscriptionListPage) ProviderShareSubscriptionListIterator

Creates a new instance of the ProviderShareSubscriptionListIterator type.

func (*ProviderShareSubscriptionListIterator) Next Uses

func (iter *ProviderShareSubscriptionListIterator) 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 (*ProviderShareSubscriptionListIterator) NextWithContext Uses

func (iter *ProviderShareSubscriptionListIterator) 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 (ProviderShareSubscriptionListIterator) NotDone Uses

func (iter ProviderShareSubscriptionListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ProviderShareSubscriptionListIterator) Response Uses

func (iter ProviderShareSubscriptionListIterator) Response() ProviderShareSubscriptionList

Response returns the raw server response from the last page request.

func (ProviderShareSubscriptionListIterator) Value Uses

func (iter ProviderShareSubscriptionListIterator) Value() ProviderShareSubscription

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ProviderShareSubscriptionListPage Uses

type ProviderShareSubscriptionListPage struct {
    // contains filtered or unexported fields
}

ProviderShareSubscriptionListPage contains a page of ProviderShareSubscription values.

func NewProviderShareSubscriptionListPage Uses

func NewProviderShareSubscriptionListPage(getNextPage func(context.Context, ProviderShareSubscriptionList) (ProviderShareSubscriptionList, error)) ProviderShareSubscriptionListPage

Creates a new instance of the ProviderShareSubscriptionListPage type.

func (*ProviderShareSubscriptionListPage) Next Uses

func (page *ProviderShareSubscriptionListPage) 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 (*ProviderShareSubscriptionListPage) NextWithContext Uses

func (page *ProviderShareSubscriptionListPage) 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 (ProviderShareSubscriptionListPage) NotDone Uses

func (page ProviderShareSubscriptionListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ProviderShareSubscriptionListPage) Response Uses

func (page ProviderShareSubscriptionListPage) Response() ProviderShareSubscriptionList

Response returns the raw server response from the last page request.

func (ProviderShareSubscriptionListPage) Values Uses

func (page ProviderShareSubscriptionListPage) Values() []ProviderShareSubscription

Values returns the slice of values for the current page or nil if there are no values.

type ProviderShareSubscriptionProperties Uses

type ProviderShareSubscriptionProperties struct {
    // Company - READ-ONLY; Company name
    Company *string `json:"company,omitempty"`
    // CreatedAt - READ-ONLY; created at
    CreatedAt *date.Time `json:"createdAt,omitempty"`
    // CreatedBy - READ-ONLY; Created by
    CreatedBy *string `json:"createdBy,omitempty"`
    // SharedAt - READ-ONLY; Shared at
    SharedAt *date.Time `json:"sharedAt,omitempty"`
    // SharedBy - READ-ONLY; Shared by
    SharedBy *string `json:"sharedBy,omitempty"`
    // ShareSubscriptionObjectID - READ-ONLY; share Subscription Object Id
    ShareSubscriptionObjectID *string `json:"shareSubscriptionObjectId,omitempty"`
    // ShareSubscriptionStatus - READ-ONLY; Gets the status of share subscription. Possible values include: 'Active', 'Revoked', 'SourceDeleted', 'Revoking'
    ShareSubscriptionStatus ShareSubscriptionStatus `json:"shareSubscriptionStatus,omitempty"`
}

ProviderShareSubscriptionProperties provider share subscription properties

type ProviderShareSubscriptionsClient Uses

type ProviderShareSubscriptionsClient struct {
    BaseClient
}

ProviderShareSubscriptionsClient is the creates a Microsoft.DataShare management client.

func NewProviderShareSubscriptionsClient Uses

func NewProviderShareSubscriptionsClient(subscriptionID string) ProviderShareSubscriptionsClient

NewProviderShareSubscriptionsClient creates an instance of the ProviderShareSubscriptionsClient client.

func NewProviderShareSubscriptionsClientWithBaseURI Uses

func NewProviderShareSubscriptionsClientWithBaseURI(baseURI string, subscriptionID string) ProviderShareSubscriptionsClient

NewProviderShareSubscriptionsClientWithBaseURI creates an instance of the ProviderShareSubscriptionsClient client.

func (ProviderShareSubscriptionsClient) GetByShare Uses

func (client ProviderShareSubscriptionsClient) GetByShare(ctx context.Context, resourceGroupName string, accountName string, shareName string, providerShareSubscriptionID string) (result ProviderShareSubscription, err error)

GetByShare get share subscription in a provider share Parameters: resourceGroupName - the resource group name. accountName - the name of the share account. shareName - the name of the share. providerShareSubscriptionID - to locate shareSubscription

func (ProviderShareSubscriptionsClient) GetBySharePreparer Uses

func (client ProviderShareSubscriptionsClient) GetBySharePreparer(ctx context.Context, resourceGroupName string, accountName string, shareName string, providerShareSubscriptionID string) (*http.Request, error)

GetBySharePreparer prepares the GetByShare request.

func (ProviderShareSubscriptionsClient) GetByShareResponder Uses

func (client ProviderShareSubscriptionsClient) GetByShareResponder(resp *http.Response) (result ProviderShareSubscription, err error)

GetByShareResponder handles the response to the GetByShare request. The method always closes the http.Response Body.

func (ProviderShareSubscriptionsClient) GetByShareSender Uses

func (client ProviderShareSubscriptionsClient) GetByShareSender(req *http.Request) (*http.Response, error)

GetByShareSender sends the GetByShare request. The method will close the http.Response Body if it receives an error.

func (ProviderShareSubscriptionsClient) ListByShare Uses

func (client ProviderShareSubscriptionsClient) ListByShare(ctx context.Context, resourceGroupName string, accountName string, shareName string, skipToken string) (result ProviderShareSubscriptionListPage, err error)

ListByShare list share subscriptions in a provider share Parameters: resourceGroupName - the resource group name. accountName - the name of the share account. shareName - the name of the share. skipToken - continuation Token

func (ProviderShareSubscriptionsClient) ListByShareComplete Uses

func (client ProviderShareSubscriptionsClient) ListByShareComplete(ctx context.Context, resourceGroupName string, accountName string, shareName string, skipToken string) (result ProviderShareSubscriptionListIterator, err error)

ListByShareComplete enumerates all values, automatically crossing page boundaries as required.

func (ProviderShareSubscriptionsClient) ListBySharePreparer Uses

func (client ProviderShareSubscriptionsClient) ListBySharePreparer(ctx context.Context, resourceGroupName string, accountName string, shareName string, skipToken string) (*http.Request, error)

ListBySharePreparer prepares the ListByShare request.

func (ProviderShareSubscriptionsClient) ListByShareResponder Uses

func (client ProviderShareSubscriptionsClient) ListByShareResponder(resp *http.Response) (result ProviderShareSubscriptionList, err error)

ListByShareResponder handles the response to the ListByShare request. The method always closes the http.Response Body.

func (ProviderShareSubscriptionsClient) ListByShareSender Uses

func (client ProviderShareSubscriptionsClient) ListByShareSender(req *http.Request) (*http.Response, error)

ListByShareSender sends the ListByShare request. The method will close the http.Response Body if it receives an error.

func (ProviderShareSubscriptionsClient) Reinstate Uses

func (client ProviderShareSubscriptionsClient) Reinstate(ctx context.Context, resourceGroupName string, accountName string, shareName string, providerShareSubscriptionID string) (result ProviderShareSubscription, err error)

Reinstate reinstate share subscription in a provider share Parameters: resourceGroupName - the resource group name. accountName - the name of the share account. shareName - the name of the share. providerShareSubscriptionID - to locate shareSubscription

func (ProviderShareSubscriptionsClient) ReinstatePreparer Uses

func (client ProviderShareSubscriptionsClient) ReinstatePreparer(ctx context.Context, resourceGroupName string, accountName string, shareName string, providerShareSubscriptionID string) (*http.Request, error)

ReinstatePreparer prepares the Reinstate request.

func (ProviderShareSubscriptionsClient) ReinstateResponder Uses

func (client ProviderShareSubscriptionsClient) ReinstateResponder(resp *http.Response) (result ProviderShareSubscription, err error)

ReinstateResponder handles the response to the Reinstate request. The method always closes the http.Response Body.

func (ProviderShareSubscriptionsClient) ReinstateSender Uses

func (client ProviderShareSubscriptionsClient) ReinstateSender(req *http.Request) (*http.Response, error)

ReinstateSender sends the Reinstate request. The method will close the http.Response Body if it receives an error.

func (ProviderShareSubscriptionsClient) Revoke Uses

func (client ProviderShareSubscriptionsClient) Revoke(ctx context.Context, resourceGroupName string, accountName string, shareName string, providerShareSubscriptionID string) (result ProviderShareSubscriptionsRevokeFuture, err error)

Revoke revoke share subscription in a provider share Parameters: resourceGroupName - the resource group name. accountName - the name of the share account. shareName - the name of the share. providerShareSubscriptionID - to locate shareSubscription

func (ProviderShareSubscriptionsClient) RevokePreparer Uses

func (client ProviderShareSubscriptionsClient) RevokePreparer(ctx context.Context, resourceGroupName string, accountName string, shareName string, providerShareSubscriptionID string) (*http.Request, error)

RevokePreparer prepares the Revoke request.

func (ProviderShareSubscriptionsClient) RevokeResponder Uses

func (client ProviderShareSubscriptionsClient) RevokeResponder(resp *http.Response) (result ProviderShareSubscription, err error)

RevokeResponder handles the response to the Revoke request. The method always closes the http.Response Body.

func (ProviderShareSubscriptionsClient) RevokeSender Uses

func (client ProviderShareSubscriptionsClient) RevokeSender(req *http.Request) (future ProviderShareSubscriptionsRevokeFuture, err error)

RevokeSender sends the Revoke request. The method will close the http.Response Body if it receives an error.

type ProviderShareSubscriptionsRevokeFuture Uses

type ProviderShareSubscriptionsRevokeFuture struct {
    azure.Future
}

ProviderShareSubscriptionsRevokeFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ProviderShareSubscriptionsRevokeFuture) Result Uses

func (future *ProviderShareSubscriptionsRevokeFuture) Result(client ProviderShareSubscriptionsClient) (pss ProviderShareSubscription, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ProvisioningState Uses

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

const (
    // Creating ...
    Creating ProvisioningState = "Creating"
    // Deleting ...
    Deleting ProvisioningState = "Deleting"
    // Failed ...
    Failed ProvisioningState = "Failed"
    // Moving ...
    Moving ProvisioningState = "Moving"
    // Succeeded ...
    Succeeded ProvisioningState = "Succeeded"
)

func PossibleProvisioningStateValues Uses

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.

type ProxyDto Uses

type ProxyDto struct {
    // 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"`
}

ProxyDto base data transfer object implementation for proxy resources.

type RecurrenceInterval Uses

type RecurrenceInterval string

RecurrenceInterval enumerates the values for recurrence interval.

const (
    // Day ...
    Day RecurrenceInterval = "Day"
    // Hour ...
    Hour RecurrenceInterval = "Hour"
)

func PossibleRecurrenceIntervalValues Uses

func PossibleRecurrenceIntervalValues() []RecurrenceInterval

PossibleRecurrenceIntervalValues returns an array of possible values for the RecurrenceInterval const type.

type ScheduledSourceShareSynchronizationSettingProperties Uses

type ScheduledSourceShareSynchronizationSettingProperties struct {
    // RecurrenceInterval - Recurrence Interval. Possible values include: 'Hour', 'Day'
    RecurrenceInterval RecurrenceInterval `json:"recurrenceInterval,omitempty"`
    // SynchronizationTime - Synchronization time
    SynchronizationTime *date.Time `json:"synchronizationTime,omitempty"`
}

ScheduledSourceShareSynchronizationSettingProperties a Scheduled source synchronization setting data transfer object.

type ScheduledSourceSynchronizationSetting Uses

type ScheduledSourceSynchronizationSetting struct {
    // ScheduledSourceShareSynchronizationSettingProperties - Properties of scheduled synchronization
    *ScheduledSourceShareSynchronizationSettingProperties `json:"properties,omitempty"`
    // Kind - Possible values include: 'KindSourceShareSynchronizationSetting', 'KindScheduleBased'
    Kind KindBasicSourceShareSynchronizationSetting `json:"kind,omitempty"`
}

ScheduledSourceSynchronizationSetting a type of synchronization setting based on schedule

func (ScheduledSourceSynchronizationSetting) AsBasicSourceShareSynchronizationSetting Uses

func (ssss ScheduledSourceSynchronizationSetting) AsBasicSourceShareSynchronizationSetting() (BasicSourceShareSynchronizationSetting, bool)

AsBasicSourceShareSynchronizationSetting is the BasicSourceShareSynchronizationSetting implementation for ScheduledSourceSynchronizationSetting.

func (ScheduledSourceSynchronizationSetting) AsScheduledSourceSynchronizationSetting Uses

func (ssss ScheduledSourceSynchronizationSetting) AsScheduledSourceSynchronizationSetting() (*ScheduledSourceSynchronizationSetting, bool)

AsScheduledSourceSynchronizationSetting is the BasicSourceShareSynchronizationSetting implementation for ScheduledSourceSynchronizationSetting.

func (ScheduledSourceSynchronizationSetting) AsSourceShareSynchronizationSetting Uses

func (ssss ScheduledSourceSynchronizationSetting) AsSourceShareSynchronizationSetting() (*SourceShareSynchronizationSetting, bool)

AsSourceShareSynchronizationSetting is the BasicSourceShareSynchronizationSetting implementation for ScheduledSourceSynchronizationSetting.

func (ScheduledSourceSynchronizationSetting) MarshalJSON Uses

func (ssss ScheduledSourceSynchronizationSetting) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ScheduledSourceSynchronizationSetting.

func (*ScheduledSourceSynchronizationSetting) UnmarshalJSON Uses

func (ssss *ScheduledSourceSynchronizationSetting) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ScheduledSourceSynchronizationSetting struct.

type ScheduledSynchronizationSetting Uses

type ScheduledSynchronizationSetting struct {
    // ScheduledSynchronizationSettingProperties - Properties of scheduled synchronization
    *ScheduledSynchronizationSettingProperties `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: 'KindBasicSynchronizationSettingKindSynchronizationSetting', 'KindBasicSynchronizationSettingKindScheduleBased'
    Kind KindBasicSynchronizationSetting `json:"kind,omitempty"`
}

ScheduledSynchronizationSetting a type of synchronization setting based on schedule

func (ScheduledSynchronizationSetting) AsBasicSynchronizationSetting Uses

func (sss ScheduledSynchronizationSetting) AsBasicSynchronizationSetting() (BasicSynchronizationSetting, bool)

AsBasicSynchronizationSetting is the BasicSynchronizationSetting implementation for ScheduledSynchronizationSetting.

func (ScheduledSynchronizationSetting) AsScheduledSynchronizationSetting Uses

func (sss ScheduledSynchronizationSetting) AsScheduledSynchronizationSetting() (*ScheduledSynchronizationSetting, bool)

AsScheduledSynchronizationSetting is the BasicSynchronizationSetting implementation for ScheduledSynchronizationSetting.

func (ScheduledSynchronizationSetting) AsSynchronizationSetting Uses

func (sss ScheduledSynchronizationSetting) AsSynchronizationSetting() (*SynchronizationSetting, bool)

AsSynchronizationSetting is the BasicSynchronizationSetting implementation for ScheduledSynchronizationSetting.

func (ScheduledSynchronizationSetting) MarshalJSON Uses

func (sss ScheduledSynchronizationSetting) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ScheduledSynchronizationSetting.

func (*ScheduledSynchronizationSetting) UnmarshalJSON Uses

func (sss *ScheduledSynchronizationSetting) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ScheduledSynchronizationSetting struct.

type ScheduledSynchronizationSettingProperties Uses

type ScheduledSynchronizationSettingProperties struct {
    // CreatedAt - READ-ONLY; Time at which the synchronization setting was created.
    CreatedAt *date.Time `json:"createdAt,omitempty"`
    // CreatedBy - READ-ONLY; Name of the user who created the synchronization setting.
    CreatedBy *string `json:"createdBy,omitempty"`
    // ProvisioningState - READ-ONLY; Gets or sets the provisioning state. Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Moving', 'Failed'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // RecurrenceInterval - Recurrence Interval. Possible values include: 'Hour', 'Day'
    RecurrenceInterval RecurrenceInterval `json:"recurrenceInterval,omitempty"`
    // SynchronizationTime - Synchronization time
    SynchronizationTime *date.Time `json:"synchronizationTime,omitempty"`
}

ScheduledSynchronizationSettingProperties a Scheduled synchronization setting data transfer object.

type ScheduledTrigger Uses

type ScheduledTrigger struct {
    // ScheduledTriggerProperties - Properties of scheduled synchronization
    *ScheduledTriggerProperties `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: 'KindBasicTriggerKindTrigger', 'KindBasicTriggerKindScheduleBased'
    Kind KindBasicTrigger `json:"kind,omitempty"`
}

ScheduledTrigger a type of trigger based on schedule

func (ScheduledTrigger) AsBasicTrigger Uses

func (st ScheduledTrigger) AsBasicTrigger() (BasicTrigger, bool)

AsBasicTrigger is the BasicTrigger implementation for ScheduledTrigger.

func (ScheduledTrigger) AsScheduledTrigger Uses

func (st ScheduledTrigger) AsScheduledTrigger() (*ScheduledTrigger, bool)

AsScheduledTrigger is the BasicTrigger implementation for ScheduledTrigger.

func (ScheduledTrigger) AsTrigger Uses

func (st ScheduledTrigger) AsTrigger() (*Trigger, bool)

AsTrigger is the BasicTrigger implementation for ScheduledTrigger.

func (ScheduledTrigger) MarshalJSON Uses

func (st ScheduledTrigger) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ScheduledTrigger.

func (*ScheduledTrigger) UnmarshalJSON Uses

func (st *ScheduledTrigger) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ScheduledTrigger struct.

type ScheduledTriggerProperties Uses

type ScheduledTriggerProperties struct {
    // CreatedAt - READ-ONLY; Time at which the trigger was created.
    CreatedAt *date.Time `json:"createdAt,omitempty"`
    // CreatedBy - READ-ONLY; Name of the user who created the trigger.
    CreatedBy *string `json:"createdBy,omitempty"`
    // ProvisioningState - READ-ONLY; Gets the provisioning state. Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Moving', 'Failed'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // RecurrenceInterval - Recurrence Interval. Possible values include: 'Hour', 'Day'
    RecurrenceInterval RecurrenceInterval `json:"recurrenceInterval,omitempty"`
    // SynchronizationMode - Synchronization mode. Possible values include: 'Incremental', 'FullSync'
    SynchronizationMode SynchronizationMode `json:"synchronizationMode,omitempty"`
    // SynchronizationTime - Synchronization time
    SynchronizationTime *date.Time `json:"synchronizationTime,omitempty"`
    // TriggerStatus - READ-ONLY; Gets the trigger state. Possible values include: 'TriggerStatusActive', 'TriggerStatusInactive', 'TriggerStatusSourceSynchronizationSettingDeleted'
    TriggerStatus TriggerStatus `json:"triggerStatus,omitempty"`
}

ScheduledTriggerProperties a Scheduled trigger data transfer object.

type Share Uses

type Share struct {
    autorest.Response `json:"-"`
    // ShareProperties - Properties on the share
    *ShareProperties `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"`
}

Share a share data transfer object.

func (Share) MarshalJSON Uses

func (s Share) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Share.

func (*Share) UnmarshalJSON Uses

func (s *Share) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Share struct.

type ShareKind Uses

type ShareKind string

ShareKind enumerates the values for share kind.

const (
    // CopyBased ...
    CopyBased ShareKind = "CopyBased"
)

func PossibleShareKindValues Uses

func PossibleShareKindValues() []ShareKind

PossibleShareKindValues returns an array of possible values for the ShareKind const type.

type ShareList Uses

type ShareList struct {
    autorest.Response `json:"-"`
    // NextLink - The Url of next result page.
    NextLink *string `json:"nextLink,omitempty"`
    // Value - Collection of items of type DataTransferObjects.
    Value *[]Share `json:"value,omitempty"`
}

ShareList list response for get Shares.

func (ShareList) IsEmpty Uses

func (sl ShareList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ShareListIterator Uses

type ShareListIterator struct {
    // contains filtered or unexported fields
}

ShareListIterator provides access to a complete listing of Share values.

func NewShareListIterator Uses

func NewShareListIterator(page ShareListPage) ShareListIterator

Creates a new instance of the ShareListIterator type.

func (*ShareListIterator) Next Uses

func (iter *ShareListIterator) 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 (*ShareListIterator) NextWithContext Uses

func (iter *ShareListIterator) 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 (ShareListIterator) NotDone Uses

func (iter ShareListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ShareListIterator) Response Uses

func (iter ShareListIterator) Response() ShareList

Response returns the raw server response from the last page request.

func (ShareListIterator) Value Uses

func (iter ShareListIterator) Value() Share

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ShareListPage Uses

type ShareListPage struct {
    // contains filtered or unexported fields
}

ShareListPage contains a page of Share values.

func NewShareListPage Uses

func NewShareListPage(getNextPage func(context.Context, ShareList) (ShareList, error)) ShareListPage

Creates a new instance of the ShareListPage type.

func (*ShareListPage) Next Uses

func (page *ShareListPage) 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 (*ShareListPage) NextWithContext Uses

func (page *ShareListPage) 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 (ShareListPage) NotDone Uses

func (page ShareListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ShareListPage) Response Uses

func (page ShareListPage) Response() ShareList

Response returns the raw server response from the last page request.

func (ShareListPage) Values Uses

func (page ShareListPage) Values() []Share

Values returns the slice of values for the current page or nil if there are no values.

type ShareProperties Uses

type ShareProperties struct {
    // CreatedAt - READ-ONLY; Time at which the share was created.
    CreatedAt *date.Time `json:"createdAt,omitempty"`
    // CreatedBy - READ-ONLY; Name of the user who created the share.
    CreatedBy *string `json:"createdBy,omitempty"`
    // Description - Share description.
    Description *string `json:"description,omitempty"`
    // ProvisioningState - READ-ONLY; Gets or sets the provisioning state. Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Moving', 'Failed'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // ShareKind - Share kind. Possible values include: 'CopyBased'
    ShareKind ShareKind `json:"shareKind,omitempty"`
    // Terms - Share terms.
    Terms *string `json:"terms,omitempty"`
}

ShareProperties share property bag.

type ShareSubscription Uses

type ShareSubscription struct {
    autorest.Response `json:"-"`
    // ShareSubscriptionProperties - Properties on the share subscription
    *ShareSubscriptionProperties `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"`
}

ShareSubscription a share subscription data transfer object.

func (ShareSubscription) MarshalJSON Uses

func (ss ShareSubscription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ShareSubscription.

func (*ShareSubscription) UnmarshalJSON Uses

func (ss *ShareSubscription) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ShareSubscription struct.

type ShareSubscriptionList Uses

type ShareSubscriptionList struct {
    autorest.Response `json:"-"`
    // NextLink - The Url of next result page.
    NextLink *string `json:"nextLink,omitempty"`
    // Value - Collection of items of type DataTransferObjects.
    Value *[]ShareSubscription `json:"value,omitempty"`
}

ShareSubscriptionList list response for get ShareSubscription.

func (ShareSubscriptionList) IsEmpty Uses

func (ssl ShareSubscriptionList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ShareSubscriptionListIterator Uses

type ShareSubscriptionListIterator struct {
    // contains filtered or unexported fields
}

ShareSubscriptionListIterator provides access to a complete listing of ShareSubscription values.

func NewShareSubscriptionListIterator Uses

func NewShareSubscriptionListIterator(page ShareSubscriptionListPage) ShareSubscriptionListIterator

Creates a new instance of the ShareSubscriptionListIterator type.

func (*ShareSubscriptionListIterator) Next Uses

func (iter *ShareSubscriptionListIterator) 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 (*ShareSubscriptionListIterator) NextWithContext Uses

func (iter *ShareSubscriptionListIterator) 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 (ShareSubscriptionListIterator) NotDone Uses

func (iter ShareSubscriptionListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ShareSubscriptionListIterator) Response Uses

func (iter ShareSubscriptionListIterator) Response() ShareSubscriptionList

Response returns the raw server response from the last page request.

func (ShareSubscriptionListIterator) Value Uses

func (iter ShareSubscriptionListIterator) Value() ShareSubscription

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ShareSubscriptionListPage Uses

type ShareSubscriptionListPage struct {
    // contains filtered or unexported fields
}

ShareSubscriptionListPage contains a page of ShareSubscription values.

func NewShareSubscriptionListPage Uses

func NewShareSubscriptionListPage(getNextPage func(context.Context, ShareSubscriptionList) (ShareSubscriptionList, error)) ShareSubscriptionListPage

Creates a new instance of the ShareSubscriptionListPage type.

func (*ShareSubscriptionListPage) Next Uses

func (page *ShareSubscriptionListPage) 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 (*ShareSubscriptionListPage) NextWithContext Uses

func (page *ShareSubscriptionListPage) 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 (ShareSubscriptionListPage) NotDone Uses

func (page ShareSubscriptionListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ShareSubscriptionListPage) Response Uses

func (page ShareSubscriptionListPage) Response() ShareSubscriptionList

Response returns the raw server response from the last page request.

func (ShareSubscriptionListPage) Values Uses

func (page ShareSubscriptionListPage) Values() []ShareSubscription

Values returns the slice of values for the current page or nil if there are no values.

type ShareSubscriptionProperties Uses

type ShareSubscriptionProperties struct {
    // CreatedAt - READ-ONLY; Time at which the share subscription was created.
    CreatedAt *date.Time `json:"createdAt,omitempty"`
    // CreatedBy - READ-ONLY; The user who created the share subscription.
    CreatedBy *string `json:"createdBy,omitempty"`
    // InvitationID - The invitation id.
    InvitationID *string `json:"invitationId,omitempty"`
    // ProvisioningState - READ-ONLY; Provisioning state of the share subscription. Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Moving', 'Failed'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // ShareDescription - READ-ONLY; Description of share
    ShareDescription *string `json:"shareDescription,omitempty"`
    // ShareKind - READ-ONLY; Kind of share. Possible values include: 'CopyBased'
    ShareKind ShareKind `json:"shareKind,omitempty"`
    // ShareName - READ-ONLY; Name of the share
    ShareName *string `json:"shareName,omitempty"`
    // ShareSender - READ-ONLY; Sender of the share
    ShareSender *string `json:"shareSender,omitempty"`
    // ShareSenderCompanyName - READ-ONLY; Company name of the share sender
    ShareSenderCompanyName *string `json:"shareSenderCompanyName,omitempty"`
    // ShareSubscriptionStatus - READ-ONLY; Gets the current status of share subscription. Possible values include: 'Active', 'Revoked', 'SourceDeleted', 'Revoking'
    ShareSubscriptionStatus ShareSubscriptionStatus `json:"shareSubscriptionStatus,omitempty"`
    // ShareTerms - READ-ONLY; Terms of a share
    ShareTerms *string `json:"shareTerms,omitempty"`
}

ShareSubscriptionProperties share subscription property bag.

type ShareSubscriptionStatus Uses

type ShareSubscriptionStatus string

ShareSubscriptionStatus enumerates the values for share subscription status.

const (
    // Active ...
    Active ShareSubscriptionStatus = "Active"
    // Revoked ...
    Revoked ShareSubscriptionStatus = "Revoked"
    // Revoking ...
    Revoking ShareSubscriptionStatus = "Revoking"
    // SourceDeleted ...
    SourceDeleted ShareSubscriptionStatus = "SourceDeleted"
)

func PossibleShareSubscriptionStatusValues Uses

func PossibleShareSubscriptionStatusValues() []ShareSubscriptionStatus

PossibleShareSubscriptionStatusValues returns an array of possible values for the ShareSubscriptionStatus const type.

type ShareSubscriptionSynchronization Uses

type ShareSubscriptionSynchronization struct {
    autorest.Response `json:"-"`
    // DurationMs - READ-ONLY; Synchronization duration
    DurationMs *int32 `json:"durationMs,omitempty"`
    // EndTime - READ-ONLY; End time of synchronization
    EndTime *date.Time `json:"endTime,omitempty"`
    // Message - READ-ONLY; message of Synchronization
    Message *string `json:"message,omitempty"`
    // StartTime - READ-ONLY; start time of synchronization
    StartTime *date.Time `json:"startTime,omitempty"`
    // Status - READ-ONLY; Raw Status
    Status *string `json:"status,omitempty"`
    // SynchronizationID - Synchronization id
    SynchronizationID *string `json:"synchronizationId,omitempty"`
}

ShareSubscriptionSynchronization a ShareSubscriptionSynchronization data transfer object.

type ShareSubscriptionSynchronizationList Uses

type ShareSubscriptionSynchronizationList struct {
    autorest.Response `json:"-"`
    // NextLink - The Url of next result page.
    NextLink *string `json:"nextLink,omitempty"`
    // Value - Collection of items of type DataTransferObjects.
    Value *[]ShareSubscriptionSynchronization `json:"value,omitempty"`
}

ShareSubscriptionSynchronizationList a consumer side list of share subscription synchronizations

func (ShareSubscriptionSynchronizationList) IsEmpty Uses

func (sssl ShareSubscriptionSynchronizationList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ShareSubscriptionSynchronizationListIterator Uses

type ShareSubscriptionSynchronizationListIterator struct {
    // contains filtered or unexported fields
}

ShareSubscriptionSynchronizationListIterator provides access to a complete listing of ShareSubscriptionSynchronization values.

func NewShareSubscriptionSynchronizationListIterator Uses

func NewShareSubscriptionSynchronizationListIterator(page ShareSubscriptionSynchronizationListPage) ShareSubscriptionSynchronizationListIterator

Creates a new instance of the ShareSubscriptionSynchronizationListIterator type.

func (*ShareSubscriptionSynchronizationListIterator) Next Uses

func (iter *ShareSubscriptionSynchronizationListIterator) 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 (*ShareSubscriptionSynchronizationListIterator) NextWithContext Uses

func (iter *ShareSubscriptionSynchronizationListIterator) 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 (ShareSubscriptionSynchronizationListIterator) NotDone Uses

func (iter ShareSubscriptionSynchronizationListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ShareSubscriptionSynchronizationListIterator) Response Uses

func (iter ShareSubscriptionSynchronizationListIterator) Response() ShareSubscriptionSynchronizationList

Response returns the raw server response from the last page request.

func (ShareSubscriptionSynchronizationListIterator) Value Uses

func (iter ShareSubscriptionSynchronizationListIterator) Value() ShareSubscriptionSynchronization

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ShareSubscriptionSynchronizationListPage Uses

type ShareSubscriptionSynchronizationListPage struct {
    // contains filtered or unexported fields
}

ShareSubscriptionSynchronizationListPage contains a page of ShareSubscriptionSynchronization values.

func NewShareSubscriptionSynchronizationListPage Uses

func NewShareSubscriptionSynchronizationListPage(getNextPage func(context.Context, ShareSubscriptionSynchronizationList) (ShareSubscriptionSynchronizationList, error)) ShareSubscriptionSynchronizationListPage

Creates a new instance of the ShareSubscriptionSynchronizationListPage type.

func (*ShareSubscriptionSynchronizationListPage) Next Uses

func (page *ShareSubscriptionSynchronizationListPage) 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 (*ShareSubscriptionSynchronizationListPage) NextWithContext Uses

func (page *ShareSubscriptionSynchronizationListPage) 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 (ShareSubscriptionSynchronizationListPage) NotDone Uses

func (page ShareSubscriptionSynchronizationListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ShareSubscriptionSynchronizationListPage) Response Uses

func (page ShareSubscriptionSynchronizationListPage) Response() ShareSubscriptionSynchronizationList

Response returns the raw server response from the last page request.

func (ShareSubscriptionSynchronizationListPage) Values Uses

func (page ShareSubscriptionSynchronizationListPage) Values() []ShareSubscriptionSynchronization

Values returns the slice of values for the current page or nil if there are no values.

type ShareSubscriptionsCancelSynchronizationFuture Uses

type ShareSubscriptionsCancelSynchronizationFuture struct {
    azure.Future
}

ShareSubscriptionsCancelSynchronizationFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ShareSubscriptionsCancelSynchronizationFuture) Result Uses

func (future *ShareSubscriptionsCancelSynchronizationFuture) Result(client ShareSubscriptionsClient) (sss ShareSubscriptionSynchronization, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ShareSubscriptionsClient Uses

type ShareSubscriptionsClient struct {
    BaseClient
}

ShareSubscriptionsClient is the creates a Microsoft.DataShare management client.

func NewShareSubscriptionsClient Uses

func NewShareSubscriptionsClient(subscriptionID string) ShareSubscriptionsClient

NewShareSubscriptionsClient creates an instance of the ShareSubscriptionsClient client.

func NewShareSubscriptionsClientWithBaseURI Uses

func NewShareSubscriptionsClientWithBaseURI(baseURI string, subscriptionID string) ShareSubscriptionsClient

NewShareSubscriptionsClientWithBaseURI creates an instance of the ShareSubscriptionsClient client.

func (ShareSubscriptionsClient) CancelSynchronization Uses

func (client ShareSubscriptionsClient) CancelSynchronization(ctx context.Context, resourceGroupName string, accountName string, shareSubscriptionName string, shareSubscriptionSynchronization ShareSubscriptionSynchronization) (result ShareSubscriptionsCancelSynchronizationFuture, err error)

CancelSynchronization request to cancel a synchronization. Parameters: resourceGroupName - the resource group name. accountName - the name of the share account. shareSubscriptionName - the name of the shareSubscription. shareSubscriptionSynchronization - share Subscription Synchronization payload.

func (ShareSubscriptionsClient) CancelSynchronizationPreparer Uses

func (client ShareSubscriptionsClient) CancelSynchronizationPreparer(ctx context.Context, resourceGroupName string, accountName string, shareSubscriptionName string, shareSubscriptionSynchronization ShareSubscriptionSynchronization) (*http.Request, error)

CancelSynchronizationPreparer prepares the CancelSynchronization request.

func (ShareSubscriptionsClient) CancelSynchronizationResponder Uses

func (client ShareSubscriptionsClient) CancelSynchronizationResponder(resp *http.Response) (result ShareSubscriptionSynchronization, err error)

CancelSynchronizationResponder handles the response to the CancelSynchronization request. The method always closes the http.Response Body.

func (ShareSubscriptionsClient) CancelSynchronizationSender Uses

func (client ShareSubscriptionsClient) CancelSynchronizationSender(req *http.Request) (future ShareSubscriptionsCancelSynchronizationFuture, err error)

CancelSynchronizationSender sends the CancelSynchronization request. The method will close the http.Response Body if it receives an error.

func (ShareSubscriptionsClient) Create Uses

func (client ShareSubscriptionsClient) Create(ctx context.Context, resourceGroupName string, accountName string, shareSubscriptionName string, shareSubscription ShareSubscription) (result ShareSubscription, err error)

Create create a shareSubscription in an account Parameters: resourceGroupName - the resource group name. accountName - the name of the share account. shareSubscriptionName - the name of the shareSubscription. shareSubscription - create parameters for shareSubscription

func (ShareSubscriptionsClient) CreatePreparer Uses

func (client ShareSubscriptionsClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, shareSubscriptionName string, shareSubscription ShareSubscription) (*http.Request, error)

CreatePreparer prepares the Create request.

func (ShareSubscriptionsClient) CreateResponder Uses

func (client ShareSubscriptionsClient) CreateResponder(resp *http.Response) (result ShareSubscription, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (ShareSubscriptionsClient) CreateSender Uses

func (client ShareSubscriptionsClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (ShareSubscriptionsClient) Delete Uses

func (client ShareSubscriptionsClient) Delete(ctx context.Context, resourceGroupName string, accountName string, shareSubscriptionName string) (result ShareSubscriptionsDeleteFuture, err error)

Delete delete a shareSubscription in an account Parameters: resourceGroupName - the resource group name. accountName - the name of the share account. shareSubscriptionName - the name of the shareSubscription.

func (ShareSubscriptionsClient) DeletePreparer Uses

func (client ShareSubscriptionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, shareSubscriptionName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ShareSubscriptionsClient) DeleteResponder Uses

func (client ShareSubscriptionsClient) 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 (ShareSubscriptionsClient) DeleteSender Uses

func (client ShareSubscriptionsClient) DeleteSender(req *http.Request) (future