FoundryDeploymentResource Properties

ClassProperties10 members
Represents a Microsoft Foundry Deployment.
ConnectionStringExpressionSection titled ConnectionStringExpressionReferenceExpression
Gets the connection string expression for the Microsoft Foundry resource with model/deployment information.
public ReferenceExpression ConnectionStringExpression { get; }
DeploymentNameSection titled DeploymentNamestring
Gets or sets the name of the deployment.
public string DeploymentName { get; set; }
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; }
Typical values are "OpenAI", "Microsoft", "xAi", "Deepseek".
LocalModelIdSection titled LocalModelIdnullablestring?
Gets or sets the model identifier used by Foundry Local.
public string? LocalModelId { get; set; }
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; }
ModelVersionSection titled ModelVersionstring
Gets or sets the version of the model.
public string ModelVersion { get; set; }
Gets the parent Microsoft Foundry resource.
public FoundryResource Parent { get; set; }
ResourceTypeDisplayNameSection titled ResourceTypeDisplayNameoverridestring
Gets the default human-readable name of this resource's type.
public override string ResourceTypeDisplayName { get; }
Override this property to identify the service, such as Redis or PostgreSQL Server, independently of its technical resource type. The default is the resource type. This label does not change the resource name, service discovery, or OpenTelemetry identity. Use ResourceBuilderExtensions.WithResourceTypeDisplayName to override the label for an instance.
Gets or sets the capacity of the SKU, in thousands of tokens per minute (TPM).
public int SkuCapacity { get; set; }
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; }