Documentation ¶
Index ¶
- func PossibleValuesForContainerType() []string
- func PossibleValuesForDeploymentProvisioningState() []string
- func PossibleValuesForEndpointComputeType() []string
- func PossibleValuesForScaleType() []string
- func PossibleValuesForSkuScaleType() []string
- func PossibleValuesForSkuTier() []string
- func ValidateOnlineEndpointDeploymentID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateOnlineEndpointID(input interface{}, key string) (warnings []string, errors []error)
- type CodeConfiguration
- type ContainerResourceRequirements
- type ContainerResourceSettings
- type ContainerType
- type CreateOrUpdateOperationResponse
- type DefaultScaleSettings
- type DeleteOperationResponse
- type DeploymentLogs
- type DeploymentLogsRequest
- type DeploymentProvisioningState
- type EndpointComputeType
- type GetLogsOperationResponse
- type GetOperationResponse
- type KubernetesOnlineDeployment
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type ListSkusCompleteResult
- type ListSkusOperationOptions
- type ListSkusOperationResponse
- type ManagedOnlineDeployment
- type OnlineDeployment
- type OnlineDeploymentClient
- func (c OnlineDeploymentClient) CreateOrUpdate(ctx context.Context, id OnlineEndpointDeploymentId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c OnlineDeploymentClient) CreateOrUpdateThenPoll(ctx context.Context, id OnlineEndpointDeploymentId, ...) error
- func (c OnlineDeploymentClient) Delete(ctx context.Context, id OnlineEndpointDeploymentId) (result DeleteOperationResponse, err error)
- func (c OnlineDeploymentClient) DeleteThenPoll(ctx context.Context, id OnlineEndpointDeploymentId) error
- func (c OnlineDeploymentClient) Get(ctx context.Context, id OnlineEndpointDeploymentId) (result GetOperationResponse, err error)
- func (c OnlineDeploymentClient) GetLogs(ctx context.Context, id OnlineEndpointDeploymentId, ...) (result GetLogsOperationResponse, err error)
- func (c OnlineDeploymentClient) List(ctx context.Context, id OnlineEndpointId, options ListOperationOptions) (resp ListOperationResponse, err error)
- func (c OnlineDeploymentClient) ListComplete(ctx context.Context, id OnlineEndpointId, options ListOperationOptions) (ListCompleteResult, error)
- func (c OnlineDeploymentClient) ListCompleteMatchingPredicate(ctx context.Context, id OnlineEndpointId, options ListOperationOptions, ...) (resp ListCompleteResult, err error)
- func (c OnlineDeploymentClient) ListSkus(ctx context.Context, id OnlineEndpointDeploymentId, ...) (resp ListSkusOperationResponse, err error)
- func (c OnlineDeploymentClient) ListSkusComplete(ctx context.Context, id OnlineEndpointDeploymentId, ...) (ListSkusCompleteResult, error)
- func (c OnlineDeploymentClient) ListSkusCompleteMatchingPredicate(ctx context.Context, id OnlineEndpointDeploymentId, ...) (resp ListSkusCompleteResult, err error)
- func (c OnlineDeploymentClient) Update(ctx context.Context, id OnlineEndpointDeploymentId, ...) (result UpdateOperationResponse, err error)
- func (c OnlineDeploymentClient) UpdateThenPoll(ctx context.Context, id OnlineEndpointDeploymentId, ...) error
- type OnlineDeploymentTrackedResource
- type OnlineDeploymentTrackedResourceOperationPredicate
- type OnlineEndpointDeploymentId
- func NewOnlineEndpointDeploymentID(subscriptionId string, resourceGroupName string, workspaceName string, ...) OnlineEndpointDeploymentId
- func ParseOnlineEndpointDeploymentID(input string) (*OnlineEndpointDeploymentId, error)
- func ParseOnlineEndpointDeploymentIDInsensitively(input string) (*OnlineEndpointDeploymentId, error)
- type OnlineEndpointId
- type OnlineRequestSettings
- type OnlineScaleSettings
- type PartialMinimalTrackedResourceWithSku
- type PartialSku
- type ProbeSettings
- type ScaleType
- type Sku
- type SkuCapacity
- type SkuResource
- type SkuResourceOperationPredicate
- type SkuScaleType
- type SkuSetting
- type SkuTier
- type TargetUtilizationScaleSettings
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForContainerType ¶
func PossibleValuesForContainerType() []string
func PossibleValuesForDeploymentProvisioningState ¶
func PossibleValuesForDeploymentProvisioningState() []string
func PossibleValuesForEndpointComputeType ¶
func PossibleValuesForEndpointComputeType() []string
func PossibleValuesForScaleType ¶
func PossibleValuesForScaleType() []string
func PossibleValuesForSkuScaleType ¶
func PossibleValuesForSkuScaleType() []string
func PossibleValuesForSkuTier ¶
func PossibleValuesForSkuTier() []string
func ValidateOnlineEndpointDeploymentID ¶
func ValidateOnlineEndpointDeploymentID(input interface{}, key string) (warnings []string, errors []error)
ValidateOnlineEndpointDeploymentID checks that 'input' can be parsed as a Online Endpoint Deployment ID
func ValidateOnlineEndpointID ¶
ValidateOnlineEndpointID checks that 'input' can be parsed as a Online Endpoint ID
Types ¶
type CodeConfiguration ¶
type ContainerResourceRequirements ¶
type ContainerResourceRequirements struct { ContainerResourceLimits *ContainerResourceSettings `json:"containerResourceLimits,omitempty"` ContainerResourceRequests *ContainerResourceSettings `json:"containerResourceRequests,omitempty"` }
type ContainerType ¶
type ContainerType string
const ( ContainerTypeInferenceServer ContainerType = "InferenceServer" ContainerTypeStorageInitializer ContainerType = "StorageInitializer" )
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DefaultScaleSettings ¶
type DefaultScaleSettings struct { }
func (DefaultScaleSettings) MarshalJSON ¶
func (s DefaultScaleSettings) MarshalJSON() ([]byte, error)
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeploymentLogs ¶
type DeploymentLogs struct {
Content *string `json:"content,omitempty"`
}
type DeploymentLogsRequest ¶
type DeploymentLogsRequest struct { ContainerType *ContainerType `json:"containerType,omitempty"` Tail *int64 `json:"tail,omitempty"` }
type DeploymentProvisioningState ¶
type DeploymentProvisioningState string
const ( DeploymentProvisioningStateCanceled DeploymentProvisioningState = "Canceled" DeploymentProvisioningStateCreating DeploymentProvisioningState = "Creating" DeploymentProvisioningStateDeleting DeploymentProvisioningState = "Deleting" DeploymentProvisioningStateFailed DeploymentProvisioningState = "Failed" DeploymentProvisioningStateScaling DeploymentProvisioningState = "Scaling" DeploymentProvisioningStateSucceeded DeploymentProvisioningState = "Succeeded" DeploymentProvisioningStateUpdating DeploymentProvisioningState = "Updating" )
type EndpointComputeType ¶
type EndpointComputeType string
const ( EndpointComputeTypeAzureMLCompute EndpointComputeType = "AzureMLCompute" EndpointComputeTypeKubernetes EndpointComputeType = "Kubernetes" EndpointComputeTypeManaged EndpointComputeType = "Managed" )
type GetLogsOperationResponse ¶
type GetLogsOperationResponse struct { HttpResponse *http.Response Model *DeploymentLogs }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *OnlineDeploymentTrackedResource }
type KubernetesOnlineDeployment ¶
type KubernetesOnlineDeployment struct { ContainerResourceRequirements *ContainerResourceRequirements `json:"containerResourceRequirements,omitempty"` // Fields inherited from OnlineDeployment AppInsightsEnabled *bool `json:"appInsightsEnabled,omitempty"` CodeConfiguration *CodeConfiguration `json:"codeConfiguration,omitempty"` Description *string `json:"description,omitempty"` EnvironmentId *string `json:"environmentId,omitempty"` EnvironmentVariables *map[string]string `json:"environmentVariables,omitempty"` InstanceType *string `json:"instanceType,omitempty"` LivenessProbe *ProbeSettings `json:"livenessProbe,omitempty"` Model *string `json:"model,omitempty"` ModelMountPath *string `json:"modelMountPath,omitempty"` Properties *map[string]string `json:"properties,omitempty"` ProvisioningState *DeploymentProvisioningState `json:"provisioningState,omitempty"` ReadinessProbe *ProbeSettings `json:"readinessProbe,omitempty"` RequestSettings *OnlineRequestSettings `json:"requestSettings,omitempty"` ScaleSettings OnlineScaleSettings `json:"scaleSettings"` }
func (KubernetesOnlineDeployment) MarshalJSON ¶
func (s KubernetesOnlineDeployment) MarshalJSON() ([]byte, error)
func (*KubernetesOnlineDeployment) UnmarshalJSON ¶ added in v0.20220704.1074157
func (s *KubernetesOnlineDeployment) UnmarshalJSON(bytes []byte) error
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []OnlineDeploymentTrackedResource
}
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]OnlineDeploymentTrackedResource // 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 ListSkusCompleteResult ¶
type ListSkusCompleteResult struct {
Items []SkuResource
}
type ListSkusOperationOptions ¶
func DefaultListSkusOperationOptions ¶
func DefaultListSkusOperationOptions() ListSkusOperationOptions
type ListSkusOperationResponse ¶
type ListSkusOperationResponse struct { HttpResponse *http.Response Model *[]SkuResource // contains filtered or unexported fields }
func (ListSkusOperationResponse) HasMore ¶
func (r ListSkusOperationResponse) HasMore() bool
func (ListSkusOperationResponse) LoadMore ¶
func (r ListSkusOperationResponse) LoadMore(ctx context.Context) (resp ListSkusOperationResponse, err error)
type ManagedOnlineDeployment ¶
type ManagedOnlineDeployment struct { // Fields inherited from OnlineDeployment AppInsightsEnabled *bool `json:"appInsightsEnabled,omitempty"` CodeConfiguration *CodeConfiguration `json:"codeConfiguration,omitempty"` Description *string `json:"description,omitempty"` EnvironmentId *string `json:"environmentId,omitempty"` EnvironmentVariables *map[string]string `json:"environmentVariables,omitempty"` InstanceType *string `json:"instanceType,omitempty"` LivenessProbe *ProbeSettings `json:"livenessProbe,omitempty"` Model *string `json:"model,omitempty"` ModelMountPath *string `json:"modelMountPath,omitempty"` Properties *map[string]string `json:"properties,omitempty"` ProvisioningState *DeploymentProvisioningState `json:"provisioningState,omitempty"` ReadinessProbe *ProbeSettings `json:"readinessProbe,omitempty"` RequestSettings *OnlineRequestSettings `json:"requestSettings,omitempty"` ScaleSettings OnlineScaleSettings `json:"scaleSettings"` }
func (ManagedOnlineDeployment) MarshalJSON ¶
func (s ManagedOnlineDeployment) MarshalJSON() ([]byte, error)
func (*ManagedOnlineDeployment) UnmarshalJSON ¶ added in v0.20220704.1074157
func (s *ManagedOnlineDeployment) UnmarshalJSON(bytes []byte) error
type OnlineDeployment ¶
type OnlineDeployment interface { }
type OnlineDeploymentClient ¶
type OnlineDeploymentClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewOnlineDeploymentClientWithBaseURI ¶
func NewOnlineDeploymentClientWithBaseURI(endpoint string) OnlineDeploymentClient
func (OnlineDeploymentClient) CreateOrUpdate ¶
func (c OnlineDeploymentClient) CreateOrUpdate(ctx context.Context, id OnlineEndpointDeploymentId, input OnlineDeploymentTrackedResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (OnlineDeploymentClient) CreateOrUpdateThenPoll ¶
func (c OnlineDeploymentClient) CreateOrUpdateThenPoll(ctx context.Context, id OnlineEndpointDeploymentId, input OnlineDeploymentTrackedResource) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (OnlineDeploymentClient) Delete ¶
func (c OnlineDeploymentClient) Delete(ctx context.Context, id OnlineEndpointDeploymentId) (result DeleteOperationResponse, err error)
Delete ...
func (OnlineDeploymentClient) DeleteThenPoll ¶
func (c OnlineDeploymentClient) DeleteThenPoll(ctx context.Context, id OnlineEndpointDeploymentId) error
DeleteThenPoll performs Delete then polls until it's completed
func (OnlineDeploymentClient) Get ¶
func (c OnlineDeploymentClient) Get(ctx context.Context, id OnlineEndpointDeploymentId) (result GetOperationResponse, err error)
Get ...
func (OnlineDeploymentClient) GetLogs ¶
func (c OnlineDeploymentClient) GetLogs(ctx context.Context, id OnlineEndpointDeploymentId, input DeploymentLogsRequest) (result GetLogsOperationResponse, err error)
GetLogs ...
func (OnlineDeploymentClient) List ¶
func (c OnlineDeploymentClient) List(ctx context.Context, id OnlineEndpointId, options ListOperationOptions) (resp ListOperationResponse, err error)
List ...
func (OnlineDeploymentClient) ListComplete ¶
func (c OnlineDeploymentClient) ListComplete(ctx context.Context, id OnlineEndpointId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (OnlineDeploymentClient) ListCompleteMatchingPredicate ¶
func (c OnlineDeploymentClient) ListCompleteMatchingPredicate(ctx context.Context, id OnlineEndpointId, options ListOperationOptions, predicate OnlineDeploymentTrackedResourceOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (OnlineDeploymentClient) ListSkus ¶
func (c OnlineDeploymentClient) ListSkus(ctx context.Context, id OnlineEndpointDeploymentId, options ListSkusOperationOptions) (resp ListSkusOperationResponse, err error)
ListSkus ...
func (OnlineDeploymentClient) ListSkusComplete ¶
func (c OnlineDeploymentClient) ListSkusComplete(ctx context.Context, id OnlineEndpointDeploymentId, options ListSkusOperationOptions) (ListSkusCompleteResult, error)
ListSkusComplete retrieves all of the results into a single object
func (OnlineDeploymentClient) ListSkusCompleteMatchingPredicate ¶
func (c OnlineDeploymentClient) ListSkusCompleteMatchingPredicate(ctx context.Context, id OnlineEndpointDeploymentId, options ListSkusOperationOptions, predicate SkuResourceOperationPredicate) (resp ListSkusCompleteResult, err error)
ListSkusCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (OnlineDeploymentClient) Update ¶
func (c OnlineDeploymentClient) Update(ctx context.Context, id OnlineEndpointDeploymentId, input PartialMinimalTrackedResourceWithSku) (result UpdateOperationResponse, err error)
Update ...
func (OnlineDeploymentClient) UpdateThenPoll ¶
func (c OnlineDeploymentClient) UpdateThenPoll(ctx context.Context, id OnlineEndpointDeploymentId, input PartialMinimalTrackedResourceWithSku) error
UpdateThenPoll performs Update then polls until it's completed
type OnlineDeploymentTrackedResource ¶
type OnlineDeploymentTrackedResource struct { Id *string `json:"id,omitempty"` Identity *identity.LegacySystemAndUserAssignedMap `json:"identity,omitempty"` Kind *string `json:"kind,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties OnlineDeployment `json:"properties"` Sku *Sku `json:"sku,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
func (*OnlineDeploymentTrackedResource) UnmarshalJSON ¶
func (s *OnlineDeploymentTrackedResource) UnmarshalJSON(bytes []byte) error
type OnlineDeploymentTrackedResourceOperationPredicate ¶
type OnlineDeploymentTrackedResourceOperationPredicate struct { Id *string Kind *string Location *string Name *string Type *string }
func (OnlineDeploymentTrackedResourceOperationPredicate) Matches ¶
func (p OnlineDeploymentTrackedResourceOperationPredicate) Matches(input OnlineDeploymentTrackedResource) bool
type OnlineEndpointDeploymentId ¶
type OnlineEndpointDeploymentId struct { SubscriptionId string ResourceGroupName string WorkspaceName string EndpointName string DeploymentName string }
OnlineEndpointDeploymentId is a struct representing the Resource ID for a Online Endpoint Deployment
func NewOnlineEndpointDeploymentID ¶
func NewOnlineEndpointDeploymentID(subscriptionId string, resourceGroupName string, workspaceName string, endpointName string, deploymentName string) OnlineEndpointDeploymentId
NewOnlineEndpointDeploymentID returns a new OnlineEndpointDeploymentId struct
func ParseOnlineEndpointDeploymentID ¶
func ParseOnlineEndpointDeploymentID(input string) (*OnlineEndpointDeploymentId, error)
ParseOnlineEndpointDeploymentID parses 'input' into a OnlineEndpointDeploymentId
func ParseOnlineEndpointDeploymentIDInsensitively ¶
func ParseOnlineEndpointDeploymentIDInsensitively(input string) (*OnlineEndpointDeploymentId, error)
ParseOnlineEndpointDeploymentIDInsensitively parses 'input' case-insensitively into a OnlineEndpointDeploymentId note: this method should only be used for API response data and not user input
func (OnlineEndpointDeploymentId) ID ¶
func (id OnlineEndpointDeploymentId) ID() string
ID returns the formatted Online Endpoint Deployment ID
func (OnlineEndpointDeploymentId) Segments ¶
func (id OnlineEndpointDeploymentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Online Endpoint Deployment ID
func (OnlineEndpointDeploymentId) String ¶
func (id OnlineEndpointDeploymentId) String() string
String returns a human-readable description of this Online Endpoint Deployment ID
type OnlineEndpointId ¶
type OnlineEndpointId struct { SubscriptionId string ResourceGroupName string WorkspaceName string EndpointName string }
OnlineEndpointId is a struct representing the Resource ID for a Online Endpoint
func NewOnlineEndpointID ¶
func NewOnlineEndpointID(subscriptionId string, resourceGroupName string, workspaceName string, endpointName string) OnlineEndpointId
NewOnlineEndpointID returns a new OnlineEndpointId struct
func ParseOnlineEndpointID ¶
func ParseOnlineEndpointID(input string) (*OnlineEndpointId, error)
ParseOnlineEndpointID parses 'input' into a OnlineEndpointId
func ParseOnlineEndpointIDInsensitively ¶
func ParseOnlineEndpointIDInsensitively(input string) (*OnlineEndpointId, error)
ParseOnlineEndpointIDInsensitively parses 'input' case-insensitively into a OnlineEndpointId note: this method should only be used for API response data and not user input
func (OnlineEndpointId) ID ¶
func (id OnlineEndpointId) ID() string
ID returns the formatted Online Endpoint ID
func (OnlineEndpointId) Segments ¶
func (id OnlineEndpointId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Online Endpoint ID
func (OnlineEndpointId) String ¶
func (id OnlineEndpointId) String() string
String returns a human-readable description of this Online Endpoint ID
type OnlineRequestSettings ¶
type OnlineScaleSettings ¶
type OnlineScaleSettings interface { }
type PartialMinimalTrackedResourceWithSku ¶
type PartialMinimalTrackedResourceWithSku struct { Sku *PartialSku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type PartialSku ¶
type ProbeSettings ¶
type SkuCapacity ¶
type SkuCapacity struct { Default *int64 `json:"default,omitempty"` Maximum *int64 `json:"maximum,omitempty"` Minimum *int64 `json:"minimum,omitempty"` ScaleType *SkuScaleType `json:"scaleType,omitempty"` }
type SkuResource ¶
type SkuResource struct { Capacity *SkuCapacity `json:"capacity,omitempty"` ResourceType *string `json:"resourceType,omitempty"` Sku *SkuSetting `json:"sku,omitempty"` }
type SkuResourceOperationPredicate ¶
type SkuResourceOperationPredicate struct {
ResourceType *string
}
func (SkuResourceOperationPredicate) Matches ¶
func (p SkuResourceOperationPredicate) Matches(input SkuResource) bool
type SkuScaleType ¶
type SkuScaleType string
const ( SkuScaleTypeAutomatic SkuScaleType = "Automatic" SkuScaleTypeManual SkuScaleType = "Manual" SkuScaleTypeNone SkuScaleType = "None" )
type SkuSetting ¶
type TargetUtilizationScaleSettings ¶
type TargetUtilizationScaleSettings struct { MaxInstances *int64 `json:"maxInstances,omitempty"` MinInstances *int64 `json:"minInstances,omitempty"` PollingInterval *string `json:"pollingInterval,omitempty"` TargetUtilizationPercentage *int64 `json:"targetUtilizationPercentage,omitempty"` }
func (TargetUtilizationScaleSettings) MarshalJSON ¶
func (s TargetUtilizationScaleSettings) MarshalJSON() ([]byte, error)
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
Source Files ¶
- client.go
- constants.go
- id_onlineendpoint.go
- id_onlineendpointdeployment.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_getlogs_autorest.go
- method_list_autorest.go
- method_listskus_autorest.go
- method_update_autorest.go
- model_codeconfiguration.go
- model_containerresourcerequirements.go
- model_containerresourcesettings.go
- model_defaultscalesettings.go
- model_deploymentlogs.go
- model_deploymentlogsrequest.go
- model_kubernetesonlinedeployment.go
- model_managedonlinedeployment.go
- model_onlinedeployment.go
- model_onlinedeploymenttrackedresource.go
- model_onlinerequestsettings.go
- model_onlinescalesettings.go
- model_partialminimaltrackedresourcewithsku.go
- model_partialsku.go
- model_probesettings.go
- model_sku.go
- model_skucapacity.go
- model_skuresource.go
- model_skusetting.go
- model_targetutilizationscalesettings.go
- predicates.go
- version.go