Documentation ¶
Index ¶
- func PossibleValuesForAssetProvisioningState() []string
- func PossibleValuesForListViewType() []string
- func ValidateModelID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateRegistryID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateRegistryModelID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type AssetProvisioningState
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type ListViewType
- type ModelContainer
- type ModelContainerClient
- func (c ModelContainerClient) CreateOrUpdate(ctx context.Context, id ModelId, input ModelContainerResource) (result CreateOrUpdateOperationResponse, err error)
- func (c ModelContainerClient) Delete(ctx context.Context, id ModelId) (result DeleteOperationResponse, err error)
- func (c ModelContainerClient) Get(ctx context.Context, id ModelId) (result GetOperationResponse, err error)
- func (c ModelContainerClient) List(ctx context.Context, id WorkspaceId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c ModelContainerClient) ListComplete(ctx context.Context, id WorkspaceId, options ListOperationOptions) (ListCompleteResult, error)
- func (c ModelContainerClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- func (c ModelContainerClient) RegistryModelContainersCreateOrUpdate(ctx context.Context, id RegistryModelId, input ModelContainerResource) (result RegistryModelContainersCreateOrUpdateOperationResponse, err error)
- func (c ModelContainerClient) RegistryModelContainersCreateOrUpdateThenPoll(ctx context.Context, id RegistryModelId, input ModelContainerResource) error
- func (c ModelContainerClient) RegistryModelContainersDelete(ctx context.Context, id RegistryModelId) (result RegistryModelContainersDeleteOperationResponse, err error)
- func (c ModelContainerClient) RegistryModelContainersDeleteThenPoll(ctx context.Context, id RegistryModelId) error
- func (c ModelContainerClient) RegistryModelContainersGet(ctx context.Context, id RegistryModelId) (result RegistryModelContainersGetOperationResponse, err error)
- func (c ModelContainerClient) RegistryModelContainersList(ctx context.Context, id RegistryId, ...) (result RegistryModelContainersListOperationResponse, err error)
- func (c ModelContainerClient) RegistryModelContainersListComplete(ctx context.Context, id RegistryId, ...) (RegistryModelContainersListCompleteResult, error)
- func (c ModelContainerClient) RegistryModelContainersListCompleteMatchingPredicate(ctx context.Context, id RegistryId, ...) (result RegistryModelContainersListCompleteResult, err error)
- type ModelContainerResource
- type ModelContainerResourceOperationPredicate
- type ModelId
- type RegistryId
- type RegistryModelContainersCreateOrUpdateOperationResponse
- type RegistryModelContainersDeleteOperationResponse
- type RegistryModelContainersGetOperationResponse
- type RegistryModelContainersListCompleteResult
- type RegistryModelContainersListOperationOptions
- type RegistryModelContainersListOperationResponse
- type RegistryModelId
- type WorkspaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAssetProvisioningState ¶
func PossibleValuesForAssetProvisioningState() []string
func PossibleValuesForListViewType ¶
func PossibleValuesForListViewType() []string
func ValidateModelID ¶
ValidateModelID checks that 'input' can be parsed as a Model ID
func ValidateRegistryID ¶
ValidateRegistryID checks that 'input' can be parsed as a Registry ID
func ValidateRegistryModelID ¶
ValidateRegistryModelID checks that 'input' can be parsed as a Registry Model ID
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
Types ¶
type AssetProvisioningState ¶
type AssetProvisioningState string
const ( AssetProvisioningStateCanceled AssetProvisioningState = "Canceled" AssetProvisioningStateCreating AssetProvisioningState = "Creating" AssetProvisioningStateDeleting AssetProvisioningState = "Deleting" AssetProvisioningStateFailed AssetProvisioningState = "Failed" AssetProvisioningStateSucceeded AssetProvisioningState = "Succeeded" AssetProvisioningStateUpdating AssetProvisioningState = "Updating" )
func (*AssetProvisioningState) UnmarshalJSON ¶
func (s *AssetProvisioningState) UnmarshalJSON(bytes []byte) error
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ModelContainerResource }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ModelContainerResource }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []ModelContainerResource }
type ListOperationOptions ¶
type ListOperationOptions struct { Count *int64 ListViewType *ListViewType Skip *string }
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 *[]ModelContainerResource }
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 ModelContainer ¶
type ModelContainer struct { Description *string `json:"description,omitempty"` IsArchived *bool `json:"isArchived,omitempty"` LatestVersion *string `json:"latestVersion,omitempty"` NextVersion *string `json:"nextVersion,omitempty"` Properties *map[string]string `json:"properties,omitempty"` ProvisioningState *AssetProvisioningState `json:"provisioningState,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type ModelContainerClient ¶
type ModelContainerClient struct {
Client *resourcemanager.Client
}
func NewModelContainerClientWithBaseURI ¶
func NewModelContainerClientWithBaseURI(sdkApi sdkEnv.Api) (*ModelContainerClient, error)
func (ModelContainerClient) CreateOrUpdate ¶
func (c ModelContainerClient) CreateOrUpdate(ctx context.Context, id ModelId, input ModelContainerResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ModelContainerClient) Delete ¶
func (c ModelContainerClient) Delete(ctx context.Context, id ModelId) (result DeleteOperationResponse, err error)
Delete ...
func (ModelContainerClient) Get ¶
func (c ModelContainerClient) Get(ctx context.Context, id ModelId) (result GetOperationResponse, err error)
Get ...
func (ModelContainerClient) List ¶
func (c ModelContainerClient) List(ctx context.Context, id WorkspaceId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (ModelContainerClient) ListComplete ¶
func (c ModelContainerClient) ListComplete(ctx context.Context, id WorkspaceId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ModelContainerClient) ListCompleteMatchingPredicate ¶
func (c ModelContainerClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options ListOperationOptions, predicate ModelContainerResourceOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ModelContainerClient) RegistryModelContainersCreateOrUpdate ¶
func (c ModelContainerClient) RegistryModelContainersCreateOrUpdate(ctx context.Context, id RegistryModelId, input ModelContainerResource) (result RegistryModelContainersCreateOrUpdateOperationResponse, err error)
RegistryModelContainersCreateOrUpdate ...
func (ModelContainerClient) RegistryModelContainersCreateOrUpdateThenPoll ¶
func (c ModelContainerClient) RegistryModelContainersCreateOrUpdateThenPoll(ctx context.Context, id RegistryModelId, input ModelContainerResource) error
RegistryModelContainersCreateOrUpdateThenPoll performs RegistryModelContainersCreateOrUpdate then polls until it's completed
func (ModelContainerClient) RegistryModelContainersDelete ¶
func (c ModelContainerClient) RegistryModelContainersDelete(ctx context.Context, id RegistryModelId) (result RegistryModelContainersDeleteOperationResponse, err error)
RegistryModelContainersDelete ...
func (ModelContainerClient) RegistryModelContainersDeleteThenPoll ¶
func (c ModelContainerClient) RegistryModelContainersDeleteThenPoll(ctx context.Context, id RegistryModelId) error
RegistryModelContainersDeleteThenPoll performs RegistryModelContainersDelete then polls until it's completed
func (ModelContainerClient) RegistryModelContainersGet ¶
func (c ModelContainerClient) RegistryModelContainersGet(ctx context.Context, id RegistryModelId) (result RegistryModelContainersGetOperationResponse, err error)
RegistryModelContainersGet ...
func (ModelContainerClient) RegistryModelContainersList ¶
func (c ModelContainerClient) RegistryModelContainersList(ctx context.Context, id RegistryId, options RegistryModelContainersListOperationOptions) (result RegistryModelContainersListOperationResponse, err error)
RegistryModelContainersList ...
func (ModelContainerClient) RegistryModelContainersListComplete ¶
func (c ModelContainerClient) RegistryModelContainersListComplete(ctx context.Context, id RegistryId, options RegistryModelContainersListOperationOptions) (RegistryModelContainersListCompleteResult, error)
RegistryModelContainersListComplete retrieves all the results into a single object
func (ModelContainerClient) RegistryModelContainersListCompleteMatchingPredicate ¶
func (c ModelContainerClient) RegistryModelContainersListCompleteMatchingPredicate(ctx context.Context, id RegistryId, options RegistryModelContainersListOperationOptions, predicate ModelContainerResourceOperationPredicate) (result RegistryModelContainersListCompleteResult, err error)
RegistryModelContainersListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ModelContainerResource ¶
type ModelContainerResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties ModelContainer `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ModelContainerResourceOperationPredicate ¶
func (ModelContainerResourceOperationPredicate) Matches ¶
func (p ModelContainerResourceOperationPredicate) Matches(input ModelContainerResource) bool
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) FromParseResult ¶
func (id *ModelId) FromParseResult(input resourceids.ParseResult) error
func (ModelId) Segments ¶
func (id ModelId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Model ID
type RegistryId ¶
RegistryId is a struct representing the Resource ID for a Registry
func NewRegistryID ¶
func NewRegistryID(subscriptionId string, resourceGroupName string, registryName string) RegistryId
NewRegistryID returns a new RegistryId struct
func ParseRegistryID ¶
func ParseRegistryID(input string) (*RegistryId, error)
ParseRegistryID parses 'input' into a RegistryId
func ParseRegistryIDInsensitively ¶
func ParseRegistryIDInsensitively(input string) (*RegistryId, error)
ParseRegistryIDInsensitively parses 'input' case-insensitively into a RegistryId note: this method should only be used for API response data and not user input
func (*RegistryId) FromParseResult ¶
func (id *RegistryId) FromParseResult(input resourceids.ParseResult) error
func (RegistryId) Segments ¶
func (id RegistryId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Registry ID
func (RegistryId) String ¶
func (id RegistryId) String() string
String returns a human-readable description of this Registry ID
type RegistryModelContainersGetOperationResponse ¶
type RegistryModelContainersGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ModelContainerResource }
type RegistryModelContainersListCompleteResult ¶
type RegistryModelContainersListCompleteResult struct { LatestHttpResponse *http.Response Items []ModelContainerResource }
type RegistryModelContainersListOperationOptions ¶
type RegistryModelContainersListOperationOptions struct { ListViewType *ListViewType Skip *string }
func DefaultRegistryModelContainersListOperationOptions ¶
func DefaultRegistryModelContainersListOperationOptions() RegistryModelContainersListOperationOptions
func (RegistryModelContainersListOperationOptions) ToHeaders ¶
func (o RegistryModelContainersListOperationOptions) ToHeaders() *client.Headers
func (RegistryModelContainersListOperationOptions) ToOData ¶
func (o RegistryModelContainersListOperationOptions) ToOData() *odata.Query
func (RegistryModelContainersListOperationOptions) ToQuery ¶
func (o RegistryModelContainersListOperationOptions) ToQuery() *client.QueryParams
type RegistryModelContainersListOperationResponse ¶
type RegistryModelContainersListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ModelContainerResource }
type RegistryModelId ¶
type RegistryModelId struct { SubscriptionId string ResourceGroupName string RegistryName string ModelName string }
RegistryModelId is a struct representing the Resource ID for a Registry Model
func NewRegistryModelID ¶
func NewRegistryModelID(subscriptionId string, resourceGroupName string, registryName string, modelName string) RegistryModelId
NewRegistryModelID returns a new RegistryModelId struct
func ParseRegistryModelID ¶
func ParseRegistryModelID(input string) (*RegistryModelId, error)
ParseRegistryModelID parses 'input' into a RegistryModelId
func ParseRegistryModelIDInsensitively ¶
func ParseRegistryModelIDInsensitively(input string) (*RegistryModelId, error)
ParseRegistryModelIDInsensitively parses 'input' case-insensitively into a RegistryModelId note: this method should only be used for API response data and not user input
func (*RegistryModelId) FromParseResult ¶
func (id *RegistryModelId) FromParseResult(input resourceids.ParseResult) error
func (RegistryModelId) ID ¶
func (id RegistryModelId) ID() string
ID returns the formatted Registry Model ID
func (RegistryModelId) Segments ¶
func (id RegistryModelId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Registry Model ID
func (RegistryModelId) String ¶
func (id RegistryModelId) String() string
String returns a human-readable description of this Registry Model ID
type WorkspaceId ¶
WorkspaceId is a struct representing the Resource ID for a Workspace
func NewWorkspaceID ¶
func NewWorkspaceID(subscriptionId string, resourceGroupName string, workspaceName string) WorkspaceId
NewWorkspaceID returns a new WorkspaceId struct
func ParseWorkspaceID ¶
func ParseWorkspaceID(input string) (*WorkspaceId, error)
ParseWorkspaceID parses 'input' into a WorkspaceId
func ParseWorkspaceIDInsensitively ¶
func ParseWorkspaceIDInsensitively(input string) (*WorkspaceId, error)
ParseWorkspaceIDInsensitively parses 'input' case-insensitively into a WorkspaceId note: this method should only be used for API response data and not user input
func (*WorkspaceId) FromParseResult ¶
func (id *WorkspaceId) FromParseResult(input resourceids.ParseResult) error
func (WorkspaceId) Segments ¶
func (id WorkspaceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workspace ID
func (WorkspaceId) String ¶
func (id WorkspaceId) String() string
String returns a human-readable description of this Workspace ID
Source Files ¶
- client.go
- constants.go
- id_model.go
- id_registry.go
- id_registrymodel.go
- id_workspace.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_registrymodelcontainerscreateorupdate.go
- method_registrymodelcontainersdelete.go
- method_registrymodelcontainersget.go
- method_registrymodelcontainerslist.go
- model_modelcontainer.go
- model_modelcontainerresource.go
- predicates.go
- version.go