Documentation ¶
Index ¶
- func PossibleValuesForContentSafetyStatus() []string
- func PossibleValuesForEndpointProvisioningState() []string
- func PossibleValuesForKeyType() []string
- func PossibleValuesForManagedServiceIdentityType() []string
- func PossibleValuesForServerlessEndpointState() []string
- func PossibleValuesForServerlessInferenceEndpointAuthMode() []string
- func PossibleValuesForSkuTier() []string
- func ValidateServerlessEndpointID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type ContentSafety
- type ContentSafetyStatus
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type EndpointAuthKeys
- type EndpointProvisioningState
- type GetOperationResponse
- type KeyType
- type ListCompleteResult
- type ListKeysOperationResponse
- type ListOperationOptions
- type ListOperationResponse
- type ManagedServiceIdentityType
- type ModelSettings
- type PartialManagedServiceIdentity
- type PartialMinimalTrackedResourceWithSkuAndIdentity
- type PartialSku
- type RegenerateEndpointKeysRequest
- type RegenerateKeysOperationResponse
- type ServerlessEndpoint
- type ServerlessEndpointClient
- func (c ServerlessEndpointClient) CreateOrUpdate(ctx context.Context, id ServerlessEndpointId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c ServerlessEndpointClient) CreateOrUpdateThenPoll(ctx context.Context, id ServerlessEndpointId, ...) error
- func (c ServerlessEndpointClient) Delete(ctx context.Context, id ServerlessEndpointId) (result DeleteOperationResponse, err error)
- func (c ServerlessEndpointClient) DeleteThenPoll(ctx context.Context, id ServerlessEndpointId) error
- func (c ServerlessEndpointClient) Get(ctx context.Context, id ServerlessEndpointId) (result GetOperationResponse, err error)
- func (c ServerlessEndpointClient) List(ctx context.Context, id WorkspaceId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c ServerlessEndpointClient) ListComplete(ctx context.Context, id WorkspaceId, options ListOperationOptions) (ListCompleteResult, error)
- func (c ServerlessEndpointClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- func (c ServerlessEndpointClient) ListKeys(ctx context.Context, id ServerlessEndpointId) (result ListKeysOperationResponse, err error)
- func (c ServerlessEndpointClient) RegenerateKeys(ctx context.Context, id ServerlessEndpointId, ...) (result RegenerateKeysOperationResponse, err error)
- func (c ServerlessEndpointClient) RegenerateKeysThenPoll(ctx context.Context, id ServerlessEndpointId, ...) error
- func (c ServerlessEndpointClient) Update(ctx context.Context, id ServerlessEndpointId, ...) (result UpdateOperationResponse, err error)
- func (c ServerlessEndpointClient) UpdateThenPoll(ctx context.Context, id ServerlessEndpointId, ...) error
- type ServerlessEndpointId
- type ServerlessEndpointState
- type ServerlessEndpointTrackedResource
- type ServerlessEndpointTrackedResourceOperationPredicate
- type ServerlessInferenceEndpoint
- type ServerlessInferenceEndpointAuthMode
- type Sku
- type SkuTier
- type UpdateOperationResponse
- type WorkspaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForContentSafetyStatus ¶
func PossibleValuesForContentSafetyStatus() []string
func PossibleValuesForEndpointProvisioningState ¶
func PossibleValuesForEndpointProvisioningState() []string
func PossibleValuesForKeyType ¶
func PossibleValuesForKeyType() []string
func PossibleValuesForManagedServiceIdentityType ¶
func PossibleValuesForManagedServiceIdentityType() []string
func PossibleValuesForServerlessEndpointState ¶
func PossibleValuesForServerlessEndpointState() []string
func PossibleValuesForServerlessInferenceEndpointAuthMode ¶
func PossibleValuesForServerlessInferenceEndpointAuthMode() []string
func PossibleValuesForSkuTier ¶
func PossibleValuesForSkuTier() []string
func ValidateServerlessEndpointID ¶
func ValidateServerlessEndpointID(input interface{}, key string) (warnings []string, errors []error)
ValidateServerlessEndpointID checks that 'input' can be parsed as a Serverless Endpoint ID
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
Types ¶
type ContentSafety ¶
type ContentSafety struct {
ContentSafetyStatus ContentSafetyStatus `json:"contentSafetyStatus"`
}
type ContentSafetyStatus ¶
type ContentSafetyStatus string
const ( ContentSafetyStatusDisabled ContentSafetyStatus = "Disabled" ContentSafetyStatusEnabled ContentSafetyStatus = "Enabled" )
func (*ContentSafetyStatus) UnmarshalJSON ¶
func (s *ContentSafetyStatus) UnmarshalJSON(bytes []byte) error
type DeleteOperationResponse ¶
type EndpointAuthKeys ¶
type EndpointProvisioningState ¶
type EndpointProvisioningState string
const ( EndpointProvisioningStateCanceled EndpointProvisioningState = "Canceled" EndpointProvisioningStateCreating EndpointProvisioningState = "Creating" EndpointProvisioningStateDeleting EndpointProvisioningState = "Deleting" EndpointProvisioningStateFailed EndpointProvisioningState = "Failed" EndpointProvisioningStateSucceeded EndpointProvisioningState = "Succeeded" EndpointProvisioningStateUpdating EndpointProvisioningState = "Updating" )
func (*EndpointProvisioningState) UnmarshalJSON ¶
func (s *EndpointProvisioningState) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ServerlessEndpointTrackedResource }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []ServerlessEndpointTrackedResource }
type ListKeysOperationResponse ¶
type ListKeysOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *EndpointAuthKeys }
type ListOperationOptions ¶
type ListOperationOptions struct {
Skip *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 *[]ServerlessEndpointTrackedResource }
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 ModelSettings ¶
type ModelSettings struct {
ModelId *string `json:"modelId,omitempty"`
}
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 ServerlessEndpoint ¶
type ServerlessEndpoint struct { AuthMode ServerlessInferenceEndpointAuthMode `json:"authMode"` ContentSafety *ContentSafety `json:"contentSafety,omitempty"` EndpointState *ServerlessEndpointState `json:"endpointState,omitempty"` InferenceEndpoint *ServerlessInferenceEndpoint `json:"inferenceEndpoint,omitempty"` MarketplaceSubscriptionId *string `json:"marketplaceSubscriptionId,omitempty"` ModelSettings *ModelSettings `json:"modelSettings,omitempty"` ProvisioningState *EndpointProvisioningState `json:"provisioningState,omitempty"` }
type ServerlessEndpointClient ¶
type ServerlessEndpointClient struct {
Client *resourcemanager.Client
}
func NewServerlessEndpointClientWithBaseURI ¶
func NewServerlessEndpointClientWithBaseURI(sdkApi sdkEnv.Api) (*ServerlessEndpointClient, error)
func (ServerlessEndpointClient) CreateOrUpdate ¶
func (c ServerlessEndpointClient) CreateOrUpdate(ctx context.Context, id ServerlessEndpointId, input ServerlessEndpointTrackedResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ServerlessEndpointClient) CreateOrUpdateThenPoll ¶
func (c ServerlessEndpointClient) CreateOrUpdateThenPoll(ctx context.Context, id ServerlessEndpointId, input ServerlessEndpointTrackedResource) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (ServerlessEndpointClient) Delete ¶
func (c ServerlessEndpointClient) Delete(ctx context.Context, id ServerlessEndpointId) (result DeleteOperationResponse, err error)
Delete ...
func (ServerlessEndpointClient) DeleteThenPoll ¶
func (c ServerlessEndpointClient) DeleteThenPoll(ctx context.Context, id ServerlessEndpointId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ServerlessEndpointClient) Get ¶
func (c ServerlessEndpointClient) Get(ctx context.Context, id ServerlessEndpointId) (result GetOperationResponse, err error)
Get ...
func (ServerlessEndpointClient) List ¶
func (c ServerlessEndpointClient) List(ctx context.Context, id WorkspaceId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (ServerlessEndpointClient) ListComplete ¶
func (c ServerlessEndpointClient) ListComplete(ctx context.Context, id WorkspaceId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ServerlessEndpointClient) ListCompleteMatchingPredicate ¶
func (c ServerlessEndpointClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options ListOperationOptions, predicate ServerlessEndpointTrackedResourceOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ServerlessEndpointClient) ListKeys ¶
func (c ServerlessEndpointClient) ListKeys(ctx context.Context, id ServerlessEndpointId) (result ListKeysOperationResponse, err error)
ListKeys ...
func (ServerlessEndpointClient) RegenerateKeys ¶
func (c ServerlessEndpointClient) RegenerateKeys(ctx context.Context, id ServerlessEndpointId, input RegenerateEndpointKeysRequest) (result RegenerateKeysOperationResponse, err error)
RegenerateKeys ...
func (ServerlessEndpointClient) RegenerateKeysThenPoll ¶
func (c ServerlessEndpointClient) RegenerateKeysThenPoll(ctx context.Context, id ServerlessEndpointId, input RegenerateEndpointKeysRequest) error
RegenerateKeysThenPoll performs RegenerateKeys then polls until it's completed
func (ServerlessEndpointClient) Update ¶
func (c ServerlessEndpointClient) Update(ctx context.Context, id ServerlessEndpointId, input PartialMinimalTrackedResourceWithSkuAndIdentity) (result UpdateOperationResponse, err error)
Update ...
func (ServerlessEndpointClient) UpdateThenPoll ¶
func (c ServerlessEndpointClient) UpdateThenPoll(ctx context.Context, id ServerlessEndpointId, input PartialMinimalTrackedResourceWithSkuAndIdentity) error
UpdateThenPoll performs Update then polls until it's completed
type ServerlessEndpointId ¶
type ServerlessEndpointId struct { SubscriptionId string ResourceGroupName string WorkspaceName string ServerlessEndpointName string }
ServerlessEndpointId is a struct representing the Resource ID for a Serverless Endpoint
func NewServerlessEndpointID ¶
func NewServerlessEndpointID(subscriptionId string, resourceGroupName string, workspaceName string, serverlessEndpointName string) ServerlessEndpointId
NewServerlessEndpointID returns a new ServerlessEndpointId struct
func ParseServerlessEndpointID ¶
func ParseServerlessEndpointID(input string) (*ServerlessEndpointId, error)
ParseServerlessEndpointID parses 'input' into a ServerlessEndpointId
func ParseServerlessEndpointIDInsensitively ¶
func ParseServerlessEndpointIDInsensitively(input string) (*ServerlessEndpointId, error)
ParseServerlessEndpointIDInsensitively parses 'input' case-insensitively into a ServerlessEndpointId note: this method should only be used for API response data and not user input
func (*ServerlessEndpointId) FromParseResult ¶
func (id *ServerlessEndpointId) FromParseResult(input resourceids.ParseResult) error
func (ServerlessEndpointId) ID ¶
func (id ServerlessEndpointId) ID() string
ID returns the formatted Serverless Endpoint ID
func (ServerlessEndpointId) Segments ¶
func (id ServerlessEndpointId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Serverless Endpoint ID
func (ServerlessEndpointId) String ¶
func (id ServerlessEndpointId) String() string
String returns a human-readable description of this Serverless Endpoint ID
type ServerlessEndpointState ¶
type ServerlessEndpointState string
const ( ServerlessEndpointStateCreating ServerlessEndpointState = "Creating" ServerlessEndpointStateCreationFailed ServerlessEndpointState = "CreationFailed" ServerlessEndpointStateDeleting ServerlessEndpointState = "Deleting" ServerlessEndpointStateDeletionFailed ServerlessEndpointState = "DeletionFailed" ServerlessEndpointStateOnline ServerlessEndpointState = "Online" ServerlessEndpointStateReinstating ServerlessEndpointState = "Reinstating" ServerlessEndpointStateSuspended ServerlessEndpointState = "Suspended" ServerlessEndpointStateSuspending ServerlessEndpointState = "Suspending" ServerlessEndpointStateUnknown ServerlessEndpointState = "Unknown" )
func (*ServerlessEndpointState) UnmarshalJSON ¶
func (s *ServerlessEndpointState) UnmarshalJSON(bytes []byte) error
type ServerlessEndpointTrackedResource ¶
type ServerlessEndpointTrackedResource 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 ServerlessEndpoint `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 ServerlessEndpointTrackedResourceOperationPredicate ¶
type ServerlessEndpointTrackedResourceOperationPredicate struct { Id *string Kind *string Location *string Name *string Type *string }
func (ServerlessEndpointTrackedResourceOperationPredicate) Matches ¶
func (p ServerlessEndpointTrackedResourceOperationPredicate) Matches(input ServerlessEndpointTrackedResource) bool
type ServerlessInferenceEndpointAuthMode ¶
type ServerlessInferenceEndpointAuthMode string
const (
ServerlessInferenceEndpointAuthModeKey ServerlessInferenceEndpointAuthMode = "Key"
)
func (*ServerlessInferenceEndpointAuthMode) UnmarshalJSON ¶
func (s *ServerlessInferenceEndpointAuthMode) UnmarshalJSON(bytes []byte) error
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_serverlessendpoint.go
- id_workspace.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_listkeys.go
- method_regeneratekeys.go
- method_update.go
- model_contentsafety.go
- model_endpointauthkeys.go
- model_modelsettings.go
- model_partialmanagedserviceidentity.go
- model_partialminimaltrackedresourcewithskuandidentity.go
- model_partialsku.go
- model_regenerateendpointkeysrequest.go
- model_serverlessendpoint.go
- model_serverlessendpointtrackedresource.go
- model_serverlessinferenceendpoint.go
- model_sku.go
- predicates.go
- version.go