# FoundryDeploymentResource Constructors

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

Represents a Microsoft Foundry Deployment.

## FoundryDeploymentResource(string, string, string, string, FoundryResource)

- Name: `Constructor(string, string, string, string, FoundryResource)`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/becb48e2d61099e35ae336d527d3875e928d6594/src/Aspire.Hosting.Foundry/FoundryDeploymentResource.cs#L29-L91)

Initializes a new instance of the [FoundryDeploymentResource](/reference/api/csharp/aspire.hosting.foundry/foundrydeploymentresource.md) class.

```csharp
public class FoundryDeploymentResource
{
    public FoundryDeploymentResource(
        string name,
        string modelName,
        string modelVersion,
        string format,
        FoundryResource parent)
    {
        // ...
    }
}
```

## Parameters

- `name` (`string`)
  The name of the deployment.
- `modelName` (`string`)
  The name of the model.
- `modelVersion` (`string`)
  The version of the model.
- `format` (`string`)
  The format of the model.
- `parent` ([FoundryResource](/reference/api/csharp/aspire.hosting.foundry/foundryresource.md))
  The parent Microsoft Foundry resource.
