# FoundryDeploymentResource

- Module: [Aspire.Hosting.Foundry](/reference/api/go/aspire.hosting.foundry.md)
- Version: `17.0.0-preview.1.26565.2`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)

Represents a Microsoft Foundry Deployment.

## Definition

```go
type FoundryDeploymentResource interface {
    ExpressionValue
    Resource
    ResourceWithConnectionString
    ResourceWithParent
}
```

## Embeds

- `ExpressionValue`
- `Resource`
- `ResourceWithConnectionString`
- `ResourceWithParent`

## Properties

- `ConnectionStringExpression`: `*ReferenceExpression` `get` -- Gets the connection string expression for the Microsoft Foundry resource with model/deployment information.
- `DeploymentName`: `string` `get/set` -- Gets or sets the name of the deployment.
- `Format`: `string` `get/set` -- Gets or sets the format of deployment model.
- `LocalModelId`: `*string` `get/set` -- Gets or sets the model identifier used by Foundry Local.
- `ModelName`: `string` `get/set` -- Gets or sets the name of the model.
- `ModelVersion`: `string` `get/set` -- Gets or sets the version of the model.
- `Parent`: [`FoundryResource`](/reference/api/go/aspire.hosting.foundry/foundryresource.md) `get/set` -- Gets the parent Microsoft Foundry resource.
- `ResourceTypeDisplayName`: `string` `get` -- Gets the ResourceTypeDisplayName property
- `SkuCapacity`: `float64` `get/set` -- Gets or sets the capacity of the SKU, in thousands of tokens per minute (TPM).
- `SkuName`: `string` `get/set` -- Gets or sets the name of the SKU.

## Methods

- [WithProperties](/reference/api/go/aspire.hosting.foundry/foundrydeploymentresource/withproperties.md) -- `method` -- Allows setting the properties of a Microsoft Foundry Deployment resource.
  ```go
  WithProperties(configure func(obj FoundryDeploymentResource)) FoundryDeploymentResource
  ```
