Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.KeyVault to add version …
Browse files Browse the repository at this point in the history
…preview/2021-04-01-preview (#14137)

* Support release key permission for vault access policies

* Remove 400 and 409 error codes from response object

* Fix model validation issues

* Remove extra 400 from deleted vault response
  • Loading branch information
susolank authored Jun 9, 2021
1 parent 05306b3 commit 9d08979
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 147 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -265,24 +265,6 @@
"provisioningState": "Succeeded"
}
}
},
"400": {
"headers": {},
"body": {
"error": {
"code": "",
"message": ""
}
}
},
"409": {
"headers": {},
"body": {
"error": {
"code": "",
"message": ""
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -127,24 +127,6 @@
"vaultUri": "https://sample-vault.vault.azure.net"
}
}
},
"400": {
"headers": {},
"body": {
"error": {
"code": "",
"message": ""
}
}
},
"409": {
"headers": {},
"body": {
"error": {
"code": "",
"message": ""
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,6 @@
},
"204": {
"headers": {}
},
"400": {
"headers": {},
"body": {
"error": {
"code": "",
"message": ""
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,6 @@
"202": {
"headers": {}
},
"400": {
"headers": {},
"body": {
"error": {
"code": "",
"message": ""
}
}
},
"404": {
"headers": {},
"body": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,6 @@
}
}
},
"400": {
"headers": {},
"body": {
"error": {
"code": "",
"message": ""
}
}
},
"404": {
"headers": {},
"body": {
Expand All @@ -95,15 +86,6 @@
"message": ""
}
}
},
"409": {
"headers": {},
"body": {
"error": {
"code": "",
"message": ""
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -263,24 +263,6 @@
"provisioningState": "Succeeded"
}
}
},
"400": {
"headers": {},
"body": {
"error": {
"code": "",
"message": ""
}
}
},
"409": {
"headers": {},
"body": {
"error": {
"code": "",
"message": ""
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -63,20 +63,6 @@
"$ref": "#/definitions/Vault"
}
},
"400": {
"description": "Bad request.",
"schema": {
"$ref": "common.json#/definitions/CloudError"
},
"x-ms-error-response": true
},
"409": {
"description": "A conflict occurred to prevent the operation from completing.",
"schema": {
"$ref": "common.json#/definitions/CloudError"
},
"x-ms-error-response": true
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
Expand Down Expand Up @@ -150,20 +136,6 @@
"$ref": "#/definitions/Vault"
}
},
"400": {
"description": "Bad request.",
"schema": {
"$ref": "common.json#/definitions/CloudError"
},
"x-ms-error-response": true
},
"409": {
"description": "A conflict occurred to prevent the operation from completing.",
"schema": {
"$ref": "common.json#/definitions/CloudError"
},
"x-ms-error-response": true
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
Expand Down Expand Up @@ -218,13 +190,6 @@
"204": {
"description": "No Content."
},
"400": {
"description": "Bad request.",
"schema": {
"$ref": "common.json#/definitions/CloudError"
},
"x-ms-error-response": true
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
Expand Down Expand Up @@ -367,27 +332,13 @@
"$ref": "#/definitions/VaultAccessPolicyParameters"
}
},
"400": {
"description": "Bad request.",
"schema": {
"$ref": "common.json#/definitions/CloudError"
},
"x-ms-error-response": true
},
"404": {
"description": "The specified resource does not exist.",
"schema": {
"$ref": "common.json#/definitions/CloudError"
},
"x-ms-error-response": true
},
"409": {
"description": "A conflict occurred to prevent the operation from completing.",
"schema": {
"$ref": "common.json#/definitions/CloudError"
},
"x-ms-error-response": true
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
Expand Down Expand Up @@ -657,13 +608,6 @@
"202": {
"description": "Vault is being purged."
},
"400": {
"description": "Bad request.",
"schema": {
"$ref": "common.json#/definitions/CloudError"
},
"x-ms-error-response": true
},
"404": {
"description": "The specified resource does not exist.",
"schema": {
Expand Down Expand Up @@ -1171,7 +1115,8 @@
"backup",
"restore",
"recover",
"purge"
"purge",
"release"
],
"x-ms-enum": {
"name": "KeyPermissions",
Expand Down

0 comments on commit 9d08979

Please sign in to comment.