Skip to content

Commit 3eeb0b3

Browse files
author
Ranjini Chithambaram (from Dev Box)
committed
Split Create and Update examples, because of different clusteringPolicy in request
1 parent bf75a58 commit 3eeb0b3

File tree

2 files changed

+45
-6
lines changed

2 files changed

+45
-6
lines changed
Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,22 @@
1515
}
1616
},
1717
"responses": {
18-
"200": {
18+
"201": {
1919
"body": {
2020
"id": "/subscriptions/e7b5a9d2-6b6a-4d2f-9143-20d9a10f5b8f/resourceGroups/rg1/providers/Microsoft.Cache/redisEnterprise/cache1/databases/default",
2121
"name": "cache1/default",
2222
"type": "Microsoft.Cache/redisEnterprise/databases",
2323
"properties": {
24-
"provisioningState": "Updating",
25-
"resourceState": "Updating",
2624
"clientProtocol": "Encrypted",
25+
"port": 10000,
26+
"provisioningState": "Creating",
27+
"resourceState": "Creating",
2728
"clusteringPolicy": "NoCluster",
2829
"evictionPolicy": "NoEviction",
29-
"port": 10000,
30+
"keySpaceNotification": "",
3031
"deferUpgrade": "NotDeferred",
31-
"accessKeysAuthentication": "Enabled",
32-
"redisVersion": "6.0"
32+
"redisVersion": "7.2",
33+
"accessKeysAuthentication": "Enabled"
3334
}
3435
}
3536
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"parameters": {
3+
"databaseName": "default",
4+
"clusterName": "cache1",
5+
"resourceGroupName": "rg1",
6+
"api-version": "2025-05-01-preview",
7+
"subscriptionId": "e7b5a9d2-6b6a-4d2f-9143-20d9a10f5b8f",
8+
"parameters": {
9+
"properties": {
10+
"clientProtocol": "Encrypted",
11+
"clusteringPolicy": "EnterpriseCluster",
12+
"evictionPolicy": "NoEviction",
13+
"port": 10000
14+
}
15+
}
16+
},
17+
"responses": {
18+
"200": {
19+
"body": {
20+
"id": "/subscriptions/e7b5a9d2-6b6a-4d2f-9143-20d9a10f5b8f/resourceGroups/rg1/providers/Microsoft.Cache/redisEnterprise/cache1/databases/default",
21+
"name": "cache1/default",
22+
"type": "Microsoft.Cache/redisEnterprise/databases",
23+
"properties": {
24+
"clientProtocol": "Encrypted",
25+
"port": 10000,
26+
"provisioningState": "Updating",
27+
"resourceState": "Updating",
28+
"clusteringPolicy": "EnterpriseCluster",
29+
"evictionPolicy": "NoEviction",
30+
"keySpaceNotification": "",
31+
"deferUpgrade": "NotDeferred",
32+
"redisVersion": "7.2",
33+
"accessKeysAuthentication": "Enabled"
34+
}
35+
}
36+
}
37+
}
38+
}

0 commit comments

Comments
 (0)