AzureOpenAIDeploymentResource

Handle
📦 Aspire.Hosting.Azure.CognitiveServices v17.0.0

Represents an Azure OpenAI Deployment resource.

type AzureOpenAIDeploymentResource interface {
ExpressionValue
Resource
ResourceWithConnectionString
ResourceWithParent
}

Properties

propertyConnectionStringExpression*ReferenceExpressionget
Gets the connection string expression for the Azure OpenAI Deployment resource.
ConnectionStringExpression() *ReferenceExpression
propertyDeploymentNamestringget · set
Gets or sets the name of the deployment.
DeploymentName() (string, error)
SetDeploymentName(value string) AzureOpenAIDeploymentResource
propertyModelNamestringget · set
Gets the name of the model.
ModelName() (string, error)
SetModelName(value string) AzureOpenAIDeploymentResource
propertyModelVersionstringget · set
Gets the version of the model.
ModelVersion() (string, error)
SetModelVersion(value string) AzureOpenAIDeploymentResource
propertyParentAzureOpenAIResourceget
Gets the parent Azure OpenAI resource.
Parent() AzureOpenAIResource
propertyResourceTypeDisplayNamestringget
Gets the ResourceTypeDisplayName property
ResourceTypeDisplayName() (string, error)
propertySkuCapacityfloat64get · set
Gets the capacity of the SKU.
SkuCapacity() (float64, error)
SetSkuCapacity(value float64) AzureOpenAIDeploymentResource
propertySkuNamestringget · set
Gets the name of the SKU.
SkuName() (string, error)
SetSkuName(value string) AzureOpenAIDeploymentResource

Methods

methodWithPropertiesbuilder
Allows setting the properties of an Azure OpenAI Deployment resource.
WithProperties(configure func(obj AzureOpenAIDeploymentResource)) AzureOpenAIDeploymentResource
configurefunc(obj AzureOpenAIDeploymentResource)callbackA method that can be used for customizing the AzureOpenAIDeploymentResource.
AzureOpenAIDeploymentResource

The resource builder.

Returns a handle; failures surface later via Err().