# CosmosDBContainerPartitionKeyProxy

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

## Definition

```typescript
interface CosmosDBContainerPartitionKeyProxy {
  readonly isSystemKey: BicepValueProxy | boolean;
  kind: BicepValueProxy | CosmosDBPartitionKind;
  paths: Aspire_Hosting_Azure_Provisioning_CosmosDB_Generated_ListOfStringProxy;
  version: BicepValueProxy | number;
  clearKind(): void;
  clearVersion(): void;
}
```

## Properties

- `isSystemKey`: `BicepValueProxy | boolean` `get` -- Gets the IsSystemKey provisioning property.
- `kind`: `BicepValueProxy | CosmosDBPartitionKind` `get - set` -- Gets or sets the Kind provisioning property.
- `paths`: [Aspire_Hosting_Azure_Provisioning_CosmosDB_Generated_ListOfStringProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.cosmosdb/aspire-hosting-azure-provisioning-cosmosdb-generated-listofstringproxy.md) `get - set` -- Gets or sets the Paths provisioning property.
- `version`: `BicepValueProxy | number` `get - set` -- Gets or sets the Version provisioning property.

## Methods

- [clearKind](/reference/api/typescript/aspire.hosting.azure.provisioning.cosmosdb/cosmosdbcontainerpartitionkeyproxy/clearkind.md) -- `method` -- Clears the Kind provisioning property.
    ```typescript
  clearKind(): void
  ```
- [clearVersion](/reference/api/typescript/aspire.hosting.azure.provisioning.cosmosdb/cosmosdbcontainerpartitionkeyproxy/clearversion.md) -- `method` -- Clears the Version provisioning property.
    ```typescript
  clearVersion(): void
  ```
