# withProperties

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

Allows setting the properties of an Azure OpenAI Deployment resource.

## Definition

```typescript
interface AzureOpenAIDeploymentResource {
  // ... omitted for brevity
  withProperties(configure: (obj: AzureOpenAIDeploymentResource) => Promise<void>): AzureOpenAIDeploymentResource
}
```

## Parameters

- `configure` (`(obj: AzureOpenAIDeploymentResource) => Promise<void>`)

## Returns

[AzureOpenAIDeploymentResource](/reference/api/typescript/aspire.hosting.azure.cognitiveservices/azureopenaideploymentresource.md) `builder`

## Applies to

- [AzureOpenAIDeploymentResource](/reference/api/typescript/aspire.hosting.azure.cognitiveservices/azureopenaideploymentresource.md)
