Documentation ¶
Index ¶
- func PossibleValuesForEnvironmentType() []string
- func PossibleValuesForListViewType() []string
- func PossibleValuesForOperatingSystemType() []string
- func ValidateEnvironmentID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateEnvironmentVersionID(input interface{}, key string) (warnings []string, errors []error)
- type BuildContext
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type EnvironmentId
- type EnvironmentType
- type EnvironmentVersion
- type EnvironmentVersionClient
- func (c EnvironmentVersionClient) CreateOrUpdate(ctx context.Context, id EnvironmentVersionId, input EnvironmentVersionResource) (result CreateOrUpdateOperationResponse, err error)
- func (c EnvironmentVersionClient) Delete(ctx context.Context, id EnvironmentVersionId) (result DeleteOperationResponse, err error)
- func (c EnvironmentVersionClient) Get(ctx context.Context, id EnvironmentVersionId) (result GetOperationResponse, err error)
- func (c EnvironmentVersionClient) List(ctx context.Context, id EnvironmentId, options ListOperationOptions) (resp ListOperationResponse, err error)
- func (c EnvironmentVersionClient) ListComplete(ctx context.Context, id EnvironmentId, options ListOperationOptions) (ListCompleteResult, error)
- func (c EnvironmentVersionClient) ListCompleteMatchingPredicate(ctx context.Context, id EnvironmentId, options ListOperationOptions, ...) (resp ListCompleteResult, err error)
- type EnvironmentVersionId
- type EnvironmentVersionResource
- type EnvironmentVersionResourceOperationPredicate
- type GetOperationResponse
- type InferenceContainerProperties
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type ListViewType
- type OperatingSystemType
- type Route
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForEnvironmentType ¶
func PossibleValuesForEnvironmentType() []string
func PossibleValuesForListViewType ¶
func PossibleValuesForListViewType() []string
func PossibleValuesForOperatingSystemType ¶
func PossibleValuesForOperatingSystemType() []string
func ValidateEnvironmentID ¶
ValidateEnvironmentID checks that 'input' can be parsed as a Environment ID
func ValidateEnvironmentVersionID ¶
func ValidateEnvironmentVersionID(input interface{}, key string) (warnings []string, errors []error)
ValidateEnvironmentVersionID checks that 'input' can be parsed as a Environment Version ID
Types ¶
type BuildContext ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *EnvironmentVersionResource }
type DeleteOperationResponse ¶
type EnvironmentId ¶
type EnvironmentId struct { SubscriptionId string ResourceGroupName string WorkspaceName string EnvironmentName string }
EnvironmentId is a struct representing the Resource ID for a Environment
func NewEnvironmentID ¶
func NewEnvironmentID(subscriptionId string, resourceGroupName string, workspaceName string, environmentName string) EnvironmentId
NewEnvironmentID returns a new EnvironmentId struct
func ParseEnvironmentID ¶
func ParseEnvironmentID(input string) (*EnvironmentId, error)
ParseEnvironmentID parses 'input' into a EnvironmentId
func ParseEnvironmentIDInsensitively ¶
func ParseEnvironmentIDInsensitively(input string) (*EnvironmentId, error)
ParseEnvironmentIDInsensitively parses 'input' case-insensitively into a EnvironmentId note: this method should only be used for API response data and not user input
func (EnvironmentId) ID ¶
func (id EnvironmentId) ID() string
ID returns the formatted Environment ID
func (EnvironmentId) Segments ¶
func (id EnvironmentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Environment ID
func (EnvironmentId) String ¶
func (id EnvironmentId) String() string
String returns a human-readable description of this Environment ID
type EnvironmentType ¶
type EnvironmentType string
const ( EnvironmentTypeCurated EnvironmentType = "Curated" EnvironmentTypeUserCreated EnvironmentType = "UserCreated" )
type EnvironmentVersion ¶
type EnvironmentVersion struct { Build *BuildContext `json:"build,omitempty"` CondaFile *string `json:"condaFile,omitempty"` Description *string `json:"description,omitempty"` EnvironmentType *EnvironmentType `json:"environmentType,omitempty"` Image *string `json:"image,omitempty"` InferenceConfig *InferenceContainerProperties `json:"inferenceConfig,omitempty"` IsAnonymous *bool `json:"isAnonymous,omitempty"` IsArchived *bool `json:"isArchived,omitempty"` OsType *OperatingSystemType `json:"osType,omitempty"` Properties *map[string]string `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type EnvironmentVersionClient ¶
type EnvironmentVersionClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewEnvironmentVersionClientWithBaseURI ¶
func NewEnvironmentVersionClientWithBaseURI(endpoint string) EnvironmentVersionClient
func (EnvironmentVersionClient) CreateOrUpdate ¶
func (c EnvironmentVersionClient) CreateOrUpdate(ctx context.Context, id EnvironmentVersionId, input EnvironmentVersionResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (EnvironmentVersionClient) Delete ¶
func (c EnvironmentVersionClient) Delete(ctx context.Context, id EnvironmentVersionId) (result DeleteOperationResponse, err error)
Delete ...
func (EnvironmentVersionClient) Get ¶
func (c EnvironmentVersionClient) Get(ctx context.Context, id EnvironmentVersionId) (result GetOperationResponse, err error)
Get ...
func (EnvironmentVersionClient) List ¶
func (c EnvironmentVersionClient) List(ctx context.Context, id EnvironmentId, options ListOperationOptions) (resp ListOperationResponse, err error)
List ...
func (EnvironmentVersionClient) ListComplete ¶
func (c EnvironmentVersionClient) ListComplete(ctx context.Context, id EnvironmentId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (EnvironmentVersionClient) ListCompleteMatchingPredicate ¶
func (c EnvironmentVersionClient) ListCompleteMatchingPredicate(ctx context.Context, id EnvironmentId, options ListOperationOptions, predicate EnvironmentVersionResourceOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type EnvironmentVersionId ¶
type EnvironmentVersionId struct { SubscriptionId string ResourceGroupName string WorkspaceName string EnvironmentName string VersionName string }
EnvironmentVersionId is a struct representing the Resource ID for a Environment Version
func NewEnvironmentVersionID ¶
func NewEnvironmentVersionID(subscriptionId string, resourceGroupName string, workspaceName string, environmentName string, versionName string) EnvironmentVersionId
NewEnvironmentVersionID returns a new EnvironmentVersionId struct
func ParseEnvironmentVersionID ¶
func ParseEnvironmentVersionID(input string) (*EnvironmentVersionId, error)
ParseEnvironmentVersionID parses 'input' into a EnvironmentVersionId
func ParseEnvironmentVersionIDInsensitively ¶
func ParseEnvironmentVersionIDInsensitively(input string) (*EnvironmentVersionId, error)
ParseEnvironmentVersionIDInsensitively parses 'input' case-insensitively into a EnvironmentVersionId note: this method should only be used for API response data and not user input
func (EnvironmentVersionId) ID ¶
func (id EnvironmentVersionId) ID() string
ID returns the formatted Environment Version ID
func (EnvironmentVersionId) Segments ¶
func (id EnvironmentVersionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Environment Version ID
func (EnvironmentVersionId) String ¶
func (id EnvironmentVersionId) String() string
String returns a human-readable description of this Environment Version ID
type EnvironmentVersionResource ¶
type EnvironmentVersionResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties EnvironmentVersion `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type EnvironmentVersionResourceOperationPredicate ¶
func (EnvironmentVersionResourceOperationPredicate) Matches ¶
func (p EnvironmentVersionResourceOperationPredicate) Matches(input EnvironmentVersionResource) bool
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *EnvironmentVersionResource }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []EnvironmentVersionResource
}
type ListOperationOptions ¶
type ListOperationOptions struct { ListViewType *ListViewType OrderBy *string Skip *string Top *int64 }
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]EnvironmentVersionResource // 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 OperatingSystemType ¶
type OperatingSystemType string
const ( OperatingSystemTypeLinux OperatingSystemType = "Linux" OperatingSystemTypeWindows OperatingSystemType = "Windows" )
Source Files ¶
- client.go
- constants.go
- id_environment.go
- id_environmentversion.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- model_buildcontext.go
- model_environmentversion.go
- model_environmentversionresource.go
- model_inferencecontainerproperties.go
- model_route.go
- predicates.go
- version.go