# ContextCacheProxy

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

Represents the ContextCache Azure Provisioning model.

## Definition

```typescript
interface ContextCacheProxy {
  readonly id: BicepValueProxy;
  identity: StorageManagedServiceIdentityProxy;
  location: BicepValueProxy;
  name: BicepValueProxy | string;
  properties: ContextCachePropertiesProxy;
  readonly systemData: StorageSystemDataProxy;
  tags: Aspire_Hosting_Azure_Provisioning_Storage_Generated_DictionaryOfStringProxy;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearLocation(): void;
  clearName(): void;
}
```

## Properties

- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `identity`: [StorageManagedServiceIdentityProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storagemanagedserviceidentityproxy.md) `get - set` -- Gets or sets the Identity provisioning property.
- `location`: `BicepValueProxy` `get - set` -- Gets or sets the Location provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `properties`: [ContextCachePropertiesProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/contextcachepropertiesproxy.md) `get - set` -- Gets or sets the Properties provisioning property.
- `systemData`: [StorageSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storagesystemdataproxy.md) `get` -- Gets the SystemData provisioning property.
- `tags`: [Aspire_Hosting_Azure_Provisioning_Storage_Generated_DictionaryOfStringProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/aspire-hosting-azure-provisioning-storage-generated-dictionaryofstringproxy.md) `get - set` -- Gets or sets the Tags provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/contextcacheproxy/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.storage/contextcacheproxy/clearlocation.md) -- `method` -- Clears the Location provisioning property.
    ```typescript
  clearLocation(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/contextcacheproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
