# FoundryDeploymentResource

- Module: [Aspire.Hosting.Foundry](/reference/api/typescript/aspire.hosting.foundry.md)
- Version: `13.4.0-preview.1.26281.18`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire)

Represents a Microsoft Foundry Deployment.

## Definition

```typescript
interface FoundryDeploymentResource
  extends IExpressionValue,
    IManifestExpressionProvider,
    IResource,
    IResourceWithConnectionString,
    IResourceWithParent,
    FoundryResource]],
    IValueProvider,
    IValueWithReferences {
  readonly connectionStringExpression: ReferenceExpression;
  deploymentName: string;
  format: string;
  modelName: string;
  modelVersion: string;
  parent: FoundryResource;
  skuCapacity: number;
  skuName: string;
  withProperties(configure: (obj: FoundryDeploymentResource) => Promise<void>): FoundryDeploymentResource;
}
```

## 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.
- `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/typescript/aspire.hosting.foundry/foundryresource.md) `get - set` -- Gets the parent Microsoft Foundry resource.
- `skuCapacity`: `number` `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/typescript/aspire.hosting.foundry/foundrydeploymentresource/withproperties.md) -- `method` -- Allows setting the properties of a Microsoft Foundry Deployment resource.
    ```typescript
  withProperties(configure: (obj: FoundryDeploymentResource) => Promise<void>): FoundryDeploymentResource
  ```
