# AzureOpenAIDeployment Properties

- Package: [Aspire.Hosting.Azure.CognitiveServices](/reference/api/csharp/aspire.hosting.azure.cognitiveservices.md)
- Type: [AzureOpenAIDeployment](/reference/api/csharp/aspire.hosting.azure.cognitiveservices/azureopenaideployment.md)
- Kind: `Properties`
- Members: `5`

Represents an Azure OpenAI Deployment.

## ModelName

- Name: `ModelName`
- Modifiers: `get`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure.CognitiveServices/AzureOpenAIDeployment.cs)

Gets the name of the model.

```csharp
public string ModelName { get; }
```

## ModelVersion

- Name: `ModelVersion`
- Modifiers: `get`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure.CognitiveServices/AzureOpenAIDeployment.cs)

Gets the version of the model.

```csharp
public string ModelVersion { get; }
```

## Name

- Name: `Name`
- Modifiers: `get`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure.CognitiveServices/AzureOpenAIDeployment.cs)

Gets the name of the deployment.

```csharp
public string Name { get; }
```

## SkuCapacity

- Name: `SkuCapacity`
- Modifiers: `get; set`
- Returns: `int`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure.CognitiveServices/AzureOpenAIDeployment.cs)

Gets the capacity of the SKU.

```csharp
public int SkuCapacity { get; set; }
```

## SkuName

- Name: `SkuName`
- Modifiers: `get; set`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure.CognitiveServices/AzureOpenAIDeployment.cs)

Gets the name of the SKU.

```csharp
public string SkuName { get; set; }
```
