# AzureOpenAIDeploymentResource

- Module: [Aspire.Hosting.Azure.CognitiveServices](/reference/api/typescript/aspire.hosting.azure.cognitiveservices.md)
- Version: `13.2.0`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire)

## Definition

```typescript
interface AzureOpenAIDeploymentResource
  extends IManifestExpressionProvider,
    IResource,
    IResourceWithConnectionString,
    IResourceWithParent,
    AzureOpenAIResource]],
    IValueProvider,
    IValueWithReferences {
  deploymentName: string;
  modelName: string;
  modelVersion: string;
  readonly name: string;
  skuCapacity: number;
  skuName: string;
  withProperties(configure: (obj: AzureOpenAIDeploymentResource) => Promise<void>): AzureOpenAIDeploymentResource;
}
```

## Properties

- `deploymentName`: `string` `get - set` -- Gets the DeploymentName property
- `modelName`: `string` `get - set` -- Gets the ModelName property
- `modelVersion`: `string` `get - set` -- Gets the ModelVersion property
- `name`: `string` `get` -- Gets the Name property
- `skuCapacity`: `number` `get - set` -- Gets the SkuCapacity property
- `skuName`: `string` `get - set` -- Gets the SkuName property

## Methods

- [withProperties](/reference/api/typescript/aspire.hosting.azure.cognitiveservices/azureopenaideploymentresource/withproperties.md) -- `method` -- Configures properties of an Azure OpenAI deployment
    ```typescript
  withProperties(configure: (obj: AzureOpenAIDeploymentResource) => Promise<void>): AzureOpenAIDeploymentResource
  ```
