FoundryDeploymentResource Properties
ClassProperties9 members
Represents a Microsoft Foundry Deployment.
Gets the connection string expression for the Microsoft Foundry resource with model/deployment information.
public ReferenceExpression ConnectionStringExpression { get; } Gets or sets the name of the deployment.
public string DeploymentName { get; set; }Remarks
This defaults to
FoundryDeploymentResource.ModelName , but allows for a different deployment name in Azure. When using Foundry Local, this is the model id. Gets or sets the format of deployment model.
public string Format { get; set; }Remarks
Typical values are "OpenAI", "Microsoft", "xAi", "Deepseek".
Gets or sets the model identifier used by Foundry Local.
public string? LocalModelId { get; set; }Remarks
Aspire resolves this value automatically when it manages Foundry Local. Set it explicitly when connecting to an existing Foundry Local service and
FoundryDeploymentResource.ModelName is an alias rather than the identifier reported by the service. Gets or sets the name of the model.
public string ModelName { get; set; } Gets or sets the version of the model.
public string ModelVersion { get; set; } Gets the parent Microsoft Foundry resource.
public FoundryResource Parent { get; set; } Gets or sets the capacity of the SKU, in thousands of tokens per minute (TPM).
public int SkuCapacity { get; set; }Remarks
For example, a value of 10 means 10,000 tokens per minute. Exceeding this rate limit results in HTTP 429 responses. See Azure AI quota management for more information.
Gets or sets the name of the SKU.
public string SkuName { get; set; }