Skip to content

Commit 8bef600

Browse files
TimLovellSmithkayousef
authored andcommitted
Refactor the latest stable redisEnterprise swagger using common-types v3 parameters (Azure#21327)
* Fix API version in examples. * Use v3/types parameter definitions. * Fix an authoring error for the headers in the Update example.
1 parent 5ecb59a commit 8bef600

File tree

5 files changed

+75
-81
lines changed

5 files changed

+75
-81
lines changed

specification/redisenterprise/resource-manager/Microsoft.Cache/stable/2022-01-01/examples/OperationsList.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"parameters": {
3-
"api-version": "2021-03-01"
3+
"api-version": "2022-01-01"
44
},
55
"responses": {
66
"200": {

specification/redisenterprise/resource-manager/Microsoft.Cache/stable/2022-01-01/examples/RedisEnterpriseDatabasesCreateWithGeoReplication.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"databaseName": "default",
44
"clusterName": "cache1",
55
"resourceGroupName": "rg1",
6-
"api-version": "2021-02-01-preview",
6+
"api-version": "2022-01-01",
77
"subscriptionId": "subid1",
88
"parameters": {
99
"properties": {

specification/redisenterprise/resource-manager/Microsoft.Cache/stable/2022-01-01/examples/RedisEnterpriseDatabasesForceUnlink.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"databaseName": "default",
44
"clusterName": "cache1",
55
"resourceGroupName": "rg1",
6-
"api-version": "2021-02-01-preview",
6+
"api-version": "2022-01-01",
77
"subscriptionId": "subid",
88
"parameters": {
99
"ids": [

specification/redisenterprise/resource-manager/Microsoft.Cache/stable/2022-01-01/examples/RedisEnterpriseUpdate.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,10 @@
4646
}
4747
},
4848
"202": {
49-
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Cache/...pathToOperationStatus...",
50-
"Location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Cache/...pathToOperationResult..."
49+
"headers": {
50+
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Cache/...pathToOperationStatus...",
51+
"Location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Cache/...pathToOperationResult..."
52+
}
5153
}
5254
}
5355
}

0 commit comments

Comments
 (0)