Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.Cache to add aof-backup-…
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
samsaha-ms authored Jul 1, 2022
1 parent 37cd8df commit 7d77097
Show file tree
Hide file tree
Showing 5 changed files with 71 additions and 0 deletions.
1 change: 1 addition & 0 deletions cSpell.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"version": "0.1",
"language": "en",
"words": [
"authnotrequired",
"Creds",
"partiallycompleted",
"subchannel",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parameters": {
"api-version": "2020-12-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "operationName",
"display": {
"provider": "providerName",
"resource": "resourceName",
"operation": "operationName",
"description": "operation description"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@
],
"description": "Lists all of the available REST API operations of the Microsoft.Cache provider.",
"operationId": "Operations_List",
"x-ms-examples": {
"RedisOperationsList": {
"$ref": "./examples/RedisOperations_List.json"
}
},
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
Expand Down Expand Up @@ -1842,6 +1847,10 @@
"type": "string",
"description": "The storage account connection string for storing rdb file"
},
"aof-backup-enabled": {
"type": "string",
"description": "Specifies whether the aof backup is enabled"
},
"aof-storage-connection-string-0": {
"type": "string",
"description": "First storage account connection string"
Expand Down Expand Up @@ -1875,6 +1884,10 @@
"type": "string",
"description": "Zonal Configuration",
"readOnly": true
},
"authnotrequired": {
"type": "string",
"description": "Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view."
}
},
"additionalProperties": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parameters": {
"api-version": "2021-06-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "operationName",
"display": {
"provider": "providerName",
"resource": "resourceName",
"operation": "operationName",
"description": "operation description"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@
],
"description": "Lists all of the available REST API operations of the Microsoft.Cache provider.",
"operationId": "Operations_List",
"x-ms-examples": {
"RedisOperationsList": {
"$ref": "./examples/RedisOperations_List.json"
}
},
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
Expand Down Expand Up @@ -1889,6 +1894,10 @@
"type": "string",
"description": "The storage account connection string for storing rdb file"
},
"aof-backup-enabled": {
"type": "string",
"description": "Specifies whether the aof backup is enabled"
},
"aof-storage-connection-string-0": {
"type": "string",
"description": "First storage account connection string"
Expand Down Expand Up @@ -1932,6 +1941,10 @@
"type": "string",
"description": "Zonal Configuration",
"readOnly": true
},
"authnotrequired": {
"type": "string",
"description": "Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view."
}
},
"additionalProperties": {},
Expand Down

0 comments on commit 7d77097

Please sign in to comment.