Documentation ¶
Index ¶
- func PossibleValuesForDataType() []string
- func PossibleValuesForListViewType() []string
- func ValidateDataID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVersionID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DataId
- type DataType
- type DataVersionBase
- type DataVersionBaseResource
- type DataVersionBaseResourceOperationPredicate
- type DataVersionClient
- func (c DataVersionClient) CreateOrUpdate(ctx context.Context, id VersionId, input DataVersionBaseResource) (result CreateOrUpdateOperationResponse, err error)
- func (c DataVersionClient) Delete(ctx context.Context, id VersionId) (result DeleteOperationResponse, err error)
- func (c DataVersionClient) Get(ctx context.Context, id VersionId) (result GetOperationResponse, err error)
- func (c DataVersionClient) List(ctx context.Context, id DataId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c DataVersionClient) ListComplete(ctx context.Context, id DataId, options ListOperationOptions) (ListCompleteResult, error)
- func (c DataVersionClient) ListCompleteMatchingPredicate(ctx context.Context, id DataId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type ListViewType
- type MLTableData
- type RawDataVersionBaseImpl
- type UriFileDataVersion
- type UriFolderDataVersion
- type VersionId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDataType ¶
func PossibleValuesForDataType() []string
func PossibleValuesForListViewType ¶
func PossibleValuesForListViewType() []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 CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DataVersionBaseResource }
type DataId ¶
type DataId struct { SubscriptionId string ResourceGroupName string WorkspaceName string DataName string }
DataId is a struct representing the Resource ID for a Data
func NewDataID ¶
func NewDataID(subscriptionId string, resourceGroupName string, workspaceName 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 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 VersionId, input DataVersionBaseResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (DataVersionClient) Delete ¶
func (c DataVersionClient) Delete(ctx context.Context, id VersionId) (result DeleteOperationResponse, err error)
Delete ...
func (DataVersionClient) Get ¶
func (c DataVersionClient) Get(ctx context.Context, id VersionId) (result GetOperationResponse, err error)
Get ...
func (DataVersionClient) List ¶
func (c DataVersionClient) List(ctx context.Context, id DataId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (DataVersionClient) ListComplete ¶
func (c DataVersionClient) ListComplete(ctx context.Context, id DataId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (DataVersionClient) ListCompleteMatchingPredicate ¶
func (c DataVersionClient) ListCompleteMatchingPredicate(ctx context.Context, id DataId, options ListOperationOptions, predicate DataVersionBaseResourceOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DataVersionBaseResource }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []DataVersionBaseResource
}
type ListOperationOptions ¶
type ListOperationOptions struct { ListViewType *ListViewType OrderBy *string Skip *string Tags *string Top *int64 }
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶ added in v0.20230713.1092427
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶ added in v0.20230713.1092427
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶ added in v0.20230713.1092427
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 ¶ added in v0.20230713.1092427
func (s *ListViewType) UnmarshalJSON(bytes []byte) error
type MLTableData ¶
type MLTableData struct { ReferencedUris *[]string `json:"referencedUris,omitempty"` // Fields inherited from DataVersionBase DataUri string `json:"dataUri"` Description *string `json:"description,omitempty"` IsAnonymous *bool `json:"isAnonymous,omitempty"` IsArchived *bool `json:"isArchived,omitempty"` Properties *map[string]string `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
func (MLTableData) MarshalJSON ¶
func (s MLTableData) MarshalJSON() ([]byte, error)
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 DataUri string `json:"dataUri"` Description *string `json:"description,omitempty"` IsAnonymous *bool `json:"isAnonymous,omitempty"` IsArchived *bool `json:"isArchived,omitempty"` Properties *map[string]string `json:"properties,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 DataUri string `json:"dataUri"` Description *string `json:"description,omitempty"` IsAnonymous *bool `json:"isAnonymous,omitempty"` IsArchived *bool `json:"isArchived,omitempty"` Properties *map[string]string `json:"properties,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 WorkspaceName string DataName string VersionName string }
VersionId is a struct representing the Resource ID for a Version
func NewVersionID ¶
func NewVersionID(subscriptionId string, resourceGroupName string, workspaceName 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