Documentation ¶
Index ¶
- func PossibleValuesForAllowedContentLevel() []string
- func PossibleValuesForContentSafetyStatus() []string
- func PossibleValuesForDefaultResourceProvisioningState() []string
- func PossibleValuesForDeploymentModelVersionUpgradeOption() []string
- func PossibleValuesForEndpointAuthMode() []string
- func PossibleValuesForEndpointComputeType() []string
- func PossibleValuesForEndpointType() []string
- func PossibleValuesForModelLifecycleStatus() []string
- func PossibleValuesForRaiPolicyContentSource() []string
- func PossibleValuesForRaiPolicyMode() []string
- func PossibleValuesForRaiPolicyType() []string
- func PossibleValuesForServerlessEndpointState() []string
- func PossibleValuesForServerlessInferenceEndpointAuthMode() []string
- func PossibleValuesForServiceAccountKeyName() []string
- func ValidateDeploymentID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateEndpointID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateRaiPolicyID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type AccountApiKeys
- type AllowedContentLevel
- type BaseEndpointDeploymentResourcePropertiesImpl
- type BaseEndpointResourcePropertiesImpl
- type CognitiveServicesSku
- type ContentSafetyEndpointDeploymentResourceProperties
- type ContentSafetyEndpointResourceProperties
- type ContentSafetyStatus
- type CreateOrUpdateOperationResponse
- type DefaultResourceProvisioningState
- type DeploymentCreateOrUpdateOperationResponse
- type DeploymentDeleteOperationOptions
- type DeploymentDeleteOperationResponse
- type DeploymentGetInWorkspaceCompleteResult
- type DeploymentGetInWorkspaceCustomPager
- type DeploymentGetInWorkspaceOperationOptions
- type DeploymentGetInWorkspaceOperationResponse
- type DeploymentGetOperationResponse
- type DeploymentId
- type DeploymentListCompleteResult
- type DeploymentListCustomPager
- type DeploymentListOperationResponse
- type DeploymentModelVersionUpgradeOption
- type EndpointAuthMode
- type EndpointClient
- func (c EndpointClient) CreateOrUpdate(ctx context.Context, id EndpointId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c EndpointClient) CreateOrUpdateThenPoll(ctx context.Context, id EndpointId, ...) error
- func (c EndpointClient) DeploymentCreateOrUpdate(ctx context.Context, id DeploymentId, ...) (result DeploymentCreateOrUpdateOperationResponse, err error)
- func (c EndpointClient) DeploymentCreateOrUpdateThenPoll(ctx context.Context, id DeploymentId, ...) error
- func (c EndpointClient) DeploymentDelete(ctx context.Context, id DeploymentId, options DeploymentDeleteOperationOptions) (result DeploymentDeleteOperationResponse, err error)
- func (c EndpointClient) DeploymentDeleteThenPoll(ctx context.Context, id DeploymentId, options DeploymentDeleteOperationOptions) error
- func (c EndpointClient) DeploymentGet(ctx context.Context, id DeploymentId) (result DeploymentGetOperationResponse, err error)
- func (c EndpointClient) DeploymentGetInWorkspace(ctx context.Context, id WorkspaceId, ...) (result DeploymentGetInWorkspaceOperationResponse, err error)
- func (c EndpointClient) DeploymentGetInWorkspaceComplete(ctx context.Context, id WorkspaceId, ...) (DeploymentGetInWorkspaceCompleteResult, error)
- func (c EndpointClient) DeploymentGetInWorkspaceCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, ...) (result DeploymentGetInWorkspaceCompleteResult, err error)
- func (c EndpointClient) DeploymentList(ctx context.Context, id EndpointId) (result DeploymentListOperationResponse, err error)
- func (c EndpointClient) DeploymentListComplete(ctx context.Context, id EndpointId) (DeploymentListCompleteResult, error)
- func (c EndpointClient) DeploymentListCompleteMatchingPredicate(ctx context.Context, id EndpointId, ...) (result DeploymentListCompleteResult, err error)
- func (c EndpointClient) Get(ctx context.Context, id EndpointId) (result GetOperationResponse, err error)
- func (c EndpointClient) GetModels(ctx context.Context, id EndpointId) (result GetModelsOperationResponse, err error)
- func (c EndpointClient) GetModelsComplete(ctx context.Context, id EndpointId) (GetModelsCompleteResult, error)
- func (c EndpointClient) GetModelsCompleteMatchingPredicate(ctx context.Context, id EndpointId, ...) (result GetModelsCompleteResult, err error)
- func (c EndpointClient) List(ctx context.Context, id WorkspaceId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c EndpointClient) ListComplete(ctx context.Context, id WorkspaceId, options ListOperationOptions) (ListCompleteResult, error)
- func (c EndpointClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- func (c EndpointClient) ListKeys(ctx context.Context, id EndpointId) (result ListKeysOperationResponse, err error)
- func (c EndpointClient) RaiPoliciesList(ctx context.Context, id EndpointId, options RaiPoliciesListOperationOptions) (result RaiPoliciesListOperationResponse, err error)
- func (c EndpointClient) RaiPoliciesListComplete(ctx context.Context, id EndpointId, options RaiPoliciesListOperationOptions) (RaiPoliciesListCompleteResult, error)
- func (c EndpointClient) RaiPoliciesListCompleteMatchingPredicate(ctx context.Context, id EndpointId, options RaiPoliciesListOperationOptions, ...) (result RaiPoliciesListCompleteResult, err error)
- func (c EndpointClient) RaiPolicyCreate(ctx context.Context, id RaiPolicyId, input RaiPolicyPropertiesBasicResource, ...) (result RaiPolicyCreateOperationResponse, err error)
- func (c EndpointClient) RaiPolicyCreateThenPoll(ctx context.Context, id RaiPolicyId, input RaiPolicyPropertiesBasicResource, ...) error
- func (c EndpointClient) RaiPolicyDelete(ctx context.Context, id RaiPolicyId, options RaiPolicyDeleteOperationOptions) (result RaiPolicyDeleteOperationResponse, err error)
- func (c EndpointClient) RaiPolicyDeleteThenPoll(ctx context.Context, id RaiPolicyId, options RaiPolicyDeleteOperationOptions) error
- func (c EndpointClient) RaiPolicyGet(ctx context.Context, id RaiPolicyId) (result RaiPolicyGetOperationResponse, err error)
- func (c EndpointClient) RegenerateKeys(ctx context.Context, id EndpointId, input RegenerateServiceAccountKeyContent) (result RegenerateKeysOperationResponse, err error)
- type EndpointComputeType
- type EndpointDeploymentModel
- type EndpointDeploymentResourceProperties
- type EndpointDeploymentResourcePropertiesBasicResource
- type EndpointDeploymentResourcePropertiesBasicResourceOperationPredicate
- type EndpointId
- type EndpointKeys
- type EndpointModelDeprecationProperties
- func (o *EndpointModelDeprecationProperties) GetFineTuneAsTime() (*time.Time, error)
- func (o *EndpointModelDeprecationProperties) GetInferenceAsTime() (*time.Time, error)
- func (o *EndpointModelDeprecationProperties) SetFineTuneAsTime(input time.Time)
- func (o *EndpointModelDeprecationProperties) SetInferenceAsTime(input time.Time)
- type EndpointModelProperties
- type EndpointModelPropertiesOperationPredicate
- type EndpointModelSkuCapacityProperties
- type EndpointModelSkuProperties
- type EndpointModelSkuRateLimitProperties
- type EndpointModelSkuRateLimitRulePatternProperties
- type EndpointModelSkuRateLimitRuleProperties
- type EndpointResourceProperties
- type EndpointResourcePropertiesBasicResource
- type EndpointResourcePropertiesBasicResourceOperationPredicate
- type EndpointType
- type GetModelsCompleteResult
- type GetModelsCustomPager
- type GetModelsOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListKeysOperationResponse
- type ListOperationOptions
- type ListOperationResponse
- type ManagedOnlineEndpointDeploymentResourceProperties
- type ManagedOnlineEndpointResourceProperties
- type ModelLifecycleStatus
- type OpenAIEndpointDeploymentResourceProperties
- type OpenAIEndpointResourceProperties
- type RaiBlocklistConfig
- type RaiPoliciesListCompleteResult
- type RaiPoliciesListCustomPager
- type RaiPoliciesListOperationOptions
- type RaiPoliciesListOperationResponse
- type RaiPolicyContentFilter
- type RaiPolicyContentSource
- type RaiPolicyCreateOperationOptions
- type RaiPolicyCreateOperationResponse
- type RaiPolicyDeleteOperationOptions
- type RaiPolicyDeleteOperationResponse
- type RaiPolicyGetOperationResponse
- type RaiPolicyId
- type RaiPolicyMode
- type RaiPolicyProperties
- type RaiPolicyPropertiesBasicResource
- type RaiPolicyPropertiesBasicResourceOperationPredicate
- type RaiPolicyType
- type RawEndpointDeploymentResourcePropertiesImpl
- type RawEndpointResourcePropertiesImpl
- type RegenerateKeysOperationResponse
- type RegenerateServiceAccountKeyContent
- type ServerlessEndpointCapacityReservation
- type ServerlessEndpointContentSafety
- type ServerlessEndpointInferenceEndpoint
- type ServerlessEndpointModelSettings
- type ServerlessEndpointResourceProperties
- type ServerlessEndpointState
- type ServerlessInferenceEndpointAuthMode
- type ServerlessOffer
- type ServiceAccountKeyName
- type SpeechEndpointDeploymentResourceProperties
- type SpeechEndpointResourceProperties
- type WorkspaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAllowedContentLevel ¶
func PossibleValuesForAllowedContentLevel() []string
func PossibleValuesForContentSafetyStatus ¶
func PossibleValuesForContentSafetyStatus() []string
func PossibleValuesForDefaultResourceProvisioningState ¶
func PossibleValuesForDefaultResourceProvisioningState() []string
func PossibleValuesForDeploymentModelVersionUpgradeOption ¶
func PossibleValuesForDeploymentModelVersionUpgradeOption() []string
func PossibleValuesForEndpointAuthMode ¶
func PossibleValuesForEndpointAuthMode() []string
func PossibleValuesForEndpointComputeType ¶
func PossibleValuesForEndpointComputeType() []string
func PossibleValuesForEndpointType ¶
func PossibleValuesForEndpointType() []string
func PossibleValuesForModelLifecycleStatus ¶
func PossibleValuesForModelLifecycleStatus() []string
func PossibleValuesForRaiPolicyContentSource ¶
func PossibleValuesForRaiPolicyContentSource() []string
func PossibleValuesForRaiPolicyMode ¶
func PossibleValuesForRaiPolicyMode() []string
func PossibleValuesForRaiPolicyType ¶
func PossibleValuesForRaiPolicyType() []string
func PossibleValuesForServerlessEndpointState ¶
func PossibleValuesForServerlessEndpointState() []string
func PossibleValuesForServerlessInferenceEndpointAuthMode ¶
func PossibleValuesForServerlessInferenceEndpointAuthMode() []string
func PossibleValuesForServiceAccountKeyName ¶
func PossibleValuesForServiceAccountKeyName() []string
func ValidateDeploymentID ¶
ValidateDeploymentID checks that 'input' can be parsed as a Deployment ID
func ValidateEndpointID ¶
ValidateEndpointID checks that 'input' can be parsed as a Endpoint ID
func ValidateRaiPolicyID ¶
ValidateRaiPolicyID checks that 'input' can be parsed as a Rai Policy ID
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
Types ¶
type AccountApiKeys ¶
type AllowedContentLevel ¶
type AllowedContentLevel string
const ( AllowedContentLevelHigh AllowedContentLevel = "High" AllowedContentLevelLow AllowedContentLevel = "Low" AllowedContentLevelMedium AllowedContentLevel = "Medium" )
func (*AllowedContentLevel) UnmarshalJSON ¶
func (s *AllowedContentLevel) UnmarshalJSON(bytes []byte) error
type BaseEndpointDeploymentResourcePropertiesImpl ¶
type BaseEndpointDeploymentResourcePropertiesImpl struct { FailureReason *string `json:"failureReason,omitempty"` ProvisioningState *DefaultResourceProvisioningState `json:"provisioningState,omitempty"` Type string `json:"type"` }
func (BaseEndpointDeploymentResourcePropertiesImpl) EndpointDeploymentResourceProperties ¶
func (s BaseEndpointDeploymentResourcePropertiesImpl) EndpointDeploymentResourceProperties() BaseEndpointDeploymentResourcePropertiesImpl
type BaseEndpointResourcePropertiesImpl ¶
type BaseEndpointResourcePropertiesImpl struct { AssociatedResourceId *string `json:"associatedResourceId,omitempty"` Deployments *[]EndpointDeploymentResourcePropertiesBasicResource `json:"deployments,omitempty"` EndpointType EndpointType `json:"endpointType"` EndpointUri *string `json:"endpointUri,omitempty"` FailureReason *string `json:"failureReason,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` ProvisioningState *DefaultResourceProvisioningState `json:"provisioningState,omitempty"` ShouldCreateAiServicesEndpoint *bool `json:"shouldCreateAiServicesEndpoint,omitempty"` }
func (BaseEndpointResourcePropertiesImpl) EndpointResourceProperties ¶
func (s BaseEndpointResourcePropertiesImpl) EndpointResourceProperties() BaseEndpointResourcePropertiesImpl
type CognitiveServicesSku ¶
type ContentSafetyEndpointDeploymentResourceProperties ¶
type ContentSafetyEndpointDeploymentResourceProperties struct { Model EndpointDeploymentModel `json:"model"` RaiPolicyName *string `json:"raiPolicyName,omitempty"` Sku *CognitiveServicesSku `json:"sku,omitempty"` VersionUpgradeOption *DeploymentModelVersionUpgradeOption `json:"versionUpgradeOption,omitempty"` FailureReason *string `json:"failureReason,omitempty"` ProvisioningState *DefaultResourceProvisioningState `json:"provisioningState,omitempty"` Type string `json:"type"` }
func (ContentSafetyEndpointDeploymentResourceProperties) EndpointDeploymentResourceProperties ¶
func (s ContentSafetyEndpointDeploymentResourceProperties) EndpointDeploymentResourceProperties() BaseEndpointDeploymentResourcePropertiesImpl
func (ContentSafetyEndpointDeploymentResourceProperties) MarshalJSON ¶
func (s ContentSafetyEndpointDeploymentResourceProperties) MarshalJSON() ([]byte, error)
type ContentSafetyEndpointResourceProperties ¶
type ContentSafetyEndpointResourceProperties struct { AssociatedResourceId *string `json:"associatedResourceId,omitempty"` Deployments *[]EndpointDeploymentResourcePropertiesBasicResource `json:"deployments,omitempty"` EndpointType EndpointType `json:"endpointType"` EndpointUri *string `json:"endpointUri,omitempty"` FailureReason *string `json:"failureReason,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` ProvisioningState *DefaultResourceProvisioningState `json:"provisioningState,omitempty"` ShouldCreateAiServicesEndpoint *bool `json:"shouldCreateAiServicesEndpoint,omitempty"` }
func (ContentSafetyEndpointResourceProperties) EndpointResourceProperties ¶
func (s ContentSafetyEndpointResourceProperties) EndpointResourceProperties() BaseEndpointResourcePropertiesImpl
func (ContentSafetyEndpointResourceProperties) MarshalJSON ¶
func (s ContentSafetyEndpointResourceProperties) MarshalJSON() ([]byte, error)
type ContentSafetyStatus ¶
type ContentSafetyStatus string
const ( ContentSafetyStatusDisabled ContentSafetyStatus = "Disabled" ContentSafetyStatusEnabled ContentSafetyStatus = "Enabled" )
func (*ContentSafetyStatus) UnmarshalJSON ¶
func (s *ContentSafetyStatus) UnmarshalJSON(bytes []byte) error
type DefaultResourceProvisioningState ¶
type DefaultResourceProvisioningState string
const ( DefaultResourceProvisioningStateAccepted DefaultResourceProvisioningState = "Accepted" DefaultResourceProvisioningStateCanceled DefaultResourceProvisioningState = "Canceled" DefaultResourceProvisioningStateCreating DefaultResourceProvisioningState = "Creating" DefaultResourceProvisioningStateDeleting DefaultResourceProvisioningState = "Deleting" DefaultResourceProvisioningStateDisabled DefaultResourceProvisioningState = "Disabled" DefaultResourceProvisioningStateFailed DefaultResourceProvisioningState = "Failed" DefaultResourceProvisioningStateNotStarted DefaultResourceProvisioningState = "NotStarted" DefaultResourceProvisioningStateScaling DefaultResourceProvisioningState = "Scaling" DefaultResourceProvisioningStateSucceeded DefaultResourceProvisioningState = "Succeeded" DefaultResourceProvisioningStateUpdating DefaultResourceProvisioningState = "Updating" )
func (*DefaultResourceProvisioningState) UnmarshalJSON ¶
func (s *DefaultResourceProvisioningState) UnmarshalJSON(bytes []byte) error
type DeploymentDeleteOperationOptions ¶
type DeploymentDeleteOperationOptions struct {
ProxyApiVersion *string
}
func DefaultDeploymentDeleteOperationOptions ¶
func DefaultDeploymentDeleteOperationOptions() DeploymentDeleteOperationOptions
func (DeploymentDeleteOperationOptions) ToHeaders ¶
func (o DeploymentDeleteOperationOptions) ToHeaders() *client.Headers
func (DeploymentDeleteOperationOptions) ToOData ¶
func (o DeploymentDeleteOperationOptions) ToOData() *odata.Query
func (DeploymentDeleteOperationOptions) ToQuery ¶
func (o DeploymentDeleteOperationOptions) ToQuery() *client.QueryParams
type DeploymentGetInWorkspaceCompleteResult ¶
type DeploymentGetInWorkspaceCompleteResult struct { LatestHttpResponse *http.Response Items []EndpointDeploymentResourcePropertiesBasicResource }
type DeploymentGetInWorkspaceCustomPager ¶
func (*DeploymentGetInWorkspaceCustomPager) NextPageLink ¶
func (p *DeploymentGetInWorkspaceCustomPager) NextPageLink() *odata.Link
type DeploymentGetInWorkspaceOperationOptions ¶
type DeploymentGetInWorkspaceOperationOptions struct { EndpointType *EndpointType Skip *string }
func DefaultDeploymentGetInWorkspaceOperationOptions ¶
func DefaultDeploymentGetInWorkspaceOperationOptions() DeploymentGetInWorkspaceOperationOptions
func (DeploymentGetInWorkspaceOperationOptions) ToHeaders ¶
func (o DeploymentGetInWorkspaceOperationOptions) ToHeaders() *client.Headers
func (DeploymentGetInWorkspaceOperationOptions) ToOData ¶
func (o DeploymentGetInWorkspaceOperationOptions) ToOData() *odata.Query
func (DeploymentGetInWorkspaceOperationOptions) ToQuery ¶
func (o DeploymentGetInWorkspaceOperationOptions) ToQuery() *client.QueryParams
type DeploymentGetInWorkspaceOperationResponse ¶
type DeploymentGetInWorkspaceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]EndpointDeploymentResourcePropertiesBasicResource }
type DeploymentGetOperationResponse ¶
type DeploymentGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *EndpointDeploymentResourcePropertiesBasicResource }
type DeploymentId ¶
type DeploymentId struct { SubscriptionId string ResourceGroupName string WorkspaceName string EndpointName string DeploymentName string }
DeploymentId is a struct representing the Resource ID for a Deployment
func NewDeploymentID ¶
func NewDeploymentID(subscriptionId string, resourceGroupName string, workspaceName string, endpointName string, deploymentName string) DeploymentId
NewDeploymentID returns a new DeploymentId struct
func ParseDeploymentID ¶
func ParseDeploymentID(input string) (*DeploymentId, error)
ParseDeploymentID parses 'input' into a DeploymentId
func ParseDeploymentIDInsensitively ¶
func ParseDeploymentIDInsensitively(input string) (*DeploymentId, error)
ParseDeploymentIDInsensitively parses 'input' case-insensitively into a DeploymentId note: this method should only be used for API response data and not user input
func (*DeploymentId) FromParseResult ¶
func (id *DeploymentId) FromParseResult(input resourceids.ParseResult) error
func (DeploymentId) Segments ¶
func (id DeploymentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Deployment ID
func (DeploymentId) String ¶
func (id DeploymentId) String() string
String returns a human-readable description of this Deployment ID
type DeploymentListCompleteResult ¶
type DeploymentListCompleteResult struct { LatestHttpResponse *http.Response Items []EndpointDeploymentResourcePropertiesBasicResource }
type DeploymentListCustomPager ¶
func (*DeploymentListCustomPager) NextPageLink ¶
func (p *DeploymentListCustomPager) NextPageLink() *odata.Link
type DeploymentListOperationResponse ¶
type DeploymentListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]EndpointDeploymentResourcePropertiesBasicResource }
type DeploymentModelVersionUpgradeOption ¶
type DeploymentModelVersionUpgradeOption string
const ( DeploymentModelVersionUpgradeOptionNoAutoUpgrade DeploymentModelVersionUpgradeOption = "NoAutoUpgrade" DeploymentModelVersionUpgradeOptionOnceCurrentVersionExpired DeploymentModelVersionUpgradeOption = "OnceCurrentVersionExpired" DeploymentModelVersionUpgradeOptionOnceNewDefaultVersionAvailable DeploymentModelVersionUpgradeOption = "OnceNewDefaultVersionAvailable" )
func (*DeploymentModelVersionUpgradeOption) UnmarshalJSON ¶
func (s *DeploymentModelVersionUpgradeOption) UnmarshalJSON(bytes []byte) error
type EndpointAuthMode ¶
type EndpointAuthMode string
const ( EndpointAuthModeAADToken EndpointAuthMode = "AADToken" EndpointAuthModeAMLToken EndpointAuthMode = "AMLToken" EndpointAuthModeKey EndpointAuthMode = "Key" )
func (*EndpointAuthMode) UnmarshalJSON ¶
func (s *EndpointAuthMode) UnmarshalJSON(bytes []byte) error
type EndpointClient ¶
type EndpointClient struct {
Client *resourcemanager.Client
}
func NewEndpointClientWithBaseURI ¶
func NewEndpointClientWithBaseURI(sdkApi sdkEnv.Api) (*EndpointClient, error)
func (EndpointClient) CreateOrUpdate ¶
func (c EndpointClient) CreateOrUpdate(ctx context.Context, id EndpointId, input EndpointResourcePropertiesBasicResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (EndpointClient) CreateOrUpdateThenPoll ¶
func (c EndpointClient) CreateOrUpdateThenPoll(ctx context.Context, id EndpointId, input EndpointResourcePropertiesBasicResource) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (EndpointClient) DeploymentCreateOrUpdate ¶
func (c EndpointClient) DeploymentCreateOrUpdate(ctx context.Context, id DeploymentId, input EndpointDeploymentResourcePropertiesBasicResource) (result DeploymentCreateOrUpdateOperationResponse, err error)
DeploymentCreateOrUpdate ...
func (EndpointClient) DeploymentCreateOrUpdateThenPoll ¶
func (c EndpointClient) DeploymentCreateOrUpdateThenPoll(ctx context.Context, id DeploymentId, input EndpointDeploymentResourcePropertiesBasicResource) error
DeploymentCreateOrUpdateThenPoll performs DeploymentCreateOrUpdate then polls until it's completed
func (EndpointClient) DeploymentDelete ¶
func (c EndpointClient) DeploymentDelete(ctx context.Context, id DeploymentId, options DeploymentDeleteOperationOptions) (result DeploymentDeleteOperationResponse, err error)
DeploymentDelete ...
func (EndpointClient) DeploymentDeleteThenPoll ¶
func (c EndpointClient) DeploymentDeleteThenPoll(ctx context.Context, id DeploymentId, options DeploymentDeleteOperationOptions) error
DeploymentDeleteThenPoll performs DeploymentDelete then polls until it's completed
func (EndpointClient) DeploymentGet ¶
func (c EndpointClient) DeploymentGet(ctx context.Context, id DeploymentId) (result DeploymentGetOperationResponse, err error)
DeploymentGet ...
func (EndpointClient) DeploymentGetInWorkspace ¶
func (c EndpointClient) DeploymentGetInWorkspace(ctx context.Context, id WorkspaceId, options DeploymentGetInWorkspaceOperationOptions) (result DeploymentGetInWorkspaceOperationResponse, err error)
DeploymentGetInWorkspace ...
func (EndpointClient) DeploymentGetInWorkspaceComplete ¶
func (c EndpointClient) DeploymentGetInWorkspaceComplete(ctx context.Context, id WorkspaceId, options DeploymentGetInWorkspaceOperationOptions) (DeploymentGetInWorkspaceCompleteResult, error)
DeploymentGetInWorkspaceComplete retrieves all the results into a single object
func (EndpointClient) DeploymentGetInWorkspaceCompleteMatchingPredicate ¶
func (c EndpointClient) DeploymentGetInWorkspaceCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options DeploymentGetInWorkspaceOperationOptions, predicate EndpointDeploymentResourcePropertiesBasicResourceOperationPredicate) (result DeploymentGetInWorkspaceCompleteResult, err error)
DeploymentGetInWorkspaceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (EndpointClient) DeploymentList ¶
func (c EndpointClient) DeploymentList(ctx context.Context, id EndpointId) (result DeploymentListOperationResponse, err error)
DeploymentList ...
func (EndpointClient) DeploymentListComplete ¶
func (c EndpointClient) DeploymentListComplete(ctx context.Context, id EndpointId) (DeploymentListCompleteResult, error)
DeploymentListComplete retrieves all the results into a single object
func (EndpointClient) DeploymentListCompleteMatchingPredicate ¶
func (c EndpointClient) DeploymentListCompleteMatchingPredicate(ctx context.Context, id EndpointId, predicate EndpointDeploymentResourcePropertiesBasicResourceOperationPredicate) (result DeploymentListCompleteResult, err error)
DeploymentListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (EndpointClient) Get ¶
func (c EndpointClient) Get(ctx context.Context, id EndpointId) (result GetOperationResponse, err error)
Get ...
func (EndpointClient) GetModels ¶
func (c EndpointClient) GetModels(ctx context.Context, id EndpointId) (result GetModelsOperationResponse, err error)
GetModels ...
func (EndpointClient) GetModelsComplete ¶
func (c EndpointClient) GetModelsComplete(ctx context.Context, id EndpointId) (GetModelsCompleteResult, error)
GetModelsComplete retrieves all the results into a single object
func (EndpointClient) GetModelsCompleteMatchingPredicate ¶
func (c EndpointClient) GetModelsCompleteMatchingPredicate(ctx context.Context, id EndpointId, predicate EndpointModelPropertiesOperationPredicate) (result GetModelsCompleteResult, err error)
GetModelsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (EndpointClient) List ¶
func (c EndpointClient) List(ctx context.Context, id WorkspaceId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (EndpointClient) ListComplete ¶
func (c EndpointClient) ListComplete(ctx context.Context, id WorkspaceId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (EndpointClient) ListCompleteMatchingPredicate ¶
func (c EndpointClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options ListOperationOptions, predicate EndpointResourcePropertiesBasicResourceOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (EndpointClient) ListKeys ¶
func (c EndpointClient) ListKeys(ctx context.Context, id EndpointId) (result ListKeysOperationResponse, err error)
ListKeys ...
func (EndpointClient) RaiPoliciesList ¶
func (c EndpointClient) RaiPoliciesList(ctx context.Context, id EndpointId, options RaiPoliciesListOperationOptions) (result RaiPoliciesListOperationResponse, err error)
RaiPoliciesList ...
func (EndpointClient) RaiPoliciesListComplete ¶
func (c EndpointClient) RaiPoliciesListComplete(ctx context.Context, id EndpointId, options RaiPoliciesListOperationOptions) (RaiPoliciesListCompleteResult, error)
RaiPoliciesListComplete retrieves all the results into a single object
func (EndpointClient) RaiPoliciesListCompleteMatchingPredicate ¶
func (c EndpointClient) RaiPoliciesListCompleteMatchingPredicate(ctx context.Context, id EndpointId, options RaiPoliciesListOperationOptions, predicate RaiPolicyPropertiesBasicResourceOperationPredicate) (result RaiPoliciesListCompleteResult, err error)
RaiPoliciesListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (EndpointClient) RaiPolicyCreate ¶
func (c EndpointClient) RaiPolicyCreate(ctx context.Context, id RaiPolicyId, input RaiPolicyPropertiesBasicResource, options RaiPolicyCreateOperationOptions) (result RaiPolicyCreateOperationResponse, err error)
RaiPolicyCreate ...
func (EndpointClient) RaiPolicyCreateThenPoll ¶
func (c EndpointClient) RaiPolicyCreateThenPoll(ctx context.Context, id RaiPolicyId, input RaiPolicyPropertiesBasicResource, options RaiPolicyCreateOperationOptions) error
RaiPolicyCreateThenPoll performs RaiPolicyCreate then polls until it's completed
func (EndpointClient) RaiPolicyDelete ¶
func (c EndpointClient) RaiPolicyDelete(ctx context.Context, id RaiPolicyId, options RaiPolicyDeleteOperationOptions) (result RaiPolicyDeleteOperationResponse, err error)
RaiPolicyDelete ...
func (EndpointClient) RaiPolicyDeleteThenPoll ¶
func (c EndpointClient) RaiPolicyDeleteThenPoll(ctx context.Context, id RaiPolicyId, options RaiPolicyDeleteOperationOptions) error
RaiPolicyDeleteThenPoll performs RaiPolicyDelete then polls until it's completed
func (EndpointClient) RaiPolicyGet ¶
func (c EndpointClient) RaiPolicyGet(ctx context.Context, id RaiPolicyId) (result RaiPolicyGetOperationResponse, err error)
RaiPolicyGet ...
func (EndpointClient) RegenerateKeys ¶
func (c EndpointClient) RegenerateKeys(ctx context.Context, id EndpointId, input RegenerateServiceAccountKeyContent) (result RegenerateKeysOperationResponse, err error)
RegenerateKeys ...
type EndpointComputeType ¶
type EndpointComputeType string
const ( EndpointComputeTypeAzureMLCompute EndpointComputeType = "AzureMLCompute" EndpointComputeTypeKubernetes EndpointComputeType = "Kubernetes" EndpointComputeTypeManaged EndpointComputeType = "Managed" )
func (*EndpointComputeType) UnmarshalJSON ¶
func (s *EndpointComputeType) UnmarshalJSON(bytes []byte) error
type EndpointDeploymentModel ¶
type EndpointDeploymentResourceProperties ¶
type EndpointDeploymentResourceProperties interface {
EndpointDeploymentResourceProperties() BaseEndpointDeploymentResourcePropertiesImpl
}
func UnmarshalEndpointDeploymentResourcePropertiesImplementation ¶
func UnmarshalEndpointDeploymentResourcePropertiesImplementation(input []byte) (EndpointDeploymentResourceProperties, error)
type EndpointDeploymentResourcePropertiesBasicResource ¶
type EndpointDeploymentResourcePropertiesBasicResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties EndpointDeploymentResourceProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
func (*EndpointDeploymentResourcePropertiesBasicResource) UnmarshalJSON ¶
func (s *EndpointDeploymentResourcePropertiesBasicResource) UnmarshalJSON(bytes []byte) error
type EndpointDeploymentResourcePropertiesBasicResourceOperationPredicate ¶
type EndpointDeploymentResourcePropertiesBasicResourceOperationPredicate struct { Id *string Name *string Type *string }
type EndpointId ¶
type EndpointId struct { SubscriptionId string ResourceGroupName string WorkspaceName string EndpointName string }
EndpointId is a struct representing the Resource ID for a Endpoint
func NewEndpointID ¶
func NewEndpointID(subscriptionId string, resourceGroupName string, workspaceName string, endpointName string) EndpointId
NewEndpointID returns a new EndpointId struct
func ParseEndpointID ¶
func ParseEndpointID(input string) (*EndpointId, error)
ParseEndpointID parses 'input' into a EndpointId
func ParseEndpointIDInsensitively ¶
func ParseEndpointIDInsensitively(input string) (*EndpointId, error)
ParseEndpointIDInsensitively parses 'input' case-insensitively into a EndpointId note: this method should only be used for API response data and not user input
func (*EndpointId) FromParseResult ¶
func (id *EndpointId) FromParseResult(input resourceids.ParseResult) error
func (EndpointId) Segments ¶
func (id EndpointId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Endpoint ID
func (EndpointId) String ¶
func (id EndpointId) String() string
String returns a human-readable description of this Endpoint ID
type EndpointKeys ¶
type EndpointKeys struct {
Keys *AccountApiKeys `json:"keys,omitempty"`
}
type EndpointModelDeprecationProperties ¶
type EndpointModelDeprecationProperties struct { FineTune *string `json:"fineTune,omitempty"` Inference *string `json:"inference,omitempty"` }
func (*EndpointModelDeprecationProperties) GetFineTuneAsTime ¶
func (o *EndpointModelDeprecationProperties) GetFineTuneAsTime() (*time.Time, error)
func (*EndpointModelDeprecationProperties) GetInferenceAsTime ¶
func (o *EndpointModelDeprecationProperties) GetInferenceAsTime() (*time.Time, error)
func (*EndpointModelDeprecationProperties) SetFineTuneAsTime ¶
func (o *EndpointModelDeprecationProperties) SetFineTuneAsTime(input time.Time)
func (*EndpointModelDeprecationProperties) SetInferenceAsTime ¶
func (o *EndpointModelDeprecationProperties) SetInferenceAsTime(input time.Time)
type EndpointModelProperties ¶
type EndpointModelProperties struct { Capabilities *map[string]string `json:"capabilities,omitempty"` Deprecation *EndpointModelDeprecationProperties `json:"deprecation,omitempty"` FinetuneCapabilities *map[string]string `json:"finetuneCapabilities,omitempty"` Format *string `json:"format,omitempty"` IsDefaultVersion *bool `json:"isDefaultVersion,omitempty"` LifecycleStatus *ModelLifecycleStatus `json:"lifecycleStatus,omitempty"` MaxCapacity *int64 `json:"maxCapacity,omitempty"` Name *string `json:"name,omitempty"` Skus *[]EndpointModelSkuProperties `json:"skus,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Version *string `json:"version,omitempty"` }
type EndpointModelPropertiesOperationPredicate ¶
type EndpointModelPropertiesOperationPredicate struct { Format *string IsDefaultVersion *bool MaxCapacity *int64 Name *string Version *string }
func (EndpointModelPropertiesOperationPredicate) Matches ¶
func (p EndpointModelPropertiesOperationPredicate) Matches(input EndpointModelProperties) bool
type EndpointModelSkuProperties ¶
type EndpointModelSkuProperties struct { Capacity *EndpointModelSkuCapacityProperties `json:"capacity,omitempty"` ConnectionIds *[]string `json:"connectionIds,omitempty"` DeprecationDate *string `json:"deprecationDate,omitempty"` Name *string `json:"name,omitempty"` RateLimits *[]EndpointModelSkuRateLimitProperties `json:"rateLimits,omitempty"` UsageName *string `json:"usageName,omitempty"` }
func (*EndpointModelSkuProperties) GetDeprecationDateAsTime ¶
func (o *EndpointModelSkuProperties) GetDeprecationDateAsTime() (*time.Time, error)
func (*EndpointModelSkuProperties) SetDeprecationDateAsTime ¶
func (o *EndpointModelSkuProperties) SetDeprecationDateAsTime(input time.Time)
type EndpointModelSkuRateLimitProperties ¶
type EndpointModelSkuRateLimitProperties struct { Count *float64 `json:"count,omitempty"` RenewalPeriod *float64 `json:"renewalPeriod,omitempty"` Rules *[]EndpointModelSkuRateLimitRuleProperties `json:"rules,omitempty"` }
type EndpointModelSkuRateLimitRuleProperties ¶
type EndpointModelSkuRateLimitRuleProperties struct { Count *float64 `json:"count,omitempty"` DynamicThrottlingEnabled *bool `json:"dynamicThrottlingEnabled,omitempty"` Key *string `json:"key,omitempty"` MatchPatterns *[]EndpointModelSkuRateLimitRulePatternProperties `json:"matchPatterns,omitempty"` MinCount *float64 `json:"minCount,omitempty"` RenewalPeriod *float64 `json:"renewalPeriod,omitempty"` }
type EndpointResourceProperties ¶
type EndpointResourceProperties interface {
EndpointResourceProperties() BaseEndpointResourcePropertiesImpl
}
func UnmarshalEndpointResourcePropertiesImplementation ¶
func UnmarshalEndpointResourcePropertiesImplementation(input []byte) (EndpointResourceProperties, error)
type EndpointResourcePropertiesBasicResource ¶
type EndpointResourcePropertiesBasicResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties EndpointResourceProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
func (*EndpointResourcePropertiesBasicResource) UnmarshalJSON ¶
func (s *EndpointResourcePropertiesBasicResource) UnmarshalJSON(bytes []byte) error
type EndpointResourcePropertiesBasicResourceOperationPredicate ¶
type EndpointResourcePropertiesBasicResourceOperationPredicate struct { Id *string Name *string Type *string }
func (EndpointResourcePropertiesBasicResourceOperationPredicate) Matches ¶
func (p EndpointResourcePropertiesBasicResourceOperationPredicate) Matches(input EndpointResourcePropertiesBasicResource) bool
type EndpointType ¶
type EndpointType string
const ( EndpointTypeAzurePointContentSafety EndpointType = "Azure.ContentSafety" EndpointTypeAzurePointLlama EndpointType = "Azure.Llama" EndpointTypeAzurePointOpenAI EndpointType = "Azure.OpenAI" EndpointTypeAzurePointSpeech EndpointType = "Azure.Speech" EndpointTypeManagedOnlineEndpoint EndpointType = "managedOnlineEndpoint" EndpointTypeServerlessEndpoint EndpointType = "serverlessEndpoint" )
func (*EndpointType) UnmarshalJSON ¶
func (s *EndpointType) UnmarshalJSON(bytes []byte) error
type GetModelsCompleteResult ¶
type GetModelsCompleteResult struct { LatestHttpResponse *http.Response Items []EndpointModelProperties }
type GetModelsCustomPager ¶
func (*GetModelsCustomPager) NextPageLink ¶
func (p *GetModelsCustomPager) NextPageLink() *odata.Link
type GetModelsOperationResponse ¶
type GetModelsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]EndpointModelProperties }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *EndpointResourcePropertiesBasicResource }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []EndpointResourcePropertiesBasicResource }
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListKeysOperationResponse ¶
type ListKeysOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *EndpointKeys }
type ListOperationOptions ¶
type ListOperationOptions struct { EndpointType *EndpointType Expand *string IncludeConnections *bool IncludeOnlineEndpoints *bool IncludeServerlessEndpoints *bool 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 *[]EndpointResourcePropertiesBasicResource }
type ManagedOnlineEndpointDeploymentResourceProperties ¶
type ManagedOnlineEndpointDeploymentResourceProperties struct { EndpointComputeType *EndpointComputeType `json:"endpointComputeType,omitempty"` Model *string `json:"model,omitempty"` FailureReason *string `json:"failureReason,omitempty"` ProvisioningState *DefaultResourceProvisioningState `json:"provisioningState,omitempty"` Type string `json:"type"` }
func (ManagedOnlineEndpointDeploymentResourceProperties) EndpointDeploymentResourceProperties ¶
func (s ManagedOnlineEndpointDeploymentResourceProperties) EndpointDeploymentResourceProperties() BaseEndpointDeploymentResourcePropertiesImpl
func (ManagedOnlineEndpointDeploymentResourceProperties) MarshalJSON ¶
func (s ManagedOnlineEndpointDeploymentResourceProperties) MarshalJSON() ([]byte, error)
type ManagedOnlineEndpointResourceProperties ¶
type ManagedOnlineEndpointResourceProperties struct { AuthMode *EndpointAuthMode `json:"authMode,omitempty"` Compute *string `json:"compute,omitempty"` Description *string `json:"description,omitempty"` MirrorTraffic *map[string]int64 `json:"mirrorTraffic,omitempty"` ScoringUri *string `json:"scoringUri,omitempty"` Traffic *map[string]int64 `json:"traffic,omitempty"` AssociatedResourceId *string `json:"associatedResourceId,omitempty"` Deployments *[]EndpointDeploymentResourcePropertiesBasicResource `json:"deployments,omitempty"` EndpointType EndpointType `json:"endpointType"` EndpointUri *string `json:"endpointUri,omitempty"` FailureReason *string `json:"failureReason,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` ProvisioningState *DefaultResourceProvisioningState `json:"provisioningState,omitempty"` ShouldCreateAiServicesEndpoint *bool `json:"shouldCreateAiServicesEndpoint,omitempty"` }
func (ManagedOnlineEndpointResourceProperties) EndpointResourceProperties ¶
func (s ManagedOnlineEndpointResourceProperties) EndpointResourceProperties() BaseEndpointResourcePropertiesImpl
func (ManagedOnlineEndpointResourceProperties) MarshalJSON ¶
func (s ManagedOnlineEndpointResourceProperties) MarshalJSON() ([]byte, error)
type ModelLifecycleStatus ¶
type ModelLifecycleStatus string
const ( ModelLifecycleStatusGenerallyAvailable ModelLifecycleStatus = "GenerallyAvailable" ModelLifecycleStatusPreview ModelLifecycleStatus = "Preview" )
func (*ModelLifecycleStatus) UnmarshalJSON ¶
func (s *ModelLifecycleStatus) UnmarshalJSON(bytes []byte) error
type OpenAIEndpointDeploymentResourceProperties ¶
type OpenAIEndpointDeploymentResourceProperties struct { Model EndpointDeploymentModel `json:"model"` RaiPolicyName *string `json:"raiPolicyName,omitempty"` Sku *CognitiveServicesSku `json:"sku,omitempty"` VersionUpgradeOption *DeploymentModelVersionUpgradeOption `json:"versionUpgradeOption,omitempty"` FailureReason *string `json:"failureReason,omitempty"` ProvisioningState *DefaultResourceProvisioningState `json:"provisioningState,omitempty"` Type string `json:"type"` }
func (OpenAIEndpointDeploymentResourceProperties) EndpointDeploymentResourceProperties ¶
func (s OpenAIEndpointDeploymentResourceProperties) EndpointDeploymentResourceProperties() BaseEndpointDeploymentResourcePropertiesImpl
func (OpenAIEndpointDeploymentResourceProperties) MarshalJSON ¶
func (s OpenAIEndpointDeploymentResourceProperties) MarshalJSON() ([]byte, error)
type OpenAIEndpointResourceProperties ¶
type OpenAIEndpointResourceProperties struct { AssociatedResourceId *string `json:"associatedResourceId,omitempty"` Deployments *[]EndpointDeploymentResourcePropertiesBasicResource `json:"deployments,omitempty"` EndpointType EndpointType `json:"endpointType"` EndpointUri *string `json:"endpointUri,omitempty"` FailureReason *string `json:"failureReason,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` ProvisioningState *DefaultResourceProvisioningState `json:"provisioningState,omitempty"` ShouldCreateAiServicesEndpoint *bool `json:"shouldCreateAiServicesEndpoint,omitempty"` }
func (OpenAIEndpointResourceProperties) EndpointResourceProperties ¶
func (s OpenAIEndpointResourceProperties) EndpointResourceProperties() BaseEndpointResourcePropertiesImpl
func (OpenAIEndpointResourceProperties) MarshalJSON ¶
func (s OpenAIEndpointResourceProperties) MarshalJSON() ([]byte, error)
type RaiBlocklistConfig ¶
type RaiPoliciesListCompleteResult ¶
type RaiPoliciesListCompleteResult struct { LatestHttpResponse *http.Response Items []RaiPolicyPropertiesBasicResource }
type RaiPoliciesListCustomPager ¶
func (*RaiPoliciesListCustomPager) NextPageLink ¶
func (p *RaiPoliciesListCustomPager) NextPageLink() *odata.Link
type RaiPoliciesListOperationOptions ¶
type RaiPoliciesListOperationOptions struct {
ProxyApiVersion *string
}
func DefaultRaiPoliciesListOperationOptions ¶
func DefaultRaiPoliciesListOperationOptions() RaiPoliciesListOperationOptions
func (RaiPoliciesListOperationOptions) ToHeaders ¶
func (o RaiPoliciesListOperationOptions) ToHeaders() *client.Headers
func (RaiPoliciesListOperationOptions) ToOData ¶
func (o RaiPoliciesListOperationOptions) ToOData() *odata.Query
func (RaiPoliciesListOperationOptions) ToQuery ¶
func (o RaiPoliciesListOperationOptions) ToQuery() *client.QueryParams
type RaiPoliciesListOperationResponse ¶
type RaiPoliciesListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]RaiPolicyPropertiesBasicResource }
type RaiPolicyContentFilter ¶
type RaiPolicyContentFilter struct { AllowedContentLevel *AllowedContentLevel `json:"allowedContentLevel,omitempty"` Blocking *bool `json:"blocking,omitempty"` Enabled *bool `json:"enabled,omitempty"` Name *string `json:"name,omitempty"` Source *RaiPolicyContentSource `json:"source,omitempty"` }
type RaiPolicyContentSource ¶
type RaiPolicyContentSource string
const ( RaiPolicyContentSourceCompletion RaiPolicyContentSource = "Completion" RaiPolicyContentSourcePrompt RaiPolicyContentSource = "Prompt" )
func (*RaiPolicyContentSource) UnmarshalJSON ¶
func (s *RaiPolicyContentSource) UnmarshalJSON(bytes []byte) error
type RaiPolicyCreateOperationOptions ¶
type RaiPolicyCreateOperationOptions struct {
ProxyApiVersion *string
}
func DefaultRaiPolicyCreateOperationOptions ¶
func DefaultRaiPolicyCreateOperationOptions() RaiPolicyCreateOperationOptions
func (RaiPolicyCreateOperationOptions) ToHeaders ¶
func (o RaiPolicyCreateOperationOptions) ToHeaders() *client.Headers
func (RaiPolicyCreateOperationOptions) ToOData ¶
func (o RaiPolicyCreateOperationOptions) ToOData() *odata.Query
func (RaiPolicyCreateOperationOptions) ToQuery ¶
func (o RaiPolicyCreateOperationOptions) ToQuery() *client.QueryParams
type RaiPolicyDeleteOperationOptions ¶
type RaiPolicyDeleteOperationOptions struct {
ProxyApiVersion *string
}
func DefaultRaiPolicyDeleteOperationOptions ¶
func DefaultRaiPolicyDeleteOperationOptions() RaiPolicyDeleteOperationOptions
func (RaiPolicyDeleteOperationOptions) ToHeaders ¶
func (o RaiPolicyDeleteOperationOptions) ToHeaders() *client.Headers
func (RaiPolicyDeleteOperationOptions) ToOData ¶
func (o RaiPolicyDeleteOperationOptions) ToOData() *odata.Query
func (RaiPolicyDeleteOperationOptions) ToQuery ¶
func (o RaiPolicyDeleteOperationOptions) ToQuery() *client.QueryParams
type RaiPolicyGetOperationResponse ¶
type RaiPolicyGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RaiPolicyPropertiesBasicResource }
type RaiPolicyId ¶
type RaiPolicyId struct { SubscriptionId string ResourceGroupName string WorkspaceName string EndpointName string RaiPolicyName string }
RaiPolicyId is a struct representing the Resource ID for a Rai Policy
func NewRaiPolicyID ¶
func NewRaiPolicyID(subscriptionId string, resourceGroupName string, workspaceName string, endpointName string, raiPolicyName string) RaiPolicyId
NewRaiPolicyID returns a new RaiPolicyId struct
func ParseRaiPolicyID ¶
func ParseRaiPolicyID(input string) (*RaiPolicyId, error)
ParseRaiPolicyID parses 'input' into a RaiPolicyId
func ParseRaiPolicyIDInsensitively ¶
func ParseRaiPolicyIDInsensitively(input string) (*RaiPolicyId, error)
ParseRaiPolicyIDInsensitively parses 'input' case-insensitively into a RaiPolicyId note: this method should only be used for API response data and not user input
func (*RaiPolicyId) FromParseResult ¶
func (id *RaiPolicyId) FromParseResult(input resourceids.ParseResult) error
func (RaiPolicyId) Segments ¶
func (id RaiPolicyId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Rai Policy ID
func (RaiPolicyId) String ¶
func (id RaiPolicyId) String() string
String returns a human-readable description of this Rai Policy ID
type RaiPolicyMode ¶
type RaiPolicyMode string
const ( RaiPolicyModeBlocking RaiPolicyMode = "Blocking" RaiPolicyModeDefault RaiPolicyMode = "Default" RaiPolicyModeDeferred RaiPolicyMode = "Deferred" )
func (*RaiPolicyMode) UnmarshalJSON ¶
func (s *RaiPolicyMode) UnmarshalJSON(bytes []byte) error
type RaiPolicyProperties ¶
type RaiPolicyProperties struct { BasePolicyName *string `json:"basePolicyName,omitempty"` CompletionBlocklists *[]RaiBlocklistConfig `json:"completionBlocklists,omitempty"` ContentFilters *[]RaiPolicyContentFilter `json:"contentFilters,omitempty"` Mode *RaiPolicyMode `json:"mode,omitempty"` PromptBlocklists *[]RaiBlocklistConfig `json:"promptBlocklists,omitempty"` Type *RaiPolicyType `json:"type,omitempty"` }
type RaiPolicyPropertiesBasicResource ¶
type RaiPolicyPropertiesBasicResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties RaiPolicyProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type RaiPolicyPropertiesBasicResourceOperationPredicate ¶
type RaiPolicyPropertiesBasicResourceOperationPredicate struct { Id *string Name *string Type *string }
func (RaiPolicyPropertiesBasicResourceOperationPredicate) Matches ¶
func (p RaiPolicyPropertiesBasicResourceOperationPredicate) Matches(input RaiPolicyPropertiesBasicResource) bool
type RaiPolicyType ¶
type RaiPolicyType string
const ( RaiPolicyTypeSystemManaged RaiPolicyType = "SystemManaged" RaiPolicyTypeUserManaged RaiPolicyType = "UserManaged" )
func (*RaiPolicyType) UnmarshalJSON ¶
func (s *RaiPolicyType) UnmarshalJSON(bytes []byte) error
type RawEndpointDeploymentResourcePropertiesImpl ¶
type RawEndpointDeploymentResourcePropertiesImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
RawEndpointDeploymentResourcePropertiesImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
func (RawEndpointDeploymentResourcePropertiesImpl) EndpointDeploymentResourceProperties ¶
func (s RawEndpointDeploymentResourcePropertiesImpl) EndpointDeploymentResourceProperties() BaseEndpointDeploymentResourcePropertiesImpl
type RawEndpointResourcePropertiesImpl ¶
type RawEndpointResourcePropertiesImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
RawEndpointResourcePropertiesImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
func (RawEndpointResourcePropertiesImpl) EndpointResourceProperties ¶
func (s RawEndpointResourcePropertiesImpl) EndpointResourceProperties() BaseEndpointResourcePropertiesImpl
type RegenerateKeysOperationResponse ¶
type RegenerateKeysOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AccountApiKeys }
type RegenerateServiceAccountKeyContent ¶
type RegenerateServiceAccountKeyContent struct {
KeyName *ServiceAccountKeyName `json:"keyName,omitempty"`
}
type ServerlessEndpointContentSafety ¶
type ServerlessEndpointContentSafety struct {
ContentSafetyStatus ContentSafetyStatus `json:"contentSafetyStatus"`
}
type ServerlessEndpointModelSettings ¶
type ServerlessEndpointModelSettings struct {
ModelId string `json:"modelId"`
}
type ServerlessEndpointResourceProperties ¶
type ServerlessEndpointResourceProperties struct { AuthMode *ServerlessInferenceEndpointAuthMode `json:"authMode,omitempty"` CapacityReservation *ServerlessEndpointCapacityReservation `json:"capacityReservation,omitempty"` ContentSafety *ServerlessEndpointContentSafety `json:"contentSafety,omitempty"` EndpointState *ServerlessEndpointState `json:"endpointState,omitempty"` InferenceEndpoint *ServerlessEndpointInferenceEndpoint `json:"inferenceEndpoint,omitempty"` MarketplaceSubscriptionId *string `json:"marketplaceSubscriptionId,omitempty"` Metadata *interface{} `json:"metadata,omitempty"` ModelSettings *ServerlessEndpointModelSettings `json:"modelSettings,omitempty"` Offer *ServerlessOffer `json:"offer,omitempty"` AssociatedResourceId *string `json:"associatedResourceId,omitempty"` Deployments *[]EndpointDeploymentResourcePropertiesBasicResource `json:"deployments,omitempty"` EndpointType EndpointType `json:"endpointType"` EndpointUri *string `json:"endpointUri,omitempty"` FailureReason *string `json:"failureReason,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` ProvisioningState *DefaultResourceProvisioningState `json:"provisioningState,omitempty"` ShouldCreateAiServicesEndpoint *bool `json:"shouldCreateAiServicesEndpoint,omitempty"` }
func (ServerlessEndpointResourceProperties) EndpointResourceProperties ¶
func (s ServerlessEndpointResourceProperties) EndpointResourceProperties() BaseEndpointResourcePropertiesImpl
func (ServerlessEndpointResourceProperties) MarshalJSON ¶
func (s ServerlessEndpointResourceProperties) MarshalJSON() ([]byte, error)
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 ServerlessInferenceEndpointAuthMode ¶
type ServerlessInferenceEndpointAuthMode string
const ( ServerlessInferenceEndpointAuthModeAAD ServerlessInferenceEndpointAuthMode = "AAD" ServerlessInferenceEndpointAuthModeKey ServerlessInferenceEndpointAuthMode = "Key" )
func (*ServerlessInferenceEndpointAuthMode) UnmarshalJSON ¶
func (s *ServerlessInferenceEndpointAuthMode) UnmarshalJSON(bytes []byte) error
type ServerlessOffer ¶
type ServiceAccountKeyName ¶
type ServiceAccountKeyName string
const ( ServiceAccountKeyNameKeyOne ServiceAccountKeyName = "Key1" ServiceAccountKeyNameKeyTwo ServiceAccountKeyName = "Key2" )
func (*ServiceAccountKeyName) UnmarshalJSON ¶
func (s *ServiceAccountKeyName) UnmarshalJSON(bytes []byte) error
type SpeechEndpointDeploymentResourceProperties ¶
type SpeechEndpointDeploymentResourceProperties struct { Model EndpointDeploymentModel `json:"model"` RaiPolicyName *string `json:"raiPolicyName,omitempty"` Sku *CognitiveServicesSku `json:"sku,omitempty"` VersionUpgradeOption *DeploymentModelVersionUpgradeOption `json:"versionUpgradeOption,omitempty"` FailureReason *string `json:"failureReason,omitempty"` ProvisioningState *DefaultResourceProvisioningState `json:"provisioningState,omitempty"` Type string `json:"type"` }
func (SpeechEndpointDeploymentResourceProperties) EndpointDeploymentResourceProperties ¶
func (s SpeechEndpointDeploymentResourceProperties) EndpointDeploymentResourceProperties() BaseEndpointDeploymentResourcePropertiesImpl
func (SpeechEndpointDeploymentResourceProperties) MarshalJSON ¶
func (s SpeechEndpointDeploymentResourceProperties) MarshalJSON() ([]byte, error)
type SpeechEndpointResourceProperties ¶
type SpeechEndpointResourceProperties struct { AssociatedResourceId *string `json:"associatedResourceId,omitempty"` Deployments *[]EndpointDeploymentResourcePropertiesBasicResource `json:"deployments,omitempty"` EndpointType EndpointType `json:"endpointType"` EndpointUri *string `json:"endpointUri,omitempty"` FailureReason *string `json:"failureReason,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` ProvisioningState *DefaultResourceProvisioningState `json:"provisioningState,omitempty"` ShouldCreateAiServicesEndpoint *bool `json:"shouldCreateAiServicesEndpoint,omitempty"` }
func (SpeechEndpointResourceProperties) EndpointResourceProperties ¶
func (s SpeechEndpointResourceProperties) EndpointResourceProperties() BaseEndpointResourcePropertiesImpl
func (SpeechEndpointResourceProperties) MarshalJSON ¶
func (s SpeechEndpointResourceProperties) MarshalJSON() ([]byte, error)
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_deployment.go
- id_endpoint.go
- id_raipolicy.go
- id_workspace.go
- method_createorupdate.go
- method_deploymentcreateorupdate.go
- method_deploymentdelete.go
- method_deploymentget.go
- method_deploymentgetinworkspace.go
- method_deploymentlist.go
- method_get.go
- method_getmodels.go
- method_list.go
- method_listkeys.go
- method_raipolicieslist.go
- method_raipolicycreate.go
- method_raipolicydelete.go
- method_raipolicyget.go
- method_regeneratekeys.go
- model_accountapikeys.go
- model_cognitiveservicessku.go
- model_contentsafetyendpointdeploymentresourceproperties.go
- model_contentsafetyendpointresourceproperties.go
- model_endpointdeploymentmodel.go
- model_endpointdeploymentresourceproperties.go
- model_endpointdeploymentresourcepropertiesbasicresource.go
- model_endpointkeys.go
- model_endpointmodeldeprecationproperties.go
- model_endpointmodelproperties.go
- model_endpointmodelskucapacityproperties.go
- model_endpointmodelskuproperties.go
- model_endpointmodelskuratelimitproperties.go
- model_endpointmodelskuratelimitrulepatternproperties.go
- model_endpointmodelskuratelimitruleproperties.go
- model_endpointresourceproperties.go
- model_endpointresourcepropertiesbasicresource.go
- model_managedonlineendpointdeploymentresourceproperties.go
- model_managedonlineendpointresourceproperties.go
- model_openaiendpointdeploymentresourceproperties.go
- model_openaiendpointresourceproperties.go
- model_raiblocklistconfig.go
- model_raipolicycontentfilter.go
- model_raipolicyproperties.go
- model_raipolicypropertiesbasicresource.go
- model_regenerateserviceaccountkeycontent.go
- model_serverlessendpointcapacityreservation.go
- model_serverlessendpointcontentsafety.go
- model_serverlessendpointinferenceendpoint.go
- model_serverlessendpointmodelsettings.go
- model_serverlessendpointresourceproperties.go
- model_serverlessoffer.go
- model_speechendpointdeploymentresourceproperties.go
- model_speechendpointresourceproperties.go
- predicates.go
- version.go