FoundryDeploymentResource
Class net8.0
Represents a Microsoft Foundry Deployment.
namespace Aspire.Hosting.Foundry;
public class FoundryDeploymentResource : Aspire.Hosting.ApplicationModel.Resource, Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IResource, Aspire.Hosting.ApplicationModel.IResourceWithConnectionString, Aspire.Hosting.ApplicationModel.IResourceWithParent, Aspire.Hosting.ApplicationModel.IResourceWithParent<Aspire.Hosting.Foundry.FoundryResource>, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences{ // ...} ResourceIManifestExpressionProviderIResourceIResourceWithConnectionStringIResourceWithParentIResourceWithParent<FoundryResource>IValueProviderIValueWithReferences
9 members
Constructors1
Section titled ConstructorsFoundryDeploymentResource(string, string, string, string, FoundryResource) Initializes a new instance of the
FoundryDeploymentResource class. Properties8
Section titled PropertiesConnectionStringExpressiongetReferenceExpression Gets the connection string expression for the Microsoft Foundry resource with model/deployment information.
DeploymentNameget; setstring Gets or sets the name of the deployment.
Formatget; setstring Gets or sets the format of deployment model.
ModelNameget; setstring Gets or sets the name of the model.
ModelVersionget; setstring Gets or sets the version of the model.
Parentget; setats ignored Gets the parent Microsoft Foundry resource.
SkuCapacityget; setint Gets or sets the capacity of the SKU, in thousands of tokens per minute (TPM).
SkuNameget; setstring Gets or sets the name of the SKU.