# CosmosDBThroughputPoolAccountProxy

- 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 CosmosDBThroughputPoolAccount Azure Provisioning model.

## Definition

```typescript
interface CosmosDBThroughputPoolAccountProxy {
  readonly accountInstanceId: BicepValueProxy | string;
  accountLocation: BicepValueProxy;
  accountResourceIdentifier: BicepValueProxy;
  readonly id: BicepValueProxy;
  name: BicepValueProxy | string;
  parent: CosmosDBThroughputPoolProxy;
  provisioningState: BicepValueProxy | CosmosDBStatus;
  readonly systemData: CosmosDBSystemDataProxy;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearAccountLocation(): void;
  clearAccountResourceIdentifier(): void;
  clearName(): void;
  clearProvisioningState(): void;
}
```

## Properties

- `accountInstanceId`: `BicepValueProxy | string` `get` -- Gets the AccountInstanceId provisioning property.
- `accountLocation`: `BicepValueProxy` `get - set` -- Gets or sets the AccountLocation provisioning property.
- `accountResourceIdentifier`: `BicepValueProxy` `get - set` -- Gets or sets the AccountResourceIdentifier provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `parent`: [CosmosDBThroughputPoolProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.cosmosdb/cosmosdbthroughputpoolproxy.md) `get - set` -- Gets or sets the Parent 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.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.cosmosdb/cosmosdbthroughputpoolaccountproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearAccountLocation](/reference/api/typescript/aspire.hosting.azure.provisioning.cosmosdb/cosmosdbthroughputpoolaccountproxy/clearaccountlocation.md) -- `method` -- Clears the AccountLocation provisioning property.
    ```typescript
  clearAccountLocation(): void
  ```
- [clearAccountResourceIdentifier](/reference/api/typescript/aspire.hosting.azure.provisioning.cosmosdb/cosmosdbthroughputpoolaccountproxy/clearaccountresourceidentifier.md) -- `method` -- Clears the AccountResourceIdentifier provisioning property.
    ```typescript
  clearAccountResourceIdentifier(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.cosmosdb/cosmosdbthroughputpoolaccountproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearProvisioningState](/reference/api/typescript/aspire.hosting.azure.provisioning.cosmosdb/cosmosdbthroughputpoolaccountproxy/clearprovisioningstate.md) -- `method` -- Clears the ProvisioningState provisioning property.
    ```typescript
  clearProvisioningState(): void
  ```
