Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

FoundryDeploymentResource

Handle
📦 Aspire.Hosting.Foundry v17.0.0-preview.1.26565.2

Represents a Microsoft Foundry Deployment.

type FoundryDeploymentResource interface {
ExpressionValue
Resource
ResourceWithConnectionString
ResourceWithParent
}

Properties

propertyConnectionStringExpression*ReferenceExpressionget
Gets the connection string expression for the Microsoft Foundry resource with model/deployment information.
ConnectionStringExpression() *ReferenceExpression
propertyDeploymentNamestringget · set
Gets or sets the name of the deployment.
DeploymentName() (string, error)
SetDeploymentName(value string) FoundryDeploymentResource
propertyFormatstringget · set
Gets or sets the format of deployment model.
Format() (string, error)
SetFormat(value string) FoundryDeploymentResource
propertyLocalModelId*stringget · set
Gets or sets the model identifier used by Foundry Local.
LocalModelId() (*string, error)
SetLocalModelId(value *string) FoundryDeploymentResource
propertyModelNamestringget · set
Gets or sets the name of the model.
ModelName() (string, error)
SetModelName(value string) FoundryDeploymentResource
propertyModelVersionstringget · set
Gets or sets the version of the model.
ModelVersion() (string, error)
SetModelVersion(value string) FoundryDeploymentResource
propertyParentFoundryResourceget · set
Gets the parent Microsoft Foundry resource.
Parent() FoundryResource
SetParent(value FoundryResource) FoundryDeploymentResource
propertyResourceTypeDisplayNamestringget
Gets the ResourceTypeDisplayName property
ResourceTypeDisplayName() (string, error)
propertySkuCapacityfloat64get · set
Gets or sets the capacity of the SKU, in thousands of tokens per minute (TPM).
SkuCapacity() (float64, error)
SetSkuCapacity(value float64) FoundryDeploymentResource
propertySkuNamestringget · set
Gets or sets the name of the SKU.
SkuName() (string, error)
SetSkuName(value string) FoundryDeploymentResource

Methods

methodWithPropertiesbuilder
Allows setting the properties of a Microsoft Foundry Deployment resource.
WithProperties(configure func(obj FoundryDeploymentResource)) FoundryDeploymentResource
configurefunc(obj FoundryDeploymentResource)callbackA method that can be used for customizing the FoundryDeploymentResource.
FoundryDeploymentResource

The resource builder.

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