# FoundryDeploymentResource

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

## 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 ConnectionStringExpression property
- `deploymentName`: `string` `get - set` -- Gets the DeploymentName property
- `format`: `string` `get - set` -- Gets the Format property
- `modelName`: `string` `get - set` -- Gets the ModelName property
- `modelVersion`: `string` `get - set` -- Gets the ModelVersion property
- `parent`: [FoundryResource](/reference/api/typescript/aspire.hosting.foundry/foundryresource.md) `get - set` -- Gets the Parent property
- `skuCapacity`: `number` `get - set` -- Gets the SkuCapacity property
- `skuName`: `string` `get - set` -- Gets the SkuName property

## Methods

- [withProperties](/reference/api/typescript/aspire.hosting.foundry/foundrydeploymentresource/withproperties.md) -- `method` -- Configures properties of a Microsoft Foundry deployment resource.
    ```typescript
  withProperties(configure: (obj: FoundryDeploymentResource) => Promise<void>): FoundryDeploymentResource
  ```
