Skip to content

Commit aa6a102

Browse files
mbhaskarpshao25kcheekurimikehardersandipsh
authored
[Bugfix] Update garnetCache.json (#38907)
* Update garnetCache.json Changing entity names to resolve conflicts in sdk generation * Fix location header in CosmosDBGarnetClusterPatch example to use URI instead of region name --------- Co-authored-by: Pan Shao <97225342+pshao25@users.noreply.github.com> Co-authored-by: Karthik chakravarthy <88904658+kcheekuri@users.noreply.github.com> Co-authored-by: Mike Harder <mharder@microsoft.com> Co-authored-by: Sandip Shahane <sandipsh@microsoft.com>
1 parent 25c5829 commit aa6a102

2 files changed

Lines changed: 13 additions & 14 deletions

File tree

specification/cosmos-db/resource-manager/Microsoft.DocumentDB/DocumentDB/preview/2025-11-01-preview/examples/CosmosDBGarnetClusterPatch.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
"responses": {
1414
"202": {
1515
"headers": {
16-
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/318653d0-3da5-4814-b8f6-429f2af0b2a4?api-version=2024-12-01-preview",
17-
"location": "West US"
16+
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/318653d0-3da5-4814-b8f6-429f2af0b2a4?api-version=2024-12-01-preview"
1817
}
1918
},
2019
"200": {

specification/cosmos-db/resource-manager/Microsoft.DocumentDB/DocumentDB/preview/2025-11-01-preview/garnetCache.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"200": {
5959
"description": "Successfully retrieved the list of Garnet clusters.",
6060
"schema": {
61-
"$ref": "#/definitions/ListClusters"
61+
"$ref": "#/definitions/ListGarnetClusters"
6262
}
6363
},
6464
"default": {
@@ -97,7 +97,7 @@
9797
"200": {
9898
"description": "Successfully retrieved the list of Garnet clusters.",
9999
"schema": {
100-
"$ref": "#/definitions/ListClusters"
100+
"$ref": "#/definitions/ListGarnetClusters"
101101
}
102102
},
103103
"default": {
@@ -136,7 +136,7 @@
136136
"200": {
137137
"description": "The properties of the Garnet cluster were retrieved successfully.",
138138
"schema": {
139-
"$ref": "#/definitions/ClusterResource"
139+
"$ref": "#/definitions/GarnetClusterResource"
140140
}
141141
},
142142
"default": {
@@ -222,7 +222,7 @@
222222
"in": "body",
223223
"required": true,
224224
"schema": {
225-
"$ref": "#/definitions/ClusterResource"
225+
"$ref": "#/definitions/GarnetClusterResource"
226226
},
227227
"description": "The properties specifying the desired state of the Garnet cache cluster."
228228
}
@@ -231,13 +231,13 @@
231231
"200": {
232232
"description": "The Garnet cache cluster is being updated.",
233233
"schema": {
234-
"$ref": "#/definitions/ClusterResource"
234+
"$ref": "#/definitions/GarnetClusterResource"
235235
}
236236
},
237237
"201": {
238238
"description": "The Garnet cache cluster is being created",
239239
"schema": {
240-
"$ref": "#/definitions/ClusterResource"
240+
"$ref": "#/definitions/GarnetClusterResource"
241241
}
242242
},
243243
"default": {
@@ -275,7 +275,7 @@
275275
"in": "body",
276276
"required": true,
277277
"schema": {
278-
"$ref": "#/definitions/ClusterResourcePatch"
278+
"$ref": "#/definitions/GarnetClusterResourcePatch"
279279
},
280280
"description": "Parameters to provide for updating the Garnet cluster."
281281
}
@@ -297,7 +297,7 @@
297297
"200": {
298298
"description": "Completed synchronously. This will only happen if the fields changed by patch require no changes to the actual Garnet data center.",
299299
"schema": {
300-
"$ref": "#/definitions/ClusterResource"
300+
"$ref": "#/definitions/GarnetClusterResource"
301301
}
302302
},
303303
"default": {
@@ -324,7 +324,7 @@
324324
}
325325
},
326326
"definitions": {
327-
"ListClusters": {
327+
"ListGarnetClusters": {
328328
"description": "List of Garnet clusters.",
329329
"type": "object",
330330
"properties": {
@@ -333,7 +333,7 @@
333333
"type": "array",
334334
"readOnly": true,
335335
"items": {
336-
"$ref": "#/definitions/ClusterResource"
336+
"$ref": "#/definitions/GarnetClusterResource"
337337
}
338338
},
339339
"nextLink": {
@@ -343,7 +343,7 @@
343343
}
344344
}
345345
},
346-
"ClusterResource": {
346+
"GarnetClusterResource": {
347347
"description": "Representation of a Garnet cache cluster.",
348348
"type": "object",
349349
"allOf": [
@@ -452,7 +452,7 @@
452452
}
453453
}
454454
},
455-
"ClusterResourcePatch": {
455+
"GarnetClusterResourcePatch": {
456456
"description": "Representation of a Garnet cache cluster for updates.",
457457
"type": "object",
458458
"properties": {

0 commit comments

Comments
 (0)