Documentation ¶
Index ¶
- func PossibleValuesForOrderString() []string
- func PossibleValuesForPoolProvisioningState() []string
- func PossibleValuesForSkuScaleType() []string
- func PossibleValuesForSkuTier() []string
- func ValidateGroupID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateInferencePoolID(input interface{}, key string) (warnings []string, errors []error)
- type ActualCapacityInfo
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type GetStatusOperationResponse
- type GroupEnvironmentConfiguration
- type GroupId
- type GroupModelConfiguration
- type GroupStatus
- type InferenceGroup
- type InferenceGroupClient
- func (c InferenceGroupClient) CreateOrUpdate(ctx context.Context, id GroupId, input InferenceGroupTrackedResource) (result CreateOrUpdateOperationResponse, err error)
- func (c InferenceGroupClient) CreateOrUpdateThenPoll(ctx context.Context, id GroupId, input InferenceGroupTrackedResource) error
- func (c InferenceGroupClient) Delete(ctx context.Context, id GroupId) (result DeleteOperationResponse, err error)
- func (c InferenceGroupClient) DeleteThenPoll(ctx context.Context, id GroupId) error
- func (c InferenceGroupClient) Get(ctx context.Context, id GroupId) (result GetOperationResponse, err error)
- func (c InferenceGroupClient) GetStatus(ctx context.Context, id GroupId) (result GetStatusOperationResponse, err error)
- func (c InferenceGroupClient) List(ctx context.Context, id InferencePoolId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c InferenceGroupClient) ListComplete(ctx context.Context, id InferencePoolId, options ListOperationOptions) (ListCompleteResult, error)
- func (c InferenceGroupClient) ListCompleteMatchingPredicate(ctx context.Context, id InferencePoolId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- func (c InferenceGroupClient) ListSkus(ctx context.Context, id GroupId, options ListSkusOperationOptions) (result ListSkusOperationResponse, err error)
- func (c InferenceGroupClient) ListSkusComplete(ctx context.Context, id GroupId, options ListSkusOperationOptions) (ListSkusCompleteResult, error)
- func (c InferenceGroupClient) ListSkusCompleteMatchingPredicate(ctx context.Context, id GroupId, options ListSkusOperationOptions, ...) (result ListSkusCompleteResult, err error)
- func (c InferenceGroupClient) Update(ctx context.Context, id GroupId, input PartialMinimalTrackedResourceWithSku) (result UpdateOperationResponse, err error)
- func (c InferenceGroupClient) UpdateThenPoll(ctx context.Context, id GroupId, input PartialMinimalTrackedResourceWithSku) error
- type InferenceGroupTrackedResource
- type InferenceGroupTrackedResourceOperationPredicate
- type InferencePoolId
- type ListCompleteResult
- type ListCustomPager
- type ListOperationOptions
- type ListOperationResponse
- type ListSkusCompleteResult
- type ListSkusCustomPager
- type ListSkusOperationOptions
- type ListSkusOperationResponse
- type OrderString
- type PartialMinimalTrackedResourceWithSku
- type PartialSku
- type PoolProvisioningState
- type ProbeSettings
- type Sku
- type SkuCapacity
- type SkuResource
- type SkuResourceOperationPredicate
- type SkuScaleType
- type SkuSetting
- type SkuTier
- type StringStringKeyValuePair
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForOrderString ¶
func PossibleValuesForOrderString() []string
func PossibleValuesForPoolProvisioningState ¶
func PossibleValuesForPoolProvisioningState() []string
func PossibleValuesForSkuScaleType ¶
func PossibleValuesForSkuScaleType() []string
func PossibleValuesForSkuTier ¶
func PossibleValuesForSkuTier() []string
func ValidateGroupID ¶
ValidateGroupID checks that 'input' can be parsed as a Group ID
func ValidateInferencePoolID ¶
ValidateInferencePoolID checks that 'input' can be parsed as a Inference Pool ID
Types ¶
type ActualCapacityInfo ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *InferenceGroupTrackedResource }
type GetStatusOperationResponse ¶
type GetStatusOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GroupStatus }
type GroupEnvironmentConfiguration ¶
type GroupEnvironmentConfiguration struct { EnvironmentId *string `json:"environmentId,omitempty"` EnvironmentVariables *[]StringStringKeyValuePair `json:"environmentVariables,omitempty"` LivenessProbe *ProbeSettings `json:"livenessProbe,omitempty"` ReadinessProbe *ProbeSettings `json:"readinessProbe,omitempty"` StartupProbe *ProbeSettings `json:"startupProbe,omitempty"` }
type GroupId ¶
type GroupId struct { SubscriptionId string ResourceGroupName string WorkspaceName string InferencePoolName string GroupName string }
GroupId is a struct representing the Resource ID for a Group
func NewGroupID ¶
func NewGroupID(subscriptionId string, resourceGroupName string, workspaceName string, inferencePoolName string, groupName string) GroupId
NewGroupID returns a new GroupId struct
func ParseGroupID ¶
ParseGroupID parses 'input' into a GroupId
func ParseGroupIDInsensitively ¶
ParseGroupIDInsensitively parses 'input' case-insensitively into a GroupId note: this method should only be used for API response data and not user input
func (*GroupId) FromParseResult ¶
func (id *GroupId) FromParseResult(input resourceids.ParseResult) error
func (GroupId) Segments ¶
func (id GroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Group ID
type GroupModelConfiguration ¶
type GroupModelConfiguration struct {
ModelId *string `json:"modelId,omitempty"`
}
type GroupStatus ¶
type GroupStatus struct { ActualCapacityInfo *ActualCapacityInfo `json:"actualCapacityInfo,omitempty"` EndpointCount *int64 `json:"endpointCount,omitempty"` RequestedCapacity *int64 `json:"requestedCapacity,omitempty"` }
type InferenceGroup ¶
type InferenceGroup struct { Description *string `json:"description,omitempty"` EnvironmentConfiguration *GroupEnvironmentConfiguration `json:"environmentConfiguration,omitempty"` ModelConfiguration *GroupModelConfiguration `json:"modelConfiguration,omitempty"` NodeSkuType *string `json:"nodeSkuType,omitempty"` Properties *[]StringStringKeyValuePair `json:"properties,omitempty"` ProvisioningState *PoolProvisioningState `json:"provisioningState,omitempty"` ScaleUnitSize *int64 `json:"scaleUnitSize,omitempty"` }
type InferenceGroupClient ¶
type InferenceGroupClient struct {
Client *resourcemanager.Client
}
func NewInferenceGroupClientWithBaseURI ¶
func NewInferenceGroupClientWithBaseURI(sdkApi sdkEnv.Api) (*InferenceGroupClient, error)
func (InferenceGroupClient) CreateOrUpdate ¶
func (c InferenceGroupClient) CreateOrUpdate(ctx context.Context, id GroupId, input InferenceGroupTrackedResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (InferenceGroupClient) CreateOrUpdateThenPoll ¶
func (c InferenceGroupClient) CreateOrUpdateThenPoll(ctx context.Context, id GroupId, input InferenceGroupTrackedResource) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (InferenceGroupClient) Delete ¶
func (c InferenceGroupClient) Delete(ctx context.Context, id GroupId) (result DeleteOperationResponse, err error)
Delete ...
func (InferenceGroupClient) DeleteThenPoll ¶
func (c InferenceGroupClient) DeleteThenPoll(ctx context.Context, id GroupId) error
DeleteThenPoll performs Delete then polls until it's completed
func (InferenceGroupClient) Get ¶
func (c InferenceGroupClient) Get(ctx context.Context, id GroupId) (result GetOperationResponse, err error)
Get ...
func (InferenceGroupClient) GetStatus ¶
func (c InferenceGroupClient) GetStatus(ctx context.Context, id GroupId) (result GetStatusOperationResponse, err error)
GetStatus ...
func (InferenceGroupClient) List ¶
func (c InferenceGroupClient) List(ctx context.Context, id InferencePoolId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (InferenceGroupClient) ListComplete ¶
func (c InferenceGroupClient) ListComplete(ctx context.Context, id InferencePoolId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (InferenceGroupClient) ListCompleteMatchingPredicate ¶
func (c InferenceGroupClient) ListCompleteMatchingPredicate(ctx context.Context, id InferencePoolId, options ListOperationOptions, predicate InferenceGroupTrackedResourceOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (InferenceGroupClient) ListSkus ¶
func (c InferenceGroupClient) ListSkus(ctx context.Context, id GroupId, options ListSkusOperationOptions) (result ListSkusOperationResponse, err error)
ListSkus ...
func (InferenceGroupClient) ListSkusComplete ¶
func (c InferenceGroupClient) ListSkusComplete(ctx context.Context, id GroupId, options ListSkusOperationOptions) (ListSkusCompleteResult, error)
ListSkusComplete retrieves all the results into a single object
func (InferenceGroupClient) ListSkusCompleteMatchingPredicate ¶
func (c InferenceGroupClient) ListSkusCompleteMatchingPredicate(ctx context.Context, id GroupId, options ListSkusOperationOptions, predicate SkuResourceOperationPredicate) (result ListSkusCompleteResult, err error)
ListSkusCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (InferenceGroupClient) Update ¶
func (c InferenceGroupClient) Update(ctx context.Context, id GroupId, input PartialMinimalTrackedResourceWithSku) (result UpdateOperationResponse, err error)
Update ...
func (InferenceGroupClient) UpdateThenPoll ¶
func (c InferenceGroupClient) UpdateThenPoll(ctx context.Context, id GroupId, input PartialMinimalTrackedResourceWithSku) error
UpdateThenPoll performs Update then polls until it's completed
type InferenceGroupTrackedResource ¶
type InferenceGroupTrackedResource 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 InferenceGroup `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"` }
type InferenceGroupTrackedResourceOperationPredicate ¶
type InferenceGroupTrackedResourceOperationPredicate struct { Id *string Kind *string Location *string Name *string Type *string }
func (InferenceGroupTrackedResourceOperationPredicate) Matches ¶
func (p InferenceGroupTrackedResourceOperationPredicate) Matches(input InferenceGroupTrackedResource) bool
type InferencePoolId ¶
type InferencePoolId struct { SubscriptionId string ResourceGroupName string WorkspaceName string InferencePoolName string }
InferencePoolId is a struct representing the Resource ID for a Inference Pool
func NewInferencePoolID ¶
func NewInferencePoolID(subscriptionId string, resourceGroupName string, workspaceName string, inferencePoolName string) InferencePoolId
NewInferencePoolID returns a new InferencePoolId struct
func ParseInferencePoolID ¶
func ParseInferencePoolID(input string) (*InferencePoolId, error)
ParseInferencePoolID parses 'input' into a InferencePoolId
func ParseInferencePoolIDInsensitively ¶
func ParseInferencePoolIDInsensitively(input string) (*InferencePoolId, error)
ParseInferencePoolIDInsensitively parses 'input' case-insensitively into a InferencePoolId note: this method should only be used for API response data and not user input
func (*InferencePoolId) FromParseResult ¶
func (id *InferencePoolId) FromParseResult(input resourceids.ParseResult) error
func (InferencePoolId) ID ¶
func (id InferencePoolId) ID() string
ID returns the formatted Inference Pool ID
func (InferencePoolId) Segments ¶
func (id InferencePoolId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Inference Pool ID
func (InferencePoolId) String ¶
func (id InferencePoolId) String() string
String returns a human-readable description of this Inference Pool ID
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []InferenceGroupTrackedResource }
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationOptions ¶
type ListOperationOptions struct { Count *int64 OrderBy *OrderString Properties *string Skip *string Tags *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 *[]InferenceGroupTrackedResource }
type ListSkusCompleteResult ¶
type ListSkusCompleteResult struct { LatestHttpResponse *http.Response Items []SkuResource }
type ListSkusCustomPager ¶
func (*ListSkusCustomPager) NextPageLink ¶
func (p *ListSkusCustomPager) NextPageLink() *odata.Link
type ListSkusOperationOptions ¶
func DefaultListSkusOperationOptions ¶
func DefaultListSkusOperationOptions() ListSkusOperationOptions
func (ListSkusOperationOptions) ToHeaders ¶
func (o ListSkusOperationOptions) ToHeaders() *client.Headers
func (ListSkusOperationOptions) ToOData ¶
func (o ListSkusOperationOptions) ToOData() *odata.Query
func (ListSkusOperationOptions) ToQuery ¶
func (o ListSkusOperationOptions) ToQuery() *client.QueryParams
type ListSkusOperationResponse ¶
type ListSkusOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SkuResource }
type OrderString ¶
type OrderString string
const ( OrderStringCreatedAtAsc OrderString = "CreatedAtAsc" OrderStringCreatedAtDesc OrderString = "CreatedAtDesc" OrderStringUpdatedAtAsc OrderString = "UpdatedAtAsc" OrderStringUpdatedAtDesc OrderString = "UpdatedAtDesc" )
func (*OrderString) UnmarshalJSON ¶
func (s *OrderString) UnmarshalJSON(bytes []byte) error
type PartialMinimalTrackedResourceWithSku ¶
type PartialMinimalTrackedResourceWithSku struct { Sku *PartialSku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type PartialSku ¶
type PoolProvisioningState ¶
type PoolProvisioningState string
const ( PoolProvisioningStateCanceled PoolProvisioningState = "Canceled" PoolProvisioningStateCreating PoolProvisioningState = "Creating" PoolProvisioningStateDeleting PoolProvisioningState = "Deleting" PoolProvisioningStateFailed PoolProvisioningState = "Failed" PoolProvisioningStateSucceeded PoolProvisioningState = "Succeeded" PoolProvisioningStateUpdating PoolProvisioningState = "Updating" )
func (*PoolProvisioningState) UnmarshalJSON ¶
func (s *PoolProvisioningState) UnmarshalJSON(bytes []byte) error
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" )
func (*SkuScaleType) UnmarshalJSON ¶
func (s *SkuScaleType) UnmarshalJSON(bytes []byte) error
type SkuSetting ¶
type UpdateOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- id_group.go
- id_inferencepool.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_getstatus.go
- method_list.go
- method_listskus.go
- method_update.go
- model_actualcapacityinfo.go
- model_groupenvironmentconfiguration.go
- model_groupmodelconfiguration.go
- model_groupstatus.go
- model_inferencegroup.go
- model_inferencegrouptrackedresource.go
- model_partialminimaltrackedresourcewithsku.go
- model_partialsku.go
- model_probesettings.go
- model_sku.go
- model_skucapacity.go
- model_skuresource.go
- model_skusetting.go
- model_stringstringkeyvaluepair.go
- predicates.go
- version.go