Microsoft Azure Cache For Redis Redis Cache Create User Defined Zonal Allocation Policy Example
Microsoft Azure Cache For Redis Redis Cache Create User Defined Zonal Allocation Policy Example is an example object payload from Microsoft Azure Cache For Redis, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
Top-level fields
Example Payload
{
"parameters": {
"name": "cache1",
"api-version": "2024-11-01",
"parameters": {
"location": "East US",
"properties": {
"enableNonSslPort": true,
"minimumTlsVersion": "1.2",
"redisConfiguration": {
"maxmemory-policy": "allkeys-lru"
},
"redisVersion": "Latest",
"replicasPerPrimary": 2,
"shardCount": 2,
"sku": {
"name": "Premium",
"capacity": 1,
"family": "P"
},
"staticIP": "192.168.0.5",
"subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1",
"zonalAllocationPolicy": "UserDefined"
},
"zones": [
"1"
]
},
"resourceGroupName": "rg1",
"subscriptionId": "00000000-0000-0000-0000-000000000000"
},
"responses": {
"200": {
"body": {
"name": "cache1",
"type": "Microsoft.Cache/Redis",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1",
"location": "East US",
"properties": {
"accessKeys": {
"primaryKey": "<primaryKey>",
"secondaryKey": "<secondaryKey>"
},
"enableNonSslPort": false,
"hostName": "cache1.redis.cache.windows.net",
"instances": [
{
"isMaster": true,
"isPrimary": true,
"nonSslPort": 13000,
"shardId": 0,
"sslPort": 15000,
"zone": "1"
},
{
"isMaster": false,
"isPrimary": false,
"nonSslPort": 13001,
"shardId": 0,
"sslPort": 15001,
"zone": "1"
},
{
"isMaster": false,
"isPrimary": false,
"nonSslPort": 13002,
"shardId": 0,
"sslPort": 15002,
"zone": "1"
},
{
"isMaster": true,
"isPrimary": true,
"nonSslPort": 13003,
"shardId": 1,
"sslPort": 15003,
"zone": "1"
},
{
"isMaster": false,
"isPrimary": false,
"nonSslPort": 13004,
"shardId": 1,
"sslPort": 15004,
"zone": "1"
},
{
"isMaster": false,
"isPrimary": false,
"nonSslPort": 13005,
"shardId": 1,
"sslPort": 15005,
"zone": "1"
}
],
"minimumTlsVersion": "1.2",
"port": 6379,
"provisioningState": "Succeeded",
"redisConfiguration": {
"maxclients": "1000",
"maxmemory-delta": "50",
"maxmemory-reserved": "50"
},
"redisVersion": "6.0.14",
"replicasPerMaster": 2,
"replicasPerPrimary": 2,
"sku": {
"name": "Premium",
"capacity": 1,
"family": "P"
},
"sslPort": 6380,
"updateChannel": "Stable",
"zonalAllocationPolicy": "UserDefined"
},
"tags": {},
"zones": [
"1"
]
}
},
"201": {
"body": {
"name": "cache1",
"type": "Microsoft.Cache/Redis",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1",
"location": "East US",
"properties": {
"accessKeys": {
"primaryKey": "<primaryKey>",
"secondaryKey": "<secondaryKey>"
},
"enableNonSslPort": false,
"hostName": "cache1.redis.cache.windows.net",
"instances": [
{
"isMaster": true,
"isPrimary": true,
"nonSslPort": 13000,
"shardId": 0,
"sslPort": 15000,
"zone": "1"
},
{
"isMaster": false,
"isPrimary": false,
"nonSslPort": 13001,
"shardId": 0,
"sslPort": 15001,
"zone": "1"
},
{
"isMaster": false,
"isPrimary": false,
"nonSslPort": 13002,
"shardId": 0,
"sslPort": 15002,
"zone": "1"
},
{
"isMaster": true,
"isPrimary": true,
"nonSslPort": 13003,
"shardId": 1,
"sslPort": 15003,
"zone": "1"
},
{
"isMaster": false,
"isPrimary": false,
"nonSslPort": 13004,
"shardId": 1,
"sslPort": 15004,
"zone": "1"
},
{
"isMaster": false,
"isPrimary": false,
"nonSslPort": 13005,
"shardId": 1,
"sslPort": 15005,
"zone": "1"
}
],
"minimumTlsVersion": "1.2",
"port": 6379,
"provisioningState": "Succeeded",
"redisConfiguration": {
"maxmemory-policy": "allkeys-lru"
},
"redisVersion": "6.0.14",
"replicasPerMaster": 2,
"replicasPerPrimary": 2,
"sku": {
"name": "Premium",
"capacity": 1,
"family": "P"
},
"sslPort": 6380,
"updateChannel": "Stable",
"zonalAllocationPolicy": "UserDefined"
},
"tags": {},
"zones": [
"1"
]
}
}
},
"operationId": "Redis_Create",
"title": "RedisCacheCreateUserDefinedZonalAllocationPolicy"
}
Work with this as data
Every example here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for examples
4 MCP tools reach this
find_examplesBrowse and filter every example in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/examples/microsoft-azure-cache-for-redis-redis-cache-create-user-defined-zonal-allocation-policy-example"
curl "https://apis.io/api/v1/examples?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.