datashare

package
v33.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

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

Creates a Microsoft.DataShare management client.

Index

Constants

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

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

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

func Version

func Version() string

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

Types

type ADLSGen1FileDataSet

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

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

AsADLSGen1FileDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet.

func (ADLSGen1FileDataSet) AsADLSGen1FolderDataSet

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

AsADLSGen1FolderDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet.

func (ADLSGen1FileDataSet) AsADLSGen2FileDataSet

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

AsADLSGen2FileDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet.

func (ADLSGen1FileDataSet) AsADLSGen2FileSystemDataSet

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

AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet.

func (ADLSGen1FileDataSet) AsADLSGen2FolderDataSet

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

AsADLSGen2FolderDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet.

func (ADLSGen1FileDataSet) AsBasicDataSet

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

AsBasicDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet.

func (ADLSGen1FileDataSet) AsBlobContainerDataSet

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

AsBlobContainerDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet.

func (ADLSGen1FileDataSet) AsBlobDataSet

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

AsBlobDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet.

func (ADLSGen1FileDataSet) AsBlobFolderDataSet

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

AsBlobFolderDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet.

func (ADLSGen1FileDataSet) AsDataSet

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

AsDataSet is the BasicDataSet implementation for ADLSGen1FileDataSet.

func (ADLSGen1FileDataSet) MarshalJSON

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

MarshalJSON is the custom marshaler for ADLSGen1FileDataSet.

func (*ADLSGen1FileDataSet) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ADLSGen1FileDataSet struct.

type ADLSGen1FileProperties

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

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

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

AsADLSGen1FileDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet.

func (ADLSGen1FolderDataSet) AsADLSGen1FolderDataSet

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

AsADLSGen1FolderDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet.

func (ADLSGen1FolderDataSet) AsADLSGen2FileDataSet

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

AsADLSGen2FileDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet.

func (ADLSGen1FolderDataSet) AsADLSGen2FileSystemDataSet

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

AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet.

func (ADLSGen1FolderDataSet) AsADLSGen2FolderDataSet

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

AsADLSGen2FolderDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet.

func (ADLSGen1FolderDataSet) AsBasicDataSet

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

AsBasicDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet.

func (ADLSGen1FolderDataSet) AsBlobContainerDataSet

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

AsBlobContainerDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet.

func (ADLSGen1FolderDataSet) AsBlobDataSet

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

AsBlobDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet.

func (ADLSGen1FolderDataSet) AsBlobFolderDataSet

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

AsBlobFolderDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet.

func (ADLSGen1FolderDataSet) AsDataSet

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

AsDataSet is the BasicDataSet implementation for ADLSGen1FolderDataSet.

func (ADLSGen1FolderDataSet) MarshalJSON

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

MarshalJSON is the custom marshaler for ADLSGen1FolderDataSet.

func (*ADLSGen1FolderDataSet) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ADLSGen1FolderDataSet struct.

type ADLSGen1FolderProperties

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

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

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

AsADLSGen1FileDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet.

func (ADLSGen2FileDataSet) AsADLSGen1FolderDataSet

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

AsADLSGen1FolderDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet.

func (ADLSGen2FileDataSet) AsADLSGen2FileDataSet

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

AsADLSGen2FileDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet.

func (ADLSGen2FileDataSet) AsADLSGen2FileSystemDataSet

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

AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet.

func (ADLSGen2FileDataSet) AsADLSGen2FolderDataSet

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

AsADLSGen2FolderDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet.

func (ADLSGen2FileDataSet) AsBasicDataSet

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

AsBasicDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet.

func (ADLSGen2FileDataSet) AsBlobContainerDataSet

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

AsBlobContainerDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet.

func (ADLSGen2FileDataSet) AsBlobDataSet

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

AsBlobDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet.

func (ADLSGen2FileDataSet) AsBlobFolderDataSet

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

AsBlobFolderDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet.

func (ADLSGen2FileDataSet) AsDataSet

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

AsDataSet is the BasicDataSet implementation for ADLSGen2FileDataSet.

func (ADLSGen2FileDataSet) MarshalJSON

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

MarshalJSON is the custom marshaler for ADLSGen2FileDataSet.

func (*ADLSGen2FileDataSet) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ADLSGen2FileDataSet struct.

type ADLSGen2FileDataSetMapping

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

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

AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping.

func (ADLSGen2FileDataSetMapping) AsADLSGen2FileSystemDataSetMapping

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

AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping.

func (ADLSGen2FileDataSetMapping) AsADLSGen2FolderDataSetMapping

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

AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping.

func (ADLSGen2FileDataSetMapping) AsBasicDataSetMapping

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

AsBasicDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping.

func (ADLSGen2FileDataSetMapping) AsBlobContainerDataSetMapping

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

AsBlobContainerDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping.

func (ADLSGen2FileDataSetMapping) AsBlobDataSetMapping

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

AsBlobDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping.

func (ADLSGen2FileDataSetMapping) AsBlobFolderDataSetMapping

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

AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping.

func (ADLSGen2FileDataSetMapping) AsDataSetMapping

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

AsDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileDataSetMapping.

func (ADLSGen2FileDataSetMapping) MarshalJSON

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

MarshalJSON is the custom marshaler for ADLSGen2FileDataSetMapping.

func (*ADLSGen2FileDataSetMapping) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ADLSGen2FileDataSetMapping struct.

type ADLSGen2FileDataSetMappingProperties

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

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

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

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

AsADLSGen1FileDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet.

func (ADLSGen2FileSystemDataSet) AsADLSGen1FolderDataSet

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

AsADLSGen1FolderDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet.

func (ADLSGen2FileSystemDataSet) AsADLSGen2FileDataSet

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

AsADLSGen2FileDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet.

func (ADLSGen2FileSystemDataSet) AsADLSGen2FileSystemDataSet

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

AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet.

func (ADLSGen2FileSystemDataSet) AsADLSGen2FolderDataSet

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

AsADLSGen2FolderDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet.

func (ADLSGen2FileSystemDataSet) AsBasicDataSet

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

AsBasicDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet.

func (ADLSGen2FileSystemDataSet) AsBlobContainerDataSet

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

AsBlobContainerDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet.

func (ADLSGen2FileSystemDataSet) AsBlobDataSet

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

AsBlobDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet.

func (ADLSGen2FileSystemDataSet) AsBlobFolderDataSet

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

AsBlobFolderDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet.

func (ADLSGen2FileSystemDataSet) AsDataSet

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

AsDataSet is the BasicDataSet implementation for ADLSGen2FileSystemDataSet.

func (ADLSGen2FileSystemDataSet) MarshalJSON

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

MarshalJSON is the custom marshaler for ADLSGen2FileSystemDataSet.

func (*ADLSGen2FileSystemDataSet) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ADLSGen2FileSystemDataSet struct.

type ADLSGen2FileSystemDataSetMapping

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

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

AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping.

func (ADLSGen2FileSystemDataSetMapping) AsADLSGen2FileSystemDataSetMapping

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

AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping.

func (ADLSGen2FileSystemDataSetMapping) AsADLSGen2FolderDataSetMapping

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

AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping.

func (ADLSGen2FileSystemDataSetMapping) AsBasicDataSetMapping

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

AsBasicDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping.

func (ADLSGen2FileSystemDataSetMapping) AsBlobContainerDataSetMapping

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

AsBlobContainerDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping.

func (ADLSGen2FileSystemDataSetMapping) AsBlobDataSetMapping

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

AsBlobDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping.

func (ADLSGen2FileSystemDataSetMapping) AsBlobFolderDataSetMapping

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

AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping.

func (ADLSGen2FileSystemDataSetMapping) AsDataSetMapping

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

AsDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FileSystemDataSetMapping.

func (ADLSGen2FileSystemDataSetMapping) MarshalJSON

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

MarshalJSON is the custom marshaler for ADLSGen2FileSystemDataSetMapping.

func (*ADLSGen2FileSystemDataSetMapping) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ADLSGen2FileSystemDataSetMapping struct.

type ADLSGen2FileSystemDataSetMappingProperties

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

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

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

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

AsADLSGen1FileDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet.

func (ADLSGen2FolderDataSet) AsADLSGen1FolderDataSet

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

AsADLSGen1FolderDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet.

func (ADLSGen2FolderDataSet) AsADLSGen2FileDataSet

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

AsADLSGen2FileDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet.

func (ADLSGen2FolderDataSet) AsADLSGen2FileSystemDataSet

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

AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet.

func (ADLSGen2FolderDataSet) AsADLSGen2FolderDataSet

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

AsADLSGen2FolderDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet.

func (ADLSGen2FolderDataSet) AsBasicDataSet

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

AsBasicDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet.

func (ADLSGen2FolderDataSet) AsBlobContainerDataSet

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

AsBlobContainerDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet.

func (ADLSGen2FolderDataSet) AsBlobDataSet

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

AsBlobDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet.

func (ADLSGen2FolderDataSet) AsBlobFolderDataSet

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

AsBlobFolderDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet.

func (ADLSGen2FolderDataSet) AsDataSet

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

AsDataSet is the BasicDataSet implementation for ADLSGen2FolderDataSet.

func (ADLSGen2FolderDataSet) MarshalJSON

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

MarshalJSON is the custom marshaler for ADLSGen2FolderDataSet.

func (*ADLSGen2FolderDataSet) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ADLSGen2FolderDataSet struct.

type ADLSGen2FolderDataSetMapping

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

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

AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping.

func (ADLSGen2FolderDataSetMapping) AsADLSGen2FileSystemDataSetMapping

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

AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping.

func (ADLSGen2FolderDataSetMapping) AsADLSGen2FolderDataSetMapping

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

AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping.

func (ADLSGen2FolderDataSetMapping) AsBasicDataSetMapping

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

AsBasicDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping.

func (ADLSGen2FolderDataSetMapping) AsBlobContainerDataSetMapping

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

AsBlobContainerDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping.

func (ADLSGen2FolderDataSetMapping) AsBlobDataSetMapping

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

AsBlobDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping.

func (ADLSGen2FolderDataSetMapping) AsBlobFolderDataSetMapping

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

AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping.

func (ADLSGen2FolderDataSetMapping) AsDataSetMapping

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

AsDataSetMapping is the BasicDataSetMapping implementation for ADLSGen2FolderDataSetMapping.

func (ADLSGen2FolderDataSetMapping) MarshalJSON

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

MarshalJSON is the custom marshaler for ADLSGen2FolderDataSetMapping.

func (*ADLSGen2FolderDataSetMapping) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ADLSGen2FolderDataSetMapping struct.

type ADLSGen2FolderDataSetMappingProperties

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

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

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

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

MarshalJSON is the custom marshaler for Account.

func (*Account) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for Account struct.

type AccountList

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

func (al AccountList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AccountListIterator

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

AccountListIterator provides access to a complete listing of Account values.

func NewAccountListIterator

func NewAccountListIterator(page AccountListPage) AccountListIterator

Creates a new instance of the AccountListIterator type.

func (*AccountListIterator) Next

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

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

func (iter AccountListIterator) NotDone() bool

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

func (AccountListIterator) Response

func (iter AccountListIterator) Response() AccountList

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

func (AccountListIterator) Value

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

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

AccountListPage contains a page of Account values.

func NewAccountListPage

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

Creates a new instance of the AccountListPage type.

func (*AccountListPage) Next

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

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

func (page AccountListPage) NotDone() bool

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

func (AccountListPage) Response

func (page AccountListPage) Response() AccountList

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

func (AccountListPage) Values

func (page AccountListPage) Values() []Account

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

type AccountProperties

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

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

AccountUpdateParameters update parameters for accounts

func (AccountUpdateParameters) MarshalJSON

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

MarshalJSON is the custom marshaler for AccountUpdateParameters.

type AccountsClient

type AccountsClient struct {
	BaseClient
}

AccountsClient is the creates a Microsoft.DataShare management client.

func NewAccountsClient

func NewAccountsClient(subscriptionID string) AccountsClient

NewAccountsClient creates an instance of the AccountsClient client.

func NewAccountsClientWithBaseURI

func NewAccountsClientWithBaseURI(baseURI string, subscriptionID string) AccountsClient

NewAccountsClientWithBaseURI creates an instance of the AccountsClient client.

func (AccountsClient) Create

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

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

CreatePreparer prepares the Create request.

func (AccountsClient) CreateResponder

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

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

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

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

DeletePreparer prepares the Delete request.

func (AccountsClient) DeleteResponder

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

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

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

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

GetPreparer prepares the Get request.

func (AccountsClient) GetResponder

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

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

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

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

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (AccountsClient) ListByResourceGroupResponder

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

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

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

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

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

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (AccountsClient) ListBySubscriptionResponder

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

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

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

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

UpdatePreparer prepares the Update request.

func (AccountsClient) UpdateResponder

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

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

type AccountsCreateFuture struct {
	azure.Future
}

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

func (*AccountsCreateFuture) Result

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

type AccountsDeleteFuture struct {
	azure.Future
}

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

func (*AccountsDeleteFuture) Result

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

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

BaseClient is the base client for Datashare.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type BasicDataSet

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

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

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

BasicSourceShareSynchronizationSetting a view of synchronization setting added by the provider

type BasicSynchronizationSetting

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

BasicSynchronizationSetting a Synchronization Setting data transfer object.

type BasicTrigger

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

BasicTrigger a Trigger data transfer object.

type BlobContainerDataSet

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

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

AsADLSGen1FileDataSet is the BasicDataSet implementation for BlobContainerDataSet.

func (BlobContainerDataSet) AsADLSGen1FolderDataSet

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

AsADLSGen1FolderDataSet is the BasicDataSet implementation for BlobContainerDataSet.

func (BlobContainerDataSet) AsADLSGen2FileDataSet

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

AsADLSGen2FileDataSet is the BasicDataSet implementation for BlobContainerDataSet.

func (BlobContainerDataSet) AsADLSGen2FileSystemDataSet

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

AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for BlobContainerDataSet.

func (BlobContainerDataSet) AsADLSGen2FolderDataSet

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

AsADLSGen2FolderDataSet is the BasicDataSet implementation for BlobContainerDataSet.

func (BlobContainerDataSet) AsBasicDataSet

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

AsBasicDataSet is the BasicDataSet implementation for BlobContainerDataSet.

func (BlobContainerDataSet) AsBlobContainerDataSet

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

AsBlobContainerDataSet is the BasicDataSet implementation for BlobContainerDataSet.

func (BlobContainerDataSet) AsBlobDataSet

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

AsBlobDataSet is the BasicDataSet implementation for BlobContainerDataSet.

func (BlobContainerDataSet) AsBlobFolderDataSet

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

AsBlobFolderDataSet is the BasicDataSet implementation for BlobContainerDataSet.

func (BlobContainerDataSet) AsDataSet

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

AsDataSet is the BasicDataSet implementation for BlobContainerDataSet.

func (BlobContainerDataSet) MarshalJSON

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

MarshalJSON is the custom marshaler for BlobContainerDataSet.

func (*BlobContainerDataSet) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for BlobContainerDataSet struct.

type BlobContainerDataSetMapping

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

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

AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping.

func (BlobContainerDataSetMapping) AsADLSGen2FileSystemDataSetMapping

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

AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping.

func (BlobContainerDataSetMapping) AsADLSGen2FolderDataSetMapping

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

AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping.

func (BlobContainerDataSetMapping) AsBasicDataSetMapping

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

AsBasicDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping.

func (BlobContainerDataSetMapping) AsBlobContainerDataSetMapping

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

AsBlobContainerDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping.

func (BlobContainerDataSetMapping) AsBlobDataSetMapping

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

AsBlobDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping.

func (BlobContainerDataSetMapping) AsBlobFolderDataSetMapping

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

AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping.

func (BlobContainerDataSetMapping) AsDataSetMapping

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

AsDataSetMapping is the BasicDataSetMapping implementation for BlobContainerDataSetMapping.

func (BlobContainerDataSetMapping) MarshalJSON

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

MarshalJSON is the custom marshaler for BlobContainerDataSetMapping.

func (*BlobContainerDataSetMapping) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for BlobContainerDataSetMapping struct.

type BlobContainerMappingProperties

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

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

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

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

AsADLSGen1FileDataSet is the BasicDataSet implementation for BlobDataSet.

func (BlobDataSet) AsADLSGen1FolderDataSet

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

AsADLSGen1FolderDataSet is the BasicDataSet implementation for BlobDataSet.

func (BlobDataSet) AsADLSGen2FileDataSet

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

AsADLSGen2FileDataSet is the BasicDataSet implementation for BlobDataSet.

func (BlobDataSet) AsADLSGen2FileSystemDataSet

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

AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for BlobDataSet.

func (BlobDataSet) AsADLSGen2FolderDataSet

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

AsADLSGen2FolderDataSet is the BasicDataSet implementation for BlobDataSet.

func (BlobDataSet) AsBasicDataSet

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

AsBasicDataSet is the BasicDataSet implementation for BlobDataSet.

func (BlobDataSet) AsBlobContainerDataSet

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

AsBlobContainerDataSet is the BasicDataSet implementation for BlobDataSet.

func (BlobDataSet) AsBlobDataSet

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

AsBlobDataSet is the BasicDataSet implementation for BlobDataSet.

func (BlobDataSet) AsBlobFolderDataSet

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

AsBlobFolderDataSet is the BasicDataSet implementation for BlobDataSet.

func (BlobDataSet) AsDataSet

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

AsDataSet is the BasicDataSet implementation for BlobDataSet.

func (BlobDataSet) MarshalJSON

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

MarshalJSON is the custom marshaler for BlobDataSet.

func (*BlobDataSet) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for BlobDataSet struct.

type BlobDataSetMapping

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

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

AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping.

func (BlobDataSetMapping) AsADLSGen2FileSystemDataSetMapping

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

AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping.

func (BlobDataSetMapping) AsADLSGen2FolderDataSetMapping

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

AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping.

func (BlobDataSetMapping) AsBasicDataSetMapping

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

AsBasicDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping.

func (BlobDataSetMapping) AsBlobContainerDataSetMapping

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

AsBlobContainerDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping.

func (BlobDataSetMapping) AsBlobDataSetMapping

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

AsBlobDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping.

func (BlobDataSetMapping) AsBlobFolderDataSetMapping

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

AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping.

func (BlobDataSetMapping) AsDataSetMapping

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

AsDataSetMapping is the BasicDataSetMapping implementation for BlobDataSetMapping.

func (BlobDataSetMapping) MarshalJSON

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

MarshalJSON is the custom marshaler for BlobDataSetMapping.

func (*BlobDataSetMapping) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for BlobDataSetMapping struct.

type BlobFolderDataSet

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

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

AsADLSGen1FileDataSet is the BasicDataSet implementation for BlobFolderDataSet.

func (BlobFolderDataSet) AsADLSGen1FolderDataSet

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

AsADLSGen1FolderDataSet is the BasicDataSet implementation for BlobFolderDataSet.

func (BlobFolderDataSet) AsADLSGen2FileDataSet

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

AsADLSGen2FileDataSet is the BasicDataSet implementation for BlobFolderDataSet.

func (BlobFolderDataSet) AsADLSGen2FileSystemDataSet

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

AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for BlobFolderDataSet.

func (BlobFolderDataSet) AsADLSGen2FolderDataSet

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

AsADLSGen2FolderDataSet is the BasicDataSet implementation for BlobFolderDataSet.

func (BlobFolderDataSet) AsBasicDataSet

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

AsBasicDataSet is the BasicDataSet implementation for BlobFolderDataSet.

func (BlobFolderDataSet) AsBlobContainerDataSet

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

AsBlobContainerDataSet is the BasicDataSet implementation for BlobFolderDataSet.

func (BlobFolderDataSet) AsBlobDataSet

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

AsBlobDataSet is the BasicDataSet implementation for BlobFolderDataSet.

func (BlobFolderDataSet) AsBlobFolderDataSet

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

AsBlobFolderDataSet is the BasicDataSet implementation for BlobFolderDataSet.

func (BlobFolderDataSet) AsDataSet

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

AsDataSet is the BasicDataSet implementation for BlobFolderDataSet.

func (BlobFolderDataSet) MarshalJSON

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

MarshalJSON is the custom marshaler for BlobFolderDataSet.

func (*BlobFolderDataSet) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for BlobFolderDataSet struct.

type BlobFolderDataSetMapping

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

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

AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping.

func (BlobFolderDataSetMapping) AsADLSGen2FileSystemDataSetMapping

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

AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping.

func (BlobFolderDataSetMapping) AsADLSGen2FolderDataSetMapping

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

AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping.

func (BlobFolderDataSetMapping) AsBasicDataSetMapping

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

AsBasicDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping.

func (BlobFolderDataSetMapping) AsBlobContainerDataSetMapping

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

AsBlobContainerDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping.

func (BlobFolderDataSetMapping) AsBlobDataSetMapping

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

AsBlobDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping.

func (BlobFolderDataSetMapping) AsBlobFolderDataSetMapping

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

AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping.

func (BlobFolderDataSetMapping) AsDataSetMapping

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

AsDataSetMapping is the BasicDataSetMapping implementation for BlobFolderDataSetMapping.

func (BlobFolderDataSetMapping) MarshalJSON

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

MarshalJSON is the custom marshaler for BlobFolderDataSetMapping.

func (*BlobFolderDataSetMapping) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for BlobFolderDataSetMapping struct.

type BlobFolderMappingProperties

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

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

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

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

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

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

MarshalJSON is the custom marshaler for ConsumerInvitation.

func (*ConsumerInvitation) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ConsumerInvitation struct.

type ConsumerInvitationList

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

func (cil ConsumerInvitationList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ConsumerInvitationListIterator

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

ConsumerInvitationListIterator provides access to a complete listing of ConsumerInvitation values.

func NewConsumerInvitationListIterator

func NewConsumerInvitationListIterator(page ConsumerInvitationListPage) ConsumerInvitationListIterator

Creates a new instance of the ConsumerInvitationListIterator type.

func (*ConsumerInvitationListIterator) Next

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

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

func (iter ConsumerInvitationListIterator) NotDone() bool

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

func (ConsumerInvitationListIterator) Response

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

func (ConsumerInvitationListIterator) Value

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

type ConsumerInvitationListPage

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

ConsumerInvitationListPage contains a page of ConsumerInvitation values.

func NewConsumerInvitationListPage

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

Creates a new instance of the ConsumerInvitationListPage type.

func (*ConsumerInvitationListPage) Next

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

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

func (page ConsumerInvitationListPage) NotDone() bool

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

func (ConsumerInvitationListPage) Response

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

func (ConsumerInvitationListPage) Values

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

type ConsumerInvitationProperties

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

type ConsumerInvitationsClient struct {
	BaseClient
}

ConsumerInvitationsClient is the creates a Microsoft.DataShare management client.

func NewConsumerInvitationsClient

func NewConsumerInvitationsClient(subscriptionID string) ConsumerInvitationsClient

NewConsumerInvitationsClient creates an instance of the ConsumerInvitationsClient client.

func NewConsumerInvitationsClientWithBaseURI

func NewConsumerInvitationsClientWithBaseURI(baseURI string, subscriptionID string) ConsumerInvitationsClient

NewConsumerInvitationsClientWithBaseURI creates an instance of the ConsumerInvitationsClient client.

func (ConsumerInvitationsClient) Get

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

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

GetPreparer prepares the Get request.

func (ConsumerInvitationsClient) GetResponder

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

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

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

ListInvitations lists invitations Parameters: skipToken - the continuation token

func (ConsumerInvitationsClient) ListInvitationsComplete

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

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

ListInvitationsPreparer prepares the ListInvitations request.

func (ConsumerInvitationsClient) ListInvitationsResponder

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

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

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

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

RejectInvitationPreparer prepares the RejectInvitation request.

func (ConsumerInvitationsClient) RejectInvitationResponder

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

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

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

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

MarshalJSON is the custom marshaler for ConsumerSourceDataSet.

func (*ConsumerSourceDataSet) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ConsumerSourceDataSet struct.

type ConsumerSourceDataSetList

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

func (csdsl ConsumerSourceDataSetList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ConsumerSourceDataSetListIterator

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

ConsumerSourceDataSetListIterator provides access to a complete listing of ConsumerSourceDataSet values.

func NewConsumerSourceDataSetListIterator

func NewConsumerSourceDataSetListIterator(page ConsumerSourceDataSetListPage) ConsumerSourceDataSetListIterator

Creates a new instance of the ConsumerSourceDataSetListIterator type.

func (*ConsumerSourceDataSetListIterator) Next

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

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

func (iter ConsumerSourceDataSetListIterator) NotDone() bool

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

func (ConsumerSourceDataSetListIterator) Response

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

func (ConsumerSourceDataSetListIterator) Value

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

type ConsumerSourceDataSetListPage

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

ConsumerSourceDataSetListPage contains a page of ConsumerSourceDataSet values.

func NewConsumerSourceDataSetListPage

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

Creates a new instance of the ConsumerSourceDataSetListPage type.

func (*ConsumerSourceDataSetListPage) Next

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

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

func (page ConsumerSourceDataSetListPage) NotDone() bool

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

func (ConsumerSourceDataSetListPage) Response

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

func (ConsumerSourceDataSetListPage) Values

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

type ConsumerSourceDataSetProperties

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

type ConsumerSourceDataSetsClient struct {
	BaseClient
}

ConsumerSourceDataSetsClient is the creates a Microsoft.DataShare management client.

func NewConsumerSourceDataSetsClient

func NewConsumerSourceDataSetsClient(subscriptionID string) ConsumerSourceDataSetsClient

NewConsumerSourceDataSetsClient creates an instance of the ConsumerSourceDataSetsClient client.

func NewConsumerSourceDataSetsClientWithBaseURI

func NewConsumerSourceDataSetsClientWithBaseURI(baseURI string, subscriptionID string) ConsumerSourceDataSetsClient

NewConsumerSourceDataSetsClientWithBaseURI creates an instance of the ConsumerSourceDataSetsClient client.

func (ConsumerSourceDataSetsClient) ListByShareSubscription

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

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

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

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

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

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

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

AsADLSGen1FileDataSet is the BasicDataSet implementation for DataSet.

func (DataSet) AsADLSGen1FolderDataSet

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

AsADLSGen1FolderDataSet is the BasicDataSet implementation for DataSet.

func (DataSet) AsADLSGen2FileDataSet

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

AsADLSGen2FileDataSet is the BasicDataSet implementation for DataSet.

func (DataSet) AsADLSGen2FileSystemDataSet

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

AsADLSGen2FileSystemDataSet is the BasicDataSet implementation for DataSet.

func (DataSet) AsADLSGen2FolderDataSet

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

AsADLSGen2FolderDataSet is the BasicDataSet implementation for DataSet.

func (DataSet) AsBasicDataSet

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

AsBasicDataSet is the BasicDataSet implementation for DataSet.

func (DataSet) AsBlobContainerDataSet

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

AsBlobContainerDataSet is the BasicDataSet implementation for DataSet.

func (DataSet) AsBlobDataSet

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

AsBlobDataSet is the BasicDataSet implementation for DataSet.

func (DataSet) AsBlobFolderDataSet

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

AsBlobFolderDataSet is the BasicDataSet implementation for DataSet.

func (DataSet) AsDataSet

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

AsDataSet is the BasicDataSet implementation for DataSet.

func (DataSet) MarshalJSON

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

MarshalJSON is the custom marshaler for DataSet.

type DataSetList

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

func (dsl DataSetList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (*DataSetList) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for DataSetList struct.

type DataSetListIterator

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

DataSetListIterator provides access to a complete listing of DataSet values.

func NewDataSetListIterator

func NewDataSetListIterator(page DataSetListPage) DataSetListIterator

Creates a new instance of the DataSetListIterator type.

func (*DataSetListIterator) Next

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

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

func (iter DataSetListIterator) NotDone() bool

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

func (DataSetListIterator) Response

func (iter DataSetListIterator) Response() DataSetList

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

func (DataSetListIterator) Value

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

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

DataSetListPage contains a page of BasicDataSet values.

func NewDataSetListPage

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

Creates a new instance of the DataSetListPage type.

func (*DataSetListPage) Next

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

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

func (page DataSetListPage) NotDone() bool

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

func (DataSetListPage) Response

func (page DataSetListPage) Response() DataSetList

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

func (DataSetListPage) Values

func (page DataSetListPage) Values() []BasicDataSet

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

type DataSetMapping

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

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

AsADLSGen2FileDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping.

func (DataSetMapping) AsADLSGen2FileSystemDataSetMapping

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

AsADLSGen2FileSystemDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping.

func (DataSetMapping) AsADLSGen2FolderDataSetMapping

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

AsADLSGen2FolderDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping.

func (DataSetMapping) AsBasicDataSetMapping

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

AsBasicDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping.

func (DataSetMapping) AsBlobContainerDataSetMapping

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

AsBlobContainerDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping.

func (DataSetMapping) AsBlobDataSetMapping

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

AsBlobDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping.

func (DataSetMapping) AsBlobFolderDataSetMapping

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

AsBlobFolderDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping.

func (DataSetMapping) AsDataSetMapping

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

AsDataSetMapping is the BasicDataSetMapping implementation for DataSetMapping.

func (DataSetMapping) MarshalJSON

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

MarshalJSON is the custom marshaler for DataSetMapping.

type DataSetMappingList

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

func (dsml DataSetMappingList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (*DataSetMappingList) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for DataSetMappingList struct.

type DataSetMappingListIterator

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

DataSetMappingListIterator provides access to a complete listing of DataSetMapping values.

func NewDataSetMappingListIterator

func NewDataSetMappingListIterator(page DataSetMappingListPage) DataSetMappingListIterator

Creates a new instance of the DataSetMappingListIterator type.

func (*DataSetMappingListIterator) Next

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

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

func (iter DataSetMappingListIterator) NotDone() bool

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

func (DataSetMappingListIterator) Response

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

func (DataSetMappingListIterator) Value

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

type DataSetMappingListPage

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

DataSetMappingListPage contains a page of BasicDataSetMapping values.

func NewDataSetMappingListPage

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

Creates a new instance of the DataSetMappingListPage type.

func (*DataSetMappingListPage) Next

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

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

func (page DataSetMappingListPage) NotDone() bool

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

func (DataSetMappingListPage) Response

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

func (DataSetMappingListPage) Values

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

type DataSetMappingModel

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

DataSetMappingModel ...

func (*DataSetMappingModel) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for DataSetMappingModel struct.

type DataSetMappingStatus

type DataSetMappingStatus string

DataSetMappingStatus enumerates the values for data set mapping status.

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

func PossibleDataSetMappingStatusValues

func PossibleDataSetMappingStatusValues() []DataSetMappingStatus

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

type DataSetMappingsClient

type DataSetMappingsClient struct {
	BaseClient
}

DataSetMappingsClient is the creates a Microsoft.DataShare management client.

func NewDataSetMappingsClient

func NewDataSetMappingsClient(subscriptionID string) DataSetMappingsClient

NewDataSetMappingsClient creates an instance of the DataSetMappingsClient client.

func NewDataSetMappingsClientWithBaseURI

func NewDataSetMappingsClientWithBaseURI(baseURI string, subscriptionID string) DataSetMappingsClient

NewDataSetMappingsClientWithBaseURI creates an instance of the DataSetMappingsClient client.

func (DataSetMappingsClient) Create

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

DataSetModel ...

func (*DataSetModel) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for DataSetModel struct.

type DataSetType

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

func PossibleDataSetTypeValues() []DataSetType

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

type DataSetsClient

type DataSetsClient struct {
	BaseClient
}

DataSetsClient is the creates a Microsoft.DataShare management client.

func NewDataSetsClient

func NewDataSetsClient(subscriptionID string) DataSetsClient

NewDataSetsClient creates an instance of the DataSetsClient client.

func NewDataSetsClientWithBaseURI

func NewDataSetsClientWithBaseURI(baseURI string, subscriptionID string) DataSetsClient

NewDataSetsClientWithBaseURI creates an instance of the DataSetsClient client.

func (DataSetsClient) Create

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

MarshalJSON is the custom marshaler for DefaultDto.

type DimensionProperties

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

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

Error the data share error model.

type ErrorInfo

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

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

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

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

MarshalJSON is the custom marshaler for Invitation.

func (*Invitation) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for Invitation struct.

type InvitationList

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

func (il InvitationList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type InvitationListIterator

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

InvitationListIterator provides access to a complete listing of Invitation values.

func NewInvitationListIterator

func NewInvitationListIterator(page InvitationListPage) InvitationListIterator

Creates a new instance of the InvitationListIterator type.

func (*InvitationListIterator) Next

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

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

func (iter InvitationListIterator) NotDone() bool

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

func (InvitationListIterator) Response

func (iter InvitationListIterator) Response() InvitationList

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

func (InvitationListIterator) Value

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

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

InvitationListPage contains a page of Invitation values.

func NewInvitationListPage

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

Creates a new instance of the InvitationListPage type.

func (*InvitationListPage) Next

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

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

func (page InvitationListPage) NotDone() bool

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

func (InvitationListPage) Response

func (page InvitationListPage) Response() InvitationList

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

func (InvitationListPage) Values

func (page InvitationListPage) Values() []Invitation

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

type InvitationProperties

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

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

func PossibleInvitationStatusValues() []InvitationStatus

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

type InvitationsClient

type InvitationsClient struct {
	BaseClient
}

InvitationsClient is the creates a Microsoft.DataShare management client.

func NewInvitationsClient

func NewInvitationsClient(subscriptionID string) InvitationsClient

NewInvitationsClient creates an instance of the InvitationsClient client.

func NewInvitationsClientWithBaseURI

func NewInvitationsClientWithBaseURI(baseURI string, subscriptionID string) InvitationsClient

NewInvitationsClientWithBaseURI creates an instance of the InvitationsClient client.

func (InvitationsClient) Create

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

func PossibleKindValues() []Kind

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

type KindBasicDataSetMapping

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

func PossibleKindBasicDataSetMappingValues() []KindBasicDataSetMapping

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

type KindBasicSourceShareSynchronizationSetting

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

func PossibleKindBasicSourceShareSynchronizationSettingValues() []KindBasicSourceShareSynchronizationSetting

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

type KindBasicSynchronizationSetting

type KindBasicSynchronizationSetting string

KindBasicSynchronizationSetting enumerates the values for kind basic synchronization setting.

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

func PossibleKindBasicSynchronizationSettingValues

func PossibleKindBasicSynchronizationSettingValues() []KindBasicSynchronizationSetting

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

type KindBasicTrigger

type KindBasicTrigger string

KindBasicTrigger enumerates the values for kind basic trigger.

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

func PossibleKindBasicTriggerValues

func PossibleKindBasicTriggerValues() []KindBasicTrigger

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

type OperationList

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

func (ol OperationList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListIterator

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

OperationListIterator provides access to a complete listing of OperationModel values.

func NewOperationListIterator

func NewOperationListIterator(page OperationListPage) OperationListIterator

Creates a new instance of the OperationListIterator type.

func (*OperationListIterator) Next

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

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

func (iter OperationListIterator) NotDone() bool

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

func (OperationListIterator) Response

func (iter OperationListIterator) Response() OperationList

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

func (OperationListIterator) Value

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

type OperationListPage

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

OperationListPage contains a page of OperationModel values.

func NewOperationListPage

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

Creates a new instance of the OperationListPage type.

func (*OperationListPage) Next

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

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

func (page OperationListPage) NotDone() bool

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

func (OperationListPage) Response

func (page OperationListPage) Response() OperationList

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

func (OperationListPage) Values

func (page OperationListPage) Values() []OperationModel

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

type OperationMetaLogSpecification

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

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

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

OperationMetaPropertyInfo properties on meta info

type OperationMetaServiceSpecification

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

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

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

MarshalJSON is the custom marshaler for OperationModel.

func (*OperationModel) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for OperationModel struct.

type OperationModelProperties

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

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

type OperationsClient struct {
	BaseClient
}

OperationsClient is the creates a Microsoft.DataShare management client.

func NewOperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List

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

List list of available operations

func (OperationsClient) ListComplete

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

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

func (OperationsClient) ListPreparer

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

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

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

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

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

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

MarshalJSON is the custom marshaler for ProviderShareSubscription.

func (*ProviderShareSubscription) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ProviderShareSubscription struct.

type ProviderShareSubscriptionList

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

func (pssl ProviderShareSubscriptionList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ProviderShareSubscriptionListIterator

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

ProviderShareSubscriptionListIterator provides access to a complete listing of ProviderShareSubscription values.

func NewProviderShareSubscriptionListIterator

func NewProviderShareSubscriptionListIterator(page ProviderShareSubscriptionListPage) ProviderShareSubscriptionListIterator

Creates a new instance of the ProviderShareSubscriptionListIterator type.

func (*ProviderShareSubscriptionListIterator) Next

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

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

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

func (ProviderShareSubscriptionListIterator) Response

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

func (ProviderShareSubscriptionListIterator) Value

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

type ProviderShareSubscriptionListPage

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

ProviderShareSubscriptionListPage contains a page of ProviderShareSubscription values.

func NewProviderShareSubscriptionListPage

Creates a new instance of the ProviderShareSubscriptionListPage type.

func (*ProviderShareSubscriptionListPage) Next

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

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

func (page ProviderShareSubscriptionListPage) NotDone() bool

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

func (ProviderShareSubscriptionListPage) Response

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

func (ProviderShareSubscriptionListPage) Values

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

type ProviderShareSubscriptionProperties

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

type ProviderShareSubscriptionsClient struct {
	BaseClient
}

ProviderShareSubscriptionsClient is the creates a Microsoft.DataShare management client.

func NewProviderShareSubscriptionsClient

func NewProviderShareSubscriptionsClient(subscriptionID string) ProviderShareSubscriptionsClient

NewProviderShareSubscriptionsClient creates an instance of the ProviderShareSubscriptionsClient client.

func NewProviderShareSubscriptionsClientWithBaseURI

func NewProviderShareSubscriptionsClientWithBaseURI(baseURI string, subscriptionID string) ProviderShareSubscriptionsClient

NewProviderShareSubscriptionsClientWithBaseURI creates an instance of the ProviderShareSubscriptionsClient client.

func (ProviderShareSubscriptionsClient) GetByShare

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

type ProviderShareSubscriptionsRevokeFuture

type ProviderShareSubscriptionsRevokeFuture struct {
	azure.Future
}

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

func (*ProviderShareSubscriptionsRevokeFuture) Result

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

type ProvisioningState

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

func PossibleProvisioningStateValues() []ProvisioningState

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

type ProxyDto

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

type RecurrenceInterval string

RecurrenceInterval enumerates the values for recurrence interval.

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

func PossibleRecurrenceIntervalValues

func PossibleRecurrenceIntervalValues() []RecurrenceInterval

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

type ScheduledSourceShareSynchronizationSettingProperties

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

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

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

AsBasicSourceShareSynchronizationSetting is the BasicSourceShareSynchronizationSetting implementation for ScheduledSourceSynchronizationSetting.

func (ScheduledSourceSynchronizationSetting) AsScheduledSourceSynchronizationSetting

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

AsScheduledSourceSynchronizationSetting is the BasicSourceShareSynchronizationSetting implementation for ScheduledSourceSynchronizationSetting.

func (ScheduledSourceSynchronizationSetting) AsSourceShareSynchronizationSetting

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

AsSourceShareSynchronizationSetting is the BasicSourceShareSynchronizationSetting implementation for ScheduledSourceSynchronizationSetting.

func (ScheduledSourceSynchronizationSetting) MarshalJSON

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

MarshalJSON is the custom marshaler for ScheduledSourceSynchronizationSetting.

func (*ScheduledSourceSynchronizationSetting) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ScheduledSourceSynchronizationSetting struct.

type ScheduledSynchronizationSetting

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

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

AsBasicSynchronizationSetting is the BasicSynchronizationSetting implementation for ScheduledSynchronizationSetting.

func (ScheduledSynchronizationSetting) AsScheduledSynchronizationSetting

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

AsScheduledSynchronizationSetting is the BasicSynchronizationSetting implementation for ScheduledSynchronizationSetting.

func (ScheduledSynchronizationSetting) AsSynchronizationSetting

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

AsSynchronizationSetting is the BasicSynchronizationSetting implementation for ScheduledSynchronizationSetting.

func (ScheduledSynchronizationSetting) MarshalJSON

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

MarshalJSON is the custom marshaler for ScheduledSynchronizationSetting.

func (*ScheduledSynchronizationSetting) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ScheduledSynchronizationSetting struct.

type ScheduledSynchronizationSettingProperties

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

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

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

AsBasicTrigger is the BasicTrigger implementation for ScheduledTrigger.

func (ScheduledTrigger) AsScheduledTrigger

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

AsScheduledTrigger is the BasicTrigger implementation for ScheduledTrigger.

func (ScheduledTrigger) AsTrigger

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

AsTrigger is the BasicTrigger implementation for ScheduledTrigger.

func (ScheduledTrigger) MarshalJSON

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

MarshalJSON is the custom marshaler for ScheduledTrigger.

func (*ScheduledTrigger) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ScheduledTrigger struct.

type ScheduledTriggerProperties

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

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

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

MarshalJSON is the custom marshaler for Share.

func (*Share) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for Share struct.

type ShareKind

type ShareKind string

ShareKind enumerates the values for share kind.

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

func PossibleShareKindValues

func PossibleShareKindValues() []ShareKind

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

type ShareList

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

func (sl ShareList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ShareListIterator

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

ShareListIterator provides access to a complete listing of Share values.

func NewShareListIterator

func NewShareListIterator(page ShareListPage) ShareListIterator

Creates a new instance of the ShareListIterator type.

func (*ShareListIterator) Next

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

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

func (iter ShareListIterator) NotDone() bool

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

func (ShareListIterator) Response

func (iter ShareListIterator) Response() ShareList

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

func (ShareListIterator) Value

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

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

ShareListPage contains a page of Share values.

func NewShareListPage

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

Creates a new instance of the ShareListPage type.

func (*ShareListPage) Next

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

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

func (page ShareListPage) NotDone() bool

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

func (ShareListPage) Response

func (page ShareListPage) Response() ShareList

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

func (ShareListPage) Values

func (page ShareListPage) Values() []Share

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

type ShareProperties

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

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

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

MarshalJSON is the custom marshaler for ShareSubscription.

func (*ShareSubscription) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ShareSubscription struct.

type ShareSubscriptionList

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

func (ssl ShareSubscriptionList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ShareSubscriptionListIterator

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

ShareSubscriptionListIterator provides access to a complete listing of ShareSubscription values.

func NewShareSubscriptionListIterator

func NewShareSubscriptionListIterator(page ShareSubscriptionListPage) ShareSubscriptionListIterator

Creates a new instance of the ShareSubscriptionListIterator type.

func (*ShareSubscriptionListIterator) Next

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

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

func (iter ShareSubscriptionListIterator) NotDone() bool

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

func (ShareSubscriptionListIterator) Response

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

func (ShareSubscriptionListIterator) Value

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

type ShareSubscriptionListPage

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

ShareSubscriptionListPage contains a page of ShareSubscription values.

func NewShareSubscriptionListPage

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

Creates a new instance of the ShareSubscriptionListPage type.

func (*ShareSubscriptionListPage) Next

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

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

func (page ShareSubscriptionListPage) NotDone() bool

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

func (ShareSubscriptionListPage) Response

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

func (ShareSubscriptionListPage) Values

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

type ShareSubscriptionProperties

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

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

func PossibleShareSubscriptionStatusValues() []ShareSubscriptionStatus

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

type ShareSubscriptionSynchronization

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

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

IsEmpty returns true if the ListResult contains no values.

type ShareSubscriptionSynchronizationListIterator

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

ShareSubscriptionSynchronizationListIterator provides access to a complete listing of ShareSubscriptionSynchronization values.

func NewShareSubscriptionSynchronizationListIterator

func NewShareSubscriptionSynchronizationListIterator(page ShareSubscriptionSynchronizationListPage) ShareSubscriptionSynchronizationListIterator

Creates a new instance of the ShareSubscriptionSynchronizationListIterator type.

func (*ShareSubscriptionSynchronizationListIterator) Next

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

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

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

func (ShareSubscriptionSynchronizationListIterator) Response

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

func (ShareSubscriptionSynchronizationListIterator) Value

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

type ShareSubscriptionSynchronizationListPage

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

ShareSubscriptionSynchronizationListPage contains a page of ShareSubscriptionSynchronization values.

func NewShareSubscriptionSynchronizationListPage

Creates a new instance of the ShareSubscriptionSynchronizationListPage type.

func (*ShareSubscriptionSynchronizationListPage) Next

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

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

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

func (ShareSubscriptionSynchronizationListPage) Response

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

func (ShareSubscriptionSynchronizationListPage) Values

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

type ShareSubscriptionsCancelSynchronizationFuture

type ShareSubscriptionsCancelSynchronizationFuture struct {
	azure.Future
}

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

func (*ShareSubscriptionsCancelSynchronizationFuture) Result

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

type ShareSubscriptionsClient

type ShareSubscriptionsClient struct {
	BaseClient
}

ShareSubscriptionsClient is the creates a Microsoft.DataShare management client.

func NewShareSubscriptionsClient

func NewShareSubscriptionsClient(subscriptionID string) ShareSubscriptionsClient

NewShareSubscriptionsClient creates an instance of the ShareSubscriptionsClient client.

func NewShareSubscriptionsClientWithBaseURI

func NewShareSubscriptionsClientWithBaseURI(baseURI string, subscriptionID string) ShareSubscriptionsClient

NewShareSubscriptionsClientWithBaseURI creates an instance of the ShareSubscriptionsClient client.

func (ShareSubscriptionsClient) CancelSynchronization

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

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

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

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

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

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

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

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

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

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

DeletePreparer prepares the Delete request.

func (ShareSubscriptionsClient) DeleteResponder

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

func (client ShareSubscriptionsClient) DeleteSender(req *http.Request) (future ShareSubscriptionsDeleteFuture, err error)

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

func (ShareSubscriptionsClient) Get

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

Get get 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) GetPreparer

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

GetPreparer prepares the Get request.

func (ShareSubscriptionsClient) GetResponder

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

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

func (ShareSubscriptionsClient) GetSender

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

func (client ShareSubscriptionsClient) ListByAccount(ctx context.Context, resourceGroupName string, accountName string, skipToken string) (result ShareSubscriptionListPage, err error)

ListByAccount list share subscriptions in an account Parameters: resourceGroupName - the resource group name. accountName - the name of the share account. skipToken - continuation Token

func (ShareSubscriptionsClient) ListByAccountComplete

func (client ShareSubscriptionsClient) ListByAccountComplete(ctx context.Context, resourceGroupName string, accountName string, skipToken string) (result ShareSubscriptionListIterator, err error)

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

func (ShareSubscriptionsClient) ListByAccountPreparer

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

ListByAccountPreparer prepares the ListByAccount request.

func (ShareSubscriptionsClient) ListByAccountResponder

func (client ShareSubscriptionsClient) ListByAccountResponder(resp *http.Response) (result ShareSubscriptionList, err error)

ListByAccountResponder handles the response to the ListByAccount request. The method always closes the http.Response Body.

func (ShareSubscriptionsClient) ListByAccountSender

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

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

func (ShareSubscriptionsClient) ListSourceShareSynchronizationSettings

func (client ShareSubscriptionsClient) ListSourceShareSynchronizationSettings(ctx context.Context, resourceGroupName string, accountName string, shareSubscriptionName string, skipToken string) (result SourceShareSynchronizationSettingListPage, err error)

ListSourceShareSynchronizationSettings get synchronization settings set on a share Parameters: resourceGroupName - the resource group name. accountName - the name of the share account. shareSubscriptionName - the name of the shareSubscription. skipToken - continuation token

func (ShareSubscriptionsClient) ListSourceShareSynchronizationSettingsComplete

func (client ShareSubscriptionsClient) ListSourceShareSynchronizationSettingsComplete(ctx context.Context, resourceGroupName string, accountName string, shareSubscriptionName string, skipToken string) (result SourceShareSynchronizationSettingListIterator, err error)

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

func (ShareSubscriptionsClient) ListSourceShareSynchronizationSettingsPreparer

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

ListSourceShareSynchronizationSettingsPreparer prepares the ListSourceShareSynchronizationSettings request.

func (ShareSubscriptionsClient) ListSourceShareSynchronizationSettingsResponder

func (client ShareSubscriptionsClient) ListSourceShareSynchronizationSettingsResponder(resp *http.Response) (result SourceShareSynchronizationSettingList, err error)

ListSourceShareSynchronizationSettingsResponder handles the response to the ListSourceShareSynchronizationSettings request. The method always closes the http.Response Body.

func (ShareSubscriptionsClient) ListSourceShareSynchronizationSettingsSender

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

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

func (ShareSubscriptionsClient) ListSynchronizationDetails

func (client ShareSubscriptionsClient) ListSynchronizationDetails(ctx context.Context, resourceGroupName string, accountName string, shareSubscriptionName string, shareSubscriptionSynchronization ShareSubscriptionSynchronization, skipToken string) (result SynchronizationDetailsListPage, err error)

ListSynchronizationDetails list synchronization details Parameters: resourceGroupName - the resource group name. accountName - the name of the share account. shareSubscriptionName - the name of the share subscription. shareSubscriptionSynchronization - share Subscription Synchronization payload. skipToken - continuation token

func (ShareSubscriptionsClient) ListSynchronizationDetailsComplete

func (client ShareSubscriptionsClient) ListSynchronizationDetailsComplete(ctx context.Context, resourceGroupName string, accountName string, shareSubscriptionName string, shareSubscriptionSynchronization ShareSubscriptionSynchronization, skipToken string) (result SynchronizationDetailsListIterator, err error)

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

func (ShareSubscriptionsClient) ListSynchronizationDetailsPreparer

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

ListSynchronizationDetailsPreparer prepares the ListSynchronizationDetails request.

func (ShareSubscriptionsClient) ListSynchronizationDetailsResponder

func (client ShareSubscriptionsClient) ListSynchronizationDetailsResponder(resp *http.Response) (result SynchronizationDetailsList, err error)

ListSynchronizationDetailsResponder handles the response to the ListSynchronizationDetails request. The method always closes the http.Response Body.

func (ShareSubscriptionsClient) ListSynchronizationDetailsSender

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

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

func (ShareSubscriptionsClient) ListSynchronizations

func (client ShareSubscriptionsClient) ListSynchronizations(ctx context.Context, resourceGroupName string, accountName string, shareSubscriptionName string, skipToken string) (result ShareSubscriptionSynchronizationListPage, err error)

ListSynchronizations list synchronizations of 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 (ShareSubscriptionsClient) ListSynchronizationsComplete

func (client ShareSubscriptionsClient) ListSynchronizationsComplete(ctx context.Context, resourceGroupName string, accountName string, shareSubscriptionName string, skipToken string) (result ShareSubscriptionSynchronizationListIterator, err error)

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

func (ShareSubscriptionsClient) ListSynchronizationsPreparer

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

ListSynchronizationsPreparer prepares the ListSynchronizations request.

func (ShareSubscriptionsClient) ListSynchronizationsResponder

func (client ShareSubscriptionsClient) ListSynchronizationsResponder(resp *http.Response) (result ShareSubscriptionSynchronizationList, err error)

ListSynchronizationsResponder handles the response to the ListSynchronizations request. The method always closes the http.Response Body.

func (ShareSubscriptionsClient) ListSynchronizationsSender

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

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

func (ShareSubscriptionsClient) SynchronizeMethod

func (client ShareSubscriptionsClient) SynchronizeMethod(ctx context.Context, resourceGroupName string, accountName string, shareSubscriptionName string, synchronize Synchronize) (result ShareSubscriptionsSynchronizeMethodFuture, err error)

SynchronizeMethod initiate a copy Parameters: resourceGroupName - the resource group name. accountName - the name of the share account. shareSubscriptionName - the name of share subscription synchronize - synchronize payload

func (ShareSubscriptionsClient) SynchronizeMethodPreparer

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

SynchronizeMethodPreparer prepares the SynchronizeMethod request.

func (ShareSubscriptionsClient) SynchronizeMethodResponder

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

SynchronizeMethodResponder handles the response to the SynchronizeMethod request. The method always closes the http.Response Body.

func (ShareSubscriptionsClient) SynchronizeMethodSender

func (client ShareSubscriptionsClient) SynchronizeMethodSender(req *http.Request) (future ShareSubscriptionsSynchronizeMethodFuture, err error)

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

type ShareSubscriptionsDeleteFuture

type ShareSubscriptionsDeleteFuture struct {
	azure.Future
}

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

func (*ShareSubscriptionsDeleteFuture) Result

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

type ShareSubscriptionsSynchronizeMethodFuture

type ShareSubscriptionsSynchronizeMethodFuture struct {
	azure.Future
}

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

func (*ShareSubscriptionsSynchronizeMethodFuture) Result

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

type ShareSynchronization

type ShareSynchronization struct {
	// Company - Company name
	Company *string `json:"company,omitempty"`
	// DurationMs - synchronization duration
	DurationMs *int32 `json:"durationMs,omitempty"`
	// EndTime - End time of synchronization
	EndTime *date.Time `json:"endTime,omitempty"`
	// Message - message of synchronization
	Message *string `json:"message,omitempty"`
	// Recipient - Recipient id
	Recipient *string `json:"recipient,omitempty"`
	// StartTime - start time of synchronization
	StartTime *date.Time `json:"startTime,omitempty"`
	// Status - Raw Status
	Status *string `json:"status,omitempty"`
	// SynchronizationID - Synchronization id
	SynchronizationID *string `json:"synchronizationId,omitempty"`
}

ShareSynchronization a ShareSynchronization data transfer object.

type ShareSynchronizationList

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

ShareSynchronizationList list response for get ShareSynchronization.

func (ShareSynchronizationList) IsEmpty

func (ssl ShareSynchronizationList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ShareSynchronizationListIterator

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

ShareSynchronizationListIterator provides access to a complete listing of ShareSynchronization values.

func NewShareSynchronizationListIterator

func NewShareSynchronizationListIterator(page ShareSynchronizationListPage) ShareSynchronizationListIterator

Creates a new instance of the ShareSynchronizationListIterator type.

func (*ShareSynchronizationListIterator) Next

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

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

func (iter ShareSynchronizationListIterator) NotDone() bool

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

func (ShareSynchronizationListIterator) Response

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

func (ShareSynchronizationListIterator) Value

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

type ShareSynchronizationListPage

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

ShareSynchronizationListPage contains a page of ShareSynchronization values.

func NewShareSynchronizationListPage

func NewShareSynchronizationListPage(getNextPage func(context.Context, ShareSynchronizationList) (ShareSynchronizationList, error)) ShareSynchronizationListPage

Creates a new instance of the ShareSynchronizationListPage type.

func (*ShareSynchronizationListPage) Next

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

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

func (page ShareSynchronizationListPage) NotDone() bool

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

func (ShareSynchronizationListPage) Response

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

func (ShareSynchronizationListPage) Values

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

type SharesClient

type SharesClient struct {
	BaseClient
}

SharesClient is the creates a Microsoft.DataShare management client.

func NewSharesClient

func NewSharesClient(subscriptionID string) SharesClient

NewSharesClient creates an instance of the SharesClient client.

func NewSharesClientWithBaseURI

func NewSharesClientWithBaseURI(baseURI string, subscriptionID string) SharesClient

NewSharesClientWithBaseURI creates an instance of the SharesClient client.

func (SharesClient) Create

func (client SharesClient) Create(ctx context.Context, resourceGroupName string, accountName string, shareName string, share Share) (result Share, err error)

Create create a share Parameters: resourceGroupName - the resource group name. accountName - the name of the share account. shareName - the name of the share. share - the share payload

func (SharesClient) CreatePreparer

func (client SharesClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, shareName string, share Share) (*http.Request, error)

CreatePreparer prepares the Create request.

func (SharesClient) CreateResponder

func (client SharesClient) CreateResponder(resp *http.Response) (result Share, err error)

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

func (SharesClient) CreateSender

func (client SharesClient) 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 (SharesClient) Delete

func (client SharesClient) Delete(ctx context.Context, resourceGroupName string, accountName string, shareName string) (result SharesDeleteFuture, err error)

Delete delete a share Parameters: resourceGroupName - the resource group name. accountName - the name of the share account. shareName - the name of the share.

func (SharesClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (SharesClient) DeleteResponder

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

func (client SharesClient) DeleteSender(req *http.Request) (future SharesDeleteFuture, err error)

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

func (SharesClient) Get

func (client SharesClient) Get(ctx context.Context, resourceGroupName string, accountName string, shareName string) (result Share, err error)

Get get a share Parameters: resourceGroupName - the resource group name. accountName - the name of the share account. shareName - the name of the share to retrieve.

func (SharesClient) GetPreparer

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

GetPreparer prepares the Get request.

func (SharesClient) GetResponder

func (client SharesClient) GetResponder(resp *http.Response) (result Share, err error)

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

func (SharesClient) GetSender

func (client SharesClient) 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 (SharesClient) ListByAccount

func (client SharesClient) ListByAccount(ctx context.Context, resourceGroupName string, accountName string, skipToken string) (result ShareListPage, err error)

ListByAccount list shares in an account Parameters: resourceGroupName - the resource group name. accountName - the name of the share account. skipToken - continuation Token

func (SharesClient) ListByAccountComplete

func (client SharesClient) ListByAccountComplete(ctx context.Context, resourceGroupName string, accountName string, skipToken string) (result ShareListIterator, err error)

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

func (SharesClient) ListByAccountPreparer

func (client SharesClient) ListByAccountPreparer(ctx context.Context, resourceGroupName string, accountName string, skipToken string) (*http.Request, error)

ListByAccountPreparer prepares the ListByAccount request.

func (SharesClient) ListByAccountResponder

func (client SharesClient) ListByAccountResponder(resp *http.Response) (result ShareList, err error)

ListByAccountResponder handles the response to the ListByAccount request. The method always closes the http.Response Body.

func (SharesClient) ListByAccountSender

func (client SharesClient) ListByAccountSender(req *http.Request) (*http.Response, error)

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

func (SharesClient) ListSynchronizationDetails

func (client SharesClient) ListSynchronizationDetails(ctx context.Context, resourceGroupName string, accountName string, shareName string, shareSynchronization ShareSynchronization, skipToken string) (result SynchronizationDetailsListPage, err error)

ListSynchronizationDetails list synchronization details Parameters: resourceGroupName - the resource group name. accountName - the name of the share account. shareName - the name of the share. shareSynchronization - share Synchronization payload. skipToken - continuation token

func (SharesClient) ListSynchronizationDetailsComplete

func (client SharesClient) ListSynchronizationDetailsComplete(ctx context.Context, resourceGroupName string, accountName string, shareName string, shareSynchronization ShareSynchronization, skipToken string) (result SynchronizationDetailsListIterator, err error)

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

func (SharesClient) ListSynchronizationDetailsPreparer

func (client SharesClient) ListSynchronizationDetailsPreparer(ctx context.Context, resourceGroupName string, accountName string, shareName string, shareSynchronization ShareSynchronization, skipToken string) (*http.Request, error)

ListSynchronizationDetailsPreparer prepares the ListSynchronizationDetails request.

func (SharesClient) ListSynchronizationDetailsResponder

func (client SharesClient) ListSynchronizationDetailsResponder(resp *http.Response) (result SynchronizationDetailsList, err error)

ListSynchronizationDetailsResponder handles the response to the ListSynchronizationDetails request. The method always closes the http.Response Body.

func (SharesClient) ListSynchronizationDetailsSender

func (client SharesClient) ListSynchronizationDetailsSender(req *http.Request) (*http.Response, error)

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

func (SharesClient) ListSynchronizations

func (client SharesClient) ListSynchronizations(ctx context.Context, resourceGroupName string, accountName string, shareName string, skipToken string) (result ShareSynchronizationListPage, err error)

ListSynchronizations list synchronizations of 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 (SharesClient) ListSynchronizationsComplete

func (client SharesClient) ListSynchronizationsComplete(ctx context.Context, resourceGroupName string, accountName string, shareName string, skipToken string) (result ShareSynchronizationListIterator, err error)

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

func (SharesClient) ListSynchronizationsPreparer

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

ListSynchronizationsPreparer prepares the ListSynchronizations request.

func (SharesClient) ListSynchronizationsResponder

func (client SharesClient) ListSynchronizationsResponder(resp *http.Response) (result ShareSynchronizationList, err error)

ListSynchronizationsResponder handles the response to the ListSynchronizations request. The method always closes the http.Response Body.

func (SharesClient) ListSynchronizationsSender

func (client SharesClient) ListSynchronizationsSender(req *http.Request) (*http.Response, error)

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

type SharesDeleteFuture

type SharesDeleteFuture struct {
	azure.Future
}

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

func (*SharesDeleteFuture) Result

func (future *SharesDeleteFuture) Result(client SharesClient) (or OperationResponse, err error)

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

type SourceShareSynchronizationSetting

type SourceShareSynchronizationSetting struct {
	// Kind - Possible values include: 'KindSourceShareSynchronizationSetting', 'KindScheduleBased'
	Kind KindBasicSourceShareSynchronizationSetting `json:"kind,omitempty"`
}

SourceShareSynchronizationSetting a view of synchronization setting added by the provider

func (SourceShareSynchronizationSetting) AsBasicSourceShareSynchronizationSetting

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

AsBasicSourceShareSynchronizationSetting is the BasicSourceShareSynchronizationSetting implementation for SourceShareSynchronizationSetting.

func (SourceShareSynchronizationSetting) AsScheduledSourceSynchronizationSetting

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

AsScheduledSourceSynchronizationSetting is the BasicSourceShareSynchronizationSetting implementation for SourceShareSynchronizationSetting.

func (SourceShareSynchronizationSetting) AsSourceShareSynchronizationSetting

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

AsSourceShareSynchronizationSetting is the BasicSourceShareSynchronizationSetting implementation for SourceShareSynchronizationSetting.

func (SourceShareSynchronizationSetting) MarshalJSON

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

MarshalJSON is the custom marshaler for SourceShareSynchronizationSetting.

type SourceShareSynchronizationSettingList

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

SourceShareSynchronizationSettingList list response for get source share Synchronization settings

func (SourceShareSynchronizationSettingList) IsEmpty

IsEmpty returns true if the ListResult contains no values.

func (*SourceShareSynchronizationSettingList) UnmarshalJSON

func (ssssl *SourceShareSynchronizationSettingList) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SourceShareSynchronizationSettingList struct.

type SourceShareSynchronizationSettingListIterator

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

SourceShareSynchronizationSettingListIterator provides access to a complete listing of SourceShareSynchronizationSetting values.

func NewSourceShareSynchronizationSettingListIterator

func NewSourceShareSynchronizationSettingListIterator(page SourceShareSynchronizationSettingListPage) SourceShareSynchronizationSettingListIterator

Creates a new instance of the SourceShareSynchronizationSettingListIterator type.

func (*SourceShareSynchronizationSettingListIterator) Next

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

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

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

func (SourceShareSynchronizationSettingListIterator) Response

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

func (SourceShareSynchronizationSettingListIterator) Value

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

type SourceShareSynchronizationSettingListPage

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

SourceShareSynchronizationSettingListPage contains a page of BasicSourceShareSynchronizationSetting values.

func NewSourceShareSynchronizationSettingListPage

Creates a new instance of the SourceShareSynchronizationSettingListPage type.

func (*SourceShareSynchronizationSettingListPage) Next

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

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

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

func (SourceShareSynchronizationSettingListPage) Response

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

func (SourceShareSynchronizationSettingListPage) Values

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

type Status

type Status string

Status enumerates the values for status.

const (
	// StatusAccepted ...
	StatusAccepted Status = "Accepted"
	// StatusCanceled ...
	StatusCanceled Status = "Canceled"
	// StatusFailed ...
	StatusFailed Status = "Failed"
	// StatusInProgress ...
	StatusInProgress Status = "InProgress"
	// StatusSucceeded ...
	StatusSucceeded Status = "Succeeded"
	// StatusTransientFailure ...
	StatusTransientFailure Status = "TransientFailure"
)

func PossibleStatusValues

func PossibleStatusValues() []Status

PossibleStatusValues returns an array of possible values for the Status const type.

type SynchronizationDetails

type SynchronizationDetails struct {
	// DataSetID - READ-ONLY; id of dataSet
	DataSetID *string `json:"dataSetId,omitempty"`
	// DataSetType - READ-ONLY; type of DataSet. Possible values include: 'Blob', 'Container', 'BlobFolder', 'AdlsGen2FileSystem', 'AdlsGen2Folder', 'AdlsGen2File', 'AdlsGen1Folder', 'AdlsGen1File'
	DataSetType DataSetType `json:"dataSetType,omitempty"`
	// DurationMs - READ-ONLY; duration of dataset level copy
	DurationMs *int32 `json:"durationMs,omitempty"`
	// EndTime - READ-ONLY; End time of dataset level copy
	EndTime *date.Time `json:"endTime,omitempty"`
	// FilesRead - READ-ONLY; The number of files read from the source dataset.
	FilesRead *int64 `json:"filesRead,omitempty"`
	// FilesWritten - READ-ONLY; The number of files written into the sink dataset.
	FilesWritten *int64 `json:"filesWritten,omitempty"`
	// Message - READ-ONLY; Error Message if any
	Message *string `json:"message,omitempty"`
	// Name - READ-ONLY; name of dataSet
	Name *string `json:"name,omitempty"`
	// SizeRead - READ-ONLY; The size of the data read from the source dataset in bytes.
	SizeRead *int64 `json:"sizeRead,omitempty"`
	// SizeWritten - READ-ONLY; The size of the data written into the sink dataset in bytes.
	SizeWritten *int64 `json:"sizeWritten,omitempty"`
	// StartTime - READ-ONLY; start time of dataset level copy
	StartTime *date.Time `json:"startTime,omitempty"`
	// Status - READ-ONLY; Raw Status
	Status *string `json:"status,omitempty"`
	// VCore - READ-ONLY; The vCore units consumed for the dataset synchronization.
	VCore *int64 `json:"vCore,omitempty"`
}

SynchronizationDetails synchronization details at dataset level

type SynchronizationDetailsList

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

SynchronizationDetailsList details of synchronization

func (SynchronizationDetailsList) IsEmpty

func (sdl SynchronizationDetailsList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SynchronizationDetailsListIterator

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

SynchronizationDetailsListIterator provides access to a complete listing of SynchronizationDetails values.

func NewSynchronizationDetailsListIterator

func NewSynchronizationDetailsListIterator(page SynchronizationDetailsListPage) SynchronizationDetailsListIterator

Creates a new instance of the SynchronizationDetailsListIterator type.

func (*SynchronizationDetailsListIterator) Next

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

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

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

func (SynchronizationDetailsListIterator) Response

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

func (SynchronizationDetailsListIterator) Value

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

type SynchronizationDetailsListPage

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

SynchronizationDetailsListPage contains a page of SynchronizationDetails values.

func NewSynchronizationDetailsListPage

func NewSynchronizationDetailsListPage(getNextPage func(context.Context, SynchronizationDetailsList) (SynchronizationDetailsList, error)) SynchronizationDetailsListPage

Creates a new instance of the SynchronizationDetailsListPage type.

func (*SynchronizationDetailsListPage) Next

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

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

func (page SynchronizationDetailsListPage) NotDone() bool

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

func (SynchronizationDetailsListPage) Response

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

func (SynchronizationDetailsListPage) Values

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

type SynchronizationMode

type SynchronizationMode string

SynchronizationMode enumerates the values for synchronization mode.

const (
	// FullSync ...
	FullSync SynchronizationMode = "FullSync"
	// Incremental ...
	Incremental SynchronizationMode = "Incremental"
)

func PossibleSynchronizationModeValues

func PossibleSynchronizationModeValues() []SynchronizationMode

PossibleSynchronizationModeValues returns an array of possible values for the SynchronizationMode const type.

type SynchronizationSetting

type SynchronizationSetting struct {
	autorest.Response `json:"-"`
	// Kind - Possible values include: 'KindBasicSynchronizationSettingKindSynchronizationSetting', 'KindBasicSynchronizationSettingKindScheduleBased'
	Kind KindBasicSynchronizationSetting `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"`
}

SynchronizationSetting a Synchronization Setting data transfer object.

func (SynchronizationSetting) AsBasicSynchronizationSetting

func (ss SynchronizationSetting) AsBasicSynchronizationSetting() (BasicSynchronizationSetting, bool)

AsBasicSynchronizationSetting is the BasicSynchronizationSetting implementation for SynchronizationSetting.

func (SynchronizationSetting) AsScheduledSynchronizationSetting

func (ss SynchronizationSetting) AsScheduledSynchronizationSetting() (*ScheduledSynchronizationSetting, bool)

AsScheduledSynchronizationSetting is the BasicSynchronizationSetting implementation for SynchronizationSetting.

func (SynchronizationSetting) AsSynchronizationSetting

func (ss SynchronizationSetting) AsSynchronizationSetting() (*SynchronizationSetting, bool)

AsSynchronizationSetting is the BasicSynchronizationSetting implementation for SynchronizationSetting.

func (SynchronizationSetting) MarshalJSON

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

MarshalJSON is the custom marshaler for SynchronizationSetting.

type SynchronizationSettingList

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

SynchronizationSettingList list response for get Synchronization settings

func (SynchronizationSettingList) IsEmpty

func (ssl SynchronizationSettingList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (*SynchronizationSettingList) UnmarshalJSON

func (ssl *SynchronizationSettingList) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SynchronizationSettingList struct.

type SynchronizationSettingListIterator

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

SynchronizationSettingListIterator provides access to a complete listing of SynchronizationSetting values.

func NewSynchronizationSettingListIterator

func NewSynchronizationSettingListIterator(page SynchronizationSettingListPage) SynchronizationSettingListIterator

Creates a new instance of the SynchronizationSettingListIterator type.

func (*SynchronizationSettingListIterator) Next

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

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

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

func (SynchronizationSettingListIterator) Response

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

func (SynchronizationSettingListIterator) Value

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

type SynchronizationSettingListPage

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

SynchronizationSettingListPage contains a page of BasicSynchronizationSetting values.

func NewSynchronizationSettingListPage

func NewSynchronizationSettingListPage(getNextPage func(context.Context, SynchronizationSettingList) (SynchronizationSettingList, error)) SynchronizationSettingListPage

Creates a new instance of the SynchronizationSettingListPage type.

func (*SynchronizationSettingListPage) Next

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

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

func (page SynchronizationSettingListPage) NotDone() bool

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

func (SynchronizationSettingListPage) Response

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

func (SynchronizationSettingListPage) Values

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

type SynchronizationSettingModel

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

SynchronizationSettingModel ...

func (*SynchronizationSettingModel) UnmarshalJSON

func (ssm *SynchronizationSettingModel) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SynchronizationSettingModel struct.

type SynchronizationSettingsClient

type SynchronizationSettingsClient struct {
	BaseClient
}

SynchronizationSettingsClient is the creates a Microsoft.DataShare management client.

func NewSynchronizationSettingsClient

func NewSynchronizationSettingsClient(subscriptionID string) SynchronizationSettingsClient

NewSynchronizationSettingsClient creates an instance of the SynchronizationSettingsClient client.

func NewSynchronizationSettingsClientWithBaseURI

func NewSynchronizationSettingsClientWithBaseURI(baseURI string, subscriptionID string) SynchronizationSettingsClient

NewSynchronizationSettingsClientWithBaseURI creates an instance of the SynchronizationSettingsClient client.

func (SynchronizationSettingsClient) Create

func (client SynchronizationSettingsClient) Create(ctx context.Context, resourceGroupName string, accountName string, shareName string, synchronizationSettingName string, synchronizationSetting BasicSynchronizationSetting) (result SynchronizationSettingModel, err error)

Create create or update a synchronizationSetting Parameters: resourceGroupName - the resource group name. accountName - the name of the share account. shareName - the name of the share to add the synchronization setting to. synchronizationSettingName - the name of the synchronizationSetting. synchronizationSetting - the new synchronization setting information.

func (SynchronizationSettingsClient) CreatePreparer

func (client SynchronizationSettingsClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, shareName string, synchronizationSettingName string, synchronizationSetting BasicSynchronizationSetting) (*http.Request, error)

CreatePreparer prepares the Create request.

func (SynchronizationSettingsClient) CreateResponder

func (client SynchronizationSettingsClient) CreateResponder(resp *http.Response) (result SynchronizationSettingModel, err error)

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

func (SynchronizationSettingsClient) CreateSender

func (client SynchronizationSettingsClient) 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 (SynchronizationSettingsClient) Delete

func (client SynchronizationSettingsClient) Delete(ctx context.Context, resourceGroupName string, accountName string, shareName string, synchronizationSettingName string) (result SynchronizationSettingsDeleteFuture, err error)

Delete delete a synchronizationSetting in a share Parameters: resourceGroupName - the resource group name. accountName - the name of the share account. shareName - the name of the share. synchronizationSettingName - the name of the synchronizationSetting .

func (SynchronizationSettingsClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (SynchronizationSettingsClient) DeleteResponder

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

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

func (SynchronizationSettingsClient) Get

func (client SynchronizationSettingsClient) Get(ctx context.Context, resourceGroupName string, accountName string, shareName string, synchronizationSettingName string) (result SynchronizationSettingModel, err error)

Get get a synchronizationSetting in a share Parameters: resourceGroupName - the resource group name. accountName - the name of the share account. shareName - the name of the share. synchronizationSettingName - the name of the synchronizationSetting.

func (SynchronizationSettingsClient) GetPreparer

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

GetPreparer prepares the Get request.

func (SynchronizationSettingsClient) GetResponder

func (client SynchronizationSettingsClient) GetResponder(resp *http.Response) (result SynchronizationSettingModel, err error)

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

func (SynchronizationSettingsClient) GetSender

func (client SynchronizationSettingsClient) 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 (SynchronizationSettingsClient) ListByShare

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

ListByShare list synchronizationSettings 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 (SynchronizationSettingsClient) ListByShareComplete

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

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

func (SynchronizationSettingsClient) ListBySharePreparer

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

ListBySharePreparer prepares the ListByShare request.

func (SynchronizationSettingsClient) ListByShareResponder

func (client SynchronizationSettingsClient) ListByShareResponder(resp *http.Response) (result SynchronizationSettingList, err error)

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

func (SynchronizationSettingsClient) ListByShareSender

func (client SynchronizationSettingsClient) 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 SynchronizationSettingsDeleteFuture

type SynchronizationSettingsDeleteFuture struct {
	azure.Future
}

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

func (*SynchronizationSettingsDeleteFuture) Result

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

type Synchronize

type Synchronize struct {
	// SynchronizationMode - Mode of synchronization used in triggers and snapshot sync. Incremental by default. Possible values include: 'Incremental', 'FullSync'
	SynchronizationMode SynchronizationMode `json:"synchronizationMode,omitempty"`
}

Synchronize payload for the synchronizing the data.

type Trigger

type Trigger struct {
	autorest.Response `json:"-"`
	// Kind - Possible values include: 'KindBasicTriggerKindTrigger', 'KindBasicTriggerKindScheduleBased'
	Kind KindBasicTrigger `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"`
}

Trigger a Trigger data transfer object.

func (Trigger) AsBasicTrigger

func (t Trigger) AsBasicTrigger() (BasicTrigger, bool)

AsBasicTrigger is the BasicTrigger implementation for Trigger.

func (Trigger) AsScheduledTrigger

func (t Trigger) AsScheduledTrigger() (*ScheduledTrigger, bool)

AsScheduledTrigger is the BasicTrigger implementation for Trigger.

func (Trigger) AsTrigger

func (t Trigger) AsTrigger() (*Trigger, bool)

AsTrigger is the BasicTrigger implementation for Trigger.

func (Trigger) MarshalJSON

func (t Trigger) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Trigger.

type TriggerList

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

TriggerList list response for get triggers

func (TriggerList) IsEmpty

func (tl TriggerList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (*TriggerList) UnmarshalJSON

func (tl *TriggerList) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for TriggerList struct.

type TriggerListIterator

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

TriggerListIterator provides access to a complete listing of Trigger values.

func NewTriggerListIterator

func NewTriggerListIterator(page TriggerListPage) TriggerListIterator

Creates a new instance of the TriggerListIterator type.

func (*TriggerListIterator) Next

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

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

func (iter TriggerListIterator) NotDone() bool

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

func (TriggerListIterator) Response

func (iter TriggerListIterator) Response() TriggerList

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

func (TriggerListIterator) Value

func (iter TriggerListIterator) Value() BasicTrigger

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

type TriggerListPage

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

TriggerListPage contains a page of BasicTrigger values.

func NewTriggerListPage

func NewTriggerListPage(getNextPage func(context.Context, TriggerList) (TriggerList, error)) TriggerListPage

Creates a new instance of the TriggerListPage type.

func (*TriggerListPage) Next

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

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

func (page TriggerListPage) NotDone() bool

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

func (TriggerListPage) Response

func (page TriggerListPage) Response() TriggerList

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

func (TriggerListPage) Values

func (page TriggerListPage) Values() []BasicTrigger

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

type TriggerModel

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

TriggerModel ...

func (*TriggerModel) UnmarshalJSON

func (tm *TriggerModel) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for TriggerModel struct.

type TriggerStatus

type TriggerStatus string

TriggerStatus enumerates the values for trigger status.

const (
	// TriggerStatusActive ...
	TriggerStatusActive TriggerStatus = "Active"
	// TriggerStatusInactive ...
	TriggerStatusInactive TriggerStatus = "Inactive"
	// TriggerStatusSourceSynchronizationSettingDeleted ...
	TriggerStatusSourceSynchronizationSettingDeleted TriggerStatus = "SourceSynchronizationSettingDeleted"
)

func PossibleTriggerStatusValues

func PossibleTriggerStatusValues() []TriggerStatus

PossibleTriggerStatusValues returns an array of possible values for the TriggerStatus const type.

type TriggersClient

type TriggersClient struct {
	BaseClient
}

TriggersClient is the creates a Microsoft.DataShare management client.

func NewTriggersClient

func NewTriggersClient(subscriptionID string) TriggersClient

NewTriggersClient creates an instance of the TriggersClient client.

func NewTriggersClientWithBaseURI

func NewTriggersClientWithBaseURI(baseURI string, subscriptionID string) TriggersClient

NewTriggersClientWithBaseURI creates an instance of the TriggersClient client.

func (TriggersClient) Create

func (client TriggersClient) Create(ctx context.Context, resourceGroupName string, accountName string, shareSubscriptionName string, triggerName string, trigger BasicTrigger) (result TriggersCreateFuture, err error)

Create create a Trigger 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. triggerName - the name of the trigger. trigger - trigger details.

func (TriggersClient) CreatePreparer

func (client TriggersClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, shareSubscriptionName string, triggerName string, trigger BasicTrigger) (*http.Request, error)

CreatePreparer prepares the Create request.

func (TriggersClient) CreateResponder

func (client TriggersClient) CreateResponder(resp *http.Response) (result TriggerModel, err error)

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

func (TriggersClient) CreateSender

func (client TriggersClient) CreateSender(req *http.Request) (future TriggersCreateFuture, err error)

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

func (TriggersClient) Delete

func (client TriggersClient) Delete(ctx context.Context, resourceGroupName string, accountName string, shareSubscriptionName string, triggerName string) (result TriggersDeleteFuture, err error)

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

func (TriggersClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (TriggersClient) DeleteResponder

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

func (client TriggersClient) DeleteSender(req *http.Request) (future TriggersDeleteFuture, err error)

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

func (TriggersClient) Get

func (client TriggersClient) Get(ctx context.Context, resourceGroupName string, accountName string, shareSubscriptionName string, triggerName string) (result TriggerModel, err error)

Get get a Trigger in a shareSubscription Parameters: resourceGroupName - the resource group name. accountName - the name of the share account. shareSubscriptionName - the name of the shareSubscription. triggerName - the name of the trigger.

func (TriggersClient) GetPreparer

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

GetPreparer prepares the Get request.

func (TriggersClient) GetResponder

func (client TriggersClient) GetResponder(resp *http.Response) (result TriggerModel, err error)

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

func (TriggersClient) GetSender

func (client TriggersClient) 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 (TriggersClient) ListByShareSubscription

func (client TriggersClient) ListByShareSubscription(ctx context.Context, resourceGroupName string, accountName string, shareSubscriptionName string, skipToken string) (result TriggerListPage, err error)

ListByShareSubscription list Triggers 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 (TriggersClient) ListByShareSubscriptionComplete

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

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

func (TriggersClient) ListByShareSubscriptionPreparer

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

ListByShareSubscriptionPreparer prepares the ListByShareSubscription request.

func (TriggersClient) ListByShareSubscriptionResponder

func (client TriggersClient) ListByShareSubscriptionResponder(resp *http.Response) (result TriggerList, err error)

ListByShareSubscriptionResponder handles the response to the ListByShareSubscription request. The method always closes the http.Response Body.

func (TriggersClient) ListByShareSubscriptionSender

func (client TriggersClient) 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 TriggersCreateFuture

type TriggersCreateFuture struct {
	azure.Future
}

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

func (*TriggersCreateFuture) Result

func (future *TriggersCreateFuture) Result(client TriggersClient) (tm TriggerModel, err error)

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

type TriggersDeleteFuture

type TriggersDeleteFuture struct {
	azure.Future
}

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

func (*TriggersDeleteFuture) Result

func (future *TriggersDeleteFuture) Result(client TriggersClient) (or OperationResponse, err error)

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

type Type

type Type string

Type enumerates the values for type.

const (
	// SystemAssigned ...
	SystemAssigned Type = "SystemAssigned"
)

func PossibleTypeValues

func PossibleTypeValues() []Type

PossibleTypeValues returns an array of possible values for the Type const type.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL