Documentation ¶
Index ¶
- func PossibleValuesForAutoRebuildSetting() []string
- 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 AutoRebuildSetting
- 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) (result 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, ...) (result 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 PossibleValuesForAutoRebuildSetting ¶
func PossibleValuesForAutoRebuildSetting() []string
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 AutoRebuildSetting ¶
type AutoRebuildSetting string
const ( AutoRebuildSettingDisabled AutoRebuildSetting = "Disabled" AutoRebuildSettingOnBaseImageUpdate AutoRebuildSetting = "OnBaseImageUpdate" )
func (*AutoRebuildSetting) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *AutoRebuildSetting) UnmarshalJSON(bytes []byte) error
type BuildContext ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData 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) FromParseResult ¶ added in v0.20231127.1171502
func (id *EnvironmentId) FromParseResult(input resourceids.ParseResult) error
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" )
func (*EnvironmentType) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *EnvironmentType) UnmarshalJSON(bytes []byte) error
type EnvironmentVersion ¶
type EnvironmentVersion struct { AutoRebuild *AutoRebuildSetting `json:"autoRebuild,omitempty"` 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 *resourcemanager.Client
}
func NewEnvironmentVersionClientWithBaseURI ¶
func NewEnvironmentVersionClientWithBaseURI(sdkApi sdkEnv.Api) (*EnvironmentVersionClient, error)
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) (result ListOperationResponse, err error)
List ...
func (EnvironmentVersionClient) ListComplete ¶
func (c EnvironmentVersionClient) ListComplete(ctx context.Context, id EnvironmentId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (EnvironmentVersionClient) ListCompleteMatchingPredicate ¶
func (c EnvironmentVersionClient) ListCompleteMatchingPredicate(ctx context.Context, id EnvironmentId, options ListOperationOptions, predicate EnvironmentVersionResourceOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies 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) FromParseResult ¶ added in v0.20231127.1171502
func (id *EnvironmentVersionId) FromParseResult(input resourceids.ParseResult) error
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 OData *odata.OData 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
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 *[]EnvironmentVersionResource }
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 OperatingSystemType ¶
type OperatingSystemType string
const ( OperatingSystemTypeLinux OperatingSystemType = "Linux" OperatingSystemTypeWindows OperatingSystemType = "Windows" )
func (*OperatingSystemType) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *OperatingSystemType) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_environment.go
- id_environmentversion.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- model_buildcontext.go
- model_environmentversion.go
- model_environmentversionresource.go
- model_inferencecontainerproperties.go
- model_route.go
- predicates.go
- version.go