Documentation ¶
Index ¶
- func PossibleValuesForAutoDeleteCondition() []string
- func PossibleValuesForDataImportSourceType() []string
- func PossibleValuesForDataType() []string
- func PossibleValuesForListViewType() []string
- func PossibleValuesForPendingUploadCredentialType() []string
- func PossibleValuesForPendingUploadType() []string
- func PossibleValuesForProtectionLevel() []string
- func ValidateDataID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVersionID(input interface{}, key string) (warnings []string, errors []error)
- type AutoDeleteCondition
- type AutoDeleteSetting
- type BlobReferenceForConsumptionDto
- type DataId
- type DataImport
- type DataImportSource
- type DataImportSourceType
- type DataType
- type DataVersionBase
- type DataVersionBaseResource
- type DataVersionBaseResourceOperationPredicate
- type DataVersionRegistryClient
- func (c DataVersionRegistryClient) RegistryDataVersionsCreateOrGetStartPendingUpload(ctx context.Context, id VersionId, input PendingUploadRequestDto) (result RegistryDataVersionsCreateOrGetStartPendingUploadOperationResponse, ...)
- func (c DataVersionRegistryClient) RegistryDataVersionsCreateOrUpdate(ctx context.Context, id VersionId, input DataVersionBaseResource) (result RegistryDataVersionsCreateOrUpdateOperationResponse, err error)
- func (c DataVersionRegistryClient) RegistryDataVersionsCreateOrUpdateThenPoll(ctx context.Context, id VersionId, input DataVersionBaseResource) error
- func (c DataVersionRegistryClient) RegistryDataVersionsDelete(ctx context.Context, id VersionId) (result RegistryDataVersionsDeleteOperationResponse, err error)
- func (c DataVersionRegistryClient) RegistryDataVersionsDeleteThenPoll(ctx context.Context, id VersionId) error
- func (c DataVersionRegistryClient) RegistryDataVersionsGet(ctx context.Context, id VersionId) (result RegistryDataVersionsGetOperationResponse, err error)
- func (c DataVersionRegistryClient) RegistryDataVersionsList(ctx context.Context, id DataId, ...) (result RegistryDataVersionsListOperationResponse, err error)
- func (c DataVersionRegistryClient) RegistryDataVersionsListComplete(ctx context.Context, id DataId, ...) (RegistryDataVersionsListCompleteResult, error)
- func (c DataVersionRegistryClient) RegistryDataVersionsListCompleteMatchingPredicate(ctx context.Context, id DataId, ...) (result RegistryDataVersionsListCompleteResult, err error)
- type DatabaseSource
- type FileSystemSource
- type IntellectualProperty
- type ListViewType
- type MLTableData
- type PendingUploadCredentialDto
- type PendingUploadCredentialType
- type PendingUploadRequestDto
- type PendingUploadResponseDto
- type PendingUploadType
- type ProtectionLevel
- type RegistryDataVersionsCreateOrGetStartPendingUploadOperationResponse
- type RegistryDataVersionsCreateOrUpdateOperationResponse
- type RegistryDataVersionsDeleteOperationResponse
- type RegistryDataVersionsGetOperationResponse
- type RegistryDataVersionsListCompleteResult
- type RegistryDataVersionsListOperationOptions
- type RegistryDataVersionsListOperationResponse
- type SASCredentialDto
- type UriFileDataVersion
- type UriFolderDataVersion
- type VersionId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAutoDeleteCondition ¶
func PossibleValuesForAutoDeleteCondition() []string
func PossibleValuesForDataImportSourceType ¶
func PossibleValuesForDataImportSourceType() []string
func PossibleValuesForDataType ¶
func PossibleValuesForDataType() []string
func PossibleValuesForListViewType ¶
func PossibleValuesForListViewType() []string
func PossibleValuesForPendingUploadCredentialType ¶
func PossibleValuesForPendingUploadCredentialType() []string
func PossibleValuesForPendingUploadType ¶
func PossibleValuesForPendingUploadType() []string
func PossibleValuesForProtectionLevel ¶
func PossibleValuesForProtectionLevel() []string
func ValidateDataID ¶
ValidateDataID checks that 'input' can be parsed as a Data ID
func ValidateVersionID ¶
ValidateVersionID checks that 'input' can be parsed as a Version ID
Types ¶
type AutoDeleteCondition ¶
type AutoDeleteCondition string
const ( AutoDeleteConditionCreatedGreaterThan AutoDeleteCondition = "CreatedGreaterThan" AutoDeleteConditionLastAccessedGreaterThan AutoDeleteCondition = "LastAccessedGreaterThan" )
func (*AutoDeleteCondition) UnmarshalJSON ¶
func (s *AutoDeleteCondition) UnmarshalJSON(bytes []byte) error
type AutoDeleteSetting ¶
type AutoDeleteSetting struct { Condition *AutoDeleteCondition `json:"condition,omitempty"` Value *string `json:"value,omitempty"` }
type BlobReferenceForConsumptionDto ¶
type BlobReferenceForConsumptionDto struct { BlobUri *string `json:"blobUri,omitempty"` Credential PendingUploadCredentialDto `json:"credential"` StorageAccountArmId *string `json:"storageAccountArmId,omitempty"` }
func (*BlobReferenceForConsumptionDto) UnmarshalJSON ¶
func (s *BlobReferenceForConsumptionDto) UnmarshalJSON(bytes []byte) error
type DataId ¶
type DataId struct { SubscriptionId string ResourceGroupName string RegistryName string DataName string }
DataId is a struct representing the Resource ID for a Data
func NewDataID ¶
func NewDataID(subscriptionId string, resourceGroupName string, registryName string, dataName string) DataId
NewDataID returns a new DataId struct
func ParseDataID ¶
ParseDataID parses 'input' into a DataId
func ParseDataIDInsensitively ¶
ParseDataIDInsensitively parses 'input' case-insensitively into a DataId note: this method should only be used for API response data and not user input
func (DataId) Segments ¶
func (id DataId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Data ID
type DataImport ¶
type DataImport struct { AssetName *string `json:"assetName,omitempty"` Source DataImportSource `json:"source"` // Fields inherited from DataVersionBase AutoDeleteSetting *AutoDeleteSetting `json:"autoDeleteSetting,omitempty"` DataUri string `json:"dataUri"` Description *string `json:"description,omitempty"` IntellectualProperty *IntellectualProperty `json:"intellectualProperty,omitempty"` IsAnonymous *bool `json:"isAnonymous,omitempty"` IsArchived *bool `json:"isArchived,omitempty"` Properties *map[string]string `json:"properties,omitempty"` Stage *string `json:"stage,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
func (DataImport) MarshalJSON ¶
func (s DataImport) MarshalJSON() ([]byte, error)
func (*DataImport) UnmarshalJSON ¶
func (s *DataImport) UnmarshalJSON(bytes []byte) error
type DataImportSource ¶
type DataImportSource interface { }
type DataImportSourceType ¶
type DataImportSourceType string
const ( DataImportSourceTypeDatabase DataImportSourceType = "database" DataImportSourceTypeFileSystem DataImportSourceType = "file_system" )
func (*DataImportSourceType) UnmarshalJSON ¶
func (s *DataImportSourceType) UnmarshalJSON(bytes []byte) error
type DataVersionBase ¶
type DataVersionBase interface { }
type DataVersionBaseResource ¶
type DataVersionBaseResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties DataVersionBase `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
func (*DataVersionBaseResource) UnmarshalJSON ¶
func (s *DataVersionBaseResource) UnmarshalJSON(bytes []byte) error
type DataVersionBaseResourceOperationPredicate ¶
func (DataVersionBaseResourceOperationPredicate) Matches ¶
func (p DataVersionBaseResourceOperationPredicate) Matches(input DataVersionBaseResource) bool
type DataVersionRegistryClient ¶
type DataVersionRegistryClient struct {
Client *resourcemanager.Client
}
func NewDataVersionRegistryClientWithBaseURI ¶
func NewDataVersionRegistryClientWithBaseURI(api environments.Api) (*DataVersionRegistryClient, error)
func (DataVersionRegistryClient) RegistryDataVersionsCreateOrGetStartPendingUpload ¶
func (c DataVersionRegistryClient) RegistryDataVersionsCreateOrGetStartPendingUpload(ctx context.Context, id VersionId, input PendingUploadRequestDto) (result RegistryDataVersionsCreateOrGetStartPendingUploadOperationResponse, err error)
RegistryDataVersionsCreateOrGetStartPendingUpload ...
func (DataVersionRegistryClient) RegistryDataVersionsCreateOrUpdate ¶
func (c DataVersionRegistryClient) RegistryDataVersionsCreateOrUpdate(ctx context.Context, id VersionId, input DataVersionBaseResource) (result RegistryDataVersionsCreateOrUpdateOperationResponse, err error)
RegistryDataVersionsCreateOrUpdate ...
func (DataVersionRegistryClient) RegistryDataVersionsCreateOrUpdateThenPoll ¶
func (c DataVersionRegistryClient) RegistryDataVersionsCreateOrUpdateThenPoll(ctx context.Context, id VersionId, input DataVersionBaseResource) error
RegistryDataVersionsCreateOrUpdateThenPoll performs RegistryDataVersionsCreateOrUpdate then polls until it's completed
func (DataVersionRegistryClient) RegistryDataVersionsDelete ¶
func (c DataVersionRegistryClient) RegistryDataVersionsDelete(ctx context.Context, id VersionId) (result RegistryDataVersionsDeleteOperationResponse, err error)
RegistryDataVersionsDelete ...
func (DataVersionRegistryClient) RegistryDataVersionsDeleteThenPoll ¶
func (c DataVersionRegistryClient) RegistryDataVersionsDeleteThenPoll(ctx context.Context, id VersionId) error
RegistryDataVersionsDeleteThenPoll performs RegistryDataVersionsDelete then polls until it's completed
func (DataVersionRegistryClient) RegistryDataVersionsGet ¶
func (c DataVersionRegistryClient) RegistryDataVersionsGet(ctx context.Context, id VersionId) (result RegistryDataVersionsGetOperationResponse, err error)
RegistryDataVersionsGet ...
func (DataVersionRegistryClient) RegistryDataVersionsList ¶
func (c DataVersionRegistryClient) RegistryDataVersionsList(ctx context.Context, id DataId, options RegistryDataVersionsListOperationOptions) (result RegistryDataVersionsListOperationResponse, err error)
RegistryDataVersionsList ...
func (DataVersionRegistryClient) RegistryDataVersionsListComplete ¶
func (c DataVersionRegistryClient) RegistryDataVersionsListComplete(ctx context.Context, id DataId, options RegistryDataVersionsListOperationOptions) (RegistryDataVersionsListCompleteResult, error)
RegistryDataVersionsListComplete retrieves all the results into a single object
func (DataVersionRegistryClient) RegistryDataVersionsListCompleteMatchingPredicate ¶
func (c DataVersionRegistryClient) RegistryDataVersionsListCompleteMatchingPredicate(ctx context.Context, id DataId, options RegistryDataVersionsListOperationOptions, predicate DataVersionBaseResourceOperationPredicate) (result RegistryDataVersionsListCompleteResult, err error)
RegistryDataVersionsListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type DatabaseSource ¶
type DatabaseSource struct { Query *string `json:"query,omitempty"` StoredProcedure *string `json:"storedProcedure,omitempty"` StoredProcedureParams *[]map[string]string `json:"storedProcedureParams,omitempty"` TableName *string `json:"tableName,omitempty"` // Fields inherited from DataImportSource Connection *string `json:"connection,omitempty"` }
func (DatabaseSource) MarshalJSON ¶
func (s DatabaseSource) MarshalJSON() ([]byte, error)
type FileSystemSource ¶
type FileSystemSource struct { Path *string `json:"path,omitempty"` // Fields inherited from DataImportSource Connection *string `json:"connection,omitempty"` }
func (FileSystemSource) MarshalJSON ¶
func (s FileSystemSource) MarshalJSON() ([]byte, error)
type IntellectualProperty ¶
type IntellectualProperty struct { ProtectionLevel *ProtectionLevel `json:"protectionLevel,omitempty"` Publisher string `json:"publisher"` }
type ListViewType ¶
type ListViewType string
const ( ListViewTypeActiveOnly ListViewType = "ActiveOnly" ListViewTypeAll ListViewType = "All" ListViewTypeArchivedOnly ListViewType = "ArchivedOnly" )
func (*ListViewType) UnmarshalJSON ¶
func (s *ListViewType) UnmarshalJSON(bytes []byte) error
type MLTableData ¶
type MLTableData struct { ReferencedUris *[]string `json:"referencedUris,omitempty"` // Fields inherited from DataVersionBase AutoDeleteSetting *AutoDeleteSetting `json:"autoDeleteSetting,omitempty"` DataUri string `json:"dataUri"` Description *string `json:"description,omitempty"` IntellectualProperty *IntellectualProperty `json:"intellectualProperty,omitempty"` IsAnonymous *bool `json:"isAnonymous,omitempty"` IsArchived *bool `json:"isArchived,omitempty"` Properties *map[string]string `json:"properties,omitempty"` Stage *string `json:"stage,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
func (MLTableData) MarshalJSON ¶
func (s MLTableData) MarshalJSON() ([]byte, error)
type PendingUploadCredentialDto ¶
type PendingUploadCredentialDto interface { }
type PendingUploadCredentialType ¶
type PendingUploadCredentialType string
const (
PendingUploadCredentialTypeSAS PendingUploadCredentialType = "SAS"
)
func (*PendingUploadCredentialType) UnmarshalJSON ¶
func (s *PendingUploadCredentialType) UnmarshalJSON(bytes []byte) error
type PendingUploadRequestDto ¶
type PendingUploadRequestDto struct { PendingUploadId *string `json:"pendingUploadId,omitempty"` PendingUploadType *PendingUploadType `json:"pendingUploadType,omitempty"` }
type PendingUploadResponseDto ¶
type PendingUploadResponseDto struct { BlobReferenceForConsumption *BlobReferenceForConsumptionDto `json:"blobReferenceForConsumption,omitempty"` PendingUploadId *string `json:"pendingUploadId,omitempty"` PendingUploadType *PendingUploadType `json:"pendingUploadType,omitempty"` }
type PendingUploadType ¶
type PendingUploadType string
const ( PendingUploadTypeNone PendingUploadType = "None" PendingUploadTypeTemporaryBlobReference PendingUploadType = "TemporaryBlobReference" )
func (*PendingUploadType) UnmarshalJSON ¶
func (s *PendingUploadType) UnmarshalJSON(bytes []byte) error
type ProtectionLevel ¶
type ProtectionLevel string
const ( ProtectionLevelAll ProtectionLevel = "All" ProtectionLevelNone ProtectionLevel = "None" )
func (*ProtectionLevel) UnmarshalJSON ¶
func (s *ProtectionLevel) UnmarshalJSON(bytes []byte) error
type RegistryDataVersionsCreateOrGetStartPendingUploadOperationResponse ¶
type RegistryDataVersionsCreateOrGetStartPendingUploadOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PendingUploadResponseDto }
type RegistryDataVersionsGetOperationResponse ¶
type RegistryDataVersionsGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DataVersionBaseResource }
type RegistryDataVersionsListCompleteResult ¶
type RegistryDataVersionsListCompleteResult struct {
Items []DataVersionBaseResource
}
type RegistryDataVersionsListOperationOptions ¶
type RegistryDataVersionsListOperationOptions struct { ListViewType *ListViewType OrderBy *string Skip *string Tags *string Top *int64 }
func DefaultRegistryDataVersionsListOperationOptions ¶
func DefaultRegistryDataVersionsListOperationOptions() RegistryDataVersionsListOperationOptions
func (RegistryDataVersionsListOperationOptions) ToHeaders ¶
func (o RegistryDataVersionsListOperationOptions) ToHeaders() *client.Headers
func (RegistryDataVersionsListOperationOptions) ToOData ¶
func (o RegistryDataVersionsListOperationOptions) ToOData() *odata.Query
func (RegistryDataVersionsListOperationOptions) ToQuery ¶
func (o RegistryDataVersionsListOperationOptions) ToQuery() *client.QueryParams
type RegistryDataVersionsListOperationResponse ¶
type RegistryDataVersionsListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DataVersionBaseResource }
type SASCredentialDto ¶
type SASCredentialDto struct {
SasUri *string `json:"sasUri,omitempty"`
}
func (SASCredentialDto) MarshalJSON ¶
func (s SASCredentialDto) MarshalJSON() ([]byte, error)
type UriFileDataVersion ¶
type UriFileDataVersion struct { // Fields inherited from DataVersionBase AutoDeleteSetting *AutoDeleteSetting `json:"autoDeleteSetting,omitempty"` DataUri string `json:"dataUri"` Description *string `json:"description,omitempty"` IntellectualProperty *IntellectualProperty `json:"intellectualProperty,omitempty"` IsAnonymous *bool `json:"isAnonymous,omitempty"` IsArchived *bool `json:"isArchived,omitempty"` Properties *map[string]string `json:"properties,omitempty"` Stage *string `json:"stage,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
func (UriFileDataVersion) MarshalJSON ¶
func (s UriFileDataVersion) MarshalJSON() ([]byte, error)
type UriFolderDataVersion ¶
type UriFolderDataVersion struct { // Fields inherited from DataVersionBase AutoDeleteSetting *AutoDeleteSetting `json:"autoDeleteSetting,omitempty"` DataUri string `json:"dataUri"` Description *string `json:"description,omitempty"` IntellectualProperty *IntellectualProperty `json:"intellectualProperty,omitempty"` IsAnonymous *bool `json:"isAnonymous,omitempty"` IsArchived *bool `json:"isArchived,omitempty"` Properties *map[string]string `json:"properties,omitempty"` Stage *string `json:"stage,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
func (UriFolderDataVersion) MarshalJSON ¶
func (s UriFolderDataVersion) MarshalJSON() ([]byte, error)
type VersionId ¶
type VersionId struct { SubscriptionId string ResourceGroupName string RegistryName string DataName string VersionName string }
VersionId is a struct representing the Resource ID for a Version
func NewVersionID ¶
func NewVersionID(subscriptionId string, resourceGroupName string, registryName string, dataName string, versionName string) VersionId
NewVersionID returns a new VersionId struct
func ParseVersionID ¶
ParseVersionID parses 'input' into a VersionId
func ParseVersionIDInsensitively ¶
ParseVersionIDInsensitively parses 'input' case-insensitively into a VersionId note: this method should only be used for API response data and not user input
func (VersionId) Segments ¶
func (id VersionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Version ID
Source Files ¶
- client.go
- constants.go
- id_data.go
- id_version.go
- method_registrydataversionscreateorgetstartpendingupload.go
- method_registrydataversionscreateorupdate.go
- method_registrydataversionsdelete.go
- method_registrydataversionsget.go
- method_registrydataversionslist.go
- model_autodeletesetting.go
- model_blobreferenceforconsumptiondto.go
- model_databasesource.go
- model_dataimport.go
- model_dataimportsource.go
- model_dataversionbase.go
- model_dataversionbaseresource.go
- model_filesystemsource.go
- model_intellectualproperty.go
- model_mltabledata.go
- model_pendinguploadcredentialdto.go
- model_pendinguploadrequestdto.go
- model_pendinguploadresponsedto.go
- model_sascredentialdto.go
- model_urifiledataversion.go
- model_urifolderdataversion.go
- predicates.go
- version.go