---
title: Cache for Redis Component
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: 'Docs > Cloudcraft (Standalone) > Components: Azure > Cache for Redis Component'
---

# Cache for Redis Component

## Overview{% #overview %}

You can use the Cache for Redis component to represent and visualize the Redis caches from your Azure environment.

{% image
   source="https://datadog-docs.imgix.net/images/cloudcraft/components-azure/cache-for-redis/component-cache-for-redis-diagram.bae4e29259ac1f16b5c37bb6bb7df202.png?auto=format"
   alt="Screenshot of an isometric Cloudcraft diagram showing interconnected Azure components." /%}

## Toolbar{% #toolbar %}

Use the toolbar to configure and customize the component. The following options are available:

- **Color**: Select accent and fill colors for the body of the component in 3D view.
- **Tier**: Select the performance tier for your Redis cache.
- **Type**: Select the instance type of your Redis cache. Changing the instance type changes the hardware details shown in the toolbar to reflect what is used by the hypervisor.

## API{% #api %}

Use [the Cloudcraft API](https://developers.cloudcraft.co/) to programmatically access and render your architecture diagrams as JSON objects. The following is an example JSON object of a Cache for Redis component:

### Schema{% #schema %}

```json
{
	"type": "azureredis",
	"id": "e73c3831-83bf-4bbc-98e9-f5731cb0e437",
	"region": "northcentralus",
	"mapPos": [5,0],
	"tier": "Basic",
	"instance": "C0"
	"color": {
		"isometric": null,
		"2d": null
	},
	"accentColor": {
		"isometric": null,
		"2d": null
	},
	"link": "https://azure.microsoft.com/products/cache",
	"locked": true
}
```

- **type: string**: The type of component. Must be a string of value `azureredis` for this component.
- **id: string, uuid**: The unique identifier for the component. The API uses a UUID v4 internally but accepts any unique string.
- **resourceId: string**: The globally unique identifier for the component within Azure.
- **region: string**: The Azure region for the component. The API supports all global regions, except China.
- **mapPos: array**: The position of the component in the blueprint. The API uses a unique X and Y coordinate pair to express positioning.
- **tier: string**: The performance tier of the Redis cache. Accepts one of three values, `Basic`, `Standard`,or `Premium`. Defaults to `Basic`.
- **instance: string**: The instance type of the Redis cache. Defaults to `C0`.
- **color: object**: The fill color for the component body.
  - **isometric: string**: A hexadecimal color for the component body in 3D view. Defaults to `#D82F27`.
  - **2d: string**: A hexadecimal color for the component body in 2D view. Defaults to `null`.
- **accentColor: object**: The accent color for the component logo.
  - **isometric: string**: A hexadecimal color for the component logo in 3D view. Defaults to `#FFFFFF`.
  - **2d: string**: A hexadecimal color for the component logo in 2D view. Defaults to `null`.
- **link: string, uri**: A URI that links the component to another diagram or an external website. Accepts one of two formats, `blueprint://` or `https://`.
- **locked: boolean**: Whether to allow changes to the position of the component through the web interface. Defaults to `false`.
