diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/createVault.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/createVault.json index 3fc271c1e345..e30f2dc68e70 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/createVault.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/createVault.json @@ -139,7 +139,8 @@ "enabledForDeployment": true, "enabledForDiskEncryption": true, "enabledForTemplateDeployment": true, - "vaultUri": "https://sample-vault.vault.azure.net" + "vaultUri": "https://sample-vault.vault.azure.net", + "provisioningState": "Succeeded" } } }, @@ -211,7 +212,26 @@ "enabledForDeployment": true, "enabledForDiskEncryption": true, "enabledForTemplateDeployment": true, - "vaultUri": "https://sample-vault.vault.azure.net" + "vaultUri": "https://sample-vault.vault.azure.net", + "provisioningState": "Succeeded" + } + } + }, + "400": { + "headers": {}, + "body": { + "error": { + "code": "", + "message": "" + } + } + }, + "409": { + "headers": {}, + "body": { + "error": { + "code": "", + "message": "" } } } diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/createVaultWithNetworkAcls.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/createVaultWithNetworkAcls.json index 4ec2fd01f791..25836d5d730a 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/createVaultWithNetworkAcls.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/createVaultWithNetworkAcls.json @@ -109,6 +109,24 @@ "vaultUri": "https://sample-vault.vault.azure.net" } } + }, + "400": { + "headers": {}, + "body": { + "error": { + "code": "", + "message": "" + } + } + }, + "409": { + "headers": {}, + "body": { + "error": { + "code": "", + "message": "" + } + } } } } diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/deleteVault.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/deleteVault.json index bf878ab72f09..d55bfca42cbc 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/deleteVault.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/deleteVault.json @@ -11,6 +11,15 @@ }, "204": { "headers": {} + }, + "400": { + "headers": {}, + "body": { + "error": { + "code": "", + "message": "" + } + } } } } diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/getDeletedVault.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/getDeletedVault.json index 93c41753d287..a155370fb141 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/getDeletedVault.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/getDeletedVault.json @@ -17,7 +17,8 @@ "location": "westus", "tags": {}, "deletionDate": "2017-01-01T00:00:59Z", - "scheduledPurgeDate": "2017-04-01T00:00:59Z" + "scheduledPurgeDate": "2017-04-01T00:00:59Z", + "purgeProtectionEnabled": true } } } diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/getPrivateEndpointConnection.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/getPrivateEndpointConnection.json index 2fb84a554652..287caee88a94 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/getPrivateEndpointConnection.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/getPrivateEndpointConnection.json @@ -12,6 +12,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-group/providers/Microsoft.KeyVault/vaults/sample-vault/privateEndpointConnections/sample-pec", "name": "sample-pec", "type": "Microsoft.KeyVault/vaults/privateEndpointConnections", + "etag": "", "properties": { "provisioningState": "Succeeded", "privateEndpoint": { @@ -20,10 +21,13 @@ "privateLinkServiceConnectionState": { "status": "Approved", "description": "This was automatically approved by user1234@contoso.com", - "actionRequired": "None" + "actionsRequired": "None" } } } + }, + "204": { + "headers": {} } } } diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/getVault.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/getVault.json index 995d00bc660a..9f67314260e5 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/getVault.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/getVault.json @@ -74,7 +74,8 @@ "enabledForDeployment": true, "enabledForDiskEncryption": true, "enabledForTemplateDeployment": true, - "vaultUri": "https://sample-vault.vault.azure.net" + "vaultUri": "https://sample-vault.vault.azure.net", + "provisioningState": "Succeeded" } } } diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listDeletedVaults.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listDeletedVaults.json index 25d46f0016f8..fccc87aa51de 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listDeletedVaults.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listDeletedVaults.json @@ -17,7 +17,8 @@ "location": "westus", "tags": {}, "deletionDate": "2017-01-01T00:00:59Z", - "scheduledPurgeDate": "2017-04-01T00:00:59Z" + "scheduledPurgeDate": "2017-04-01T00:00:59Z", + "purgeProtectionEnabled": true } } ], diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listOperations.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listOperations.json index e7dba2c4690f..be106ba931ad 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listOperations.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listOperations.json @@ -13,7 +13,8 @@ "resource": "Key Vault", "operation": "View Key Vault", "description": "View the properties of a key vault" - } + }, + "isDataAction": false }, { "name": "Microsoft.KeyVault/vaults/write", @@ -22,7 +23,8 @@ "resource": "Key Vault", "operation": "Update Key Vault", "description": "Create a new key vault or update the properties of an existing key vault" - } + }, + "isDataAction": false }, { "name": "Microsoft.KeyVault/vaults/delete", @@ -31,7 +33,8 @@ "resource": "Key Vault", "operation": "Delete Key Vault", "description": "Delete a key vault" - } + }, + "isDataAction": false }, { "name": "Microsoft.KeyVault/vaults/deploy/action", @@ -40,7 +43,8 @@ "resource": "Key Vault", "operation": "Use Vault for Azure Deployments", "description": "Enables access to secrets in a key vault when deploying Azure resources" - } + }, + "isDataAction": false }, { "name": "Microsoft.KeyVault/vaults/secrets/read", @@ -49,7 +53,8 @@ "resource": "Secret", "operation": "View Secret Properties", "description": "View the properties of a secret, but not its value" - } + }, + "isDataAction": false }, { "name": "Microsoft.KeyVault/vaults/secrets/write", @@ -58,7 +63,8 @@ "resource": "Secret", "operation": "Update Secret", "description": "Create a new secret or update the value of an existing secret" - } + }, + "isDataAction": false }, { "name": "Microsoft.KeyVault/vaults/accessPolicies/write", @@ -67,7 +73,8 @@ "resource": "Access Policy", "operation": "Update Access Policy", "description": "Update an existing access policy by merging or replacing, or add a new access policy to a vault." - } + }, + "isDataAction": false }, { "origin": "system", @@ -78,6 +85,7 @@ "operation": "Read log definition", "description": "Gets the available logs for a key vault" }, + "isDataAction": false, "properties": { "serviceSpecification": { "logSpecifications": [ @@ -98,7 +106,8 @@ "resource": "Key Vault Diagnostic Settings", "operation": "Read diagnostic setting", "description": "Gets the diagnostic setting for the resource" - } + }, + "isDataAction": false }, { "origin": "system", @@ -108,7 +117,8 @@ "resource": "Key Vault Diagnostic Settings", "operation": "Write diagnostic setting", "description": "Creates or updates the diagnostic setting for the resource" - } + }, + "isDataAction": false }, { "name": "Microsoft.KeyVault/register/action", @@ -117,7 +127,8 @@ "resource": "Subscription", "operation": "Register Subscription", "description": "Registers a subscription" - } + }, + "isDataAction": false }, { "name": "Microsoft.KeyVault/unregister/action", @@ -126,7 +137,8 @@ "resource": "Subscription", "operation": "Unregister Subscription", "description": "Unregisters a subscription" - } + }, + "isDataAction": false }, { "name": "Microsoft.KeyVault/operations/read", @@ -135,7 +147,8 @@ "resource": "Operations", "operation": "Available Key Vault Operations", "description": "Lists operations available on Microsoft.KeyVault resource provider" - } + }, + "isDataAction": false }, { "name": "Microsoft.KeyVault/checkNameAvailability/read", @@ -144,7 +157,8 @@ "resource": "Name Availability", "operation": "Check Name Availability", "description": "Checks that a key vault name is valid and is not in use" - } + }, + "isDataAction": false }, { "name": "Microsoft.KeyVault/deletedVaults/read", @@ -153,7 +167,8 @@ "resource": "Soft Deleted Key Vault", "operation": "View Soft Deleted Vaults", "description": "View the properties of soft deleted key vaults" - } + }, + "isDataAction": false }, { "name": "Microsoft.KeyVault/locations/deletedVaults/read", @@ -162,7 +177,8 @@ "resource": "Soft Deleted Key Vault", "operation": "View Soft Deleted Key Vault", "description": "View the properties of a soft deleted key vault" - } + }, + "isDataAction": false }, { "name": "Microsoft.KeyVault/locations/deletedVaults/purge/action", @@ -171,7 +187,8 @@ "resource": "Soft Deleted Key Vault", "operation": "Purge Soft Deleted Key Vault", "description": "Purge a soft deleted key vault" - } + }, + "isDataAction": false }, { "name": "Microsoft.KeyVault/locations/operationResults/read", @@ -180,7 +197,8 @@ "resource": "Long Run Operation Result", "operation": "Check Operation Result", "description": "Check the result of a long run operation" - } + }, + "isDataAction": false }, { "name": "Microsoft.KeyVault/hsmPools/read", @@ -189,7 +207,8 @@ "resource": "HSM pool", "operation": "View HSM pool", "description": "View the properties of an HSM pool" - } + }, + "isDataAction": false }, { "name": "Microsoft.KeyVault/hsmPools/write", @@ -198,7 +217,8 @@ "resource": "HSM pool", "operation": "Create or Update HSM pool", "description": "Create a new HSM pool of update the properties of an existing HSM pool" - } + }, + "isDataAction": false }, { "name": "Microsoft.KeyVault/hsmPools/delete", @@ -207,7 +227,8 @@ "resource": "HSM pool", "operation": "Delete HSM pool", "description": "Delete an HSM pool" - } + }, + "isDataAction": false }, { "name": "Microsoft.KeyVault/hsmPools/joinVault/action", @@ -216,7 +237,8 @@ "resource": "HSM pool", "operation": "Join KeyVault to HSM pool", "description": "Join a key vault to an HSM pool" - } + }, + "isDataAction": false }, { "origin": "system", @@ -227,6 +249,7 @@ "operation": "Read metric definition", "description": "Gets the available metrics for a key vault" }, + "isDataAction": false, "properties": { "serviceSpecification": {} } @@ -239,7 +262,8 @@ "resource": "Location", "operation": "Modify Network ACLs containing the deleted Vitual Network or Subnet ", "description": "Notifies Microsoft.KeyVault that a virtual network or subnet is being deleted" - } + }, + "isDataAction": false } ] } diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listVaultByResourceGroup.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listVaultByResourceGroup.json index a5b7f68d5bff..7d268a9e9f88 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listVaultByResourceGroup.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listVaultByResourceGroup.json @@ -77,7 +77,8 @@ "enabledForDiskEncryption": true, "enabledForTemplateDeployment": true, "enableSoftDelete": true, - "vaultUri": "https://sample-vault.vault.azure.net/" + "vaultUri": "https://sample-vault.vault.azure.net/", + "provisioningState": "Succeeded" } } ], diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listVaultBySubscription.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listVaultBySubscription.json index ca44a615c810..5dbc66d540e1 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listVaultBySubscription.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listVaultBySubscription.json @@ -76,7 +76,8 @@ "enabledForDiskEncryption": true, "enabledForTemplateDeployment": true, "enableSoftDelete": true, - "vaultUri": "https://sample-vault.vault.azure.net/" + "vaultUri": "https://sample-vault.vault.azure.net/", + "provisioningState": "Succeeded" } } ], diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/purgeDeletedVault.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/purgeDeletedVault.json index 77be8c8de649..fc69d562bb0d 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/purgeDeletedVault.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/purgeDeletedVault.json @@ -11,6 +11,24 @@ }, "202": { "headers": {} + }, + "400": { + "headers": {}, + "body": { + "error": { + "code": "", + "message": "" + } + } + }, + "404": { + "headers": {}, + "body": { + "error": { + "code": "", + "message": "" + } + } } } } diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/putPrivateEndpointConnection.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/putPrivateEndpointConnection.json index 2e37409c6098..6f2437db6840 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/putPrivateEndpointConnection.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/putPrivateEndpointConnection.json @@ -28,7 +28,7 @@ "privateLinkServiceConnectionState": { "status": "Approved", "description": "My name is Joe and I'm approving this.", - "actionRequired": "None" + "actionsRequired": "None" } } } diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/updateAccessPoliciesAdd.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/updateAccessPoliciesAdd.json index 139a8e1e5cf4..4a851d1b1477 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/updateAccessPoliciesAdd.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/updateAccessPoliciesAdd.json @@ -77,6 +77,33 @@ ] } } + }, + "400": { + "headers": {}, + "body": { + "error": { + "code": "", + "message": "" + } + } + }, + "404": { + "headers": {}, + "body": { + "error": { + "code": "", + "message": "" + } + } + }, + "409": { + "headers": {}, + "body": { + "error": { + "code": "", + "message": "" + } + } } } } diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/updateVault.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/updateVault.json index 6b6618511a8d..8ca879358c90 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/updateVault.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/updateVault.json @@ -138,7 +138,8 @@ "enabledForDeployment": true, "enabledForDiskEncryption": true, "enabledForTemplateDeployment": true, - "vaultUri": "https://sample-vault.vault.azure.net" + "vaultUri": "https://sample-vault.vault.azure.net", + "provisioningState": "Succeeded" } } }, @@ -210,7 +211,26 @@ "enabledForDeployment": true, "enabledForDiskEncryption": true, "enabledForTemplateDeployment": true, - "vaultUri": "https://sample-vault.vault.azure.net" + "vaultUri": "https://sample-vault.vault.azure.net", + "provisioningState": "Succeeded" + } + } + }, + "400": { + "headers": {}, + "body": { + "error": { + "code": "", + "message": "" + } + } + }, + "409": { + "headers": {}, + "body": { + "error": { + "code": "", + "message": "" } } } diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/keyvault.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/keyvault.json index 7bc869097a41..a57bc8f2e040 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/keyvault.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/keyvault.json @@ -62,6 +62,26 @@ "schema": { "$ref": "#/definitions/Vault" } + }, + "400": { + "description": "Bad request.", + "schema": { + "$ref": "#/definitions/CloudError" + }, + "x-ms-error-response": true + }, + "409": { + "description": "A conflict occurred to prevent the operation from completing.", + "schema": { + "$ref": "#/definitions/CloudError" + }, + "x-ms-error-response": true + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } } }, "x-ms-examples": { @@ -129,6 +149,26 @@ "schema": { "$ref": "#/definitions/Vault" } + }, + "400": { + "description": "Bad request.", + "schema": { + "$ref": "#/definitions/CloudError" + }, + "x-ms-error-response": true + }, + "409": { + "description": "A conflict occurred to prevent the operation from completing.", + "schema": { + "$ref": "#/definitions/CloudError" + }, + "x-ms-error-response": true + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } } }, "x-ms-examples": { @@ -177,6 +217,19 @@ }, "204": { "description": "No Content." + }, + "400": { + "description": "Bad request.", + "schema": { + "$ref": "#/definitions/CloudError" + }, + "x-ms-error-response": true + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } } }, "x-ms-examples": { @@ -225,6 +278,12 @@ "schema": { "$ref": "#/definitions/Vault" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } } }, "x-ms-examples": { @@ -307,6 +366,33 @@ "schema": { "$ref": "#/definitions/VaultAccessPolicyParameters" } + }, + "400": { + "description": "Bad request.", + "schema": { + "$ref": "#/definitions/CloudError" + }, + "x-ms-error-response": true + }, + "404": { + "description": "The specified resource does not exist.", + "schema": { + "$ref": "#/definitions/CloudError" + }, + "x-ms-error-response": true + }, + "409": { + "description": "A conflict occurred to prevent the operation from completing.", + "schema": { + "$ref": "#/definitions/CloudError" + }, + "x-ms-error-response": true + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } } }, "x-ms-examples": { @@ -495,6 +581,12 @@ "schema": { "$ref": "#/definitions/DeletedVault" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } } }, "x-ms-examples": { @@ -546,6 +638,26 @@ }, "202": { "description": "Vault is being purged." + }, + "400": { + "description": "Bad request.", + "schema": { + "$ref": "#/definitions/CloudError" + }, + "x-ms-error-response": true + }, + "404": { + "description": "The specified resource does not exist.", + "schema": { + "$ref": "#/definitions/CloudError" + }, + "x-ms-error-response": true + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } } }, "x-ms-examples": { @@ -706,6 +818,9 @@ "$ref": "#/definitions/PrivateEndpointConnection" } }, + "204": { + "description": "The private endpoint connection does not exist." + }, "default": { "description": "Error response describing why the operation failed.", "schema": { @@ -763,7 +878,8 @@ "headers": { "Retry-After": { "description": "(specified only if operation does not finish synchronously) The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", - "type": "integer" + "type": "integer", + "format": "int32" }, "Azure-AsyncOperation": { "description": "(specified only if operation does not finish synchronously) The URI to poll for completion status. The response of this URI may be synchronous or asynchronous.", @@ -825,7 +941,8 @@ "headers": { "Retry-After": { "description": "The recommended number of seconds to wait before calling the URI specified in the location header.", - "type": "integer" + "type": "integer", + "format": "int32" }, "Location": { "description": "The URI to poll for completion status.", @@ -1162,6 +1279,18 @@ "$ref": "#/definitions/NetworkRuleSet", "description": "Rules governing the accessibility of the key vault from specific network locations." }, + "provisioningState": { + "type": "string", + "description": "Provisioning state of the vault.", + "enum": [ + "Succeeded", + "RegisteringDns" + ], + "x-ms-enum": { + "name": "VaultProvisioningState", + "modelAsString": true + } + }, "privateEndpointConnections": { "readOnly": true, "type": "array", @@ -1289,6 +1418,11 @@ "type": "string" }, "description": "Tags of the original vault." + }, + "purgeProtectionEnabled": { + "readOnly": true, + "type": "boolean", + "description": "Purge protection status of the original vault." } }, "description": "Properties of the deleted vault." @@ -1648,6 +1782,10 @@ "$ref": "#/definitions/PrivateEndpointConnectionProperties", "x-ms-client-flatten": true, "description": "Resource properties." + }, + "etag": { + "type": "string", + "description": "Modified whenever there is a change in the state of private endpoint connection." } }, "allOf": [ @@ -1695,7 +1833,7 @@ "type": "string", "description": "The reason for approval or rejection." }, - "actionRequired": { + "actionsRequired": { "type": "string", "description": "A message indicating if changes on the service provider require any updates on the consumer." } diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/providers.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/providers.json index 57042ef41eeb..d1f28d8f5599 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/providers.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/providers.json @@ -108,6 +108,10 @@ "x-ms-client-flatten": true, "x-ms-client-name": "OperationProperties", "$ref": "#/definitions/OperationProperties" + }, + "isDataAction": { + "type": "boolean", + "description": "Property to specify whether the action is a data action." } } }, diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/secrets.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/secrets.json index 986ea6b7bfc0..69bd1c38e79a 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/secrets.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/secrets.json @@ -69,6 +69,12 @@ "schema": { "$ref": "#/definitions/Secret" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ResponseError" + } } }, "x-ms-examples": { @@ -141,6 +147,12 @@ "schema": { "$ref": "#/definitions/Secret" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ResponseError" + } } }, "x-ms-examples": { @@ -196,6 +208,12 @@ "schema": { "$ref": "#/definitions/Secret" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ResponseError" + } } }, "x-ms-examples": { @@ -273,6 +291,25 @@ } }, "definitions": { + "ResponseError": { + "description": "An error response from Key Vault resource provider", + "properties": { + "error": { + "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 + }, "Attributes": { "properties": { "enabled": {