Documentation
¶
Index ¶
- func PossibleValuesForManagedServiceIdentityType() []string
- func PossibleValuesForOrderString() []string
- func PossibleValuesForPoolProvisioningState() []string
- func PossibleValuesForSkuTier() []string
- func ValidateInferencePoolID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type InferencePool
- type InferencePoolClient
- func (c InferencePoolClient) CreateOrUpdate(ctx context.Context, id InferencePoolId, input InferencePoolTrackedResource) (result CreateOrUpdateOperationResponse, err error)
- func (c InferencePoolClient) CreateOrUpdateThenPoll(ctx context.Context, id InferencePoolId, input InferencePoolTrackedResource) error
- func (c InferencePoolClient) Delete(ctx context.Context, id InferencePoolId) (result DeleteOperationResponse, err error)
- func (c InferencePoolClient) DeleteThenPoll(ctx context.Context, id InferencePoolId) error
- func (c InferencePoolClient) Get(ctx context.Context, id InferencePoolId) (result GetOperationResponse, err error)
- func (c InferencePoolClient) List(ctx context.Context, id WorkspaceId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c InferencePoolClient) ListComplete(ctx context.Context, id WorkspaceId, options ListOperationOptions) (ListCompleteResult, error)
- func (c InferencePoolClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- func (c InferencePoolClient) Update(ctx context.Context, id InferencePoolId, ...) (result UpdateOperationResponse, err error)
- func (c InferencePoolClient) UpdateThenPoll(ctx context.Context, id InferencePoolId, ...) error
- type InferencePoolId
- type InferencePoolTrackedResource
- type InferencePoolTrackedResourceOperationPredicate
- type ListCompleteResult
- type ListCustomPager
- type ListOperationOptions
- type ListOperationResponse
- type ManagedServiceIdentityType
- type OrderString
- type PartialManagedServiceIdentity
- type PartialMinimalTrackedResourceWithSkuAndIdentity
- type PartialSku
- type PoolProvisioningState
- type ScaleUnitConfiguration
- type Sku
- type SkuTier
- type StringStringKeyValuePair
- type UpdateOperationResponse
- type WorkspaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForManagedServiceIdentityType ¶
func PossibleValuesForManagedServiceIdentityType() []string
func PossibleValuesForOrderString ¶
func PossibleValuesForOrderString() []string
func PossibleValuesForPoolProvisioningState ¶
func PossibleValuesForPoolProvisioningState() []string
func PossibleValuesForSkuTier ¶
func PossibleValuesForSkuTier() []string
func ValidateInferencePoolID ¶
ValidateInferencePoolID checks that 'input' can be parsed as a Inference Pool ID
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
Types ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *InferencePoolTrackedResource }
type InferencePool ¶
type InferencePool struct { Description *string `json:"description,omitempty"` Properties *[]StringStringKeyValuePair `json:"properties,omitempty"` ProvisioningState *PoolProvisioningState `json:"provisioningState,omitempty"` ScaleUnitConfiguration *ScaleUnitConfiguration `json:"scaleUnitConfiguration,omitempty"` }
type InferencePoolClient ¶
type InferencePoolClient struct {
Client *resourcemanager.Client
}
func NewInferencePoolClientWithBaseURI ¶
func NewInferencePoolClientWithBaseURI(sdkApi sdkEnv.Api) (*InferencePoolClient, error)
func (InferencePoolClient) CreateOrUpdate ¶
func (c InferencePoolClient) CreateOrUpdate(ctx context.Context, id InferencePoolId, input InferencePoolTrackedResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (InferencePoolClient) CreateOrUpdateThenPoll ¶
func (c InferencePoolClient) CreateOrUpdateThenPoll(ctx context.Context, id InferencePoolId, input InferencePoolTrackedResource) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (InferencePoolClient) Delete ¶
func (c InferencePoolClient) Delete(ctx context.Context, id InferencePoolId) (result DeleteOperationResponse, err error)
Delete ...
func (InferencePoolClient) DeleteThenPoll ¶
func (c InferencePoolClient) DeleteThenPoll(ctx context.Context, id InferencePoolId) error
DeleteThenPoll performs Delete then polls until it's completed
func (InferencePoolClient) Get ¶
func (c InferencePoolClient) Get(ctx context.Context, id InferencePoolId) (result GetOperationResponse, err error)
Get ...
func (InferencePoolClient) List ¶
func (c InferencePoolClient) List(ctx context.Context, id WorkspaceId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (InferencePoolClient) ListComplete ¶
func (c InferencePoolClient) ListComplete(ctx context.Context, id WorkspaceId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (InferencePoolClient) ListCompleteMatchingPredicate ¶
func (c InferencePoolClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options ListOperationOptions, predicate InferencePoolTrackedResourceOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (InferencePoolClient) Update ¶
func (c InferencePoolClient) Update(ctx context.Context, id InferencePoolId, input PartialMinimalTrackedResourceWithSkuAndIdentity) (result UpdateOperationResponse, err error)
Update ...
func (InferencePoolClient) UpdateThenPoll ¶
func (c InferencePoolClient) UpdateThenPoll(ctx context.Context, id InferencePoolId, input PartialMinimalTrackedResourceWithSkuAndIdentity) error
UpdateThenPoll performs Update then polls until it's completed
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 InferencePoolTrackedResource ¶
type InferencePoolTrackedResource 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 InferencePool `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 InferencePoolTrackedResourceOperationPredicate ¶
type InferencePoolTrackedResourceOperationPredicate struct { Id *string Kind *string Location *string Name *string Type *string }
func (InferencePoolTrackedResourceOperationPredicate) Matches ¶
func (p InferencePoolTrackedResourceOperationPredicate) Matches(input InferencePoolTrackedResource) bool
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []InferencePoolTrackedResource }
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 *[]InferencePoolTrackedResource }
type ManagedServiceIdentityType ¶
type ManagedServiceIdentityType string
const ( ManagedServiceIdentityTypeNone ManagedServiceIdentityType = "None" ManagedServiceIdentityTypeSystemAssigned ManagedServiceIdentityType = "SystemAssigned" ManagedServiceIdentityTypeSystemAssignedUserAssigned ManagedServiceIdentityType = "SystemAssigned,UserAssigned" ManagedServiceIdentityTypeUserAssigned ManagedServiceIdentityType = "UserAssigned" )
func (*ManagedServiceIdentityType) UnmarshalJSON ¶
func (s *ManagedServiceIdentityType) UnmarshalJSON(bytes []byte) error
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 PartialManagedServiceIdentity ¶
type PartialManagedServiceIdentity struct { Type *ManagedServiceIdentityType `json:"type,omitempty"` UserAssignedIdentities *map[string]interface{} `json:"userAssignedIdentities,omitempty"` }
type PartialMinimalTrackedResourceWithSkuAndIdentity ¶
type PartialMinimalTrackedResourceWithSkuAndIdentity struct { Identity *PartialManagedServiceIdentity `json:"identity,omitempty"` 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 ScaleUnitConfiguration ¶
type UpdateOperationResponse ¶
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_inferencepool.go
- id_workspace.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_update.go
- model_inferencepool.go
- model_inferencepooltrackedresource.go
- model_partialmanagedserviceidentity.go
- model_partialminimaltrackedresourcewithskuandidentity.go
- model_partialsku.go
- model_scaleunitconfiguration.go
- model_sku.go
- model_stringstringkeyvaluepair.go
- predicates.go
- version.go