Documentation ¶
Index ¶
- func PossibleValuesForAutoDeleteCondition() []string
- func PossibleValuesForDataImportSourceType() []string
- func PossibleValuesForDataType() []string
- func PossibleValuesForListViewType() []string
- func PossibleValuesForProtectionLevel() []string
- func ValidateDataVersionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceDataID(input interface{}, key string) (warnings []string, errors []error)
- type AutoDeleteCondition
- type AutoDeleteSetting
- type CreateOrUpdateOperationResponse
- type DataImport
- type DataImportSource
- type DataImportSourceType
- type DataType
- type DataVersionBase
- type DataVersionBaseResource
- type DataVersionBaseResourceOperationPredicate
- type DataVersionClient
- func (c DataVersionClient) CreateOrUpdate(ctx context.Context, id DataVersionId, input DataVersionBaseResource) (result CreateOrUpdateOperationResponse, err error)
- func (c DataVersionClient) Delete(ctx context.Context, id DataVersionId) (result DeleteOperationResponse, err error)
- func (c DataVersionClient) Get(ctx context.Context, id DataVersionId) (result GetOperationResponse, err error)
- func (c DataVersionClient) List(ctx context.Context, id WorkspaceDataId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c DataVersionClient) ListComplete(ctx context.Context, id WorkspaceDataId, options ListOperationOptions) (ListCompleteResult, error)
- func (c DataVersionClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceDataId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- type DataVersionId
- type DatabaseSource
- type DeleteOperationResponse
- type FileSystemSource
- type GetOperationResponse
- type IntellectualProperty
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type ListViewType
- type MLTableData
- type ProtectionLevel
- type RawDataImportSourceImpl
- type RawDataVersionBaseImpl
- type UriFileDataVersion
- type UriFolderDataVersion
- type WorkspaceDataId
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 PossibleValuesForProtectionLevel ¶
func PossibleValuesForProtectionLevel() []string
func ValidateDataVersionID ¶
ValidateDataVersionID checks that 'input' can be parsed as a Data Version ID
func ValidateWorkspaceDataID ¶
ValidateWorkspaceDataID checks that 'input' can be parsed as a Workspace Data 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 CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DataVersionBaseResource }
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 DataVersionClient ¶
type DataVersionClient struct {
Client *resourcemanager.Client
}
func NewDataVersionClientWithBaseURI ¶
func NewDataVersionClientWithBaseURI(sdkApi sdkEnv.Api) (*DataVersionClient, error)
func (DataVersionClient) CreateOrUpdate ¶
func (c DataVersionClient) CreateOrUpdate(ctx context.Context, id DataVersionId, input DataVersionBaseResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (DataVersionClient) Delete ¶
func (c DataVersionClient) Delete(ctx context.Context, id DataVersionId) (result DeleteOperationResponse, err error)
Delete ...
func (DataVersionClient) Get ¶
func (c DataVersionClient) Get(ctx context.Context, id DataVersionId) (result GetOperationResponse, err error)
Get ...
func (DataVersionClient) List ¶
func (c DataVersionClient) List(ctx context.Context, id WorkspaceDataId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (DataVersionClient) ListComplete ¶
func (c DataVersionClient) ListComplete(ctx context.Context, id WorkspaceDataId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (DataVersionClient) ListCompleteMatchingPredicate ¶
func (c DataVersionClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceDataId, options ListOperationOptions, predicate DataVersionBaseResourceOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type DataVersionId ¶
type DataVersionId struct { SubscriptionId string ResourceGroupName string WorkspaceName string DataName string VersionName string }
DataVersionId is a struct representing the Resource ID for a Data Version
func NewDataVersionID ¶
func NewDataVersionID(subscriptionId string, resourceGroupName string, workspaceName string, dataName string, versionName string) DataVersionId
NewDataVersionID returns a new DataVersionId struct
func ParseDataVersionID ¶
func ParseDataVersionID(input string) (*DataVersionId, error)
ParseDataVersionID parses 'input' into a DataVersionId
func ParseDataVersionIDInsensitively ¶
func ParseDataVersionIDInsensitively(input string) (*DataVersionId, error)
ParseDataVersionIDInsensitively parses 'input' case-insensitively into a DataVersionId note: this method should only be used for API response data and not user input
func (DataVersionId) ID ¶
func (id DataVersionId) ID() string
ID returns the formatted Data Version ID
func (DataVersionId) Segments ¶
func (id DataVersionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Data Version ID
func (DataVersionId) String ¶
func (id DataVersionId) String() string
String returns a human-readable description of this Data Version ID
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 DeleteOperationResponse ¶
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 GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DataVersionBaseResource }
type IntellectualProperty ¶
type IntellectualProperty struct { ProtectionLevel *ProtectionLevel `json:"protectionLevel,omitempty"` Publisher string `json:"publisher"` }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []DataVersionBaseResource
}
type ListOperationOptions ¶
type ListOperationOptions struct { ListViewType *ListViewType OrderBy *string Skip *string Stage *string Tags *string Top *int64 }
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DataVersionBaseResource }
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 ProtectionLevel ¶
type ProtectionLevel string
const ( ProtectionLevelAll ProtectionLevel = "All" ProtectionLevelNone ProtectionLevel = "None" )
func (*ProtectionLevel) UnmarshalJSON ¶
func (s *ProtectionLevel) UnmarshalJSON(bytes []byte) error
type RawDataImportSourceImpl ¶ added in v0.20230807.1063129
RawDataImportSourceImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type RawDataVersionBaseImpl ¶ added in v0.20230807.1063129
RawDataVersionBaseImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
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 WorkspaceDataId ¶
type WorkspaceDataId struct { SubscriptionId string ResourceGroupName string WorkspaceName string DataName string }
WorkspaceDataId is a struct representing the Resource ID for a Workspace Data
func NewWorkspaceDataID ¶
func NewWorkspaceDataID(subscriptionId string, resourceGroupName string, workspaceName string, dataName string) WorkspaceDataId
NewWorkspaceDataID returns a new WorkspaceDataId struct
func ParseWorkspaceDataID ¶
func ParseWorkspaceDataID(input string) (*WorkspaceDataId, error)
ParseWorkspaceDataID parses 'input' into a WorkspaceDataId
func ParseWorkspaceDataIDInsensitively ¶
func ParseWorkspaceDataIDInsensitively(input string) (*WorkspaceDataId, error)
ParseWorkspaceDataIDInsensitively parses 'input' case-insensitively into a WorkspaceDataId note: this method should only be used for API response data and not user input
func (WorkspaceDataId) ID ¶
func (id WorkspaceDataId) ID() string
ID returns the formatted Workspace Data ID
func (WorkspaceDataId) Segments ¶
func (id WorkspaceDataId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workspace Data ID
func (WorkspaceDataId) String ¶
func (id WorkspaceDataId) String() string
String returns a human-readable description of this Workspace Data ID
Source Files ¶
- client.go
- constants.go
- id_dataversion.go
- id_workspacedata.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- model_autodeletesetting.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_urifiledataversion.go
- model_urifolderdataversion.go
- predicates.go
- version.go