# FoundryDeploymentResource Properties

- Package: [Aspire.Hosting.Foundry](/reference/api/csharp/aspire.hosting.foundry.md)
- Type: [FoundryDeploymentResource](/reference/api/csharp/aspire.hosting.foundry/foundrydeploymentresource.md)
- Kind: `Properties`
- Members: `8`

Represents a Microsoft Foundry Deployment.

## ConnectionStringExpression

- Name: `ConnectionStringExpression`
- Modifiers: `get`
- Returns: `ReferenceExpression`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/becb48e2d61099e35ae336d527d3875e928d6594/src/Aspire.Hosting.Foundry/FoundryDeploymentResource.cs#L101-L103)

Gets the connection string expression for the Microsoft Foundry resource with model/deployment information.

```csharp
public ReferenceExpression ConnectionStringExpression { get; }
```

## DeploymentName

- Name: `DeploymentName`
- Modifiers: `get; set`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/becb48e2d61099e35ae336d527d3875e928d6594/src/Aspire.Hosting.Foundry/FoundryDeploymentResource.cs)

Gets or sets the name of the deployment.

```csharp
public string DeploymentName { get; set; }
```

## Remarks

This defaults to [FoundryDeploymentResource.ModelName](/reference/api/csharp/aspire.hosting.foundry/foundrydeploymentresource/properties.md#modelname), but allows for a different deployment name in Azure. When using Foundry Local, this is the model id.

## Format

- Name: `Format`
- Modifiers: `get; set`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/becb48e2d61099e35ae336d527d3875e928d6594/src/Aspire.Hosting.Foundry/FoundryDeploymentResource.cs)

Gets or sets the format of deployment model.

```csharp
public string Format { get; set; }
```

## Remarks

Typical values are "OpenAI", "Microsoft", "xAi", "Deepseek".

## ModelName

- Name: `ModelName`
- Modifiers: `get; set`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/becb48e2d61099e35ae336d527d3875e928d6594/src/Aspire.Hosting.Foundry/FoundryDeploymentResource.cs)

Gets or sets the name of the model.

```csharp
public string ModelName { get; set; }
```

## ModelVersion

- Name: `ModelVersion`
- Modifiers: `get; set`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/becb48e2d61099e35ae336d527d3875e928d6594/src/Aspire.Hosting.Foundry/FoundryDeploymentResource.cs)

Gets or sets the version of the model.

```csharp
public string ModelVersion { get; set; }
```

## Parent

- Name: `Parent`
- Modifiers: `get; set`
- Returns: [FoundryResource](/reference/api/csharp/aspire.hosting.foundry/foundryresource.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/becb48e2d61099e35ae336d527d3875e928d6594/src/Aspire.Hosting.Foundry/FoundryDeploymentResource.cs)

Gets the parent Microsoft Foundry resource.

```csharp
public FoundryResource Parent { get; set; }
```

## SkuCapacity

- Name: `SkuCapacity`
- Modifiers: `get; set`
- Returns: `int`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/becb48e2d61099e35ae336d527d3875e928d6594/src/Aspire.Hosting.Foundry/FoundryDeploymentResource.cs)

Gets or sets the capacity of the SKU, in thousands of tokens per minute (TPM).

```csharp
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](https://learn.microsoft.com/azure/ai-foundry/openai/how-to/quota) for more information.

## SkuName

- Name: `SkuName`
- Modifiers: `get; set`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/becb48e2d61099e35ae336d527d3875e928d6594/src/Aspire.Hosting.Foundry/FoundryDeploymentResource.cs)

Gets or sets the name of the SKU.

```csharp
public string SkuName { get; set; }
```
