-
Notifications
You must be signed in to change notification settings - Fork 5.6k
[Hub Generated] Review request for Microsoft.KeyVault to add version stable/2019-09-01 #12475
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -34,6 +34,12 @@ | |
| "schema": { | ||
| "$ref": "#/definitions/OperationListResult" | ||
| } | ||
| }, | ||
| "default": { | ||
| "description": "Error response describing why the operation failed.", | ||
| "schema": { | ||
| "$ref": "#/definitions/ProviderError" | ||
| } | ||
| } | ||
| }, | ||
| "x-ms-pageable": { | ||
|
|
@@ -152,6 +158,29 @@ | |
| "description": "Blob duration of specification." | ||
| } | ||
| } | ||
| }, | ||
| "ProviderError": { | ||
| "description": "An error response from Key Vault resource provider", | ||
| "properties": { | ||
| "error": { | ||
| "$ref": "#/definitions/ProviderErrorBody" | ||
| } | ||
| }, | ||
| "x-ms-external": true | ||
| }, | ||
| "ProviderErrorBody": { | ||
|
||
| "description": "An error response from Key Vault resource provider", | ||
| "properties": { | ||
| "code": { | ||
| "type": "string", | ||
| "description": "Error code. This is a mnemonic that can be consumed programmatically." | ||
| }, | ||
| "message": { | ||
| "type": "string", | ||
| "description": "User friendly error message. The message is typically localized and may vary with service version." | ||
| } | ||
| }, | ||
| "x-ms-external": true | ||
| } | ||
| }, | ||
| "parameters": { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is the actual error nested? Is this common of mgmt plane?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believed so. Both Key.json and KeyVault.json use the same model.