# AzureOpenAIDeployment

- Kind: `class`
- Package: [Aspire.Hosting.Azure.CognitiveServices](/reference/api/csharp/aspire.hosting.azure.cognitiveservices.md)
- Version: `13.4.0`
- Namespace: `Aspire.Hosting.ApplicationModel`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure.CognitiveServices/AzureOpenAIDeployment.cs)

Represents an Azure OpenAI Deployment.

## Definition

```csharp
namespace Aspire.Hosting.ApplicationModel;

public class AzureOpenAIDeployment
{
    // ...
}
```

## Constructors

- [AzureOpenAIDeployment(string, string, string, string?, int?)](/reference/api/csharp/aspire.hosting.azure.cognitiveservices/azureopenaideployment/constructors.md#constructor-string-string-string-string-int) -- Represents an Azure OpenAI Deployment.

## Properties

- [ModelName](/reference/api/csharp/aspire.hosting.azure.cognitiveservices/azureopenaideployment/properties.md#modelname) : `string` `get` -- Gets the name of the model.
- [ModelVersion](/reference/api/csharp/aspire.hosting.azure.cognitiveservices/azureopenaideployment/properties.md#modelversion) : `string` `get` -- Gets the version of the model.
- [Name](/reference/api/csharp/aspire.hosting.azure.cognitiveservices/azureopenaideployment/properties.md#name) : `string` `get` -- Gets the name of the deployment.
- [SkuCapacity](/reference/api/csharp/aspire.hosting.azure.cognitiveservices/azureopenaideployment/properties.md#skucapacity) : `int` `get; set` -- Gets the capacity of the SKU.
- [SkuName](/reference/api/csharp/aspire.hosting.azure.cognitiveservices/azureopenaideployment/properties.md#skuname) : `string` `get; set` -- Gets the name of the SKU.
