From f52b0519f4a7e602e440c6039bbee7ebad27642d Mon Sep 17 00:00:00 2001 From: jiacheng-L <71623842+jiacheng-L@users.noreply.github.com> Date: Fri, 19 Feb 2021 17:02:38 -0800 Subject: [PATCH] [Hub Generated] Review request for Microsoft.KeyVault to add version stable/2019-09-01 (#13033) * Add default response schema in examples * Run Prettier Check * Add missing properties * Remove hsmPoolResourceId --- .../examples/checkVaultNameAvailability.json | 9 +++++++++ .../stable/2019-09-01/examples/createKey.json | 9 +++++++++ .../stable/2019-09-01/examples/createSecret.json | 9 +++++++++ .../stable/2019-09-01/examples/createVault.json | 10 ++++++++++ .../examples/createVaultWithNetworkAcls.json | 9 +++++++++ .../examples/deletePrivateEndpointConnection.json | 11 ++++++++++- .../stable/2019-09-01/examples/deleteVault.json | 9 +++++++++ .../stable/2019-09-01/examples/getDeletedVault.json | 9 +++++++++ .../stable/2019-09-01/examples/getKey.json | 9 +++++++++ .../stable/2019-09-01/examples/getKeyVersion.json | 9 +++++++++ .../examples/getPrivateEndpointConnection.json | 9 +++++++++ .../stable/2019-09-01/examples/getSecret.json | 9 +++++++++ .../stable/2019-09-01/examples/getVault.json | 9 +++++++++ .../stable/2019-09-01/examples/listDeletedVaults.json | 9 +++++++++ .../stable/2019-09-01/examples/listKeyVersions.json | 9 +++++++++ .../stable/2019-09-01/examples/listKeys.json | 9 +++++++++ .../stable/2019-09-01/examples/listOperations.json | 9 +++++++++ .../2019-09-01/examples/listPrivateLinkResources.json | 9 +++++++++ .../stable/2019-09-01/examples/listVault.json | 9 +++++++++ .../2019-09-01/examples/listVaultByResourceGroup.json | 9 +++++++++ .../2019-09-01/examples/listVaultBySubscription.json | 9 +++++++++ .../stable/2019-09-01/examples/purgeDeletedVault.json | 9 +++++++++ .../examples/putPrivateEndpointConnection.json | 11 +++++++++++ .../2019-09-01/examples/updateAccessPoliciesAdd.json | 9 +++++++++ .../stable/2019-09-01/examples/updateSecret.json | 9 +++++++++ .../stable/2019-09-01/examples/updateVault.json | 10 ++++++++++ .../stable/2019-09-01/keyvault.json | 4 ++++ 27 files changed, 243 insertions(+), 1 deletion(-) diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/checkVaultNameAvailability.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/checkVaultNameAvailability.json index dedf8a12d1d8..d9f38dd35f6a 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/checkVaultNameAvailability.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/checkVaultNameAvailability.json @@ -12,6 +12,15 @@ "body": { "nameAvailable": true } + }, + "default": { + "headers": {}, + "body": { + "error": { + "code": "", + "message": "" + } + } } } } diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/createKey.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/createKey.json index e5eaf5596ae8..cd5fc27c78f4 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/createKey.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/createKey.json @@ -39,6 +39,15 @@ "keyUriWithVersion": "https://sample-vault-name.vault.azure.net:443/keys/sample-key-name/fd618d9519b74f9aae94ade66b876acc" } } + }, + "default": { + "headers": {}, + "body": { + "error": { + "code": "", + "message": "" + } + } } } } diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/createSecret.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/createSecret.json index 0d4d906f43dd..a6c3225abde0 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/createSecret.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/createSecret.json @@ -45,6 +45,15 @@ "secretUriWithVersion": "https:/sample-vault.vault.azure.net/secrets/secret-name/baf6de32c4774c7c81345f6476cf90a4" } } + }, + "default": { + "headers": {}, + "body": { + "error": { + "code": "", + "message": "" + } + } } } } 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 536c03b2ffb4..c6e78d6d9d53 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 @@ -154,6 +154,7 @@ "privateEndpointConnections": [ { "id": "", + "etag": "", "properties": { "provisioningState": "Succeeded", "privateEndpoint": { @@ -264,6 +265,15 @@ "message": "" } } + }, + "default": { + "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 25836d5d730a..f1f359b8a01b 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 @@ -127,6 +127,15 @@ "message": "" } } + }, + "default": { + "headers": {}, + "body": { + "error": { + "code": "", + "message": "" + } + } } } } diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/deletePrivateEndpointConnection.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/deletePrivateEndpointConnection.json index 2e927897cf70..99e24266b740 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/deletePrivateEndpointConnection.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/deletePrivateEndpointConnection.json @@ -23,6 +23,15 @@ "Location": "https://some.endpoint.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-group/providers/Microsoft.KeyVault/vaults/sample-vault/privateEndpointConnections/sample-pec?operationid=25334578" } }, - "204": {} + "204": {}, + "default": { + "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 d55bfca42cbc..a0f9a0f30d0a 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 @@ -20,6 +20,15 @@ "message": "" } } + }, + "default": { + "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 a155370fb141..b64db3bfbdb7 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 @@ -21,6 +21,15 @@ "purgeProtectionEnabled": true } } + }, + "default": { + "headers": {}, + "body": { + "error": { + "code": "", + "message": "" + } + } } } } diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/getKey.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/getKey.json index 124b5816fa7e..5936a21e00c0 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/getKey.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/getKey.json @@ -34,6 +34,15 @@ "keyUriWithVersion": "https://sample-vault-name.vault.azure.net:443/keys/sample-key-name/fd618d9519b74f9aae94ade66b876acc" } } + }, + "default": { + "headers": {}, + "body": { + "error": { + "code": "", + "message": "" + } + } } } } diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/getKeyVersion.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/getKeyVersion.json index 28151ec8475c..768c9f95ae3f 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/getKeyVersion.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/getKeyVersion.json @@ -35,6 +35,15 @@ "keyUriWithVersion": "https://sample-vault-name.vault.azure.net:443/keys/sample-key-name/fd618d9519b74f9aae94ade66b876acc" } } + }, + "default": { + "headers": {}, + "body": { + "error": { + "code": "", + "message": "" + } + } } } } 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 287caee88a94..521c447d3420 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 @@ -28,6 +28,15 @@ }, "204": { "headers": {} + }, + "default": { + "headers": {}, + "body": { + "error": { + "code": "", + "message": "" + } + } } } } diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/getSecret.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/getSecret.json index 983e9142ebdc..0c9eedf3191d 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/getSecret.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/getSecret.json @@ -23,6 +23,15 @@ "secretUriWithVersion": "https://sample-vault.vault.azure.net/secrets/secret-name/77445834f7de41bab81d0723bf996860" } } + }, + "default": { + "headers": {}, + "body": { + "error": { + "code": "", + "message": "" + } + } } } } 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 9f67314260e5..10de57627103 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 @@ -78,6 +78,15 @@ "provisioningState": "Succeeded" } } + }, + "default": { + "headers": {}, + "body": { + "error": { + "code": "", + "message": "" + } + } } } } 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 fccc87aa51de..5bc94fe56aea 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 @@ -24,6 +24,15 @@ ], "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/deletedVaults?api-version=2019-09-01&%24skiptoken=HY3RaoMwAEX%2fRcbeYhJrnRXKYNWOuqpME0sfNcYui0Yxade19N8ne7hcDlzOvVuKX81eKKmt4G4dooLQwgqsL2NGHUDYV6o68Z4rY1e388RtNvRQn2vNJjEaMSgNvcbneMUcsKg8BFwft8DndQ0w9hu2QOiFLRs4TsNFNHzSMBFsGvTQGvuD%2f5bVuTOw4R03vPkH%2fVqNAlzm5SxfOwh7ACOA8POTlvPjILlaU1ke8jImOc23JCppQVfZnna0DXc4ISc3vSVuRo5zJE6%2bj25C3vwk2v2kEV2mMn7PyOc1DbtNGkonnzuLym1G400uI5QRZj0efw%3d%3d" } + }, + "default": { + "headers": {}, + "body": { + "error": { + "code": "", + "message": "" + } + } } } } diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listKeyVersions.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listKeyVersions.json index 21e29116a6ae..8dc7c32ffbcd 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listKeyVersions.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listKeyVersions.json @@ -44,6 +44,15 @@ } ] } + }, + "default": { + "headers": {}, + "body": { + "error": { + "code": "", + "message": "" + } + } } } } diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listKeys.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listKeys.json index 5dd301f48b3d..b24f0dca2b9d 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listKeys.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listKeys.json @@ -41,6 +41,15 @@ } ] } + }, + "default": { + "headers": {}, + "body": { + "error": { + "code": "", + "message": "" + } + } } } } 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 bab2483224f4..5729d3e5619d 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 @@ -297,6 +297,15 @@ } ] } + }, + "default": { + "headers": {}, + "body": { + "error": { + "code": "", + "message": "" + } + } } } } diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listPrivateLinkResources.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listPrivateLinkResources.json index f76786fad20e..d6164736d64c 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listPrivateLinkResources.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listPrivateLinkResources.json @@ -25,6 +25,15 @@ } ] } + }, + "default": { + "headers": {}, + "body": { + "error": { + "code": "", + "message": "" + } + } } } } diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listVault.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listVault.json index 3397baaa9f83..22ecf765063f 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listVault.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listVault.json @@ -19,6 +19,15 @@ ], "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resources?%24filter=resourceType+eq+%27Microsoft.KeyVault%2fvaults%27&%24top=4&api-version=2015-11-01&%24skiptoken=eyJuZXh0UGFydGl0aW9uS2V5IjoiMSE4IVEwTTJNVGMtIiwibmV4dFJvd0tleSI6IjEhMTMyIU5rUTRSVEU1UXpJelFUWXdORGd4UmpoRlFrSXhNVGhFUXpNd01EZEROVVJmVkVkT1RDMU5TVU5TVDFOUFJsUTZNa1ZMUlZsV1FWVk1WRG95UmxaQlZVeFVVeTFUVTFKSExVcEpUVG95UkZSRlUxUTZNa1JXUVZWTVZDMVhSVk5VVlZNLSJ9" } + }, + "default": { + "headers": {}, + "body": { + "error": { + "code": "", + "message": "" + } + } } } } 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 7d268a9e9f88..9268e5e0946b 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 @@ -84,6 +84,15 @@ ], "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-group/providers/Microsoft.KeyVault/vaults?api-version=2019-09-01&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng==" } + }, + "default": { + "headers": {}, + "body": { + "error": { + "code": "", + "message": "" + } + } } } } 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 5dbc66d540e1..53febe7b97f3 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 @@ -83,6 +83,15 @@ ], "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resources?api-version=22019-09-01&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng==" } + }, + "default": { + "headers": {}, + "body": { + "error": { + "code": "", + "message": "" + } + } } } } 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 fc69d562bb0d..6ab3cbccf747 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 @@ -29,6 +29,15 @@ "message": "" } } + }, + "default": { + "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 6f2437db6840..2d2ece55d7cc 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 @@ -6,6 +6,7 @@ "privateEndpointConnectionName": "sample-pec", "api-version": "2018-02-14", "properties": { + "etag": "", "properties": { "privateLinkServiceConnectionState": { "status": "Approved", @@ -20,6 +21,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": { @@ -32,6 +34,15 @@ } } } + }, + "default": { + "headers": {}, + "body": { + "error": { + "code": "", + "message": "" + } + } } } } 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 4a851d1b1477..1fe70585ded7 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 @@ -104,6 +104,15 @@ "message": "" } } + }, + "default": { + "headers": {}, + "body": { + "error": { + "code": "", + "message": "" + } + } } } } diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/updateSecret.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/updateSecret.json index 436c344e0142..5ab4e054f587 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/updateSecret.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/updateSecret.json @@ -45,6 +45,15 @@ "secretUriWithVersion": "https://sample-vault.vault.azure.net/secrets/secret-name/b8c802f549764f2d97885d152f92ee9d" } } + }, + "default": { + "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 955c0c3e2401..5d7b1268c778 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 @@ -153,6 +153,7 @@ "privateEndpointConnections": [ { "id": "", + "etag": "", "properties": { "provisioningState": "Succeeded", "privateEndpoint": { @@ -263,6 +264,15 @@ "message": "" } } + }, + "default": { + "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 9c3ab24dd2d8..3c2bf71f348a 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 @@ -1806,6 +1806,10 @@ "type": "string", "description": "Id of private endpoint connection." }, + "etag": { + "type": "string", + "description": "Modified whenever there is a change in the state of private endpoint connection." + }, "properties": { "$ref": "#/definitions/PrivateEndpointConnectionProperties", "x-ms-client-flatten": true,