Skip to content

Commit 7d77097

Browse files
authored
[Hub Generated] Review request for Microsoft.Cache to add aof-backup-enabled and authnotrequired configs in version stable/2020-12-01 and stable/2021-06-01 (#19566)
* Swagger Correctness fix(s360): Add aof-back-enabled and authnotrequired settings * Fix model validation errors * Update description for authnotrequired.
1 parent 37cd8df commit 7d77097

File tree

5 files changed

+71
-0
lines changed

5 files changed

+71
-0
lines changed

cSpell.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"version": "0.1",
33
"language": "en",
44
"words": [
5+
"authnotrequired",
56
"Creds",
67
"partiallycompleted",
78
"subchannel",
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"parameters": {
3+
"api-version": "2020-12-01"
4+
},
5+
"responses": {
6+
"200": {
7+
"body": {
8+
"value": [
9+
{
10+
"name": "operationName",
11+
"display": {
12+
"provider": "providerName",
13+
"resource": "resourceName",
14+
"operation": "operationName",
15+
"description": "operation description"
16+
}
17+
}
18+
]
19+
}
20+
}
21+
}
22+
}

specification/redis/resource-manager/Microsoft.Cache/stable/2020-12-01/redis.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@
4141
],
4242
"description": "Lists all of the available REST API operations of the Microsoft.Cache provider.",
4343
"operationId": "Operations_List",
44+
"x-ms-examples": {
45+
"RedisOperationsList": {
46+
"$ref": "./examples/RedisOperations_List.json"
47+
}
48+
},
4449
"parameters": [
4550
{
4651
"$ref": "#/parameters/ApiVersionParameter"
@@ -1842,6 +1847,10 @@
18421847
"type": "string",
18431848
"description": "The storage account connection string for storing rdb file"
18441849
},
1850+
"aof-backup-enabled": {
1851+
"type": "string",
1852+
"description": "Specifies whether the aof backup is enabled"
1853+
},
18451854
"aof-storage-connection-string-0": {
18461855
"type": "string",
18471856
"description": "First storage account connection string"
@@ -1875,6 +1884,10 @@
18751884
"type": "string",
18761885
"description": "Zonal Configuration",
18771886
"readOnly": true
1887+
},
1888+
"authnotrequired": {
1889+
"type": "string",
1890+
"description": "Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view."
18781891
}
18791892
},
18801893
"additionalProperties": {
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-06-01"
4+
},
5+
"responses": {
6+
"200": {
7+
"body": {
8+
"value": [
9+
{
10+
"name": "operationName",
11+
"display": {
12+
"provider": "providerName",
13+
"resource": "resourceName",
14+
"operation": "operationName",
15+
"description": "operation description"
16+
}
17+
}
18+
]
19+
}
20+
}
21+
}
22+
}

specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/redis.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@
4141
],
4242
"description": "Lists all of the available REST API operations of the Microsoft.Cache provider.",
4343
"operationId": "Operations_List",
44+
"x-ms-examples": {
45+
"RedisOperationsList": {
46+
"$ref": "./examples/RedisOperations_List.json"
47+
}
48+
},
4449
"parameters": [
4550
{
4651
"$ref": "#/parameters/ApiVersionParameter"
@@ -1889,6 +1894,10 @@
18891894
"type": "string",
18901895
"description": "The storage account connection string for storing rdb file"
18911896
},
1897+
"aof-backup-enabled": {
1898+
"type": "string",
1899+
"description": "Specifies whether the aof backup is enabled"
1900+
},
18921901
"aof-storage-connection-string-0": {
18931902
"type": "string",
18941903
"description": "First storage account connection string"
@@ -1932,6 +1941,10 @@
19321941
"type": "string",
19331942
"description": "Zonal Configuration",
19341943
"readOnly": true
1944+
},
1945+
"authnotrequired": {
1946+
"type": "string",
1947+
"description": "Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view."
19351948
}
19361949
},
19371950
"additionalProperties": {},

0 commit comments

Comments
 (0)