FoundryResource
Represents a Microsoft Foundry resource. This corresponds to the Azure Cognitive Services account with Microsoft Foundry capabilities enabled.
type FoundryResource interface { ExpressionValue Resource ResourceWithConnectionString ResourceWithEndpoints}Methods
AddDeployment( name string, model any, options ...*AddDeploymentOptions,) FoundryDeploymentResourceParameters
namestringmodelanyoptions...*AddDeploymentOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*AddDeploymentOptions argument.
ModelVersion *stringFormat*stringReturns
FoundryDeploymentResource Returns a handle; failures surface later via Err().
AddProject(name string) AzureCognitiveServicesProjectResourceParameters
namestringThe name of the Microsoft Foundry project resource.Returns
AzureCognitiveServicesProjectResource The resource builder.
Returns a handle; failures surface later via Err().
RunAsFoundryLocal(options ...*RunAsFoundryLocalOptions) FoundryResourceParameters
options...*RunAsFoundryLocalOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*RunAsFoundryLocalOptions argument.
Endpoint*stringThe endpoint of an existing Foundry Local service, or null for an Aspire-managed service.Returns
FoundryResource The configured Microsoft Foundry resource builder.
Returns a handle; failures surface later via Err().