Documentation ¶
Index ¶
- func PossibleValuesForListViewType() []string
- func ValidateModelID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateModelVersionID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type FlavorData
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type ListViewType
- type ModelId
- type ModelVersion
- type ModelVersionClient
- func (c ModelVersionClient) CreateOrUpdate(ctx context.Context, id ModelVersionId, input ModelVersionResource) (result CreateOrUpdateOperationResponse, err error)
- func (c ModelVersionClient) Delete(ctx context.Context, id ModelVersionId) (result DeleteOperationResponse, err error)
- func (c ModelVersionClient) Get(ctx context.Context, id ModelVersionId) (result GetOperationResponse, err error)
- func (c ModelVersionClient) List(ctx context.Context, id ModelId, options ListOperationOptions) (resp ListOperationResponse, err error)
- func (c ModelVersionClient) ListComplete(ctx context.Context, id ModelId, options ListOperationOptions) (ListCompleteResult, error)
- func (c ModelVersionClient) ListCompleteMatchingPredicate(ctx context.Context, id ModelId, options ListOperationOptions, ...) (resp ListCompleteResult, err error)
- type ModelVersionId
- type ModelVersionResource
- type ModelVersionResourceOperationPredicate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForListViewType ¶
func PossibleValuesForListViewType() []string
func ValidateModelID ¶
ValidateModelID checks that 'input' can be parsed as a Model ID
func ValidateModelVersionID ¶
ValidateModelVersionID checks that 'input' can be parsed as a Model Version ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *ModelVersionResource }
type DeleteOperationResponse ¶
type FlavorData ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *ModelVersionResource }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []ModelVersionResource
}
type ListOperationOptions ¶
type ListOperationOptions struct { Description *string Feed *string ListViewType *ListViewType Offset *int64 OrderBy *string Properties *string Skip *string Tags *string Top *int64 Version *string }
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]ModelVersionResource // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type ListViewType ¶
type ListViewType string
const ( ListViewTypeActiveOnly ListViewType = "ActiveOnly" ListViewTypeAll ListViewType = "All" ListViewTypeArchivedOnly ListViewType = "ArchivedOnly" )
type ModelId ¶
type ModelId struct { SubscriptionId string ResourceGroupName string WorkspaceName string ModelName string }
ModelId is a struct representing the Resource ID for a Model
func NewModelID ¶
func NewModelID(subscriptionId string, resourceGroupName string, workspaceName string, modelName string) ModelId
NewModelID returns a new ModelId struct
func ParseModelID ¶
ParseModelID parses 'input' into a ModelId
func ParseModelIDInsensitively ¶
ParseModelIDInsensitively parses 'input' case-insensitively into a ModelId note: this method should only be used for API response data and not user input
func (ModelId) Segments ¶
func (id ModelId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Model ID
type ModelVersion ¶
type ModelVersion struct { Description *string `json:"description,omitempty"` Flavors *map[string]FlavorData `json:"flavors,omitempty"` IsAnonymous *bool `json:"isAnonymous,omitempty"` IsArchived *bool `json:"isArchived,omitempty"` JobName *string `json:"jobName,omitempty"` ModelType *string `json:"modelType,omitempty"` ModelUri *string `json:"modelUri,omitempty"` Properties *map[string]string `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type ModelVersionClient ¶
func NewModelVersionClientWithBaseURI ¶
func NewModelVersionClientWithBaseURI(endpoint string) ModelVersionClient
func (ModelVersionClient) CreateOrUpdate ¶
func (c ModelVersionClient) CreateOrUpdate(ctx context.Context, id ModelVersionId, input ModelVersionResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ModelVersionClient) Delete ¶
func (c ModelVersionClient) Delete(ctx context.Context, id ModelVersionId) (result DeleteOperationResponse, err error)
Delete ...
func (ModelVersionClient) Get ¶
func (c ModelVersionClient) Get(ctx context.Context, id ModelVersionId) (result GetOperationResponse, err error)
Get ...
func (ModelVersionClient) List ¶
func (c ModelVersionClient) List(ctx context.Context, id ModelId, options ListOperationOptions) (resp ListOperationResponse, err error)
List ...
func (ModelVersionClient) ListComplete ¶
func (c ModelVersionClient) ListComplete(ctx context.Context, id ModelId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (ModelVersionClient) ListCompleteMatchingPredicate ¶
func (c ModelVersionClient) ListCompleteMatchingPredicate(ctx context.Context, id ModelId, options ListOperationOptions, predicate ModelVersionResourceOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type ModelVersionId ¶
type ModelVersionId struct { SubscriptionId string ResourceGroupName string WorkspaceName string ModelName string VersionName string }
ModelVersionId is a struct representing the Resource ID for a Model Version
func NewModelVersionID ¶
func NewModelVersionID(subscriptionId string, resourceGroupName string, workspaceName string, modelName string, versionName string) ModelVersionId
NewModelVersionID returns a new ModelVersionId struct
func ParseModelVersionID ¶
func ParseModelVersionID(input string) (*ModelVersionId, error)
ParseModelVersionID parses 'input' into a ModelVersionId
func ParseModelVersionIDInsensitively ¶
func ParseModelVersionIDInsensitively(input string) (*ModelVersionId, error)
ParseModelVersionIDInsensitively parses 'input' case-insensitively into a ModelVersionId note: this method should only be used for API response data and not user input
func (ModelVersionId) ID ¶
func (id ModelVersionId) ID() string
ID returns the formatted Model Version ID
func (ModelVersionId) Segments ¶
func (id ModelVersionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Model Version ID
func (ModelVersionId) String ¶
func (id ModelVersionId) String() string
String returns a human-readable description of this Model Version ID
type ModelVersionResource ¶
type ModelVersionResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties ModelVersion `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ModelVersionResourceOperationPredicate ¶
func (ModelVersionResourceOperationPredicate) Matches ¶
func (p ModelVersionResourceOperationPredicate) Matches(input ModelVersionResource) bool