# CosmosDBThroughputPoolProxy

- Module: [Aspire.Hosting.Azure.Provisioning.CosmosDB](/reference/api/typescript/aspire.hosting.azure.provisioning.cosmosdb.md)
- Version: `17.0.0-preview.1.26567.5`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/2d325b13709752ba6d9a943635c5e2940a2530c0)

Represents the CosmosDBThroughputPool Azure Provisioning model.

## Definition

```typescript
interface CosmosDBThroughputPoolProxy {
  readonly id: BicepValueProxy;
  location: BicepValueProxy;
  maxThroughput: BicepValueProxy | number;
  name: BicepValueProxy | string;
  provisioningState: BicepValueProxy | CosmosDBStatus;
  readonly systemData: CosmosDBSystemDataProxy;
  tags: Aspire_Hosting_Azure_Provisioning_CosmosDB_Generated_DictionaryOfStringProxy;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearLocation(): void;
  clearMaxThroughput(): void;
  clearName(): void;
  clearProvisioningState(): void;
}
```

## Properties

- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `location`: `BicepValueProxy` `get - set` -- Gets or sets the Location provisioning property.
- `maxThroughput`: `BicepValueProxy | number` `get - set` -- Gets or sets the MaxThroughput provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `provisioningState`: `BicepValueProxy | CosmosDBStatus` `get - set` -- Gets or sets the ProvisioningState provisioning property.
- `systemData`: [CosmosDBSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.cosmosdb/cosmosdbsystemdataproxy.md) `get` -- Gets the SystemData provisioning property.
- `tags`: [Aspire_Hosting_Azure_Provisioning_CosmosDB_Generated_DictionaryOfStringProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.cosmosdb/aspire-hosting-azure-provisioning-cosmosdb-generated-dictionaryofstringproxy.md) `get - set` -- Gets or sets the Tags provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.cosmosdb/cosmosdbthroughputpoolproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearLocation](/reference/api/typescript/aspire.hosting.azure.provisioning.cosmosdb/cosmosdbthroughputpoolproxy/clearlocation.md) -- `method` -- Clears the Location provisioning property.
    ```typescript
  clearLocation(): void
  ```
- [clearMaxThroughput](/reference/api/typescript/aspire.hosting.azure.provisioning.cosmosdb/cosmosdbthroughputpoolproxy/clearmaxthroughput.md) -- `method` -- Clears the MaxThroughput provisioning property.
    ```typescript
  clearMaxThroughput(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.cosmosdb/cosmosdbthroughputpoolproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearProvisioningState](/reference/api/typescript/aspire.hosting.azure.provisioning.cosmosdb/cosmosdbthroughputpoolproxy/clearprovisioningstate.md) -- `method` -- Clears the ProvisioningState provisioning property.
    ```typescript
  clearProvisioningState(): void
  ```
